im not good with remote events but i do know on :FireClient() the first parameter is always the player but if i leave it blank it says missing or nil and if i define the player it says unable to cast value to object any help?
--script
script.Parent.Touched:Connect(function(hit)
game.ReplicatedStorage.Battery:FireClient(hit.Parent.Name)
end)
--localscript
game.ReplicatedStorage.Battery.OnClientEvent:Connect(function(hit)
hit.Backpack.Battery.Value = true
print(hit.Name.."Has Picked Up Battery")
end)

5 comments
ty, now im getting this 20:50:24.181 - Remote event invocation queue exhausted for ReplicatedStorage.Battery; did you forget to implement OnClientEvent? (x349)
add a db system (https://www.robloxdev.com/articles/Debounce)
alright will do thanks
well main problem solved but now the localscripts not printing anything or changing the bool value
did you set the bool back to false after the command?