I have a problem my script wont work and I get this error:
Script:
game.Workspace:WaitForChild(playerName).Humanoid.RootPart.velocity = Vector3.new(0,-1.5,0)
I have a problem my script wont work and I get this error:
Script:
game.Workspace:WaitForChild(playerName).Humanoid.RootPart.velocity = Vector3.new(0,-1.5,0)
does HumanoidRootPart use dots?
Humanoid.RootPart is a way to get the humanoidrootpart
try using Velocity instead of velocity or just get the humanoid root part like Character.HumanoidRootPart
I got it to work but it dosent let me get any higher.
Do you know a way to implement that?
yeah, heres an example:
local force = Instance.new("VectorForce")
local att0 = Instance.new("Attachment")
att0.Parent = hum.Parent.PrimaryPart -- make sure to add character variable
force.Parent = hum.Parent.PrimaryPart
force.Force = hum.Parent.PrimaryPart.CFrame.LookVector * 175
force.ApplyAtCenterOfMass = false
force.RelativeTo = Enum.ActuatorRelativeTo.World
I tried to script that but it dosent do anything (I tried a few hours ago)
Well this topic is already solved so just mark the solution and make a new topic to solve that issue.
try to use other body forces and read the documentation
or try using Velocity again but instead of = vector3.new use += vector3.new
Sent me too the shadow relm lol, I need to change the settings
It does increase now but it only shoots me up and it dosent change depending on my camera angle
you never even asked me for that??
then change the vector?
anyways use the cameras CFrame to make it go to where your camera is facing
this topic has already been solved as you only asked for
and i fixed it, so you can mark the solution and make a new topic for help on the knock back
Oh sorry I was misremembering the topic, I made one like this a little bit ago and it said that sorry.