Run it
Copy the script and paste it into your executor.
player = .Players.LocalPlayer
character = player.Character player.CharacterAdded:()
spawnDistance =
loadingTime =
circleSize =
isAccepted =
screenGui = .()
screenGui.Parent = player.PlayerGui
loadingBarBackground = .()
loadingBarBackground.Size = .(, , , )
loadingBarBackground.Position = .(, -, , -)
loadingBarBackground.BackgroundColor3 = .(, , )
loadingBarBackground.BackgroundTransparency =
loadingBarBackground.Parent = screenGui
loadingBar = .()
loadingBar.Size = .(, , , )
loadingBar.BackgroundColor3 = .(, , )
loadingBar.Parent = loadingBarBackground
(progress)
loadingBar.Size = .(progress, , , )
()
part = .()
part.Shape = .PartType.Ball
part.Size = .(circleSize, circleSize, circleSize)
part.Position = character.HumanoidRootPart.Position + character.HumanoidRootPart.CFrame.LookVector * spawnDistance
part.Anchored =
part.CanCollide =
part.Material = .Material.SmoothPlastic
part.Color = .(, , )
part.Parent =
colors = {.(, , ), .(, , )}
colorIndex =
part
()
colorIndex = (colorIndex % #colors) +
part.Color = colors[colorIndex]
bodyVelocity = .()
bodyVelocity.MaxForce = .(, , )
bodyVelocity.Velocity = .(, , )
bodyVelocity.Parent = part
bodyGyro = .()
bodyGyro.MaxTorque = .(, , )
bodyGyro.CFrame = part.CFrame
bodyGyro.Parent = part
moonGravity = .(, -, )
driftSpeed =
bounceForce =
:().Heartbeat:(()
part character character:()
bodyVelocity.Velocity = bodyVelocity.Velocity + moonGravity
driftDirection = (character.HumanoidRootPart.Position - part.Position).unit
bodyVelocity.Velocity = bodyVelocity.Velocity + (driftDirection * driftSpeed)
part.Touched:((hit)
direction = (part.Position - hit.Position).unit
bounce = direction * bounceForce
bodyVelocity.Velocity = bodyVelocity.Velocity + bounce
)
)
elapsedTime =
elapsedTime < loadingTime
elapsedTime = elapsedTime +
progress = .(elapsedTime / loadingTime, )
(progress)
()
elapsedTime >= loadingTime
isAccepted =
screenGui:()
isAccepted
()
()
This feature script, Has loading bar as for 10 seconds to laod, and when loaded, it creates circle, workable on fling things and people, as u can grab it and troll people around on games if games have grab system.