generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: TP bug

Previous Thread :: Next Thread 
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
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 is not online. 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 is online. 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
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
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
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
16 Jul 2017 02:48 PM
anyone?


Report Abuse
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
16 Jul 2017 03:21 PM
b


Report Abuse
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
16 Jul 2017 04:09 PM
b2


Report Abuse
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
16 Jul 2017 04:29 PM
b3


Report Abuse
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
16 Jul 2017 05:18 PM
b4


Report Abuse
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
16 Jul 2017 05:47 PM
b5


Report Abuse
6l8 is not online. 6l8
Joined: 17 Jun 2014
Total Posts: 4055
16 Jul 2017 05:50 PM
Use Character:MoveTo(SomePart)


Report Abuse
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
17 Jul 2017 12:22 AM
still


Report Abuse
TheKgroup is online. 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
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
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
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
17 Jul 2017 04:52 AM
b


Report Abuse
DevJoas is not online. 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
peoplemove12 is not online. peoplemove12
Joined: 11 Feb 2010
Total Posts: 1442
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image