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

How do I make a GUI click on a tool move a body?

Asked by
Fusbot 0
10 years ago

Basically the tool is cuffs. So when you click on a player a GUI pops up and if you click something it moves them... How?!?

1 answer

Log in to vote
0
Answered by 10 years ago

Actually, there is something you can learn to do. First, it involves inserting a click detector and a script into a new players torso, it also includes knowledge of using the billboard gui, in workspace, this server script:

game.Players.PlayerAdded:connect(function(plr)
plr.CharacterAdded:connect(char)
script.TorClicker:clone() .Parent = char.Torso
end)
end)

hen, put the this next script in the clickdector mentioned above thats in the script, this also invol(workspace>script>clickdeector>script)

script.Parent.MouseClick:connect()
script.Parent.Parent.Parent.Head.BillBoardGui.TextLabel.Visible = true
wait(10)
script.Parent.Parent.Parent.Head.BillBoardGui.TextLabel.Visible = false
end)

thats to make a gui pop up, but can you explain exactly what you want by move the character?

Ad

Answer this question