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

BodyVelocity does absolutely nothing?

Asked by 7 years ago

Hi. I was making a fireball script, but the BodyVelocity does not make the fireball move - it just sits there and doesn't move at all. Here is the full (but still being worked on) script:

01local player = game.Players.LocalPlayer
02local char = player.Character
03local t = char.Torso
04local mouse = player:GetMouse()
05 
06local RS = t["Right Shoulder"]
07local LS = t["Left Shoulder"]
08local RH = t["Right Hip"]
09local LH = t["Left Hip"]
10 
11mouse.KeyDown:connect(function(key)
12  if key:lower() == "f" then
13    local fireb = Instance.new("Part", char.Torso)
14    fireb.Anchored = true
15    fireb.CanCollide = false
View all 35 lines...

1 answer

Log in to vote
0
Answered by 7 years ago

Nevermind - the ball was anchored. Anyone reading this looking for a solution, make sure the projectile is not anchored!

Ad

Answer this question