How To Use AssemblyLinearVelocity?

I’m trying to make a knockback system. How can I do this? The documentation doesn’t help me understand it and no videos deeply explain this.

local assemblyRoot = script.Parent -- Assuming this is the root of your assembly
local velocity = Vector3.new(100, 0, 0) -- Desired velocity
task.wait(5) -- Testing purposes

assemblyRoot.AssemblyLinearVelocity = velocity

AssemblyLinearVelocity represents the linear velocity of an entire assembly of parts in Roblox

Maybe this link can help to clear some things up: Assemblies | Documentation - Roblox Creator Hub

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.