Flinging fowards and upwards from the character using it's humanoidrootpart (10 bumps, nobody answering pls help) PLS PLS PLS PLS PLS SO DESPERATE

I wan’t to make a custom version of slap battles, one based on suggested gloves on slap battles, however how would I do a game like that, for example how would I fling someone forwards and upwards from the character that’s using it’s humanoidrootpart, I got this so far:

local function flingPlayer(humanoidRootPart,VectorForce,timeForceActive)
	if humanoidRootPart:FindFirstChild("VectorForce") then
	local attachment = humanoidRootPart:FindFirstChildWhichIsA("Attachment")
	if not attachment then
		attachment = Instance.new('Attachment')
		attachment.Parent = humanoidRootPart
		attachment.WorldPosition = humanoidRootPart.Position
		attachment.WorldOrientation = humanoidRootPart.Orientation
	local vectorForce = Instance.new('VectorForce')
	vectorForce.Force = VectorForce
	vectorForce.ApplyAtCenterOfMass = true
	vectorForce.RelativeTo = Enum.ActuatorRelativeTo.Attachment0
	vectorForce.Attachment0 = attachment

doesn’t work btw ^

btw slap battles is credited and I used no gamepasses/dev products to profit off the most

Try using a BodyVelocity.

Then for the direction, add the UpVector and LookVector of the humanoidrootpart and divide that by 2.

Use debris service to destroy this velocity around 0.1s later.

1 Like

Got any sources to simplify it?

I know how to use bodyvelocity, but whats upvector and lookvector, how would I get the humanoidrootpart in bodyvelocity and divide that by 2?

UpVector and LookVector are properties of CFrame. LookVector is the way the part or object is facing. UpVector is the same, except up.

1 Like

I still don’t know how I would do it, could you show me a code sample of what you’re talking about?

Bro quit it, your taking up space that others need. Look up the resources yourself. Look up how to use these properties.

1 Like

Roblox isn’t good at explaining stuff

Just look at other peoples resources. Experiment with it.

There aren’t none what do you mean