Run it
Copy the script and paste it into your executor.
-- Services
local TweenService = game:GetService("TweenService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
-- Character
local function getChar()
local char = player.Character or player.CharacterAdded:Wait()
return char, char:WaitForChild("HumanoidRootPart")
end
local character, hrp = getChar()
-- Settings
local FLY_TIME = 0.35
local HEIGHT_OFFSET = 2
-- Папка Snowflakes
local snowFolder = workspace:WaitForChild("Particles"):WaitForChild("Snowflakes")
-- Найти ближайший Attachment в Snowflakes
()
nearestPos
shortest = .huge
_, obj (snowFolder:())
obj:()
pos = obj.WorldPosition
dist = (hrp.Position - pos).Magnitude
dist < shortest
shortest = dist
nearestPos = pos
nearestPos
.(()
.()
hrp hrp.Parent
character, hrp = ()
pos = ()
pos
tween = TweenService:(
hrp,
TweenInfo.(FLY_TIME, .EasingStyle.Linear),
{ = .(pos + .(, HEIGHT_OFFSET, ))}
)
tween:()
tween.Completed:()
)
This script is not for the original Bee Swarm Simulator, but for a modified version of it. The script was written for me by ChatGPT, so please don’t blame me if something is wrong with it. Use at your own risk!!! Use at your own risk!!! Use at your own risk!!!