FireServer() won't work when I test it on a actual server The script that prints "shopp" is in workspace The other one is in a local script in some Guis.

shopPrev.PurchaseButton.MouseButton1Down:connect(function()
	print ("firing server")
	game.workspace.Test.Shop:FireServer()
	print ("firing server2")
end)

script.shop.OnServerEvent:connect(function(player)
	print("shoppp")
end)

Prints firing server and firing server2

2 comments

0

Is the casing shop or Shop for the RemoteEvent object?

0

Would like you to give more information about what u trying to do, the hierarchy if there's one. And either re-phrase your question and clarify it up, and then maybe we'll be able to help a bit more.