Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- params : ...
- wait(2)
- local player = game.Players.LocalPlayer
- repeat
- wait(0)
- until player.Character ~= nil
- local character = player.Character
- local Humanoid = character.Humanoid
- local Torso = character.Torso
- local Head = character.Head
- local mouse = player.GetMouse(player)
- local deb = false
- mouse.KeyDown:connect(function(key)
- if key == "g" and not deb then
- deb = true
- local tor = Instance.new("Model", Torso.Neck)
- do
- local origT = Torso.CFrame
- for i = 1, 100, 10 do
- do
- coroutine.resume(coroutine.create(function()
- local q = Instance.new("Part", tor)
- q.FormFactor = "Custom"
- q.Name = i
- if i >= 101 then
- q.Size = Vector3.new(67, 95, 67)
- else
- q.Size = Vector3.new(40, 170, 40)
- end
- q.BrickColor = BrickColor.new("Really red")
- q.TopSurface = 0
- q.CanCollide = false
- local xxx = Instance.new("BodyVelocity", q)
- xxx.velocity = Vector3.new(0, 0.001, 0)
- q.CFrame = origT * CFrame.new(0, -10, -(i + 3) - q.Size.X / 2 - 10)
- local m = Instance.new("SpecialMesh", q)
- m.Scale = Vector3.new(1, 0, 1)
- m.MeshType = "Sphere"
- q.Touched:connect(function(part)
- if part.Parent:FindFirstChild("Humanoid") and part.Parent:FindFirstChild("Torso") then
- local torso = part.Parent:FindFirstChild("Torso")
- local head = part.Parent:FindFirstChild("Head")
- local humanoid = part.Parent:FindFirstChild("Humanoid")
- if not torso:FindFirstChild("FireWaveBP" .. q.Name) and humanoid ~= Humanoid then
- local bv = Instance.new("BodyVelocity")
- bv.Name = "FireWaveBP" .. q.Name
- bv.maxForce = Vector3.new(1 / 0, 1 / 0, 1 / 0)
- bv.velocity = q.CFrame.lookVector * 100
- bv.Parent = torso
- if humanoid then
- humanoid:TakeDamage(15)
- end
- game.Debris:AddItem(bv, 0.11)
- end
- end
- end
- )
- for i_ = 1, 15 do
- q.Transparency = i_ / 15
- m.Scale = m.Scale + Vector3.new(0, 0.3, 0)
- wait(0.03)
- end
- q:Destroy()
- end
- ))
- wait(0.1)
- end
- end
- deb = false
- end
- end
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement