so I'm trying to make a script that noobifies you. So far all I have is an attempt to remove your hat though. but it says "player is not a valid member of DataModel".
Here's the script!
function nubcaik(player)
for i, v in pairs(game.player:GetChildren()) do
if v:IsA("Hat") then
v:remove()
end
end
end
game.Players.PlayerAdded:connect(nubcaik)
|