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: How do you make teleporter from killing...

Previous Thread :: Next Thread 
Denoobitizer is not online. Denoobitizer
Joined: 13 May 2011
Total Posts: 70
21 Jul 2011 09:43 AM
When you kill a.. something in an RPg game how do you make it so you teleport somewherfe else
Report Abuse
hyper900 is not online. hyper900
Joined: 14 May 2009
Total Posts: 873
21 Jul 2011 09:44 AM
script.Parent.Died:connect(function()
h = script.Parent.Humanoid
if h:FindFirstChild("creator", true) then
v = h.Creator.Value

v is the killer
Report Abuse
Ozzypig is not online. Ozzypig
Joined: 27 Mar 2008
Total Posts: 4906
21 Jul 2011 09:44 AM
You'll have to be a bit more specific. If you're talking about making something not deadly when it dies, then you'll need to post about that.

If you're talking about moving something when it dies, then it's a different story.

~Ozzy
Report Abuse
Denoobitizer is not online. Denoobitizer
Joined: 13 May 2011
Total Posts: 70
21 Jul 2011 09:50 AM
like in Rangemelude's rpg when you kill a boss you teleport back to home

so im trying to do when someone kills something in the game you teleport somewhere
Report Abuse
Ozzypig is not online. Ozzypig
Joined: 27 Mar 2008
Total Posts: 4906
21 Jul 2011 09:53 AM
In that case, you can change the scripting of your sword to teleport the wielder if they kill a certain monster.

Either that or you can change the on-death script of the monster. It depends on the game!

~Ozzy
Report Abuse
Denoobitizer is not online. Denoobitizer
Joined: 13 May 2011
Total Posts: 70
21 Jul 2011 09:57 AM
k ill try thx
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