Hi, I am trying to make a game where if a bacon hair joins, he will get kicked. Meaning, the game won't have any bacon hairs. To do this, I was thinking of some way to detect the bacon hair and then kicking the player. I don't know if this is possible or how to do this. I have like only 5% knowledge about writing in lua. Is there someone out there that could make this? Is it even possible???
I would like the code to detect the bacon hair, then kick the player.
Thanks anyway. This forum helped me out a lot already.
~Xtensive
game.Players.PlayerAdded:Connect(function(plr) local chr = plr.Character or plr.CharacterAdded:Wait() if chr:FindFirstChild("Bacon Hair") then chr:FindFirstChild("Bacon Hair"):Destroy() end end)
Note:You would have to find the name of the hair cause i dont know it. Something like this should do. I dont think it has to have any specific location.(in the game)
Closed as Not Constructive by IAmNotTheReal_MePipe, CreationNation1, imKirda, yuni_Boy1234, and Cynical_Innovation
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?