|
| 15 Nov 2014 02:16 PM |
So, I have a script in which teleports players to a CFrame via setting the CFrame of their character; it also unanchors their torso. My problem is that they wont teleport, but their torso still unanchors.
Here is a snippet of the code: if tribute ~= nil and tribute.Character:FindFirstChild("Torso") then tribute.Character.Torso.CFrame = NewSpawn.Pointer.CFrame + Vector3.new(0,3,0) tribute.Character.Torso.Anchored = false NewSpawn.Rise.Script.Disabled = false end |
|
|
| Report Abuse |
|
|
|
| 15 Nov 2014 02:21 PM |
| so, is 'tribute' a player or the character? because there's no torso in the player, and there's no character in the character (lines 1 and 2) |
|
|
| Report Abuse |
|
|
|
| 15 Nov 2014 02:26 PM |
| tribute is a player fetched from a table. |
|
|
| Report Abuse |
|
|
| |
|