Hello everyone, I've been trying to fire a remoteevent, but things aren't going right
Here's what I put down
In a normal script in a GUI button:
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local function mouseclick()
game.ReplicatedStorage.RewardChange:FireClient(player)
print("Fired")
end
script.Parent.MouseButton1Down:Connect(mouseclick)
And for the receiving end, there's a localscript in Workspace (I made it local as I'm trying to change the PlayerGui)
game.ReplicatedStorage.RewardChange.OnClientEvent:Connect(function()
print("received")
I also put my RemoteEvent in Workspace so the localscript
As you can see, I tried troubleshooting it with a print troubleshoot, but that doesn't print.
Thanks, any help would be appreciated

3 comments
lmao where's the end)?
There's no need for the end), there isn't a problem with that.
Cause that's not the full script.