It only spawns in the middle of the map, instead of going up then shooting out
plar = game.Players.LocalPlayer
char = plar.Character
mouse = plar:GetMouse()
charge = false
function okd(key)
key = key:lower()
if charge == true then
return
elseif key == "r" then
charge = true
local Ice = Instance.new("Part")
Ice.Shape = "Ball"
Ice.CanCollide = true
Ice.TopSurface = "Smooth"
Ice.BottomSurface = "Smooth"
Ice.BrickColor = BrickColor.new("Pastel light blue")
Ice.Material = "Ice"
Ice.Parent = workspace
Ice.CFrame = char.Torso.CFrame * CFrame.new(0,-5,-5)
local BV = Instance.new("BodyVelocity")
BV.maxForce = Vector3.new(math.huge, math.huge, math.huge)
BV.velocity = plar.Character.Torso.CFrame.upVector * 80
BV.Parent = Ice
wait(.1)
BV.velocity = plar.Character.Torso.CFrame.lookVector * 80
charge = false
end
end
mouse.KeyDown:connect(okd)

2 comments
Is this a localscript? Is FE enabled? If FE is enabled, I believe you cannot do this with a localscript.
Filtering is not enabled.