fire243
|
  |
| Joined: 04 Apr 2010 |
| Total Posts: 6532 |
|
|
| 24 Dec 2013 03:02 PM |
function onClicked(player, gui) local t = player.Torso t.CFrame = CFrame.new(52, 960.6, 212) end
script.Parent.MouseButton1Click:connect(onClicked)
that was my attempt |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
fire243
|
  |
| Joined: 04 Apr 2010 |
| Total Posts: 6532 |
|
| |
|
iValianT
|
  |
| Joined: 21 Aug 2010 |
| Total Posts: 58381 |
|
| |
|
|
| 24 Dec 2013 03:28 PM |
If you are using a textbutton, try something like this.
player = script.Parent.Parent.Parent --Set this equal to the person's player character = player.Character button.MouseButton1Click:connect(function(mouse) character.Torso.CFrame = CFrame.new(3,3,3) -- whatever position you want here end) |
|
|
| Report Abuse |
|
|