I have made this script but it does not seem to work can anyone help me?
Block = script.Parent
if game.Player:groupid = -- Group id
function Kill(part)
local Player = part.Parent
local Torso = Player.Torso
Torso:Destroy()
end
Block.Touched:connect(Kill)
