|
| 16 Jul 2017 02:15 PM |
I clone the map into the workspace (via insertservice) wait 5 seconds then tp the players and sometimes they fall through the map. I don't get it.
|
|
|
| Report Abuse |
|
|
ImVortexe
|
  |
| Joined: 26 Jan 2013 |
| Total Posts: 1149 |
|
|
| 16 Jul 2017 02:17 PM |
| use vector3 when they teleport incase they spawn under the map |
|
|
| Report Abuse |
|
|
RealBeta
|
  |
| Joined: 23 Jun 2013 |
| Total Posts: 440 |
|
|
| 16 Jul 2017 02:25 PM |
Most likely they're teleporting inbetween the map terrain which is glitching out and will sometimes spawn them up or push them down and suddenly die, using humanoid root from players head not torso will work with grabbing the coordinates you want the players to spawn.
#UnleashedDevelopment |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2017 02:30 PM |
This is what I'm doing. Do I just change Torso to HumanoidRootPart, fixed?
local SpawnsModel = NewMap:FindFirstChild("Spawns") local Spawns = SpawnsModel:GetChildren() local SpawnIndex = math.random(1, #Spawns) local Spawn = Spawns[SpawnIndex] local Torso = Player.Character:FindFirstChild("Torso") or Player.Character:FindFirstChild("UpperTorso") Torso.CFrame = CFrame.new(Spawn.Position + Vector3.new(0, 6, 0))
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
6l8
|
  |
| Joined: 17 Jun 2014 |
| Total Posts: 4055 |
|
|
| 16 Jul 2017 05:50 PM |
Use Character:MoveTo(SomePart)
|
|
|
| Report Abuse |
|
|
| |
|
TheKgroup
|
  |
| Joined: 28 Aug 2008 |
| Total Posts: 362 |
|
|
| 17 Jul 2017 12:23 AM |
I'd recommend vector3.new because vector3 will spawn you above parts if it finds a part in the way. CFrame will spawn you into it so risking the chance of noclipping.
Ngroup stole my cookie. |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2017 12:28 AM |
ya this code is what's giving me the issue
local SpawnsModel = NewMap:FindFirstChild("Spawns") local Spawns = SpawnsModel:GetChildren() local SpawnIndex = math.random(1, #Spawns) local Spawn = Spawns[SpawnIndex] local Torso = Player.Character:FindFirstChild("Torso") or Player.Character:FindFirstChild("UpperTorso") Torso.CFrame = CFrame.new(Spawn.Position + Vector3.new(0, 6, 0))
|
|
|
| Report Abuse |
|
|
| |
|
DevJoas
|
  |
| Joined: 17 Dec 2014 |
| Total Posts: 627 |
|
|
| 17 Jul 2017 05:26 AM |
There does not seem to be a problem with your code,
Make sure the spawns are placed correctly, everything is anchored and everything is cancollide-able |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2017 07:13 PM |
everything is anchored properly and such I just doubled checked just in case cancollide is fine placement I even changed it to Vector3.new(0, 8, 0) and still they fall through. I don't understand. seriously frustrating.
|
|
|
| Report Abuse |
|
|