#Hatify function does nothing 4 some reason when called?

1 messages · Page 1 of 1 (latest)

half igloo
#
local char = player.Character or player.CharacterAdded:Wait()
local hum = char.Humanoid
local Replicated = game:GetService("ReplicatedStorage")
local hatone = Replicated:WaitForChild("tophat"):Clone()
local hattwo = Replicated:WaitForChild("partyhat"):Clone()
local hatthree = Replicated:WaitForChild("bananahat"):Clone()
local hatfour = Replicated:WaitForChild("BCHardHat"):Clone()
local hatfive = Replicated:WaitForChild("traffichat"):Clone()
if player.leaderstats.Hat.Value == 1 then
    hatone.Parent = char
else if player.leaderstats.Hat.Value == 2 then
        hattwo.Parent = char
    else if player.leaderstats.Hat.Value == 3 then
            hatthree.Parent = char
        else if player.leaderstats.Hat.Value == 4 then
                hatfour.Parent = char
            else if player.leaderstats.Hat.Value == 5 then
                    hatfive.Parent = char
                end
            end
        end
    end
end
end```
#

plz halp meh

hollow void
#

Could you imply some context? What are you trying to do?

hollow void
half igloo
#

hmmm

#

can't define that in a normal script tho

#

NEVERMIND

#

NEVERMIND

#

I ECKIN

#

I GOT IT TO WORK

#

I'M HIM

#

I'M HIM

#

uhh, function still does nothing

#

but I didn't need a function

#

oh yeah

#

oh yeah