Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local part = script.Parent
- local linearVelocity = Instance.new("LinearVelocity", part)
- linearVelocity.VectorVelocity = Vector3.new(0, 20, 0)
- linearVelocity.MaxForce = 1000000
- local attachment = Instance.new("Attachment", part)
- linearVelocity.Attachment0 = attachment
- task.spawn(function()
- while task.wait(0.1) do
- local red = math.random(0, 255)
- local green = math.random(0, 255)
- local blue = math.random(0, 255)
- part.Color = Color3.new(red, green, blue)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement