I made a script that makes your hats transparent if you sit in the chair and it wont work, any thoughts?
script.parent.ChildAdded:Connect(function()
for a=1,#b do
if b[a].className == "Accessory" then
b[a].Handle.Transparency = 1
end
end
end)
script.parent.ChildRemoved:Connect(function()
for a=1,#b do
if b[a].className == "Accessory" then
b[a].Handle.Transparency = 0
end
end
end)
Player = script.Parent.Parent.Parent.Parent.Parent.Character
b = Player:GetChildren()
