Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

RemoteEvent is not firing?

Hello,

I am having some weird issues. My RemoteEvents are not firing in my game.

--Client
local ClothesEvent = ReplicatedStorage.RemoteEvents:WaitForChild("ClothesEvent")


UI.Button.MouseButton1Down:Connect(function()
	print("Body")
	ClothesEvent:FireServer()
end)
--Server
local ClothesEvent = ReplicatedStorage.RemoteEvents:WaitForChild("ClothesEvent")

ClothesEvent.OnServerEvent:Connect(function(player)
	print("Clothes Event is G")
end)

So "Body" prints but the print in the Server Script does not...serious confused. No errors in output display either. Also to note, these lines work in my other game but not the current one.

Anyone know?

2 comments

0

You don't need WaitForChild on the server.

3

where is the server script located, and is it disabled

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.