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 » Scripting Helpers
Home Search
 

Re: Teleport Killing?

Previous Thread :: Next Thread 
Scripbuilder900 is not online. Scripbuilder900
Joined: 04 Aug 2011
Total Posts: 183
27 Jul 2014 08:07 PM
I've used a few different methods, first one and the most obvious one was CFrame, CFraming the torso to a different position. However, that was killing the character so I tried this. But this is killing them too. What am I doing wrong?

Character:MoveTo(Workspace.GameStuff.Map.Spawns:FindFirstChild(math.random(1,#spawns)).Position + Vector3.new(0,4,0))
Report Abuse
MultiSettings is not online. MultiSettings
Joined: 23 Aug 2013
Total Posts: 2924
27 Jul 2014 08:08 PM
um

-- define character
spawn = wait

character.Torso.CFrame = CFrame.new([math.random(1,#spawns)])
Spawn(spawn);
Report Abuse
Scripbuilder900 is not online. Scripbuilder900
Joined: 04 Aug 2011
Total Posts: 183
27 Jul 2014 08:10 PM
Character is defined. It runs like its supposed to..it just kills you...
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
27 Jul 2014 08:10 PM
Then you CFrame it wrong
You were probably changing the position
Report Abuse
Scripbuilder900 is not online. Scripbuilder900
Joined: 04 Aug 2011
Total Posts: 183
27 Jul 2014 08:12 PM
Character.Torso.CFrame = Workspace.Brick.CFrame -- What is wrong with that?
Report Abuse
MultiSettings is not online. MultiSettings
Joined: 23 Aug 2013
Total Posts: 2924
27 Jul 2014 08:15 PM
Character.Torso.CFrame = CFrame.new(Workspace.Brick.Position)
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
27 Jul 2014 08:17 PM
I just tested it; that does not kill you.
Report Abuse
Scripbuilder900 is not online. Scripbuilder900
Joined: 04 Aug 2011
Total Posts: 183
27 Jul 2014 08:19 PM
Ya...Here's what happened. Two lines prior to that line I had a fake head created and welded onto the body without renaming it which broke the joints. Sorry!
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
27 Jul 2014 08:23 PM
Thats quite alright
If your goal is to hide peoples names and health bars you could use this


http://wiki.roblox.com/index.php?title=NameDisplayDistance_(Property)
http://wiki.roblox.com/index.php?title=HealthDisplayDistance_(Property)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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