Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local Mouse = Player:GetMouse()
- local Speed = 100 --Change Value
- local Damage = 4 --Change Value
- Enabled = true
- Mouse.KeyDown:Connect(function(Key)
- if Enabled == false then return end
- Key = Key:lower()
- if Key == "q" then
- Enabled = false
- local Fireball = Instance.new("Part")
- Fireball.Shape = "Ball"
- Fireball.Material = Enum.Material.Neon
- Fireball.BrickColor = BrickColor.Red()
- Fireball.CFrame = Character.Torso.CFrame*CFrame.new(0,0,-5)
- Fireball.Parent = Character
- Fireball.CanCollide = false
- local BodyVelocity = Instance.new("BodyVelocity")
- BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- BodyVelocity.Parent = Fireball
- BodyVelocity.Velocity = Character.Torso.CFrame.lookVector*Speed
- Fireball.Touched:Connect(function(hit)
- local TakeDamage = false
- local Humanoid = hit.Parent:FindFirstChild("Humanoid")
- if Humanoid ~= nil then
- TakeDamage = true
- Humanoid:TakeDamage(Damage)
- wait(.1)
- TakeDamage = false
- end
- end)
- end
- wait(1)
- Enabled = true
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement