Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- r/ROBLOX
- -- u/Quadratum
- -- Might not work.
- local sp = script.Parent
- local head = sp:FindFirstChild("Head")
- breatheFire = function()
- local fireball = Instance.new("Part",game:GetService("Workspace"))
- fireball.Name = "Effect"
- fireball.Transparency = 1
- fireball.FormFactor = "Custom"
- fireball.Size = Vector3.new(2,2,2)
- fireball.CFrame = Head.CFrame
- fireball.Velocity = head.CFrame.lookVector * 50
- local fire = Instance.new("Fire",fireball)
- local connection = fireball.Touched:connect(function(hit)
- if hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= "Toothless" and hit.Name ~= "Handle" and hit.Name ~= "Effect" then
- hit.Parent.Humanoid:TakeDamage(23)
- fire.Enabled = false
- fireball.Anchored = true
- game:GetService("Debris"):AddItem(fireball,3)
- end
- connection:disconnect()
- end)
- end
- while true do
- wait(2)
- breathefire()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement