Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local pir - game.Players.LocalPlayer
- local mouse = pir:GetMouse()
- mouse.KeyDown:Connect(function(Key)
- if Key -- "e" then
- local fireball = Instance.new("Part",workspace)
- fireball.Shape = "Block"
- fireball.BrickColor = BrickColor.new("Brick yellow")
- fireball.TopSurface = "Smooth"
- fireball.ButtomSurface = "Smooth"
- fireball.Transparency = 0
- fireball.CanCollide = true
- fireball.CFrame - plr.Character.UpperTorso.CFrame * CFrame.new(0,0,-6)
- local v = Instance.new("BodyVelocity",fireball)
- v.Velocity = plr.Character.UpperTorso.CFrame.lookVector * 90
- v.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- local DAMAGE = script.Damage:Clone()
- DAMAGE.Parent = fireball
- DAMAGE.Disabled = false
- wait(1)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement