Projectile help

i really dont understand why is this doing what it is here is an example of what i have a problem with
Screenshot_89


wave is in a diffrent position even tho the script says they are at the same position this has been hurting my head for the past 4 days

You haven’t provided enough things to us. It can be anything! Starting from wrong root part position and ending up what are you even using to get the position

2 Likes

here is the force part

		local force = Instance.new('BodyForce')
		force.Parent = Ball
		force.Force = Vector3.new(0,workspace.Gravity,0) * Ball:GetMass()
		if MouseProps[1] == nil then MouseProps[1] = CFrame.new(0,0,0) + HumanoidRootPart.CFrame.LookVector *50 end
		Ball.Velocity = MouseProps[1].LookVector*250

and the effect

				local efffect1 = Rep.FX.wave2:Clone()
				efffect1.Parent = workspace.DebrisParts
				efffect1.Size = Vector3.new(5,1,5)
				efffect1.BrickColor = BrickColor.new('Flame reddish orange')
				efffect1.Material = Enum.Material.Neon
				efffect1.CFrame = Ball.CFrame - Ball.CFrame.LookVector

				tweenservice:Create(efffect1,TweenInfo.new(1,Enum.EasingStyle.Quad),{Position = Ball.Position - Vector3.new(0,Ball.Size.Y/2,0), Size =  Vector3.new(30,10,30)}):Play()

other move works with no problems but there is a problem with this one i dont know why