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: Roblox just broke teleportation?

Previous Thread :: Next Thread 
Ambitious_Pilgrim is not online. Ambitious_Pilgrim
Joined: 29 Mar 2015
Total Posts: 4657
27 Dec 2016 08:53 PM

Torso.CFrame = Spawn.CFrame

Players are killed instantly.

This has worked fine for the whole 2 years I've been scripting.

Help?
Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
27 Dec 2016 08:56 PM
-facepalm-


Report Abuse
Ambitious_Pilgrim is not online. Ambitious_Pilgrim
Joined: 29 Mar 2015
Total Posts: 4657
27 Dec 2016 08:58 PM
what did i make a stupid mistake or some crap
Report Abuse
OAuth2 is not online. OAuth2
Joined: 27 Nov 2016
Total Posts: 751
27 Dec 2016 09:00 PM
It works just fine.


Report Abuse
Ambitious_Pilgrim is not online. Ambitious_Pilgrim
Joined: 29 Mar 2015
Total Posts: 4657
27 Dec 2016 09:01 PM
weird...

Report Abuse
Ambitious_Pilgrim is not online. Ambitious_Pilgrim
Joined: 29 Mar 2015
Total Posts: 4657
27 Dec 2016 09:03 PM
what the crap...

why isnt this working
Report Abuse
OAuth2 is not online. OAuth2
Joined: 27 Nov 2016
Total Posts: 751
27 Dec 2016 09:05 PM
Perhaps you have a script that kills you?


Report Abuse
Ambitious_Pilgrim is not online. Ambitious_Pilgrim
Joined: 29 Mar 2015
Total Posts: 4657
27 Dec 2016 09:07 PM
@O,

all that it is happening is 2 players are being teleported into a map.

the parts are anchored, i've check my 500 line main script

the heck
Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
27 Dec 2016 09:08 PM
Use Position.


Report Abuse
Ambitious_Pilgrim is not online. Ambitious_Pilgrim
Joined: 29 Mar 2015
Total Posts: 4657
27 Dec 2016 09:13 PM
just tried position

players die instantly too

i have filteringenabled on, but i doubt that has anything to do with it?

sigh, really roblox?
Report Abuse
RomDino is not online. RomDino
Joined: 04 Jul 2015
Total Posts: 2795
27 Dec 2016 09:13 PM
Try using my Teleportation instead, it works very well:
https://www.roblox.com/item.aspx?id=590178929
Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
27 Dec 2016 09:15 PM
It has nothing to do with Roblox, you're just doing it wrong.


PlayerModel:MoveTo(Vector3.new(5, 5, 5))


Report Abuse
Ambitious_Pilgrim is not online. Ambitious_Pilgrim
Joined: 29 Mar 2015
Total Posts: 4657
27 Dec 2016 09:17 PM
just brain farted there, sorry
Report Abuse
Ambitious_Pilgrim is not online. Ambitious_Pilgrim
Joined: 29 Mar 2015
Total Posts: 4657
27 Dec 2016 09:20 PM
still doesnt work

i give up
Report Abuse
RomDino is not online. RomDino
Joined: 04 Jul 2015
Total Posts: 2795
27 Dec 2016 09:20 PM
Why don't you use mine?
Report Abuse
booing is not online. booing
Joined: 04 May 2009
Total Posts: 6594
27 Dec 2016 09:20 PM
Change HumanoidRootPart CFrame now.
Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
27 Dec 2016 09:21 PM
Then clearly you're teleporting them to the wrong place.

PlayerModel:MoveTo(Spawn.Position)

That isn't/shouldn't be difficult.


Report Abuse
Ambitious_Pilgrim is not online. Ambitious_Pilgrim
Joined: 29 Mar 2015
Total Posts: 4657
27 Dec 2016 09:26 PM
this worked fine 2 days ago
Report Abuse
RomDino is not online. RomDino
Joined: 04 Jul 2015
Total Posts: 2795
27 Dec 2016 09:27 PM
USE MINE!
https://www.roblox.com/library/590178929/Teleport-Model-by-RomDino
Report Abuse
Ambitious_Pilgrim is not online. Ambitious_Pilgrim
Joined: 29 Mar 2015
Total Posts: 4657
27 Dec 2016 09:28 PM
this is literally it...

function module.SpawnPlayers(Table, Spawns)

for _, Player in pairs (Table) do
if Player then

local Char = Player.Character
local Torso = Char:FindFirstChild("Torso")

if Torso then

local Spawn = Spawns[math.random(1, #Spawns)]
Torso.CFrame = Spawn.CFrame

end

end
end

end
Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
27 Dec 2016 09:30 PM
function module.SpawnPlayers(Table, Spawns)

for _, Player in pairs (Table) do
if Player then

local Char = Player.Character
local Torso = Char:FindFirstChild("Torso")

if Torso then

local Spawn = Spawns[math.random(1, #Spawns)]
Char:MoveTo(Spawn.Position)

end

end
end

end


Report Abuse
Ambitious_Pilgrim is not online. Ambitious_Pilgrim
Joined: 29 Mar 2015
Total Posts: 4657
27 Dec 2016 09:34 PM
it doesnt work...

try it for yourself

for some reason when the player is getting moved, all it's other parts aren't
Report Abuse
candint1998 is not online. candint1998
Joined: 28 Feb 2010
Total Posts: 121
27 Dec 2016 10:14 PM
Probably because it's only moving the torso, actually you're only finding torso but not other parts I guess.
Report Abuse
candint1998 is not online. candint1998
Joined: 28 Feb 2010
Total Posts: 121
27 Dec 2016 10:14 PM
Make a wait for child for every part of the character.
Report Abuse
booing is not online. booing
Joined: 04 May 2009
Total Posts: 6594
27 Dec 2016 10:56 PM
Seriously.

*** CFRAME HUMANOIDROOTPART, NOT TORSO ***

It is that simple. I guarantee. You aren't moving all parts when you move your torso because it's no longer the root part.
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