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: Can anyone help me

Previous Thread :: Next Thread 
Mariokillsyou645 is not online. Mariokillsyou645
Joined: 22 Aug 2011
Total Posts: 129
16 Aug 2014 04:23 PM
I'm trying to make a hat weld script (Like some of the murder games and stuff) and I'm having problems can anyone tell me how to make a hat stay on my head even if I spam +
Report Abuse
ROBLOXTHEMOVIEs is not online. ROBLOXTHEMOVIEs
Joined: 11 Jun 2012
Total Posts: 5895
16 Aug 2014 04:25 PM
game.Players.PlayerAdded:connect(function(nub)
nub.CharacterAdded:connect(function(player)
player.Head.Transparency = 1
local Handle = Instance.new("Part",player)
Handle.Name = "Hat"
local Mesh = Instance.new("SpecialMesh",Handle)
Mesh.MeshId = "http://www.roblox.com/asset/?id=151778863"
Mesh.TextureId = "http://www.roblox.com/asset/?id=151778895"
local Weld = Instance.new("Weld",Handle)
Weld.Name = "HatWeld"
Weld.Part0 = player.Head
Weld.Part1 = Handle
end)
end)
Report Abuse
Mariokillsyou645 is not online. Mariokillsyou645
Joined: 22 Aug 2011
Total Posts: 129
16 Aug 2014 04:27 PM
Can you change the position?
Report Abuse
ROBLOXTHEMOVIEs is not online. ROBLOXTHEMOVIEs
Joined: 11 Jun 2012
Total Posts: 5895
16 Aug 2014 04:27 PM
Weld.C0 = blah blah blah
Report Abuse
Mariokillsyou645 is not online. Mariokillsyou645
Joined: 22 Aug 2011
Total Posts: 129
16 Aug 2014 04:28 PM
thx
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