Remote Event Not Firing

try removing the player parameter

1 Like

I did it my way, and it worked!

It’s very simple and there are better ways to do it

4 Likes

test it in the real game
Plublish go play and press F11 then click on server

1 Like

How about you change the local script to:

script.Parent.Screen.Frame.Button.MouseButton1Click:Connect(function()
       game.ReplicatedStorage.Hello:FireServer()
       print("hello from client")
end)

this should work

1 Like

I used to have this problem, make sure the script isnt in replicated storage

3 Likes

i am having the same issue, but there’s a strange behavior whenever i move the local script inside a screengui, it just doesn’t work and this is for team test

here’s a video of it working normally

and here’s a video of it being tested regularly and then team test

here’s a video to show that the script is parented to gui and it doesn’t work then it works when i unparent the script

The reason is because you changed the script’s Parent. Another way around this is using player.PlayerGui. Can you show me the code and the explorer? If you do I can solve your problem.

1 Like

it works normally when you test it, but if you team test it then the remote event won’t fire
but i was messing around and put the script outside of the screen gui and it works like normal, but the exception i can’t use the screen gui

i don’t know what i did, but its fixed now
i just find it strange that it broke like that in the first place and not only that it worked when testing regularly but when i team test it broke

Did you test on a local server or just via play? if you tested via a local server then the output wont be in the local player but in the server

1 Like