Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

when trying to play game it says rendering is paused for debugging why?

Asked by 2 years ago

when trying to play game it says rendering is paused for debugging why? here is my cash for kill script

game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder",player) leaderstats.Name = "leaderstats"

local Cash = Instance.new("IntValue",leaderstats)
Cash.Value = 0
Cash.Name = "Cash"

local Kills = Instance.new("IntValue",leaderstats)
Kills.Value = 0
Kills.Name = "Kills"

player.characteradded:Connect(function(character)
    character.Humanoid.Died:Connect(function()
        local Killertag = character.Humanoid:WaitForChild("creator")

        if Killertag and Killertag.Value then
            local Stats = Killertag.Value:WaitForChild("leaderstats")

            Stats["Cash"].Value = Stats ["Cash"].Value + 10
            Stats["Kills"].Value = Stats["Kills"].Value + 1
        end
    end)
end)

end)

1 answer

Log in to vote
0
Answered by 2 years ago

If you press a line along your script there will be a red dot, you don't want it during testing and it will pause. Make sure you don't have any of these dots in your scripts.

0
how do i fix it? Auqa_dash 1 — 2y
0
You can click on the red dots again to make them disappear again. Bankrovers 226 — 2y
Ad

Answer this question