Hi guys! Any ideas why this remoteevent setup isn't working?
Local script in a textbutton:
script.Parent.MouseButton1Down:connect(function()
value = "TestName"
game.ReplicatedStorage.RemoteEvents.ChangeValue:FireServer("GameGenre", value)
print("Fired.")
end)
Server script in replicated storage in a folder called RemoteEvents:
script.Parent.OnServerEvent:connect(function(player, name, val)
print("Recieved.")
end)
I was doing this for testing purposes (hence why I do nothing in the server script apart from print!!) but it doesn't even print. I get no errors and yet it prints "Fired.")
Any ideas?
Thanks.

2 comments
Thank you very much! That is odd though because I have other scripts that work perfectly in ReplicatedStorage!
Other than Module Scripts, scripts don't work in ReplicatedStorage nor ServerStorage.