udayk8139
|
  |
| Joined: 25 Aug 2013 |
| Total Posts: 622 |
|
|
| 12 Jul 2014 06:32 AM |
function onClicked() if game.Players.LocalPlayer == nil then return end game.Players.LocalPlayer.Character.Torso.CFrame =CFrame.new(0,0+10,0) end script.Parent.ClickDetector.MouseClick:connect(onClicked) |
|
|
| Report Abuse |
|
|
NiceCoder
|
  |
| Joined: 15 Oct 2012 |
| Total Posts: 6593 |
|
| |
|
udayk8139
|
  |
| Joined: 25 Aug 2013 |
| Total Posts: 622 |
|
|
| 12 Jul 2014 06:41 AM |
| No, I made it for my game. It';s just a part with clikdetector and this script... |
|
|
| Report Abuse |
|
|
udayk8139
|
  |
| Joined: 25 Aug 2013 |
| Total Posts: 622 |
|
| |
|
cornytime
|
  |
| Joined: 07 Feb 2013 |
| Total Posts: 3213 |
|
|
| 12 Jul 2014 07:39 AM |
script.Parent.ClickDetector.MouseClick:connect(function(click) if click.Parent:findFirstChild("Torso") then click.Parent.Torso.CFrame =CFrame.new(0,0+10,0) end) end ---idunno |
|
|
| Report Abuse |
|
|
NiceCoder
|
  |
| Joined: 15 Oct 2012 |
| Total Posts: 6593 |
|
|
| 12 Jul 2014 08:46 AM |
| if you're using local stuff you need to put it in a localscript |
|
|
| Report Abuse |
|
|
udayk8139
|
  |
| Joined: 25 Aug 2013 |
| Total Posts: 622 |
|
| |
|