cambo296
|
  |
| Joined: 02 Jan 2012 |
| Total Posts: 576 |
|
|
| 04 Apr 2016 08:56 PM |
It wont make leaderstats O.o
wait(3)
local xpup = game.Players.Player.leaderstats.Level.Value
game.Players.PlayerAdded:connect(function() local leaderstats = Instance.new("Model") leaderstats.Name = "leaderstats" leaderstats.Parent = game.Players.LocalPlayer local gold = Instance.new("IntValue") gold.Name = "Gold" gold.Value = 0 gold.Parent = leaderstats local xp = Instance.new("IntValue") xp.Name = "Exp" xp.Value = 0 xp.Parent = leaderstats xp.Max = 100 local Level = Instance.new("IntValue") Level.Name = "Level" Level.Value = 0 Level.Parent = leaderstats Level.Max = 500
local xpup = game.Players.Player.leaderstats.Level.Value
if xp == 100 then game.Players.Player.stats.Level.Value = game.Players.Player.stats.Level.Value + 1 if xpup > xp then xp = xp * .25 end
end
end)
Cambo296 |
|
|
| Report Abuse |
|
|
| 04 Apr 2016 09:00 PM |
local leaderstats = Instance.new("IntValue")
#code print("Why did Adele cross the road?") wait(3) print("To say hello from the other side!") |
|
|
| Report Abuse |
|