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: Hat script for owner

Previous Thread :: Next Thread 
SampaInDaHouse is not online. SampaInDaHouse
Joined: 10 Feb 2011
Total Posts: 14
24 Aug 2013 08:12 AM
Guys, how do you do the script that when you enter the game (For owner only) That the owner For example Me. Gets a hat. automatically. Please help.




-=I believe i can toast=-
Report Abuse
mrwar117 is not online. mrwar117
Joined: 16 Oct 2009
Total Posts: 224
24 Aug 2013 08:33 AM
i forget the command or w/e for playerjoined or w/e but use that and:

if player.Name = ("Owner1024") then
game.Lighting.Hat:clone().Parent = game.Workspace.Owner1024
Report Abuse
Adam2090 is not online. Adam2090
Joined: 19 Jul 2010
Total Posts: 889
24 Aug 2013 08:39 AM
game.Players.PlayerAdded:connect(function(Player)
if player.Name = ("name") then
game.Lighting.Hat:clone().Parent = game.Workspace.name -- Make sure to put a hat called "Hat" In lighting for this to work.
Report Abuse
Adam2090 is not online. Adam2090
Joined: 19 Jul 2010
Total Posts: 889
24 Aug 2013 08:39 AM
game.Players.PlayerAdded:connect(function(Player)
if player.Name = ("name") then
game.Lighting.Hat:clone().Parent = game.Workspace.name -- Make sure to put a hat called "Hat" In lighting for this to work.
end)
end
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