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)

2 comments
how do i fix it?
You can click on the red dots again to make them disappear again.