So I have been trying to work a universed game and sometimes when Im teleported instead of it going to that game the screen goes blank and I have to manually shut it down. This seems to not happen to anyone else, any suggestions? Its a mac
debounce = false script.Parent.Touched:connect(function(hit) if hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Right Leg" or hit.Name == "Left Leg" then if game.Players:GetPlayerFromCharacter(hit.Parent) and debounce == false then if game.Players:GetPlayerFromCharacter(hit.Parent).Credits.Value >= 50 then debounce = true game.Players:GetPlayerFromCharacter(hit.Parent).Credits.Value = game.Players:GetPlayerFromCharacter(hit.Parent).Credits.Value -50 game:GetService("TeleportService"):Teleport(367478539,game.Players:GetPlayerFromCharacter(hit.Parent)) debounce = false end end end end)