Hello! This code is giving me a lot of errors
Code:
Just to clarify the errors are related to different parts in the script, but if I get rid of that code the errors go away
edit; Can you provide more information please? What is your code doing?
What errors does it show? I can’t really know what’s going on unless we know what’s happening. It’s probably a syntax error
the errors are to do with leaderstats and it breaks the whole code from that one line but if I remove it, everything works
Can you show us? You must’ve mistyped something.
game:GetService("ReplicatedStorage"):WaitForChild("AdminFolder"):WaitForChild("BroadcastedMessage"
Try this and make sure every instance in the path matches correctly as it appears in the explorer window.