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

how make smooth part moving by gui button?

Asked by 4 years ago

when you press gui button a part called: "randomnaem" will move from 1,1,1 to 0,0,0

0
i can help you Omerevkizel 27 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago
local randomnaem = --place goes here ex. game.Workspace.part
local button = --place goes here
button.MouseButton1Click:Connect(function()
    randomnaem.Position = Vector3.new(0,0,0)
end)
Ad

Answer this question