This is the code:
game.ReplicatedStorage.RemoteEvents.ToolInventory.OnServerEvent(function(player, Value, tool)
print(tool)
end)
This is the error:
This is the code:
game.ReplicatedStorage.RemoteEvents.ToolInventory.OnServerEvent(function(player, Value, tool)
print(tool)
end)
This is the error:
You forgot to connect the event
game.ReplicatedStorage.RemoteEvents.ToolInventory.OnServerEvent:Connect(function(player, Value, tool)
print(tool)
end)
Explanation:
OnServerEvent
is literally what it is, an event lol
It needs to be connected in order to detect when it gets fired, else you’re just making your own custom function
FireServer()
will fire, and OnServerEvent
will receive the connected “fire”
I’m dumb idk how I forgot to connect the event, thx