|
| 08 Jun 2016 01:11 PM |
game.Players.PlayerAdded:connect(function(player) local char = player.Character if not char or not char.Parent then local char = player.CharacterAdded:wait() local target = workspace.SpawnPart local v = char:FindFirstChild("Torso") if v then v.CFrame = CFrame.new(Vector3.new(target.Position)) end end end) |
|
|
| Report Abuse |
|
|
DevVince
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 9245 |
|
|
| 08 Jun 2016 01:14 PM |
That's because you want it to teleport them if they don't have a character. >_>
|
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Jun 2016 01:20 PM |
| I need 10 years to fall out of the sky apperantly so I can learn basic lua. azz holes. |
|
|
| Report Abuse |
|
|
Rerumu
|
  |
| Joined: 11 Oct 2014 |
| Total Posts: 950 |
|
|
| 08 Jun 2016 01:20 PM |
| Ya, and you aren't even waiting for the torso. |
|
|
| Report Abuse |
|
|
Inigo18
|
  |
| Joined: 02 Feb 2014 |
| Total Posts: 1041 |
|
|
| 08 Jun 2016 01:20 PM |
if not char or not char.Parent then
CHECK THIS LINE. |
|
|
| Report Abuse |
|
|
DevVince
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 9245 |
|
|
| 08 Jun 2016 01:22 PM |
Well I fixed it now that you're being a brat and calling people names you can do it yourself, Bye newb.
|
|
|
| Report Abuse |
|
|
Rerumu
|
  |
| Joined: 11 Oct 2014 |
| Total Posts: 950 |
|
|
| 08 Jun 2016 01:22 PM |
Logic: Let's teleport the character when they dont have one or when it's not parented to anything! Profit! |
|
|
| Report Abuse |
|
|
|
| 08 Jun 2016 01:30 PM |
This doesnt work.
local player = game.Players.LocalPlayer local char = player.Character or player.CharacterAdded:wait() if char and player then local target = workspace.SpawnPart.Position local t = char:FindFirstChild("Torso") if t then t.CFrame = CFrame.new(Vector3.new(target)) end end
Or this:
game.Players.PlayerAdded:connect(function(player) local char = player.Character or player.CharacterAdded:wait() if player and char then local t = char:FindFirstChild("Torso") if t then t.CFrame = CFrame.new(Vector3.new(-108, 3, 134.8)) end end end)
|
|
|
| Report Abuse |
|
|
DevVince
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 9245 |
|
|
| 08 Jun 2016 01:31 PM |
Good for you, if you're going to call people names no one will help you. Ungrateful brat.
|
|
|
| Report Abuse |
|
|
|
| 08 Jun 2016 01:31 PM |
| Theres no excuse for it is why. |
|
|
| Report Abuse |
|
|
Rerumu
|
  |
| Joined: 11 Oct 2014 |
| Total Posts: 950 |
|
|
| 08 Jun 2016 01:34 PM |
There's no excuse for being ungrateful. Get off this forum if you don't like how we work. |
|
|
| Report Abuse |
|
|
|
| 08 Jun 2016 01:41 PM |
I figured it out. durr logic? not like I could count on the wiki. if someone smeared their nasty leftovers on that page it would be at its prime.
local player = game.Players.LocalPlayer local target = workspace.SpawnPart local char = player.Character or player.CharacterAdded:wait() if char and player then wait() char.Torso.CFrame = target.CFrame end
|
|
|
| Report Abuse |
|
|
|
| 08 Jun 2016 01:42 PM |
| Most likely you just don't know how to read the wiki :l |
|
|
| Report Abuse |
|
|
Rerumu
|
  |
| Joined: 11 Oct 2014 |
| Total Posts: 950 |
|
|
| 08 Jun 2016 01:43 PM |
| Congrats? If you can't use the understand the basic wording of the wiki then you need some real help. |
|
|
| Report Abuse |
|
|
DevVince
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 9245 |
|
|
| 08 Jun 2016 01:44 PM |
"I figured it out. durr logic? not like I could count on the wiki. if someone smeared their nasty leftovers on that page it would be at its prime."
The wiki is very useful just because you lack the intelligence to understand something doesn't mean you insult it idiot. Hence why you call people names it's because you lack intelligence, numskull.
|
|
|
| Report Abuse |
|
|
| |
|