📜  什么是 BreakJoints roblox? - Lua 代码示例

📅  最后修改于: 2022-03-11 14:54:55.992000             🧑  作者: Mango

代码示例1
-- BreakJoints is a command that makes the object lose control and start to break
script.Parent:BreakJoints()

-- This BreakJoints command is a function which is why we add a colon
script.Parent --> : <-- BreakJoints()

-- After the colon we add the functions purpose which is BreakJoints
script.Parent: --> BreakJoint <-- ()

-- Also make sure to add parentheses at the end the prove it is a function
script.Parent:BreakJoints --> () <--