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 » Scripters
Home Search
 

Re: Please for real....

Previous Thread :: Next Thread 
delije23 is not online. delije23
Joined: 10 Oct 2012
Total Posts: 574
23 Aug 2017 02:56 PM
Im not sure how to do this part of script.

if Value xp == 2 then
Value xp = "Newbie"
textgroup.TextColor3 = Color3.new(241/1, 54/1, 7/1)
end

How do i make it so when it found value xp that i have 20 xp to equals newbie tag?
Report Abuse
Mouse_Potatoe is online. Mouse_Potatoe
Joined: 14 Jul 2011
Total Posts: 1563
23 Aug 2017 02:58 PM
variable cant have a space in it

also
do textgroup.TextColor3 = Color3.fromRGB(241, 54, 7)


getfield(lua_State, -1, "MemeService")
Report Abuse
delije23 is not online. delije23
Joined: 10 Oct 2012
Total Posts: 574
23 Aug 2017 03:01 PM
Im really trying my hardest i got an UNIQUE game idea.Like for real i would pay you if i had robux....

The problem is im trying to make it

if (value gets called xp gets to 2) == 2 then
(changes the tag to) = "Newbie"
textgroup.TextColor3 = Color3.new(241/1, 54/1, 7/1)
end

Value is xp
Report Abuse
Scriptacity is not online. Scriptacity
Joined: 01 Mar 2011
Total Posts: 855
23 Aug 2017 03:07 PM
wot


Report Abuse
Mouse_Potatoe is online. Mouse_Potatoe
Joined: 14 Jul 2011
Total Posts: 1563
23 Aug 2017 03:09 PM
^

I can't help because I don't have enough information. Just learn to script.


getfield(lua_State, -1, "MemeService")
Report Abuse
delije23 is not online. delije23
Joined: 10 Oct 2012
Total Posts: 574
23 Aug 2017 03:13 PM
function onPlayerEntered(newPlayer)

local stats = Instance.new("IntValue")
stats.Name = "leaderstats"

local xp = Instance.new("IntValue")
xp.Name = "XP"
xp.Value = 0

local lvl = Instance.new("IntValue")
lvl.Name = "Level"
lvl.Value = 0

xp.Parent = stats
lvl.Parent = stats
stats.Parent = newPlayer
end

game.Players.ChildAdded:connect(onPlayerEntered)


this is what i did
and with other part what i wanna do is when it get to certain number then tag change from newbie to player...
Report Abuse
igrach2 is not online. igrach2
Joined: 09 Mar 2017
Total Posts: 252
23 Aug 2017 03:25 PM

game.Players.PlayerAdded:Connect(function(newPlayer)
local stats=Instance.new("Folder",newPlayer)
stats.Name="leaderstats"
local xp=Instance.new("IntValue",stats)xp.Name="XP"
local lvl=Instance.new("IntValue",stats)lvl.Name="Level"
wait()xp.Changed:Connect(function()
if xp.Value==2 then
xp.Value="Newbie"
textgroup.TextColor3 = Color3.new(241/1, 54/1, 7/1)
end
end)

end
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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