|
| 09 Nov 2013 08:54 AM |
if (player == nil) then return end local stats = player:findFirstChild("leaderstats") local sp = stats:findFirstChild("Level") if sp == nil then return false end
I have an IntValue called "Lvl" so how do i change it so that it is checks for your IntValue of Lvl instead of Leaderstat of Level |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 08:55 AM |
| Can`t tell if trolling or stupid. |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 09:01 AM |
Here let me reword that for you. 'How can I change the word "Level" into the word "Lvl"?' |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 09:13 AM |
| i changed Level to Lvl and nothing happened. |
|
|
| Report Abuse |
|
|
domorox17
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 1710 |
|
|
| 09 Nov 2013 09:18 AM |
| r u trying to make a new leaderstat? cause an intValue alone wont do that |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 09:25 AM |
local stats = Instance.new("IntValue") stats.Name = "supercool"
local xp = Instance.new("IntValue") xp.Name = "XP"
local level = Instance.new("IntValue") level.Name = "Lvl"
xp.Parent = stats level.Parent = stats stats.Parent = newPlayer
those are the IntValues. I want this script to read "Lvl". But it is not a leaderstat |
|
|
| Report Abuse |
|
|
domorox17
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 1710 |
|
|
| 09 Nov 2013 09:28 AM |
| but r u trying to make a new leaderstat? thats what im asking |
|
|
| Report Abuse |
|
|
| |
|
breuning
|
  |
| Joined: 30 Oct 2008 |
| Total Posts: 4268 |
|
|
| 09 Nov 2013 09:29 AM |
if (player == nil) then return end local stats = player:findFirstChild("leaderstats") local sp = stats:findFirstChild("Lvl") if sp == nil then return false end |
|
|
| Report Abuse |
|
|
domorox17
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 1710 |
|
|
| 09 Nov 2013 09:29 AM |
| r u making a custom leaderboard? i cant rly help wihout knowing your intent |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 09:32 AM |
| breuning i tried that, but "Lvl" is not a leaderstat it is just an Intvalue |
|
|
| Report Abuse |
|
|