xoaizver
|
  |
| Joined: 23 Jul 2015 |
| Total Posts: 27 |
|
|
| 27 Sep 2017 01:40 PM |
leaderboard script so you can test yourself: -- put me in serverscriptservice game.Players.PlayerAdded:connect(function(plr) local plr = game.Players.LocalPlayer local stats = Instance.new("BoolValue",plr) stats.Name = "leaderstats" local bux = Instance.new("IntValue",stats) bux.Name = "Bux" bux.Value = 0 end)
Update Script For TextLabel: -- put me in a text button in starter gui local plr = game.Players.LocalPlayer local bux = game.Players.LocalPlayer.leaderstats.Bux script.Parent.MouseButton1Click:Connect(function() bux.Text = plr.leaderstats.Bux.Value end)
I want this script to update my textlabel text to say what ever the players local value of Bux is in leaderstats |
|
|
| Report Abuse |
|
xoaizver
|
  |
| Joined: 23 Jul 2015 |
| Total Posts: 27 |
|
|
| 27 Sep 2017 01:42 PM |
UPDATE!
leaderboard script so you can test yourself: -- put me in serverscriptservice as a script game.Players.PlayerAdded:connect(function(plr) local plr = game.Players.LocalPlayer local stats = Instance.new("BoolValue",plr) stats.Name = "leaderstats" local bux = Instance.new("IntValue",stats) bux.Name = "Bux" bux.Value = 0 end)
Update Script For TextLabel: -- put me in a text button in starter gui as a localscript local plr = game.Players.LocalPlayer local bux = game.Players.LocalPlayer.leaderstats.Bux script.Parent.MouseButton1Click:Connect(function() bux.Text = plr.leaderstats.Bux.Value end)
I want this script to update my textlabel text to say what ever the players local value of Bux is in leaderstats ReplyReport Abuse Previous Thread :: Next Thread Page 1 of 1 Add a Reply ROBLOX Forum » Game Creation and Development » Scripters
|
|
|
| Report Abuse |
|