Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

No hat drop script?[NEED MORE ANSWERS]

When a player drops their hat it disappears.

Can somebody make a script for this please?

1 comment

0

"Can somebody make a script for this please?" Here at Scripting Helpers, requests are not allowed. Please attempt a script so you can learn from it.

1 answer

I'm not absolutely sure if this will work or not due to ROBLOX updates, but give it a try anyway.

for i = 1, #g do in pairs
game.Workspace:GetChildren()
if g[i]:IsA("Hat")
then
g[i]:Remove()
end
end

1 comment

0

Doesn't work :C

This discussion is preserved as it was. New answers, comments, and votes are closed.