ImageEntity

Extends Entity (includes all the functions and parameters of Entity)

Parameters

image: string

The rbxassetid of the image used to create the image entity.


Functions

moveTo(position: Vector3): nil

Moves the entity to the specified position.

attack(target: Entity, damage: number): boolean

The entity attacks the target Entity for the specified damage amount. Returns true if the attack was successful.

setSpeed(speed: number)

Sets the walk speed of the entity.

getModel(): Model | nil

Returns the Model of the entity.

Last updated