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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: how do i swap humanoid to teamcolor,halp pls

Previous Thread :: Next Thread 
Macxez is not online. Macxez
Joined: 03 Jan 2012
Total Posts: 102
01 Nov 2016 01:33 PM
[REDACTED]
Report Abuse
Sarcasmed is not online. Sarcasmed
Joined: 17 May 2013
Total Posts: 15201
01 Nov 2016 01:56 PM
local player = game.Players.LocalPlayer

function Click(mouse)
player.TeamColor = BrickColor.new("Bright orange")
player:LoadCharacter()
end


script.Parent.MouseButton1Down:connect(Click)

If it's in GUI.
Report Abuse
The_Envelope is not online. The_Envelope
Joined: 14 Jun 2016
Total Posts: 1592
01 Nov 2016 03:34 PM
LoadCharacter() can only be called from the server end.

The script above is not filtering-enabled, but if you are looking for that, I can provide it for ya.
Report Abuse
Sarcasmed is not online. Sarcasmed
Joined: 17 May 2013
Total Posts: 15201
01 Nov 2016 03:41 PM
I don't use filtering enabled, personally think it's useless.
Report Abuse
Lordux is not online. Lordux
Joined: 10 Jun 2010
Total Posts: 610
01 Nov 2016 03:52 PM
Programming for ReplicationFiltering is a good habit to get into though in case you find yourself turning it on in the future.
Report Abuse
Macxez is not online. Macxez
Joined: 03 Jan 2012
Total Posts: 102
02 Nov 2016 07:47 AM
danks


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