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: Halp with GUI script!

Previous Thread :: Next Thread 
jango464 is not online. jango464
Joined: 30 Jul 2009
Total Posts: 4913
13 Dec 2011 04:47 PM
I have this in a text button...

function onb1d()

if game.Players.LocalPlayer.leaderstats.KOs == 50 then
local weapon = script.Parent["First weapon"]:clone()
weapon.Parent = game.Players.LocalPlayer.Backpack
end
end

script.Parent.MouseButton1Down:connect(onb1d)
Report Abuse
jango464 is not online. jango464
Joined: 30 Jul 2009
Total Posts: 4913
13 Dec 2011 04:50 PM
Bump
Report Abuse
bikerking200 is not online. bikerking200
Joined: 11 Mar 2010
Total Posts: 5047
13 Dec 2011 04:50 PM
    if game.Players.LocalPlayer.leaderstats.KOs == 50 then

    if game.Players.LocalPlayer.leaderstats.KOs.Value == 50 then

~Bikerking200 :P~
Report Abuse
jango464 is not online. jango464
Joined: 30 Jul 2009
Total Posts: 4913
13 Dec 2011 04:53 PM
Didn't work.
Report Abuse
bikerking200 is not online. bikerking200
Joined: 11 Mar 2010
Total Posts: 5047
13 Dec 2011 04:54 PM
.. Did you put `if game.Players.LocalPlayer.leaderstats.KOs.Value == 50 then`

~Bikerking200 :P~
Report Abuse
jango464 is not online. jango464
Joined: 30 Jul 2009
Total Posts: 4913
13 Dec 2011 04:55 PM
Yes...
Report Abuse
jango464 is not online. jango464
Joined: 30 Jul 2009
Total Posts: 4913
13 Dec 2011 04:59 PM
Bump
Report Abuse
jango464 is not online. jango464
Joined: 30 Jul 2009
Total Posts: 4913
14 Dec 2011 04:32 PM
Bump
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