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: Weird Scripting help

Previous Thread :: Next Thread 
pieman9054 is not online. pieman9054
Joined: 10 Nov 2012
Total Posts: 899
04 Apr 2015 03:07 PM
So Basically what I want to make is basically a script you put in a weapon so that when the person holding the weapon kills someone, the person who is killed gets teleported to a new location when they respawn next time.
Report Abuse
pieman9054 is not online. pieman9054
Joined: 10 Nov 2012
Total Posts: 899
04 Apr 2015 03:09 PM
bump
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
04 Apr 2015 03:10 PM
Just use custom spawns or a regular SpawnLocation?
Report Abuse
pieman9054 is not online. pieman9054
Joined: 10 Nov 2012
Total Posts: 899
04 Apr 2015 03:11 PM
That isn't what I am trying to do. I'm trying to do a sort of thing so that the person killed will spawn in a jail. its sort of like a police/criminal thing.
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
04 Apr 2015 03:13 PM
We try to help and fix your scripts. Not make stuff for you

unless you give me 91919 robux.
Report Abuse
pieman9054 is not online. pieman9054
Joined: 10 Nov 2012
Total Posts: 899
04 Apr 2015 03:14 PM
I'm not asking for help with a whole script. Just how I would go about making it.
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
04 Apr 2015 03:15 PM
Okay. Well Just change the teamcolor of the player when he dies.

game.Players.PlayerAdded:connect(function(p)
p.CharacterAdded:connect(function(c)
c.Humanoid.Died:connect(function()
p.TeamColor = BrickColor.new("Bright blue") --color of jail spawn
end)
end)
wait()
end)
Report Abuse
pieman9054 is not online. pieman9054
Joined: 10 Nov 2012
Total Posts: 899
04 Apr 2015 03:40 PM
But this would apply to all players right? What I need to do is have one police team one criminals team, one jailed team. So police shouldn't go to jail obviously. so I need a tool adjusted version of this.
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
04 Apr 2015 04:51 PM
What do you mean tool adjusted version? You can have the script find the child of the player and see if he has the gun in either his character or backpack..
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