I have literally tried everything to stop this ball rolling forever… I just dont know why it keeps on rolling: Here are scripts that I have in this ball.
local force = Instance.new("BodyVelocity")
force.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
force.P = 9999
force.Velocity = (hit.Parent:FindFirstChild("HumanoidRootPart").CFrame.LookVector + Vector3.new(0,0.6, 0)) * 60
force.Parent = script.Parent
game:GetService("ReplicatedStorage").Events.PwrAway:FireClient(plr)
plr.PwrData.PwrShot.Value = false
local fire = Instance.new("Fire")
fire.Color = Color3.new(1, 0, 1)
fire.Parent = script.Parent
game.Debris:AddItem(force, 0.35)
game.Debris:AddItem(fire, 2.5)
else
local force = Instance.new("BodyVelocity")
force.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
force.P = 999
force.Velocity = (hit.Parent:FindFirstChild("HumanoidRootPart").CFrame.LookVector + Vector3.new(0, pwr/2/100, 0) ) * pwr/2
force.Parent = script.Parent
second:
local part = script.parent
while wait() do
part.AssemblyLinearVelocity = 0.6 * part.AssemblyLinearVelocity
part.AssemblyAngularVelocity = 0.6 * part.AssemblyAngularVelocity
wait(0.2)
end
I have literally tried every resource avaliable, please help me.