Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I have a problem about hats :)?

Asked by 5 years ago
Edited 5 years ago

PROBLEM Having trouble welding the hat to the head, Yes the attachment has the same name... And yes I tried deleting the attachment, yet it still does the same thing.. And yES this is in a local script

I thought that you just had to have an attachment but apparently not? because it still acts as if its not attached

local RS = game:GetService("ReplicatedStorage")
local DogeHeadsFolder = RS:FindFirstChild("DogeHeads")
local h = Instance.new("Accessory")
local p = Instance.new("Part")
local DogeMesh =DogeHeadsFolder:FindFirstChild("NormalDoge") -- Change to mesh needed
h.Name = "NormalDoge"
p.Parent = h
p.Position = Player.Character:FindFirstChild("Head").Position
p.Name = "Handle" 
p.formFactor = 0
p.Size = Vector3.new(2, 1.5, 2)  
p.BottomSurface = 0 
p.TopSurface = 0 
p.Locked = true 
DogeMesh:Clone().Parent = p
h.Parent = Player.Character
h.AttachmentForward = Vector3.new(-0, -0, -1)
h.AttachmentPos = Vector3.new(0, 0.35, 0.3)
h.AttachmentRight = Vector3.new(1, 0, -0)
h.AttachmentUp = Vector3.new(0, 1, 0)

Answer this question