:ApplyImpulse to the right-hand side of the player

I am aware of this post:

But I’m not sure how they did it (and the post is locked now).

Essentially, I want the part that is being cloned flung to the right-hand side of the player, but I’m struggling to figure out how to get it working…

local humanoidRootPart = script.Parent:WaitForChild(“HumanoidRootPart”)

local offsetcframe = humanoidRootPart.CFrame + humanoidRootPart.CFrame.RightVector * 500
humanoidRootPart:ApplyImpulse(offsetcframe.Position * humanoidRootPart.AssemblyMass)

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