Hi! I’ll get straight to the point. I’m trying to make a minigame similar to Survivors where if you click and your stick is touching another player, that player will sit. Here is an Example
I tried to make some code that I assumed would work but sadly it doesn’t, I’m not sure what is wrong with it but I’m not too advanced in scripting so . How would you all go about it? This is my code, it is inside of the Roblox Sword Tool Sword Script:
Ok so, I put the code in a local script and it semi-works.
I put the debug in too, now it prints “Worked” if you touch a player with the sword, but it doesn’t make them sit, I’m not sure why it won’t work as I have plenty of scripts using the same sit code that work. Do you think you know what might be going on?