basically im trying to make a script where if you press Q it spawns a "ki blast" sort of thing if you've seen dbz. but i'm trying to get it to spawn next to the right hand so it's not too tall and it can't hit anything.
Player = game.Players.LocalPlayer Mouse = Player:GetMouse() Mouse.KeyDown:connect(function(key) key = key:lower() if key == "q" then local x = Instance.new("Part") x.Shape = "Ball" x.Material = "Neon" x.BrickColor = BrickColor.new("Toothpaste") x.TopSurface = "Smooth" x.BottomSurface = "Smooth" x.CanCollide = false x.Anchored = false x.CFrame = Player.Character.Torso.CFrame * CFrame.new(0,3,-5) local v = Instance.new("BodyVelocity", x) v.velocity = Player.Character.Head.CFrame.lookVector * 60 v.maxForce = Vector3.new(math.huge, math.huge, math.huge) x.Parent = workspace for i=1, 10 do x.Transparency = x.Transparency + 0.1 wait(0.05) end x:Destroy() end end)