Open ReworldDevs opened 5 years ago
The documentation isn't very clear on how EventObjects are used. In a script from the Chinese team, an EventObject is used to receive some kind of Server Event message:
local DownEvent = script.Parent.EventObject
DownEvent.ServerEventCallBack:Connect(CarControl.DownEvent)
However, we are not sure why this works, as the documentation on EventObjects is not very clear.
The documentation isn't very clear on how EventObjects are used. In a script from the Chinese team, an EventObject is used to receive some kind of Server Event message:
local DownEvent = script.Parent.EventObject
DownEvent.ServerEventCallBack:Connect(CarControl.DownEvent)
However, we are not sure why this works, as the documentation on EventObjects is not very clear.