Hello guys, i have made a remote event that will, print"hello" when you press a button on the client side.
Server side script:
local brickclone = game.ReplicatedStorage:WaitForChild("RemoteEvent") brickclone.OnServerEvent:connect(function(func) print"hello" end)
Client side script for button:
local clone = game.ReplicatedStorage:WaitForChild("RemoteEvent") script.Parent.ScreenGui.TextButton.MouseButton1Click:Connect(function(gui) warn"Return message from server" clone:FireServer() end
When i run a server and client side test two players, i click the button, but the warning shows on the person who clicked the button, but no message, and no warn for server and no message saying"hello"
Why is this happening? if i do a test with just the client then it works both of it. I even downloaded a RemoteEvent test place that has valid code but it does the same thing, no print message shows up saying who clicked a button.
ANSWER SOLVED FIGURED IT OUT
outputs aren't shared, there's the client output, for every player, and the server output, only the creator can access
I figured it out outputs aren't shared, there's the client output, for every player, and the server output, only the creator can access.