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: help this doesnt even work.

Previous Thread :: Next Thread 
johnville is not online. johnville
Joined: 12 Oct 2008
Total Posts: 388
11 Jun 2015 08:22 PM
Hat = game.Lighting.BlockHead

game.Player.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
Hat:Clone().Parent = character
end)
end)


my hat is in lightning i tried
adding this right under Hat:Clone().Parent = character

Hat.AttachmentForward = 0.999, 0, -0.04
Hat.AttachmentPos = 0, 0, 0
Hat.AttachmentRight = 0.04, 0, 0.999
Hat.AttachmentUp = 0, 1, 0


but the pieceof crap didnt even work
btw this is a script in starter pack
Report Abuse
johnville is not online. johnville
Joined: 12 Oct 2008
Total Posts: 388
11 Jun 2015 08:27 PM
im going back to the top kk
Report Abuse
johnville is not online. johnville
Joined: 12 Oct 2008
Total Posts: 388
11 Jun 2015 08:31 PM
HELP
Report Abuse
johnville is not online. johnville
Joined: 12 Oct 2008
Total Posts: 388
11 Jun 2015 08:36 PM
Oh you're reading this? NOW HELP! PLS
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
11 Jun 2015 08:37 PM
Hat = game.Lighting.BlockHead

game.Player.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
local HatC = game.Lighting.BlockHead:Clone()
HatC.Parent = character
Hat.AttachmentForward = Vector3.new(0.999, 0, -0.04)
Hat.AttachmentPos = Vector3.new(0, 0, 0)
Hat.AttachmentRight = Vector3.new(0.04, 0, 0.999)
Hat.AttachmentUp = Vector3.new(0, 1, 0)
end)
end)


my hat is in lightning i tried
adding this right under Hat:Clone().Parent = character

Report Abuse
johnville is not online. johnville
Joined: 12 Oct 2008
Total Posts: 388
11 Jun 2015 08:43 PM
didnt work but ty for trying, but question... why HatC.


HELP!!!
Report Abuse
johnville is not online. johnville
Joined: 12 Oct 2008
Total Posts: 388
11 Jun 2015 08:47 PM
help please?
Report Abuse
johnville is not online. johnville
Joined: 12 Oct 2008
Total Posts: 388
11 Jun 2015 08:50 PM
so sorry for spam but im desperate
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
11 Jun 2015 08:51 PM
put the script in workspace
Report Abuse
johnville is not online. johnville
Joined: 12 Oct 2008
Total Posts: 388
11 Jun 2015 08:55 PM
didnt work, probably because i have a hat on, any way a players current hat can be removed on spawn?





~johnville
Report Abuse
johnville is not online. johnville
Joined: 12 Oct 2008
Total Posts: 388
11 Jun 2015 09:03 PM
HELP
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
11 Jun 2015 09:05 PM
1) stop spamming
2) you need to use Vector3.new(0.999, 0, -0.04) etc
Report Abuse
johnville is not online. johnville
Joined: 12 Oct 2008
Total Posts: 388
11 Jun 2015 09:11 PM
1. if you're not here to help pls leave
2. if you're not here to help... PLEASE LEAVE.


HELP!!
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
11 Jun 2015 09:46 PM
Hat = game.Lighting.BlockHead

game.Player.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
repeat wait() until character ~= nil
for i, v in pairs(character:GetChildren()) do
if v:IsA("Hat") then v:Destroy()
end
end

local HatC = game.Lighting.BlockHead:Clone()
HatC.Parent = character
Hat.AttachmentForward = Vector3.new(0.999, 0, -0.04)
Hat.AttachmentPos = Vector3.new(0, 0, 0)
Hat.AttachmentRight = Vector3.new(0.04, 0, 0.999)
Hat.AttachmentUp = Vector3.new(0, 1, 0)
end)
end)
Report Abuse
johnville is not online. johnville
Joined: 12 Oct 2008
Total Posts: 388
11 Jun 2015 09:55 PM
I figured it out my self! thanks for your help tho m8!
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
11 Jun 2015 11:55 PM
was it to add C after the Hats
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