generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: how do i edit this one

Previous Thread :: Next Thread 
kibawolf47 is not online. kibawolf47
Joined: 12 May 2012
Total Posts: 869
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
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
09 Nov 2013 08:55 AM
Can`t tell if trolling or stupid.
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
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
kibawolf47 is not online. kibawolf47
Joined: 12 May 2012
Total Posts: 869
09 Nov 2013 09:13 AM
i changed Level to Lvl and nothing happened.
Report Abuse
domorox17 is not online. 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
kibawolf47 is not online. kibawolf47
Joined: 12 May 2012
Total Posts: 869
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 is not online. 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
kibawolf47 is not online. kibawolf47
Joined: 12 May 2012
Total Posts: 869
09 Nov 2013 09:29 AM
no
Report Abuse
breuning is not online. 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 is not online. 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
kibawolf47 is not online. kibawolf47
Joined: 12 May 2012
Total Posts: 869
09 Nov 2013 09:32 AM
breuning i tried that, but "Lvl" is not a leaderstat it is just an Intvalue
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image