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

how can you make it so that if u press a button near a part it will drag you to it?

Asked by 3 years ago

its more like the part is a blackhole and if u press a button with userinputservice then it will drag the player who presses the button i dont have any idea on how to do that

0
This Isnt A Request Site kidsteve923 139 — 3y

1 answer

Log in to vote
0
Answered by
vixoau 0
3 years ago

Idk but, for gui's you could do

script.Parent.MouseButton1Click:Connect(function()
    workspace.Player:MoveTo(Vector3.new(0,0,0)) -- Change player to your username.
Ad

Answer this question