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: Does this go in a local script?

Previous Thread :: Next Thread 
goldenfist202 is not online. goldenfist202
Joined: 25 Oct 2009
Total Posts: 6150
25 Dec 2012 03:30 PM

g = game:GetService("GamePassService")
game.Players.PlayerAdded:connect(p)
p.CharacterAdded:connect(function(c)
if c then
player = game.Players:GetPlayerFromCharacter(p.Parent)
if g:PlayerHasPass(player, 123456) then
c.Humanoid.MaxHealth = 200
c.Humanoid.WalkSpeed = 25
uzi = game.Lighting:findFirstChild("Uzi")
clone = uzi:Clone()
clone.Parent = player.Backpack
end
end
end)
end)

the script didnt work in a regular script object it was in workspace does it go in local script or does it go somewhere besides workspace?
Report Abuse
LUVMARIOLUIGI10000 is not online. LUVMARIOLUIGI10000
Joined: 16 May 2009
Total Posts: 1244
25 Dec 2012 03:32 PM
Copied Much?
http://www.roblox.com/Forum/ShowPost.aspx?PostID=85260848

~LUV, LuaLearners Teacher(+2)~
Report Abuse
goldenfist202 is not online. goldenfist202
Joined: 25 Oct 2009
Total Posts: 6150
25 Dec 2012 04:44 PM
lol he made the script for me an I didn't see if h ppsted
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