why will the player:kick work here?
game.Players.PlayerAdded:connect(function(player)
player.Chatted:connect(function(msg)
if(msg == "I dont feel so good") then
player:kick ("Thanos Snapped")
end
end)
end)
and not here
function clicked()
player:kick ("oof")
end
script.Parent.MouseButton1Click:Connect(clicked)
pls help
