Hello. I’m trying to make a block that kicks a player when they touch it (Just for an experiment.)
The script won’t work, I will show the output down below:
Here’s the script:
local debounce = false
local pad = script.Parent
if not debounce then
pad.Touched:Connect(function(PlayerThatTouched)
wait(1)
debounce = true
PlayerThatTouched:Kick()
end)
end
