01 | kblast = script.Parent |
02 | player = game.Players.LocalPlayer |
03 | mouse = player:GetMouse() |
04 | function fireblast() |
05 | local ki = Instance.new( "Part" , workspace) |
06 | game.Debris:AddItem(ki, 4 ) |
07 | ki.Shape = ( "Ball" ) |
08 | ki.Material = ( "Neon" ) |
09 | ki.Size = Vector 3. new( 1 , 1 , 1 ) |
10 | ki.TopSurface = ( "Smooth" ) |
11 | ki.BottomSurface = ( "Smooth" ) |
12 | ki.Transparency = ( 0.6 ) |
13 | ki.BrickColor = BrickColor.new( "Toothpaste" ) |
14 | ki.Anchored = true |
15 | ki.CanCollide = false |
It doesn't look like you assign its Position or CFrame at all. You can do that by doing something like this:
01 | kblast = script.Parent |
02 | player = game.Players.LocalPlayer |
03 | --[[ new thing woo --]] |
04 | local character = player.Character |
05 | if not character then |
06 | character = player.CharacterAdded:wait() |
07 | end |
08 | character = player.Character |
09 | --[[ new thing woo --]] |
10 | mouse = player:GetMouse() |
11 | function fireblast() |
12 | local ki = Instance.new( "Part" , workspace) |
13 | game.Debris:AddItem(ki, 4 ) |
14 | ki.Shape = ( "Ball" ) |
15 | ki.Material = ( "Neon" ) |
Have you set the KiBlast.Position? The position should be the character's position plus a few bits foward so it comes from the front.
Also, if this is a DBZ game, Good luck!