Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- RS = Character.Torso["Right Shoulder"]
- local Mouse = Player:GetMouse()
- function onKeyDown(key)
- key = key:lower()
- if key == "f" then
- for i = 1,3 do
- RS.C0 = RS.C0*CFrame.Angles(0,0,0.5)
- wait()
- end
- Chat = game:GetService("Chat"):Chat(Character.Head, "ShadowBall!", Enum.ChatColor.red)
- local Fireball = Instance.new("Part", Character)
- Fireball.Name = "ShadowBall"
- game.Debris:AddItem(Fireball, 7)
- Fireball.Shape = "Ball"
- Fireball.BrickColor = BrickColor.new("Black")
- Fireball.Transparency = 0.7
- local FireEffect = Instance.new("Fire", Fireball)
- FireEffect.Size = 25
- FireEffect.Heat = 25
- Fireball.TopSurface = 0
- Fireball.BottomSurface = 0
- Fireball.CanCollide = false
- Fireball.Locked = true
- Fireball.CFrame = Character.Torso.CFrame*CFrame.new(0,0,-12)
- local BodyVelocity = Instance.new("BodyVelocity", Fireball)
- BodyVelocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- BodyVelocity.velocity = Character.Torso.CFrame.lookVector*80
- function Hurt(Part)
- if Part.Parent:FindFirstChild("Humanoid") then
- Part.Parent.Humanoid.Health = Part.Parent.Humanoid.Health-15
- end
- end
- Fireball.Touched:connect(Hurt)
- wait(5)
- for i = 1,3 do
- RS.C0 = RS.C0*CFrame.Angles(0,0,-0.5)
- wait()
- end
- end
- end
- Mouse.KeyDown:connect(onKeyDown)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement