Mario5422
|
  |
| Joined: 17 Nov 2008 |
| Total Posts: 3922 |
|
|
| 21 Jul 2011 09:17 PM |
It seems like nobody can help me...
So anyway, for some reason it works in Play Solo but not in Live mode.
It is supposed to find what type of BC the player has, and than display it on the GUI.
---- lr = game:GetService("Players").LocalPlayer if Plr.MembershipType == "OutrageousBuildersClub" then script.Parent.Text = "Outrageous" elseif Plr.MembershipType == "TurboBuildersClub" then script.Parent.Text = "Turbo" elseif Plr.MembershipType == "BuildersClub" then script.Parent.Text = "Yes" else script.Parent.Text = "No" end ----
All help is appreciated. Thanks |
|
|
| Report Abuse |
|
|
|
| 21 Jul 2011 09:26 PM |
Im not a scripting expert but i do know enough to understand a basic script.
I noticed that your string: lr = game:GetService("Players").LocalPlayer
"lr" is not the same as:
if Plr.MembershipType == "OutrageousBuildersClub" then
"Plr" try changing all the "Plr"'s to "lr"'s and see how it goes. |
|
|
| Report Abuse |
|
|
salem9
|
  |
| Joined: 25 Oct 2008 |
| Total Posts: 23312 |
|
|
| 21 Jul 2011 09:28 PM |
| Linerider aced that. I missed that. :P |
|
|
| Report Abuse |
|
|
Mario5422
|
  |
| Joined: 17 Nov 2008 |
| Total Posts: 3922 |
|
|
| 21 Jul 2011 09:58 PM |
| Sorry, I actually had Plr at the beginning, I guess when I typed the thread it got cut off :/ |
|
|
| Report Abuse |
|
|
lucile
|
  |
| Joined: 04 May 2008 |
| Total Posts: 123 |
|
| |
|
|
| 21 Jul 2011 10:02 PM |
game.Players.PlayerAdded:connect(function(Plr) Plr:WaitForDataReady() if Plr.MembershipType == "OutrageousBuildersClub" then script.Parent.Text = "Outrageous" elseif Plr.MembershipType == "TurboBuildersClub" then script.Parent.Text = "Turbo" elseif Plr.MembershipType == "BuildersClub" then script.Parent.Text = "Yes" else script.Parent.Text = "No" end end) |
|
|
| Report Abuse |
|
|