local part = script.Parent
local player = game.Players:GetChildren()
local debounce = false
part.Touched:Connect(function(part)
if debounce == false then
debounce = true
print("e")
game.ReplicatedStorage.shoot.Playing = true
for i, v in pairs(player) do
print("ee")
v.PlayerGui.Guiii.blackscreen.BackgroundTransparency = 0
wait(0.1)
v:Kick("u lose haha")
end
end
end)
It all works until the in pairs loop. It also doesn't play the sound before it. If you want to know anything else comment then I will respond.

1 comment
Thanks!