Skip to content

(Removed) RemoteEvent

Removed

The RemoteEvent class was removed in a previous version of Polytoria, and is currently noted for documentation purposes.

RemoteEvents was events that could be called by clients to send data to the server.

RemoteEvents only supported one parameter due to networking limitations.

Events

Invoked

Fires when the Invoke function is called.

This event had the ability to return paramaters Player or object

Example

event.Invoked:Connect(function(player, value)
    print("Received value "..value.." from "..player.Name)
end)

Methods

Invoke → void

Parameters: object

Invokes the event. Can only be called from client.

Example

event.Invoke(Vector3.New(0, 100, 0))