Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How Do I Make A Floating Brick That Float Up And Down?

Asked by
ImfaoXD 158
8 years ago

Can someone help me make a floating brick that go up and come down slowly just like a floating coin?

0
ScriptingHelpers is not a request site. Please come back with a script (at least) and tell us what errors you see. We will try to FIX IT, not give you something by a request. TheArmoredReaper 173 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago

Perhaps, you can try this:

local Part = workspace.Part -- Change to the actual part
while wait() do
    Part.Position = Part.Position + Vector3.new(0,math.sin(tick()),0)
end;
Ad

Answer this question