xXLiLxJXx
|
  |
| Joined: 15 Mar 2012 |
| Total Posts: 687 |
|
|
| 14 Jul 2014 07:20 AM |
game.Workspace:FindFirstChild("Torso",true).CFrame = CFrame.new(Vector3.new(script.Parent.TP.Position))
Output: Workspace.Functional.truefalse.Script:34: attempt to index global 'game' (a function value) |
|
|
| Report Abuse |
|
|
WishNite
|
  |
| Joined: 11 Feb 2009 |
| Total Posts: 15828 |
|
|
| 14 Jul 2014 07:22 AM |
well, I see one error
CFrame.new(Vector3.new(script.Parent.TP.Position))
When you say Vector3.new(Brick.Position), you're basically saying Vector3.new(Vector3.new(). |
|
|
| Report Abuse |
|
|
xXLiLxJXx
|
  |
| Joined: 15 Mar 2012 |
| Total Posts: 687 |
|
|
| 14 Jul 2014 07:26 AM |
| Fixed it. FOr some apparent reason I needed to remove "game" |
|
|
| Report Abuse |
|
|
xXLiLxJXx
|
  |
| Joined: 15 Mar 2012 |
| Total Posts: 687 |
|
|
| 14 Jul 2014 07:30 AM |
| Actually no. Now it failed in game. But works perfectly in studio D: |
|
|
| Report Abuse |
|
|
|
| 14 Jul 2014 07:38 AM |
The two most common reasons for working in Studio but not in Online are probably the following.
1 - You are not using wait() or WaitForChild() where you should, because it actually takes time to load in online mode. Go figure.
2 - You are using a local script or server script where it should be the other way around. |
|
|
| Report Abuse |
|
|