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: Changing clothes

Previous Thread :: Next Thread 
jjwood1600 is online. jjwood1600
Joined: 14 May 2013
Total Posts: 1633
04 Jan 2015 02:55 PM
Hi guys
I'm trying to put a CharacterMesh on the players that change to the blue team and remove it when they come off the blue team. I have got this script, but any ideas how I would change it too work as I said above? Thanks


game.Players.PlayerAdded:connect(function(player)
player.Changed:connect(function(v)
if ((v == "TeamColor") and (player.TeamColor.Name == "Bright blue")) then
if player.Character and player.Character:FindFirstChild("Left Arm") then
player.Character.LeftArm:Destroy()
end

end
end)
end)
Report Abuse
jjwood1600 is online. jjwood1600
Joined: 14 May 2013
Total Posts: 1633
05 Jan 2015 09:54 AM
Bump :)
Report Abuse
jjwood1600 is online. jjwood1600
Joined: 14 May 2013
Total Posts: 1633
05 Jan 2015 01:58 PM
:D
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
05 Jan 2015 02:00 PM
Instance.new()
Report Abuse
jjwood1600 is online. jjwood1600
Joined: 14 May 2013
Total Posts: 1633
05 Jan 2015 02:06 PM
OK, how would I load the character's original charactermesh/clothes when they go back to another team?
Report Abuse
jjwood1600 is online. jjwood1600
Joined: 14 May 2013
Total Posts: 1633
05 Jan 2015 02:15 PM
Bump!
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
05 Jan 2015 02:16 PM
Save them or use LoadCharacter()....?
Report Abuse
jjwood1600 is online. jjwood1600
Joined: 14 May 2013
Total Posts: 1633
05 Jan 2015 02:17 PM
I could use LoadCharacter.... or actually, when you LoadCharacter / respawn, does it not reset your clothes anyway as you will be changing teams? :D
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