Macxez
|
  |
| Joined: 03 Jan 2012 |
| Total Posts: 102 |
|
| |
|
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 |
|
|
|
| 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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 03 Jan 2012 |
| Total Posts: 102 |
|
| |
|