|
| 14 Jan 2017 12:30 PM |
| Does anyone have a script so that when a GUI TextButton is pressed it creates a team? |
|
|
| Report Abuse |
|
Swordlust
|
  |
| Joined: 05 Dec 2016 |
| Total Posts: 476 |
|
|
| 14 Jan 2017 12:33 PM |
local plr = game.Players.LocalPlayer local button = script.Parent local tc = "Royal purple" local team = Instance.new("Team") team.Name = "Purple Team"
button.MouseButton1Down:connect(function() team.TeamColor = BrickColor.new(tc) repeat wait() until team plr.TeamColor = team end)
Tips are always good | https://www.roblox.com/catalog/588125527/Tip |
|
|
| Report Abuse |
|