Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there a way to make the CFrame of a BodyVelocity let a player float up and backwards?

Asked by
lmAnon 2
6 years ago
Edited 6 years ago
foe.Touched:connect(function(hit)
        local man = hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso")
        local heh = hit.Parent:findFirstChild("Head")
        local go = Instance.new("BodyVelocity")
        go.MaxForce = Vector3.new(1e7,1e7,1e7)
        go.Velocity = heh.CFrame.upVector * 50 -- this is where im trying to make the target float up, but i also want to make it float backwards
        go.Parent = man
        wait(2)
        go:Destroy()

Answer this question