DevKonner
|
  |
| Joined: 04 Feb 2012 |
| Total Posts: 519 |
|
|
| 10 May 2015 07:24 AM |
if Player:IsInGroup(1203332) then GUI:WaitForChild("OccCivilian").Visible = true GUI:WaitForChild("CivilianCover").Visible = false end
How can I add like a player? Like something like this but I know it doesnt work
if Player:IsInGroup(1203332) and if Player:Name(Player)
Idk i just guessing but I would like to add something like that so I know it works under studio so i dont have to keep saving and going to play the game just to see if it works |
|
|
| Report Abuse |
|
|
|
| 10 May 2015 07:29 AM |
if Player:IsInGroup(1203332) and Player.Name == "ROBLOX" then GUI:WaitForChild("OccCivilian").Visible = true GUI:WaitForChild("CivilianCover").Visible = false end |
|
|
| Report Abuse |
|
|
DevKonner
|
  |
| Joined: 04 Feb 2012 |
| Total Posts: 519 |
|
|
| 10 May 2015 07:47 AM |
Another question.
How do I make a thing to where you pressed a TextButton and it assigns you to a team.
I got this so far but I got nothing for the assigning to a team
local Screen = script.Parent.Parent
script.Parent.MouseButton1Click:connect(function() Screen.OccStatePolice.BackgroundColor3 = Color3.new(0/255, 220/255, 106/255) Screen.OccupationCover.Visible = true end) |
|
|
| Report Abuse |
|
|
DevKonner
|
  |
| Joined: 04 Feb 2012 |
| Total Posts: 519 |
|
| |
|
|
| 10 May 2015 07:56 AM |
| Look.. Just learn to script. It saves you having to wait for us to answer your questions. |
|
|
| Report Abuse |
|
|