I've been trying to figure out how to use RemoteEvent's, can someone tell me why this script won't work properly? It doesn't make the message or anything.
Script inside the RemoteEvent:
script.Parent.OnServerEvent:connect(function()
local m = Instance.new("Message",workspace)
m.Text = "asd"
end)
Script to fire it:
game.ReplicatedStorage.Events.RemoteEvent:FireServer()
Any help appreciated.

2 comments
you say you are running it with the command bar? the bar is not server or client sided and has no parent. avoid using it for this
Putting it in LocalScript or ServerScript doesn't work either.