local replicatedStorage = game:GetService("ReplicatedStorage")
local remoteData = game:GetService("ServerStorage"):WaitForChild("RemoteData")

local cooldown = 1

replicatedStorage.Remotes.Chop.OnServerEvent:Connect(function(player)
	
	if not remoteData:FindFirstChild(player.Name) then return "NoFolder" end
	
	print ("Got past the Debounce variable")
	
	local debounce = remoteData(player.Name) .Debounce
	
	if not debounce.Value then
		
		debounce.Value = true
		
		player.leaderstats.Strength.Value = player.leaderstats.Strength.Value + 25 * (player.leaderstats.Rebirths.Value + 1)
		
		wait(cooldown)
		
		debounce.Value = false
		
		
		
	end
	
end)

02:16:57.948 - Nerraw420 is not a valid member of Folder

2 comments

0

ignore what I said

0

Ok haha, Im just dazzled when i click "play" i can see my Name in RemoteData, But when i Stop it goes away. Im not sure if thats why it wont run.