Warning
Everything documented here is untested and may not work in an actual script, most of this is inferring what i'm seeing from analysing the executable.
scripts seem to be attached to entities.
within scripts, self refers to the entity, the equivalent of doing script.Parent in roblox.
You can access handles of the entity that the script is attached to via the handles global
for i,v in pairs(handles) do
print(i,v)
end| function | ran |
|---|---|
Update(dt) |
every frame |
PhysicsUpdate(dt) |
every physics step, probbaly at a fixed frequency idk |
| global | notes |
|---|---|
tick() |
|
typeof(x) |
Returns the luduvo type name of a value |
world |
equivalent to roblox's workspace maybe |
handles |
the handles of the entity the script is attached to |
self |
the entity instance that the script is attached to |
Still doing research on this
Vector3.new(x, y, z)
Vector3.zeroVector3.oneVector3.xAxisVector3.yAxisVector3.zAxis
v:Magnitude()v:Unit()v:Dot(v2)v:Cross(v2)v:Lerp(v2, t)
Currently researching
Currently researching
Instance.new(className)
inst:Destroy()inst:FindFirstChild()inst:GetChildren()inst:IsDescendantOf()
For all Instances:
NameParentClassName
For Part Instances:
PositionSizeRotationOrientationScaleAnchoredVelocity
UI Instances:
ImageImageColorImageTransparencySliceCenterCanvasSizeCanvasPosition
Misc:
NetworkIDStableIDRigidBodyCharacterMoveIntentRemoteEntity
For user interface instances?
MouseButton1ClickMouseButton1DownMouseButton1UpMouseEnterMouseLeaveMouseWheel
local part = Instance.new("Part")
part.Position = Vector3.new(0,30,0)
part.Parent = worldsignal:Connect(callback)
stuff like sig:Disconnect() or sig:Wait probably do exist but I can't find anything about them rn
You can only tween UI instances
Tween(Instance, Duration, EasyingStyle, properties)
styles:
- quad
- cubic
- sine
- exponential
- back
- bounce
- elastic