local replicatedStorage = game:GetService("ReplicatedStorage")
local remoteData = game:GetService("ServerStorage"):WaitForChild("RemoteData")
local cooldown = 1
replicatedStorage.Remotes.Lift.OnServerEvent:Connect(function(player)
if not remoteData:FindFirstChild(player.Name) then return "NoFolder" end
local debounce = remoteData[player.Name]
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)
When I run the script it keeps saying value isnt a valid member of folder can somebody help?

5 comments
wheres this error coming from?
ok so wait
i think whats happening as you can see the variable "fdebounce" which is storing "remoteData[player.Name]" is refering to your player, so doing debounce.Value wont return anything since there isnt a value property to that object or theresnt a child parented to it named "Value"
fix that, maybe you forgot to make your value object or maybe you are refering to it the wrong way
it worked before but now it isnt working