Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = owner
- local Character = Player.Character
- local mouse,Mouse,MMouse = nil
- local RemoteEvent = Instance.new("RemoteEvent")
- RemoteEvent.Name = "KeyDown"
- RemoteEvent.Parent = Character
- local RemoteEvent2 = Instance.new("RemoteEvent")
- RemoteEvent2.Name = "ButtonDown"
- RemoteEvent2.Parent = Character
- local RemoteEvent3 = Instance.new("RemoteFunction")
- RemoteEvent3.Name = "MousePos"
- RemoteEvent3.Parent = Character
- function getMouseHit()
- return RemoteEvent3:InvokeClient (owner, 1);
- end;
- function getMouseTarget()
- return RemoteEvent3:InvokeClient (owner, 2);
- end;
- NLS([==[
- local Player = game.Players.LocalPlayer
- local mouse = Player:GetMouse()
- local remote = Player.Character:WaitForChild("KeyDown")
- local remote2 = Player.Character:WaitForChild("ButtonDown")
- local remote3 = Player.Character:WaitForChild("MousePos")
- mouse.KeyDown:Connect(function(k)
- k = k:lower()
- remote:FireServer(k)
- end)
- mouse.Button1Down:Connect(function()
- remote2:FireServer()
- end)
- remote3.OnClientInvoke = function (request, ...)
- if (request == 1) then
- return mouse.Hit.p;
- end;
- if (request == 2) then
- return mouse.Target;
- end;
- end;
- ]==],Player.Character)
- print("FE Converter By basstracker1970")
- print[[Q = Super destructive blast/Psycho drive
- E = Combo 1
- R = Homing bombs
- T = Energy slam
- Y = Combo 2
- P = Hellstorm
- Z = Destructive mode(Gives you access to key Q)
- X = Speed mode(Gives you access to key Q)]]
- Character=Player.Character
- Character.Humanoid.Name = "noneofurbusiness"
- hum = Character.noneofurbusiness
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- Root=Character["HumanoidRootPart"]
- Head=Character["Head"]
- Torso=Character["Torso"]
- Neck=Torso["Neck"]
- power = false
- speed = false
- rainbow = false
- walking = false
- hitdebounce = false
- jumping = false
- invisible = false
- attacking = false
- firsttime = false
- tauntdebounce = false
- raygun = false
- position = nil
- classical = true
- trailtrans = 0
- dada = false
- secondform = false
- industrial = false
- wad = false
- sidekicktaunting = false
- popstar = false
- vinyl = false
- brutal = false
- love = false
- godgun = false
- talkingtalking = false
- glasson = true
- glassonp = false
- sidekick = false
- psychoboost = false
- MseGuide = true
- sidekickshootanim = false
- running = false
- settime = 0
- sine = 0
- sine2 = 0
- t = 0
- ws = 32
- change = 1
- change2 = .8
- combo1 = true
- equip = false
- swetch = false
- dgs = 75
- combo2 = false
- switch1 = true
- switch2 = false
- tauntdebounce = false
- firsttime2 = false
- stop = false
- combo3 = false
- gunallowance = false
- shooting = false
- mow = .2
- RunSrv = game:GetService("RunService")
- RenderStepped = game:GetService("RunService").RenderStepped
- removeuseless = game:GetService("Debris")
- smoothen = game:GetService("TweenService")
- cam = workspace.CurrentCamera
- hum.HipHeight = 1.46
- Head.face:Remove()
- local dmt2={3241742150,2435339444,835909856,3042508467,2327920334,2410016947,3282861846}
- t1t={}
- t2t={}
- LeftArm.Transparency = 1
- RightArm.Transparency = 1
- screenGui = Instance.new("ScreenGui")
- screenGui.Parent = script.Parent
- metalsound = Instance.new("Sound",Torso)
- metalsound.SoundId = "rbxassetid://3242049967"
- metalsound.Volume = 2
- metalsound.Pitch = 1.65
- metalsound.Name = "l"
- metalsound.Looped = true
- metalsound:Play()
- surgesound = Instance.new("Sound",Torso)
- surgesound.SoundId = "rbxassetid://3298009288"
- surgesound.Volume = 0
- surgesound.Pitch = 1
- surgesound.Name = "n"
- surgesound.Looped = true
- surgesound:Play()
- local dmt2random = dmt2[math.random(1,#dmt2)]
- doomtheme = Instance.new("Sound", Torso)
- doomtheme.Volume = 3
- doomtheme.Name = "doomtheme"
- doomtheme.Looped = true
- doomtheme.SoundId = "rbxassetid://"..dmt2random
- if doomtheme.SoundId == "rbxassetid://2410016947" then
- doomtheme.Pitch = .67
- end
- doomtheme:Play()
- Torso.ChildRemoved:connect(function(removed)
- if removed.Name == "doomtheme" then
- local dmt2random = dmt2[math.random(1,#dmt2)]
- doomtheme = Instance.new("Sound", Torso)
- doomtheme.Volume = 3
- doomtheme.Name = "doomtheme"
- doomtheme.Looped = true
- doomtheme.SoundId = "rbxassetid://"..dmt2random
- if doomtheme.SoundId == "rbxassetid://2410016947" then
- doomtheme.Pitch = .67
- end
- doomtheme:Play()
- end
- end)
- Torso.ChildRemoved:connect(function(removed)
- if removed.Name == "l" then
- metalsound = Instance.new("Sound",Torso)
- metalsound.SoundId = "rbxassetid://3242049967"
- metalsound.Volume = 2
- metalsound.Pitch = 1.65
- metalsound.Name = "l"
- metalsound.Looped = true
- metalsound:Play()
- end
- end)
- Torso.ChildRemoved:connect(function(removed)
- if removed.Name == "n" then
- surgesound = Instance.new("Sound",Torso)
- surgesound.SoundId = "rbxassetid://3298009288"
- if power or speed then
- surgesound.Volume = 1.5
- else
- surgesound.Volume = 0
- end
- surgesound.Pitch = 1
- surgesound.Name = "n"
- surgesound.Looped = true
- surgesound:Play()
- end
- end)
- local HEADLERP = Instance.new("ManualWeld")
- HEADLERP.Parent = Head
- HEADLERP.Part0 = Head
- HEADLERP.Part1 = Head
- HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local TORSOLERP = Instance.new("ManualWeld")
- TORSOLERP.Parent = Root
- TORSOLERP.Part0 = Torso
- TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local ROOTLERP = Instance.new("ManualWeld")
- ROOTLERP.Parent = Root
- ROOTLERP.Part0 = Root
- ROOTLERP.Part1 = Torso
- ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local RIGHTARMLERP = Instance.new("ManualWeld")
- RIGHTARMLERP.Parent = RightArm
- RIGHTARMLERP.Part0 = RightArm
- RIGHTARMLERP.Part1 = Torso
- RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local LEFTARMLERP = Instance.new("ManualWeld")
- LEFTARMLERP.Parent = LeftArm
- LEFTARMLERP.Part0 = LeftArm
- LEFTARMLERP.Part1 = Torso
- LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local RIGHTLEGLERP = Instance.new("ManualWeld")
- RIGHTLEGLERP.Parent = RightLeg
- RIGHTLEGLERP.Part0 = RightLeg
- RIGHTLEGLERP.Part1 = Torso
- RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local LEFTLEGLERP = Instance.new("ManualWeld")
- LEFTLEGLERP.Parent = LeftLeg
- LEFTLEGLERP.Part0 = LeftLeg
- LEFTLEGLERP.Part1 = Torso
- LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local function weldBetween(a, b)
- local weld = Instance.new("ManualWeld", a)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- return weld
- end
- function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
- A = Instance.new("Attachment", PARENT)
- A.Position = POSITION1
- A.Name = "A"
- B = Instance.new("Attachment", PARENT)
- B.Position = POSITION2
- B.Name = "B"
- tr1 = Instance.new("Trail", PARENT)
- tr1.Attachment0 = A
- tr1.Attachment1 = B
- tr1.Enabled = true
- tr1.Lifetime = LIFETIME
- tr1.TextureMode = "Static"
- tr1.LightInfluence = 0
- tr1.Color = COLOR
- tr1.Transparency = NumberSequence.new(trailtrans, 1)
- end
- function colortween(a,speed,color1)
- local z = {
- Color = color1
- }
- local tween = smoothen:Create(a,TweenInfo.new(speed,Enum.EasingStyle.Linear),z)
- tween:Play()
- end
- function takeDamage(victim,damage)
- if victim.MaxHealth < 50000 and victim ~= hum then
- victim.Health = victim.Health - damage
- else
- victim.Parent:BreakJoints()
- end
- end
- function velo(a,name,pos,speed)
- local bov = Instance.new("BodyVelocity",a)
- bov.Name = name
- bov.maxForce = Vector3.new(99999,99999,99999)
- a.CFrame = CFrame.new(a.Position,pos)
- bov.velocity = a.CFrame.lookVector*speed
- end
- coroutine.wrap(function()
- while wait() do
- hum.WalkSpeed = ws
- hum.JumpPower = 75
- end
- end)()
- godmode = coroutine.wrap(function()
- for i,v in pairs(Character:GetChildren()) do
- if v:IsA("BasePart") and v ~= Root then
- v.Anchored = false
- end
- end
- while true do
- hum.MaxHealth = math.huge
- wait(0.0000001)
- hum.Health = math.huge
- wait()
- end
- end)
- godmode()
- ff = Instance.new("ForceField", Character)
- ff.Visible = false
- ----defaultpos----
- ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- ----defaultpos----
- coroutine.wrap(function()
- for i,v in pairs(Character:GetChildren()) do
- if v.Name == "Animate" then v:Remove()
- end
- end
- end)()
- function damagealll(Radius,Position)
- local Returning = {}
- for _,v in pairs(workspace:GetChildren()) do
- if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
- if v:FindFirstChild("Torso") then
- local Mag = (v.Torso.Position - Position).magnitude
- if Mag < Radius then
- table.insert(Returning,v)
- end
- elseif v:FindFirstChild("UpperTorso") then
- local Mag = (v.UpperTorso.Position - Position).magnitude
- if Mag < Radius then
- table.insert(Returning,v)
- end
- end
- end
- end
- return Returning
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 60
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- game:service("RunService").Stepped:wait(0)
- else
- for i = 0, num do
- game:service("RunService").Stepped:wait(0)
- end
- end
- end
- for _,x in pairs(Character:GetChildren()) do
- if x:IsA("Decal") then x:Remove() end
- end
- function SOUND(PARENT,ID,VOL,LOOP,PITCH,REMOVE)
- local so = Instance.new("Sound")
- so.Parent = PARENT
- so.SoundId = "rbxassetid://"..ID
- so.Volume = VOL
- so.Looped = LOOP
- so.Pitch = PITCH
- so:Play()
- removeuseless:AddItem(so,REMOVE)
- end
- leftrot = Instance.new("Part",Torso)
- leftrot.Size = Vector3.new(1,1,1)
- leftrot.Anchored = false
- leftrot.Transparency = 1
- leftrot.CanCollide = false
- leftrotweld = weldBetween(leftrot,Torso)
- leftrotweld.C0 = CFrame.new(.96,-.5,0)
- rightrot = Instance.new("Part",Torso)
- rightrot.Size = Vector3.new(1,1,1)
- rightrot.Anchored = false
- rightrot.Transparency = 1
- rightrot.CanCollide = false
- rightrotweld = weldBetween(rightrot,Torso)
- rightrotweld.C0 = CFrame.new(-.96,-.5,0)
- local v = 0
- local v2 = 0
- local v3 = 0
- local v4 = 0
- for i = 1, 38 do----test
- v4 = v4 + .15
- v = v + .1
- v2 = v2 + .015
- v3 = v3 + 1.9
- local xx = v4
- local xx2 = 0
- xx2 = xx2 + .05
- local m = Instance.new("Part",Torso)
- m.Size = Vector3.new(.15,.7-v2,.7-v2)
- m.Anchored = false
- m.Material = "Glass"
- m.BrickColor = BrickColor.new("Really black")
- m.CanCollide = false
- table.insert(t1t,m)
- local mweld = weldBetween(m,leftrot)
- mweld.C0 = mweld.C0 * CFrame.new(0+v,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0-v3))
- coroutine.wrap(function()
- local b = 0
- while true do
- mweld.C0 = mweld.C0:lerp(mweld.C0 * CFrame.Angles(math.rad(xx*1.2*math.sin(sine2/22)),math.rad(xx*1.2*-math.sin(sine2/16)),math.rad(xx*1.5*math.sin(sine2/19))),.1)
- swait()
- end
- end)()
- end
- local v = 0
- local v2 = 0
- local v3 = 0
- local v4 = 0
- for i = 1, 38 do----test
- v4 = v4 + .15
- v = v + .1
- v2 = v2 + .015
- v3 = v3 + 1.9
- local xx = v4
- local xx2 = 0
- xx2 = xx2 + .05
- local m = Instance.new("Part",Torso)
- m.Size = Vector3.new(.15,.7-v2,.7-v2)
- m.Anchored = false
- m.Material = "Glass"
- m.BrickColor = BrickColor.new("Really black")
- m.CanCollide = false
- table.insert(t2t,m)
- local mweld = weldBetween(m,rightrot)
- mweld.C0 = mweld.C0 * CFrame.new(0-v,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0+v3))
- coroutine.wrap(function()
- local b = 0
- while true do
- mweld.C0 = mweld.C0:lerp(mweld.C0 * CFrame.Angles(math.rad(xx*1.2*-math.sin(sine2/22)),math.rad(xx*1.2*math.sin(sine2/16)),math.rad(xx*1.5*-math.sin(sine2/19))),.1)
- swait()
- end
- end)()
- end
- local zp = 0
- local zp2 = 0
- local zp3 = 0
- for i = 1, 21 do
- zp = zp + .1
- zp2 = zp2 - .04
- zp3 = zp3 + .045
- local m2 = Instance.new("Part",RightLeg)
- m2.Size = Vector3.new(1.001,.1,1.001)
- m2.Anchored = false
- m2.CanCollide = true
- m2.BrickColor = BrickColor.new("Really black")
- m2.Material = "Glass"
- m2.Transparency = 0 + zp3
- m2weld = weldBetween(m2,RightLeg)
- m2weld.C0 = m2weld.C0 * CFrame.new(0,1.09-zp,0)
- end
- local zp = 0
- local zp2 = 0
- local zp3 = 0
- for i = 1, 21 do
- zp = zp + .1
- zp2 = zp2 - .04
- zp3 = zp3 + .045
- local m2 = Instance.new("Part",LeftLeg)
- m2.Size = Vector3.new(1.001,.1,1.001)
- m2.Anchored = false
- m2.CanCollide = true
- m2.BrickColor = BrickColor.new("Really black")
- m2.Material = "Glass"
- m2.Transparency = 0 + zp3
- m2weld = weldBetween(m2,LeftLeg)
- m2weld.C0 = m2weld.C0 * CFrame.new(0,1.09-zp,0)
- end
- leglocater = Instance.new("Part",Torso)
- leglocater.Size = Vector3.new(1,1,1)
- leglocater.Anchored = false
- leglocater.CanCollide = false
- leglocater.Transparency = 1
- leglocaterweld = weldBetween(leglocater,RightLeg)
- leglocaterweld.C0 = leglocaterweld.C0 * CFrame.new(23.4,2.7,-109.7)
- leglocater2 = Instance.new("Part",Torso)
- leglocater2.Size = Vector3.new(1,1,1)
- leglocater2.Anchored = false
- leglocater2.CanCollide = false
- leglocater2.Transparency = 1
- leglocaterweld2 = weldBetween(leglocater2,LeftLeg)
- leglocaterweld2.C0 = leglocaterweld2.C0 * CFrame.new(22.25,2.7,-109.7)
- mas2 = Instance.new("Model",Torso)
- o1 = Instance.new("Part")
- o2 = Instance.new("Part")
- o3 = Instance.new("Part")
- o4 = Instance.new("Part")
- o5 = Instance.new("Part")
- o6 = Instance.new("Part")
- o7 = Instance.new("Part")
- o8 = Instance.new("Part")
- o9 = Instance.new("WedgePart")
- o10 = Instance.new("WedgePart")
- o11 = Instance.new("Part")
- o12 = Instance.new("Part")
- o13 = Instance.new("WedgePart")
- o14 = Instance.new("WedgePart")
- o15 = Instance.new("WedgePart")
- o1.Parent = mas2
- o1.Material = Enum.Material.Glass
- o1.BrickColor = BrickColor.new("Black")
- o1.Rotation = Vector3.new(-167.020004, 0, -180)
- o1.Size = Vector3.new(0.611088395, 0.415110946, 0.41598022)
- o1.CFrame = CFrame.new(22.2711983, 1.98674273, -109.049728, -1, 0, 0, 0, 0.974454999, 0.224583, 0, 0.224583, -0.974454999)
- o1.BottomSurface = Enum.SurfaceType.Smooth
- o1.TopSurface = Enum.SurfaceType.Smooth
- o1.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o1.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o2.Parent = mas2
- o2.Material = Enum.Material.Glass
- o2.BrickColor = BrickColor.new("Black")
- o2.Rotation = Vector3.new(162.979996, 0, -180)
- o2.Size = Vector3.new(0.611088395, 1.38694274, 0.41598022)
- o2.CFrame = CFrame.new(22.2711983, 2.7342577, -109.202713, -1, 0, 0, 0, 0.956193984, -0.292733997, 0, -0.292733997, -0.956193984)
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.TopSurface = Enum.SurfaceType.Smooth
- o2.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o2.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o3.Parent = mas2
- o3.Material = Enum.Material.Glass
- o3.BrickColor = BrickColor.new("Black")
- o3.Rotation = Vector3.new(-147.020004, 0, -180)
- o3.Size = Vector3.new(0.611088395, 0.464611918, 0.41598022)
- o3.CFrame = CFrame.new(22.2711983, 1.6572485, -109.195732, -1, 0, 0, 0, 0.838876307, 0.544322193, 0, 0.544322193, -0.838876307)
- o3.BottomSurface = Enum.SurfaceType.Smooth
- o3.TopSurface = Enum.SurfaceType.Smooth
- o3.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o3.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o4.Parent = mas2
- o4.Material = Enum.Material.Glass
- o4.BrickColor = BrickColor.new("Black")
- o4.Rotation = Vector3.new(-32.9799995, 0, 0)
- o4.Size = Vector3.new(0.611088395, 0.477927923, 0.41598022)
- o4.CFrame = CFrame.new(22.268013, 1.65166092, -110.273109, 1, 0, 0, 0, 0.838876307, 0.544322193, 0, -0.544322193, 0.838876307)
- o4.BottomSurface = Enum.SurfaceType.Smooth
- o4.TopSurface = Enum.SurfaceType.Smooth
- o4.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o4.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o5.Parent = mas2
- o5.Material = Enum.Material.Glass
- o5.BrickColor = BrickColor.new("Black")
- o5.Rotation = Vector3.new(17.0200005, 0, 0)
- o5.Size = Vector3.new(0.611088395, 1.41862273, 0.41598022)
- o5.CFrame = CFrame.new(22.268013, 2.74940205, -110.265167, 1, 0, 0, 0, 0.956193984, -0.292733997, 0, 0.292733997, 0.956193984)
- o5.BottomSurface = Enum.SurfaceType.Smooth
- o5.TopSurface = Enum.SurfaceType.Smooth
- o5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o6.Parent = mas2
- o6.Material = Enum.Material.Glass
- o6.BrickColor = BrickColor.new("Black")
- o6.Rotation = Vector3.new(90, 72.9800034, -90)
- o6.Size = Vector3.new(0.611088395, 1.4569428, 0.41598022)
- o6.CFrame = CFrame.new(21.739912, 2.70259023, -109.720184, 0, 0.292733997, 0.956193984, 0, 0.956193984, -0.292733997, -1, 0, 0)
- o6.BottomSurface = Enum.SurfaceType.Smooth
- o6.TopSurface = Enum.SurfaceType.Smooth
- o6.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o6.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o7.Parent = mas2
- o7.Material = Enum.Material.Glass
- o7.BrickColor = BrickColor.new("Black")
- o7.Rotation = Vector3.new(-90, 22.0200005, 90)
- o7.Size = Vector3.new(0.570121765, 0.57664001, 0.240845904)
- o7.CFrame = CFrame.new(21.7325439, 1.67757654, -109.709969, 0, -0.927042246, 0.374957085, 0, 0.374957085, 0.927042246, -1, 0, 0)
- o7.BottomSurface = Enum.SurfaceType.Smooth
- o7.TopSurface = Enum.SurfaceType.Smooth
- o7.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o7.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o8.Parent = mas2
- o8.Material = Enum.Material.Glass
- o8.BrickColor = BrickColor.new("Black")
- o8.Rotation = Vector3.new(-90, 77.0199966, 90)
- o8.Size = Vector3.new(0.611088395, 0.415110946, 0.41598022)
- o8.CFrame = CFrame.new(21.5767155, 1.92161, -109.720177, 0, -0.224583, 0.974454999, 0, 0.974454999, 0.224583, -1, 0, 0)
- o8.BottomSurface = Enum.SurfaceType.Smooth
- o8.TopSurface = Enum.SurfaceType.Smooth
- o8.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o8.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o9.Parent = mas2
- o9.Material = Enum.Material.Glass
- o9.BrickColor = BrickColor.new("Toothpaste")
- o9.Rotation = Vector3.new(-90, 22.0200005, 90)
- o9.Size = Vector3.new(0.609640539, 0.815749586, 0.36387372)
- o9.CFrame = CFrame.new(21.7509365, 1.34398293, -109.713966, 1.29999999e-05, -0.927042246, 0.374957085, 0, 0.374957085, 0.927042246, -1, -1.20515488e-05, 4.87444231e-06)
- o9.BottomSurface = Enum.SurfaceType.Smooth
- o9.Color = Color3.new(0, 1, 1)
- o9.Color = Color3.new(0, 1, 1)
- o10.Parent = mas2
- o10.Material = Enum.Material.SmoothPlastic
- o10.BrickColor = BrickColor.new("Toothpaste")
- o10.Rotation = Vector3.new(-0.49000001, 0, -180)
- o10.Size = Vector3.new(0.475612402, 1.02706826, 0.435085207)
- o10.CFrame = CFrame.new(22.2570095, 0.825033665, -110.003471, -1, 0, 0, 0, -0.999962986, 0.00861299969, 0, 0.00861299969, 0.999962986)
- o10.BottomSurface = Enum.SurfaceType.Smooth
- o10.Color = Color3.new(0, 1, 1)
- o10.Color = Color3.new(0, 1, 1)
- o11.Parent = mas2
- o11.Material = Enum.Material.Glass
- o11.BrickColor = BrickColor.new("Black")
- o11.Rotation = Vector3.new(-90.4899979, 0, 0)
- o11.Size = Vector3.new(0.611088395, 1.16370118, 0.2324512)
- o11.CFrame = CFrame.new(22.268013, 1.45806074, -109.736092, 1, 0, 0, 0, -0.00861299969, 0.999962986, 0, -0.999962986, -0.00861299969)
- o11.BottomSurface = Enum.SurfaceType.Smooth
- o11.TopSurface = Enum.SurfaceType.Smooth
- o11.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o11.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o12.Parent = mas2
- o12.Material = Enum.Material.Glass
- o12.BrickColor = BrickColor.new("Black")
- o12.Rotation = Vector3.new(-12.9799995, 0, 0)
- o12.Size = Vector3.new(0.611088395, 0.415110946, 0.41598022)
- o12.CFrame = CFrame.new(22.268013, 1.98674273, -110.42276, 1, 0, 0, 0, 0.974454999, 0.224583, 0, -0.224583, 0.974454999)
- o12.BottomSurface = Enum.SurfaceType.Smooth
- o12.TopSurface = Enum.SurfaceType.Smooth
- o12.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o12.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o13.Parent = mas2
- o13.Material = Enum.Material.Glass
- o13.BrickColor = BrickColor.new("Toothpaste")
- o13.Rotation = Vector3.new(-179.509995, 0, 0)
- o13.Size = Vector3.new(0.475612402, 0.256477833, 0.470691025)
- o13.CFrame = CFrame.new(22.2570095, 1.22059798, -109.38369, 1, 0, 0, 0, -0.999962986, 0.00861299969, 0, -0.00861299969, -0.999962986)
- o13.BottomSurface = Enum.SurfaceType.Smooth
- o13.Color = Color3.new(0, 1, 1)
- o13.Color = Color3.new(0, 1, 1)
- o14.Parent = mas
- o14.Material = Enum.Material.Glass
- o14.BrickColor = BrickColor.new("Toothpaste")
- o14.Rotation = Vector3.new(-179.509995, 0, 0)
- o14.Size = Vector3.new(0.475612402, 1.04096365, 0.416848063)
- o14.CFrame = CFrame.new(22.2570095, 0.828138828, -109.469574, 1, 0, 0, 0, -0.999962986, 0.00861299969, 0, -0.00861299969, -0.999962986)
- o14.BottomSurface = Enum.SurfaceType.Smooth
- o14.Color = Color3.new(0, 1, 1)
- o14.Color = Color3.new(0, 1, 1)
- o15.Parent = mas2
- o15.Material = Enum.Material.Glass
- o15.BrickColor = BrickColor.new("Toothpaste")
- o15.Rotation = Vector3.new(-0.49000001, 0, -180)
- o15.Size = Vector3.new(0.475612402, 0.256477833, 0.470691025)
- o15.CFrame = CFrame.new(22.2570095, 1.21046901, -110.098427, -1, 0, 0, 0, -0.999962986, 0.00861299969, 0, 0.00861299969, 0.999962986)
- o15.BottomSurface = Enum.SurfaceType.Smooth
- o15.Color = Color3.new(0, 1, 1)
- o15.Color = Color3.new(0, 1, 1)
- o17 = Instance.new("WedgePart")
- o18 = Instance.new("WedgePart")
- o17.Parent = mas2
- o17.Material = Enum.Material.Glass
- o17.BrickColor = BrickColor.new("Toothpaste")
- o17.Rotation = Vector3.new(-0.49000001, 0, -180)
- o17.Size = Vector3.new(0.475612402, 1.02706826, 0.435085207)
- o17.CFrame = CFrame.new(22.2570095, 0.825033665, -110.003471, -1, 0, 0, 0, -0.999962986, 0.00861299969, 0, 0.00861299969, 0.999962986)
- o17.BottomSurface = Enum.SurfaceType.Smooth
- o17.Color = Color3.new(0, 1, 1)
- o17.Color = Color3.new(0, 1, 1)
- o18.Parent = mas2
- o18.Material = Enum.Material.Glass
- o18.BrickColor = BrickColor.new("Toothpaste")
- o18.Rotation = Vector3.new(-179.509995, 0, 0)
- o18.Size = Vector3.new(0.475612402, 1.04096365, 0.416848063)
- o18.CFrame = CFrame.new(22.2570095, 0.828138828, -109.469574, 1, 0, 0, 0, -0.999962986, 0.00861299969, 0, -0.00861299969, -0.999962986)
- o18.BottomSurface = Enum.SurfaceType.Smooth
- o18.Color = Color3.new(0, 1, 1)
- o18.Color = Color3.new(0, 1, 1)
- o1 = Instance.new("WedgePart")
- o2 = Instance.new("WedgePart")
- o3 = Instance.new("WedgePart")
- o4 = Instance.new("WedgePart")
- o1.Parent = mas2
- o1.Material = Enum.Material.SmoothPlastic
- o1.BrickColor = BrickColor.new("Toothpaste")
- o1.Rotation = Vector3.new(-0.49000001, 0, -180)
- o1.Size = Vector3.new(0.475612402, 1.02706826, 0.435085207)
- o1.CFrame = CFrame.new(22.2570095, 0.825033665, -110.003471, -1, 0, 0, 0, -0.999962986, 0.00861299969, 0, 0.00861299969, 0.999962986)
- o1.BottomSurface = Enum.SurfaceType.Smooth
- o1.Color = Color3.new(0, 1, 1)
- o1.Color = Color3.new(0, 1, 1)
- o2.Parent = mas2
- o2.Material = Enum.Material.Glass
- o2.BrickColor = BrickColor.new("Toothpaste")
- o2.Rotation = Vector3.new(-179.509995, 0, 0)
- o2.Size = Vector3.new(0.475612402, 1.04096365, 0.416848063)
- o2.CFrame = CFrame.new(22.2570095, 0.828138828, -109.469574, 1, 0, 0, 0, -0.999962986, 0.00861299969, 0, -0.00861299969, -0.999962986)
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.Color = Color3.new(0, 1, 1)
- o2.Color = Color3.new(0, 1, 1)
- o3.Parent = mas2
- o3.Material = Enum.Material.Glass
- o3.BrickColor = BrickColor.new("Toothpaste")
- o3.Rotation = Vector3.new(-179.509995, 0, 0)
- o3.Size = Vector3.new(0.475612402, 1.02706826, 0.435085207)
- o3.CFrame = CFrame.new(23.3976727, 0.824273586, -109.445427, 1, 0, 0, 0, -0.999962926, 0.00861287117, 0, -0.00861287117, -0.999962926)
- o3.BottomSurface = Enum.SurfaceType.Smooth
- o3.Color = Color3.new(0, 1, 1)
- o3.Color = Color3.new(0, 1, 1)
- mas2.Parent = Torso
- mas2:MakeJoints()
- function weld2()
- local parts,last = {}
- local function scan(mas2)
- for _,v in pairs(mas2:GetChildren()) do
- if (v:IsA("BasePart")) then
- if (last) then
- local w = Instance.new("Weld")
- w.Name = ("%s_Weld"):format(v.Name)
- w.Part0,w.Part1 = last,leglocater2
- w.C0 = last.CFrame:inverse()
- w.Parent = last
- end
- last = v
- table.insert(parts,v)
- end
- scan(v)
- end
- end
- scan(mas2)
- for _,v in pairs(parts) do
- v.CanCollide = false
- v.Anchored = false
- v.Parent = Head
- end
- end
- weld2()
- mas = Instance.new("Model",Torso)
- o1 = Instance.new("Part")
- o2 = Instance.new("Part")
- o3 = Instance.new("Part")
- o4 = Instance.new("Part")
- o5 = Instance.new("Part")
- o6 = Instance.new("WedgePart")
- o7 = Instance.new("WedgePart")
- o8 = Instance.new("WedgePart")
- o9 = Instance.new("Part")
- o10 = Instance.new("Part")
- o11 = Instance.new("Part")
- o12 = Instance.new("WedgePart")
- o13 = Instance.new("Part")
- o14 = Instance.new("Part")
- o15 = Instance.new("WedgePart")
- o1.Parent = mas
- o1.Material = Enum.Material.Glass
- o1.BrickColor = BrickColor.new("Black")
- o1.Rotation = Vector3.new(-32.9799995, 0, 0)
- o1.Size = Vector3.new(0.611088395, 0.464611918, 0.41598022)
- o1.CFrame = CFrame.new(23.3834858, 1.65648532, -110.253166, 1, 0, 0, 0, 0.83887583, 0.544322908, 0, -0.544322908, 0.83887583)
- o1.BottomSurface = Enum.SurfaceType.Smooth
- o1.TopSurface = Enum.SurfaceType.Smooth
- o1.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o1.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o2.Parent = mas
- o2.Material = Enum.Material.Glass
- o2.BrickColor = BrickColor.new("Black")
- o2.Rotation = Vector3.new(-12.9799995, 0, 0)
- o2.Size = Vector3.new(0.611088395, 0.415110946, 0.41598022)
- o2.CFrame = CFrame.new(23.3834839, 1.9859823, -110.39917, 1, 0, 0, 0, 0.974454999, 0.224583, 0, -0.224583, 0.974454999)
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.TopSurface = Enum.SurfaceType.Smooth
- o2.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o2.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o3.Parent = mas
- o3.Material = Enum.Material.Glass
- o3.BrickColor = BrickColor.new("Black")
- o3.Rotation = Vector3.new(17.0200005, 0, 0)
- o3.Size = Vector3.new(0.611088395, 1.39694285, 0.41598022)
- o3.CFrame = CFrame.new(23.3834858, 2.73827434, -110.244751, 1, 0, 0, 0, 0.956193984, -0.292733997, 0, 0.292733997, 0.956193984)
- o3.BottomSurface = Enum.SurfaceType.Smooth
- o3.TopSurface = Enum.SurfaceType.Smooth
- o3.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o3.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o4.Parent = mas
- o4.Material = Enum.Material.Glass
- o4.BrickColor = BrickColor.new("Black")
- o4.Rotation = Vector3.new(162.979996, 0, -180)
- o4.Size = Vector3.new(0.611088395, 1.34223616, 0.41598022)
- o4.CFrame = CFrame.new(23.3866711, 2.71211886, -109.172554, -1, 0, 0, 0, 0.956193984, -0.292733997, 0, -0.292733997, -0.956193984)
- o4.BottomSurface = Enum.SurfaceType.Smooth
- o4.TopSurface = Enum.SurfaceType.Smooth
- o4.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o4.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o5.Parent = mas
- o5.Material = Enum.Material.Glass
- o5.BrickColor = BrickColor.new("Black")
- o5.Rotation = Vector3.new(-147.020004, 0, -180)
- o5.Size = Vector3.new(0.611088395, 0.477927923, 0.41598022)
- o5.CFrame = CFrame.new(23.3866711, 1.65090275, -109.175789, -1, 0, 0, 0, 0.838876307, 0.544322193, 0, 0.544322193, -0.838876307)
- o5.BottomSurface = Enum.SurfaceType.Smooth
- o5.TopSurface = Enum.SurfaceType.Smooth
- o5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o6.Parent = mas
- o6.Material = Enum.Material.Glass
- o6.BrickColor = BrickColor.new("Toothpaste")
- o6.Rotation = Vector3.new(-0.49000001, 0, -180)
- o6.Size = Vector3.new(0.475612402, 0.256477833, 0.470691025)
- o6.CFrame = CFrame.new(23.3976727, 1.2198379, -110.065208, -1, 0, 0, 0, -0.999962986, 0.00861299969, 0, 0.00861299969, 0.999962986)
- o6.BottomSurface = Enum.SurfaceType.Smooth
- o6.Color = Color3.new(0, 1, 1)
- o6.Color = Color3.new(0, 1, 1)
- o7.Parent = mas
- o7.Material = Enum.Material.Glass
- o7.BrickColor = BrickColor.new("Toothpaste")
- o7.Rotation = Vector3.new(-0.49000001, 0, -180)
- o7.Size = Vector3.new(0.475612402, 1.04096365, 0.416848063)
- o7.CFrame = CFrame.new(23.3976727, 0.827378273, -109.979324, -1, 0, 0, 0, -0.999962986, 0.00861299969, 0, 0.00861299969, 0.999962986)
- o7.BottomSurface = Enum.SurfaceType.Smooth
- o7.Color = Color3.new(0, 1, 1)
- o7.Color = Color3.new(0, 1, 1)
- o8.Parent = mas
- o8.Material = Enum.Material.Glass
- o8.BrickColor = BrickColor.new("Toothpaste")
- o8.Rotation = Vector3.new(-90, -22.0200005, -90)
- o8.Size = Vector3.new(0.609640539, 0.815749586, 0.36387372)
- o8.CFrame = CFrame.new(23.9037457, 1.34321952, -109.734932, -1.21480516e-05, 0.927048683, -0.374960363, -4.91226911e-06, 0.374959707, 0.927046955, 1.00000882, 1.31261768e-05, 5.40245679e-08)
- o8.BottomSurface = Enum.SurfaceType.Smooth
- o8.Color = Color3.new(0, 1, 1)
- o8.Color = Color3.new(0, 1, 1)
- o9.Parent = mas
- o9.Material = Enum.Material.Glass
- o9.BrickColor = BrickColor.new("Black")
- o9.Rotation = Vector3.new(-90, -77.0199966, -90)
- o9.Size = Vector3.new(0.611088395, 0.415110946, 0.41598022)
- o9.CFrame = CFrame.new(24.0779667, 1.92084956, -109.728722, 0, 0.224583, -0.974454999, 0, 0.974454999, 0.224583, 1, 0, 0)
- o9.BottomSurface = Enum.SurfaceType.Smooth
- o9.TopSurface = Enum.SurfaceType.Smooth
- o9.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o9.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o10.Parent = mas
- o10.Material = Enum.Material.Glass
- o10.BrickColor = BrickColor.new("Black")
- o10.Rotation = Vector3.new(90, -72.9800034, 90)
- o10.Size = Vector3.new(0.611088395, 1.4569428, 0.41598022)
- o10.CFrame = CFrame.new(23.9147701, 2.70182657, -109.728714, 0, -0.292733997, -0.956193984, 0, 0.956193984, -0.292733997, 1, 0, 0)
- o10.BottomSurface = Enum.SurfaceType.Smooth
- o10.TopSurface = Enum.SurfaceType.Smooth
- o10.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o10.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o11.Parent = mas
- o11.Material = Enum.Material.Glass
- o11.BrickColor = BrickColor.new("Black")
- o11.Rotation = Vector3.new(-90, -22.0200005, -90)
- o11.Size = Vector3.new(0.561928511, 0.57664001, 0.240845904)
- o11.CFrame = CFrame.new(23.9221382, 1.67681599, -109.734833, 0, 0.927042246, -0.374957085, 0, 0.374957085, 0.927042246, 1, 0, 0)
- o11.BottomSurface = Enum.SurfaceType.Smooth
- o11.TopSurface = Enum.SurfaceType.Smooth
- o11.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o11.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o12.Parent = mas
- o12.Material = Enum.Material.Glass
- o12.BrickColor = BrickColor.new("Toothpaste")
- o12.Rotation = Vector3.new(-179.509995, 0, 0)
- o12.Size = Vector3.new(0.475612402, 0.256477833, 0.470691025)
- o12.CFrame = CFrame.new(23.3976727, 1.20970654, -109.350471, 1, 0, 0, 0, -0.999962926, 0.00861287117, 0, -0.00861287117, -0.999962926)
- o12.BottomSurface = Enum.SurfaceType.Smooth
- o12.Color = Color3.new(0, 1, 1)
- o12.Color = Color3.new(0, 1, 1)
- o13.Parent = mas
- o13.Material = Enum.Material.Glass
- o13.BrickColor = BrickColor.new("Black")
- o13.Rotation = Vector3.new(-89.5100021, 0, -180)
- o13.Size = Vector3.new(0.611088395, 1.16370118, 0.2324512)
- o13.CFrame = CFrame.new(23.3866711, 1.45730305, -109.712807, -1, 0, 0, 0, -0.00861299969, 0.999962986, 0, 0.999962986, 0.00861299969)
- o13.BottomSurface = Enum.SurfaceType.Smooth
- o13.TopSurface = Enum.SurfaceType.Smooth
- o13.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o13.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o14.Parent = mas
- o14.Material = Enum.Material.Glass
- o14.BrickColor = BrickColor.new("Black")
- o14.Rotation = Vector3.new(-167.020004, 0, -180)
- o14.Size = Vector3.new(0.611088395, 0.415110946, 0.41598022)
- o14.CFrame = CFrame.new(23.3866711, 1.9859823, -109.026138, -1, 0, 0, 0, 0.974454999, 0.224583, 0, 0.224583, -0.974454999)
- o14.BottomSurface = Enum.SurfaceType.Smooth
- o14.TopSurface = Enum.SurfaceType.Smooth
- o14.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o14.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o15.Parent = mas
- o15.Material = Enum.Material.Glass
- o15.BrickColor = BrickColor.new("Toothpaste")
- o15.Rotation = Vector3.new(-179.509995, 0, 0)
- o15.Size = Vector3.new(0.475612402, 1.02706826, 0.435085207)
- o15.CFrame = CFrame.new(23.3976727, 0.824273586, -109.445427, 1, 0, 0, 0, -0.999962926, 0.00861287117, 0, -0.00861287117, -0.999962926)
- o15.BottomSurface = Enum.SurfaceType.Smooth
- o15.Color = Color3.new(0, 1, 1)
- o15.Color = Color3.new(0, 1, 1)
- o31 = Instance.new("WedgePart")
- o31.Parent = mas
- o31.Material = Enum.Material.Glass
- o31.BrickColor = BrickColor.new("Toothpaste")
- o31.Rotation = Vector3.new(-179.509995, 0, 0)
- o31.Size = Vector3.new(0.475612402, 1.02706826, 0.435085207)
- o31.CFrame = CFrame.new(23.3976727, 0.824273586, -109.445427, 1, 0, 0, 0, -0.999962926, 0.00861287117, 0, -0.00861287117, -0.999962926)
- o31.BottomSurface = Enum.SurfaceType.Smooth
- o31.Color = Color3.new(0, 1, 1)
- o31.Color = Color3.new(0, 1, 1)
- mas.Parent = workspace
- mas:MakeJoints()
- function weld()
- local parts,last = {}
- local function scan(mas)
- for _,v in pairs(mas:GetChildren()) do
- if (v:IsA("BasePart")) then
- if (last) then
- local w = Instance.new("Weld")
- w.Name = ("%s_Weld"):format(v.Name)
- w.Part0,w.Part1 = last,leglocater
- w.C0 = last.CFrame:inverse()
- w.Parent = last
- end
- last = v
- table.insert(parts,v)
- end
- scan(v)
- end
- end
- scan(mas)
- for _,v in pairs(parts) do
- v.CanCollide = false
- v.Anchored = false
- v.Parent = Head
- end
- end
- weld()
- jacket = Instance.new("Part",Torso)
- jacket.BrickColor = BrickColor.new("Really black")
- jacket.Material = "Glass"
- jacket.Anchored = false
- jacket.CanCollide = false
- jacketmesh = Instance.new("SpecialMesh",jacket)
- jacketmesh.MeshId = "rbxassetid://2608727167"
- jacketmesh.Scale = Vector3.new(.05,.05,.044)
- jacketweld = weldBetween(jacket,Torso)
- jacketweld.C0 = jacketweld.C0 * CFrame.new(0,-.7,-.1)
- leftlocation = Instance.new("Part",LeftArm)
- leftlocation.Size = Vector3.new(1,1,1)
- leftlocation.Transparency = 1
- leftlocationweld = weldBetween(leftlocation,LeftArm)
- leftlocationweld.C0 = CFrame.new(0,1.2,0)
- rightlocation = Instance.new("Part",RightArm)
- rightlocation.Size = Vector3.new(1,1,1)
- rightlocation.Transparency = 1
- rightlocationweld = weldBetween(rightlocation,RightArm)
- rightlocationweld.C0 = CFrame.new(0,1.2,0)
- RemoteEvent.OnServerEvent:Connect(function(plr,k)
- k=k:lower()
- if k=='m' then
- immortality()
- for i,v in pairs(Player.Character:GetDescendants()) do
- if v:IsA("BodyVelocity") then
- v:Remove()
- end
- end
- elseif k=='g' then
- for i = 1, 30 do
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(-1,.5,0)*CFrame.Angles(math.rad(50),math.rad(-90),math.rad(60)),.2)
- swait()
- end
- elseif k=='z' then
- if debounce then return end
- if power then
- debounce = true
- power = false
- coroutine.wrap(function()
- repeat if power then break end swait() surgesound.Volume = surgesound.Volume - .1 until surgesound.Volume < .01
- surgesound.Volume = 0
- end)()
- debounce = false
- else
- debounce = true
- power = true
- speed = false
- coroutine.wrap(function()
- repeat if not power then break end swait() surgesound.Volume = surgesound.Volume + .1 until surgesound.Volume > 1.5
- end)()
- coroutine.wrap(function()
- while power do
- for i,v in pairs(t2t) do
- if power then
- if v:IsA("Part") then
- coroutine.wrap(function()
- colortween(v,.25,BrickColor.new("Crimson").Color)
- wait(.25)
- colortween(v,.25,BrickColor.new("Really black").Color)
- wait(.25)
- end)()
- swait()
- end
- end
- end
- swait()
- end
- end)()
- coroutine.wrap(function()
- while power do
- for i,v in pairs(t1t) do
- if power then
- if v:IsA("Part") then
- coroutine.wrap(function()
- colortween(v,.25,BrickColor.new("Crimson").Color)
- wait(.25)
- colortween(v,.25,BrickColor.new("Really black").Color)
- wait(.25)
- end)()
- swait()
- end
- end
- end
- swait()
- end
- end)()
- attacking = false
- debounce = false
- end
- elseif k=='x' then
- if debounce then return end
- if speed then
- debounce = true
- speed = false
- coroutine.wrap(function()
- repeat if speed then break end swait() surgesound.Volume = surgesound.Volume - .1 until surgesound.Volume < .01
- surgesound.Volume = 0
- end)()
- debounce = false
- else
- debounce = true
- speed = true
- power = false
- coroutine.wrap(function()
- repeat if not speed then break end swait() surgesound.Volume = surgesound.Volume + .1 until surgesound.Volume > 1.5
- end)()
- coroutine.wrap(function()
- while speed do
- for i,v in pairs(t2t) do
- if speed then
- if v:IsA("Part") then
- coroutine.wrap(function()
- colortween(v,.25,BrickColor.new("Cyan").Color)
- wait(.25)
- colortween(v,.25,BrickColor.new("Really black").Color)
- wait(.25)
- end)()
- swait()
- end
- end
- end
- swait()
- end
- end)()
- coroutine.wrap(function()
- while speed do
- for i,v in pairs(t1t) do
- if speed then
- if v:IsA("Part") then
- coroutine.wrap(function()
- colortween(v,.25,BrickColor.new("Cyan").Color)
- wait(.25)
- colortween(v,.25,BrickColor.new("Really black").Color)
- wait(.25)
- end)()
- swait()
- end
- end
- end
- swait()
- end
- end)()
- attacking = false
- debounce = false
- end
- elseif k=='y' then
- if getMouseTarget() ~= nil and getMouseTarget().Parent ~= Character and getMouseTarget().Parent.Parent ~= Character and getMouseTarget().Parent:FindFirstChildOfClass("Humanoid") ~= nil then
- local enemyhum = getMouseTarget().Parent:FindFirstChildOfClass("Humanoid")
- if enemyhum.Health < 1 then return end
- local ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso")
- if debounce then return end
- debounce = true
- attacking = true
- metalsound.Volume = 0
- local hitboxr = Instance.new("Part",Torso)
- hitboxr.Size = Vector3.new(1,1,1)
- hitboxr.CanCollide = false
- hitboxr.Anchored = false
- hitboxr.Transparency = 1
- hitboxweld = weldBetween(hitboxr,LeftLeg)
- hitboxweld.C0 = CFrame.new(0,2.5,0)
- local g1 = Instance.new("BodyGyro", nil)
- g1.CFrame = Root.CFrame
- g1.Parent = Root
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,90000,0)
- for i = 1, 7 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.25)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .5, 0) * CFrame.Angles(math.rad(22), math.rad(0), math.rad(0)),.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.39, 2, .6) * CFrame.Angles(math.rad(37), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.1, -1.1) * CFrame.Angles(math.rad(-87), math.rad(3), math.rad(5)), 0.4)
- swait()
- end
- local touchedtrue = false
- for i = 1, 30 do
- if touchedtrue then break end
- Hit = damagealll(6,hitboxr.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- touchedtrue = true
- takeDamage(slachtoffer,math.random(9,12))
- SOUND(LeftLeg,3041191430,10,false,math.random(9,11)/10,5)
- torloc = Instance.new("Part",Torso)
- torloc.Size = Vector3.new(1,1,1)
- torloc.Anchored = true
- torloc.Transparency = 1
- torloc.CanCollide = false
- torloc.CFrame = Torso.CFrame * CFrame.new(0,50,-60)
- coroutine.wrap(function()
- for i = 1, 15 do
- ETorso.CFrame = ETorso.CFrame:lerp(CFrame.new(torloc.Position),.2)
- swait()
- end
- ETorsoweld = weldBetween(ETorso,torloc)
- end)()
- end
- end
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(22), math.rad(0), math.rad(0)),.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.39, 2, .6) * CFrame.Angles(math.rad(37), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.1, -1.1) * CFrame.Angles(math.rad(-87), math.rad(3), math.rad(5)), 0.4)
- swait()
- end
- removeuseless:AddItem(g1,.001)
- local be = .1
- for i = 1, 30 do
- be = be - .0025
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)),be)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.39, 2, .6) * CFrame.Angles(math.rad(37), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.1, -1.1) * CFrame.Angles(math.rad(-87), math.rad(3), math.rad(5)), 0.4)
- swait()
- end
- for i = 1, 20 do
- be = be + .005
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(200), math.rad(0), math.rad(0)),be)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.39, 2, .6) * CFrame.Angles(math.rad(37), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.1, -1.1) * CFrame.Angles(math.rad(-87), math.rad(3), math.rad(5)), 0.4)
- swait()
- end
- ws = 0
- for i = 1, 30 do
- be = be + .005
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 1.6 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 0 * math.sin(sine/12)), math.rad(0), math.rad(0)), be)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), be)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1 + 0 * math.sin(sine/12), .5) * CFrame.Angles(math.rad(-9 + 0 * math.cos(sine/12)), math.rad(0), math.rad(0)), be)
- swait()
- end
- if touchedtrue then
- SOUND(Torso,1412100204,10,false,math.random(9,11)/10,10)
- SOUND(Torso,3254129745,8,false,1,6)
- local lp = Instance.new("Part",Torso)
- lp.Size = Vector3.new(1,1,1)
- lp.Anchored = true
- lp.Transparency = 1
- lp.CanCollide = false
- lp.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
- A = Instance.new("Attachment", lp)
- A.Position = Vector3.new(.2,.2,0)
- A.Name = "A"
- B = Instance.new("Attachment", lp)
- B.Position = Vector3.new(-.2,-.2,0)
- B.Name = "B"
- tr1 = Instance.new("Trail", lp)
- tr1.Attachment0 = A
- tr1.Attachment1 = B
- tr1.Enabled = true
- tr1.Lifetime = 2
- tr1.TextureMode = "Static"
- tr1.LightInfluence = 0
- tr1.Color = ColorSequence.new(BrickColor.new("White").Color,BrickColor.new("Really black").Color)
- tr1.Transparency = NumberSequence.new(1, 1)
- for i = 1, 60 do
- trailtrans = trailtrans - .01
- tr1.Transparency = NumberSequence.new(trailtrans, 1)
- local lp2 = Instance.new("Part",Torso)
- lp2.Size = Vector3.new(1,1,1)
- lp2.Anchored = true
- lp2.Transparency = 1
- lp2.CanCollide = false
- lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
- local zamu = Instance.new("Part",Torso)
- zamu.Size = Vector3.new(math.random(3,4),.25,.25)
- zamu.Anchored = true
- zamu.CanCollide = false
- zamu.Transparency = trailtrans
- zamu.BrickColor = BrickColor.new("White")
- zamu.Material = "Neon"
- zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- coroutine.wrap(function()
- local y1 = math.random(-180,180)
- local y2 = math.random(-180,180)
- local y3 = math.random(-180,180)
- for i = 1, 20 do
- zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
- zamu.Transparency = zamu.Transparency + .05
- swait()
- end
- zamu:Remove()
- lp2:Remove()
- end)()
- lp.CFrame = lp2.CFrame
- mow = mow + .005
- change = change + .0075
- swait()
- end
- lolweld = weldBetween(Torso,torloc)
- lolweld:Remove()
- trailtrans = trailtrans - .01
- tr1.Transparency = NumberSequence.new(trailtrans, 1)
- local lp2 = Instance.new("Part",Torso)
- lp2.Size = Vector3.new(1,1,1)
- lp2.Anchored = true
- lp2.Transparency = 1
- lp2.CanCollide = false
- lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
- local zamu = Instance.new("Part",Torso)
- zamu.Size = Vector3.new(math.random(3,4),.25,.25)
- zamu.Anchored = true
- zamu.CanCollide = false
- zamu.Transparency = trailtrans
- zamu.BrickColor = BrickColor.new("White")
- zamu.Material = "Neon"
- zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- coroutine.wrap(function()
- local y1 = math.random(-180,180)
- local y2 = math.random(-180,180)
- local y3 = math.random(-180,180)
- for i = 1, 20 do
- zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
- zamu.Transparency = zamu.Transparency + .05
- swait()
- end
- zamu:Remove()
- lp2:Remove()
- end)()
- lp.CFrame = lp2.CFrame
- mow = mow + .005
- change = change + .0075
- coroutine.wrap(function()
- for i = 1, 5 do
- trailtrans = trailtrans - .01
- tr1.Transparency = NumberSequence.new(trailtrans, 1)
- local lp2 = Instance.new("Part",Torso)
- lp2.Size = Vector3.new(1,1,1)
- lp2.Anchored = true
- lp2.Transparency = 1
- lp2.CanCollide = false
- lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
- local zamu = Instance.new("Part",Torso)
- zamu.Size = Vector3.new(math.random(3,4),.25,.25)
- zamu.Anchored = true
- zamu.CanCollide = false
- zamu.Transparency = trailtrans
- zamu.BrickColor = BrickColor.new("White")
- zamu.Material = "Neon"
- zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- coroutine.wrap(function()
- local y1 = math.random(-180,180)
- local y2 = math.random(-180,180)
- local y3 = math.random(-180,180)
- for i = 1, 20 do
- zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
- zamu.Transparency = zamu.Transparency + .05
- swait()
- end
- zamu:Remove()
- lp2:Remove()
- end)()
- lp.CFrame = lp2.CFrame
- mow = mow + .005
- change = change + .0075
- swait()
- end
- end)()
- rightrotweld.C0 = CFrame.new(-.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0)
- leftrotweld.C0 = CFrame.new(.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0)
- ROOTLERP.C0 = CFrame.new(.1, .3, -1) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
- RIGHTLEGLERP.C0 = CFrame.new(-.5, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(3), math.rad(3))
- LEFTLEGLERP.C0 = CFrame.new(0.5, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(-3))
- lolweld = weldBetween(Root,torloc)
- lolweld.C0 = CFrame.new(0,0,-5)
- torloc2 = Instance.new("Part",Torso)
- torloc2.Size = Vector3.new(1,1,1)
- torloc2.Anchored = true
- torloc2.Transparency = 1
- torloc2.CanCollide = false
- torloc2.CFrame = Root.CFrame * CFrame.new(0,0,-120)
- ETorsoweld:Remove()
- Torso.Anchored = false
- Hit = damagealll(10,Root.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 and v:FindFirstChildOfClass("Humanoid") == enemyhum then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- takeDamage(slachtoffer,math.random(12,19))
- SOUND(LeftLeg,3041191430,10,false,math.random(9,11)/10,5)
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(LeftLeg.Position,torso.Position).lookVector*235
- removeuseless:AddItem(vel,.1)
- end
- end
- coroutine.wrap(function()
- for i = 1, 12 do
- ETorso.CFrame = ETorso.CFrame:lerp(CFrame.new(torloc2.Position),.2)
- swait()
- end
- ETorsoweld2 = weldBetween(ETorso,torloc2)
- end)()
- for i = 1, 40 do
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(.1, 2, -1) * CFrame.Angles(math.rad(160), math.rad(90), math.rad(0)),.05)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.55, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(3), math.rad(-10)),.025)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(10)),.025)
- swait()
- end
- SOUND(Torso,3254129745,8,false,1,6)
- for i = 1, 40 do
- trailtrans = trailtrans - .01
- tr1.Transparency = NumberSequence.new(trailtrans, 1)
- local lp2 = Instance.new("Part",Torso)
- lp2.Size = Vector3.new(1,1,1)
- lp2.Anchored = true
- lp2.Transparency = 1
- lp2.CanCollide = false
- lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
- local zamu = Instance.new("Part",Torso)
- zamu.Size = Vector3.new(math.random(3,4),.25,.25)
- zamu.Anchored = true
- zamu.CanCollide = false
- zamu.Transparency = trailtrans
- zamu.BrickColor = BrickColor.new("White")
- zamu.Material = "Neon"
- zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- coroutine.wrap(function()
- local y1 = math.random(-180,180)
- local y2 = math.random(-180,180)
- local y3 = math.random(-180,180)
- for i = 1, 20 do
- zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
- zamu.Transparency = zamu.Transparency + .05
- swait()
- end
- zamu:Remove()
- lp2:Remove()
- end)()
- lp.CFrame = lp2.CFrame
- mow = mow + .005
- change = change + .0075
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(.1, 2, -1) * CFrame.Angles(math.rad(160), math.rad(90), math.rad(0)),.05)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.55, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(3), math.rad(-10)),.05)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(10)),.05)
- swait()
- end
- coroutine.wrap(function()
- for i = 1, 5 do
- trailtrans = trailtrans - .01
- tr1.Transparency = NumberSequence.new(trailtrans, 1)
- local lp2 = Instance.new("Part",Torso)
- lp2.Size = Vector3.new(1,1,1)
- lp2.Anchored = true
- lp2.Transparency = 1
- lp2.CanCollide = false
- lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
- local zamu = Instance.new("Part",Torso)
- zamu.Size = Vector3.new(math.random(3,4),.25,.25)
- zamu.Anchored = true
- zamu.CanCollide = false
- zamu.Transparency = trailtrans
- zamu.BrickColor = BrickColor.new("White")
- zamu.Material = "Neon"
- zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- coroutine.wrap(function()
- local y1 = math.random(-180,180)
- local y2 = math.random(-180,180)
- local y3 = math.random(-180,180)
- for i = 1, 20 do
- zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
- zamu.Transparency = zamu.Transparency + .05
- swait()
- end
- zamu:Remove()
- lp2:Remove()
- end)()
- lp.CFrame = lp2.CFrame
- mow = mow + .005
- change = change + .0075
- swait()
- end
- end)()
- Torso.Anchored = false
- lolweld:Remove()
- torloc:Remove()
- SOUND(Torso,518230185,10,false,math.random(9,11)/10,8)
- weldos2 = weldBetween(Torso,torloc2)
- weldos2.C0 = CFrame.new(0,0,3) * CFrame.Angles(math.rad(math.rad(100)),math.rad(50),math.rad(50))--fock
- ROOTLERP.C0 = CFrame.new(0, .5, 0) * CFrame.Angles(math.rad(22), math.rad(0), math.rad(0))
- RIGHTLEGLERP.C0 = CFrame.new(-.39, 2, .6) * CFrame.Angles(math.rad(37), math.rad(0), math.rad(0))
- LEFTLEGLERP.C0 = CFrame.new(0.5, 1.1, -1.1) * CFrame.Angles(math.rad(-87), math.rad(3), math.rad(5))
- local bok = 0
- for i = 1, 50 do
- bok = bok + .005
- trailtrans = trailtrans - .01
- tr1.Transparency = NumberSequence.new(trailtrans, 1)
- local lp2 = Instance.new("Part",Torso)
- lp2.Size = Vector3.new(1,1,1)
- lp2.Anchored = true
- lp2.Transparency = 1
- lp2.CanCollide = false
- lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
- local zamu = Instance.new("Part",Torso)
- zamu.Size = Vector3.new(math.random(3,4),.25,.25)
- zamu.Anchored = true
- zamu.CanCollide = false
- zamu.Transparency = trailtrans
- zamu.BrickColor = BrickColor.new("White")
- zamu.Material = "Neon"
- zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- coroutine.wrap(function()
- local y1 = math.random(-180,180)
- local y2 = math.random(-180,180)
- local y3 = math.random(-180,180)
- for i = 1, 20 do
- zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
- zamu.Transparency = zamu.Transparency + .05
- swait()
- end
- zamu:Remove()
- lp2:Remove()
- end)()
- lp.CFrame = lp2.CFrame
- mow = mow + .005
- change = change + .0075
- weldos2.C0 = weldos2.C0:lerp(CFrame.new(0,0,3) * CFrame.Angles(math.rad(math.rad(100)),math.rad(-80),math.rad(50)),bok)--fock
- swait()
- end
- ETorsoweld2:Remove()
- Hit = damagealll(10,Root.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 and v:FindFirstChildOfClass("Humanoid") == enemyhum then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- takeDamage(slachtoffer,math.random(27,38))
- SOUND(LeftLeg,2053414752,10,false,math.random(9,11)/10,5)
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(LeftLeg.Position,torso.Position).lookVector*235
- removeuseless:AddItem(vel,.1)
- end
- end
- for i = 1, 40 do
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
- weldos2.C0 = weldos2.C0:lerp(CFrame.new(.5,0,-3) * CFrame.Angles(math.rad(math.rad(100)),math.rad(170),math.rad(50)),.2)--fock
- swait()
- end
- weldos2:Remove()
- local hitfloor = false
- local hitboxl = Instance.new("Part",Torso)
- hitboxl.Size = Vector3.new(1,1,1)
- hitboxl.CanCollide = false
- hitboxl.Anchored = false
- hitboxl.Transparency = 1
- hitboxweld2 = weldBetween(hitboxl,LeftLeg)
- hitboxweld2.C0 = CFrame.new(0,2.5,0)
- local malz = false
- hitboxl.Touched:connect(function(getpart)
- if getpart:IsA("Part") and getpart.Parent ~= Character and getpart.Parent.Parent ~= Character then
- if malz then return end
- malz = true
- hitfloor = true
- end
- end)
- while not hitfloor do
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.25)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/12), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.25)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.25)
- swait()
- end
- for i = 1, 20 do
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 0 * math.sin(sine/12)), math.rad(0), math.rad(0)), 0.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + 0 * math.sin(sine/12), .5) * CFrame.Angles(math.rad(-9 + 0 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.4)
- swait()
- end
- torloc2:Remove()
- hitboxr:Remove()
- hitboxl:Remove()
- end
- attacking = false
- debounce = false
- ws = 45
- end
- elseif k=='t' then
- if debounce then return end
- debounce = true
- attacking = true
- wad = true
- metalsound.Volume = 0
- local mrf = Instance.new("Sound",Torso)
- mrf.SoundId = "rbxassetid://2680700408"
- mrf.Volume = 8
- mrf.Pitch = math.random(9,11)/10
- mrf:Play()
- for i = 1, 22 do
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0),.2)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0),.2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
- swait()
- end
- ws = 0
- coroutine.wrap(function()
- for i = 1, 30 do
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 0 * math.sin(sine/12)), math.rad(0), math.rad(0)), 0.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + 0 * math.sin(sine/12), .5) * CFrame.Angles(math.rad(-9 + 0 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.4)
- swait()
- end
- end)()
- local n = Instance.new("Part",Torso)
- n.Size = Vector3.new(1,1,1)
- n.Anchored = true
- n.CanCollide = false
- n.Transparency = 1
- n.CFrame = Root.CFrame * CFrame.new(0,-4,0)
- local bob = Instance.new("Part",Torso)
- bob.Size = Vector3.new(2,2,2)
- bob.Shape = "Ball"
- bob.Anchored = true
- bob.CanCollide = false
- bob.BrickColor = BrickColor.new("Crimson")
- bob.Material = "Neon"
- bob.Transparency = 0
- bob.CFrame = Root.CFrame
- coroutine.wrap(function()
- for i = 1, 20 do
- bob.Size = bob.Size + Vector3.new(12,12,12)
- bob.Transparency = bob.Transparency + .05
- swait()
- end
- bob:Remove()
- end)()
- coroutine.wrap(function()
- local shockwave = Instance.new("Part", Torso)
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.CanCollide = false
- shockwave.Anchored = true
- shockwave.Transparency = 0
- shockwave.BrickColor = BrickColor.new("White")
- shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh = Instance.new("SpecialMesh", shockwave)
- shockwavemesh.Scale = Vector3.new(4,.7,4)
- shockwavemesh.MeshId = "rbxassetid://20329976"
- local shockwave2 = Instance.new("Part", Torso)
- shockwave2.Size = Vector3.new(1,1,1)
- shockwave2.CanCollide = false
- shockwave2.Anchored = true
- shockwave2.Transparency = 0
- shockwave2.BrickColor = BrickColor.new("White")
- shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
- shockwavemesh2.Scale = Vector3.new(4,.7,4)
- shockwavemesh2.MeshId = "rbxassetid://20329976"
- local shockwave3 = Instance.new("Part", Torso)
- shockwave3.Size = Vector3.new(1,1,1)
- shockwave3.CanCollide = false
- shockwave3.Anchored = true
- shockwave3.Transparency = 0
- shockwave3.BrickColor = BrickColor.new("White")
- shockwave3.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
- shockwavemesh3.Scale = Vector3.new(4,.7,4)
- shockwavemesh3.MeshId = "rbxassetid://20329976"
- local shockwave4 = Instance.new("Part", Torso)
- shockwave4.Size = Vector3.new(1,1,1)
- shockwave4.CanCollide = false
- shockwave4.Anchored = true
- shockwave2.Transparency = 0
- shockwave4.BrickColor = BrickColor.new("White")
- shockwave4.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
- shockwavemesh4.Scale = Vector3.new(4,.7,4)
- shockwavemesh4.MeshId = "rbxassetid://20329976"
- for i = 1, 50 do
- shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+21),0)
- shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-16),0)
- shockwave.Transparency = shockwave.Transparency + 0.03
- shockwave2.Transparency = shockwave2.Transparency + 0.03
- shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,5,8)
- shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(8,5,8)
- shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(math.rad(0),math.rad(0+9),0)
- shockwave4.CFrame = shockwave4.CFrame * CFrame.Angles(math.rad(0),math.rad(0-9),0)
- shockwave3.Transparency = shockwave3.Transparency + 0.05
- shockwave4.Transparency = shockwave4.Transparency + 0.05
- shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(10,3,10)
- shockwavemesh4.Scale = shockwavemesh4.Scale + Vector3.new(10,3,10)
- swait()
- end
- shockwave:Remove()
- shockwave2:Remove()
- shockwave3:Remove()
- shockwave4:Remove()
- end)()
- local bom = Instance.new("Sound",Torso)
- bom.SoundId = "rbxassetid://169445602"
- bom.Volume = 10
- bom.Pitch = math.random(9,11)/10
- bom:Play()
- removeuseless:AddItem(bom,4)
- for i = 1, 20 do
- Hit = damagealll(68,Root.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- takeDamage(slachtoffer,math.random(2,8))
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(Root.Position,torso.Position).lookVector*185
- removeuseless:AddItem(vel,.1)
- end
- end
- local g = math.random(1,2)
- local v = 0
- local v2 = 0
- local magn = (Root.Position - n.Position).magnitude
- if g == 1 then
- v = -8
- v2 = 8
- else
- v = 8
- v2 = -8
- end
- local t1 = math.random(-180,180)
- local t2 = math.random(-180,180)
- local t3 = math.random(-180,180)
- if g == 1 then
- coroutine.wrap(function()
- local shockwave = Instance.new("Part", Torso)
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.CanCollide = false
- shockwave.Anchored = true
- shockwave.Transparency = .2
- shockwave.BrickColor = BrickColor.new("Crimson")
- shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh = Instance.new("SpecialMesh", shockwave)
- shockwavemesh.Scale = Vector3.new(4,.7,4)
- shockwavemesh.MeshId = "rbxassetid://20329976"
- local shockwave2 = Instance.new("Part", Torso)
- shockwave2.Size = Vector3.new(1,1,1)
- shockwave2.CanCollide = false
- shockwave2.Anchored = true
- shockwave2.Transparency = .2
- shockwave2.BrickColor = BrickColor.new("Really black")
- shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
- shockwavemesh2.Scale = Vector3.new(4,.7,4)
- shockwavemesh2.MeshId = "rbxassetid://20329976"
- for i = 1, 50 do
- shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(11,21)),0)
- shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(9,16)),0)
- shockwave.Transparency = shockwave.Transparency + 0.03
- shockwave2.Transparency = shockwave2.Transparency + 0.03
- shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(4,.7,4)
- shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(4,.7,4)
- swait()
- end
- shockwave:Remove()
- shockwave2:Remove()
- end)()
- local stek = Instance.new("Part",Torso)
- stek.Size = Vector3.new(math.random(10,14),1,1)
- stek.BrickColor = BrickColor.new("Crimson")
- stek.Material = "Neon"
- stek.Anchored = true
- stek.CanCollide = false
- stek.CFrame = Root.CFrame
- local stek2 = Instance.new("Part",Torso)
- stek2.Size = Vector3.new(1,1,1)
- stek2.BrickColor = BrickColor.new("Crimson")
- stek2.Material = "Neon"
- stek2.Anchored = true
- stek2.Transparency = 1
- stek2.CanCollide = false
- stek2.CFrame = Root.CFrame * CFrame.new(math.random(-60,60),math.random(-60,60),math.random(-60,60))
- coroutine.wrap(function()
- for i = 1, 20 do
- stek.CFrame = stek.CFrame:lerp(CFrame.new(stek2.Position) * CFrame.Angles(math.rad(t1),math.rad(t2),math.rad(t3)),.25)
- stek.Transparency = stek.Transparency + .05
- swait()
- end
- stek:Remove()
- stek2:Remove()
- end)()
- local bob = Instance.new("Part",Torso)
- bob.Size = Vector3.new(2,2,2)
- bob.Shape = "Ball"
- bob.Anchored = true
- bob.CanCollide = false
- bob.BrickColor = BrickColor.new("Crimson")
- bob.Material = "Neon"
- bob.Transparency = .7
- bob.CFrame = Root.CFrame
- coroutine.wrap(function()
- for i = 1, 40 do
- bob.Size = bob.Size + Vector3.new(6,6,6)
- bob.Transparency = bob.Transparency + .025
- swait()
- end
- bob:Remove()
- end)()
- end
- local ba = Instance.new("Part",Torso)
- ba.Material = "Glass"
- ba.Transparency = 1
- ba.BrickColor = BrickColor.new("Maroon")
- ba.CanCollide = false
- ba.Anchored = true
- ba.CFrame = n.CFrame * CFrame.new(math.random(-65,65),0,math.random(-65,65)) * CFrame.Angles(math.rad(math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15)))
- local magn2 = (ba.Position - Root.Position).magnitude
- ba.Size = Vector3.new(magn2/10,magn2,magn2/10)
- ba.CFrame = ba.CFrame * CFrame.new(0,-100,0)
- ba.Transparency = .5
- local mx = Instance.new("Sound",ba)
- mx.SoundId = "rbxassetid://3245486889"
- mx.Volume = 3
- mx.Pitch = math.random(10,16)/10
- mx:Play()
- coroutine.wrap(function()
- for i = 1, 30 do
- ba.CFrame = ba.CFrame:lerp(ba.CFrame * CFrame.new(0,0+magn2/12,0),2)
- swait()
- end
- local mlo = Instance.new("Part",Torso)
- mlo.Size = Vector3.new(1,1,1)
- mlo.Anchored = true
- mlo.Transparency = 1
- mlo.CanCollide = false
- mlo.CFrame = ba.CFrame * CFrame.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- local r1 = math.random(-180,180)
- local r2 = math.random(-180,180)
- local r3 = math.random(-180,180)
- for i = 1, 40 do
- ba.Size = ba.Size + Vector3.new(0,5,0)
- ba.Size = ba.Size - Vector3.new(.2,0,.2)
- ba.CFrame = ba.CFrame:lerp(CFrame.new(mlo.Position) * CFrame.Angles(math.rad(r1),math.rad(r2),math.rad(3)),.2)
- ba.Transparency = ba.Transparency + .025
- swait()
- end
- ba:Remove()
- mlo:Remove()
- end)()
- swait(.5)
- end
- for i = 1, 20 do
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 0 * math.sin(sine/12)), math.rad(0), math.rad(0)), 0.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + 0 * math.sin(sine/12), .5) * CFrame.Angles(math.rad(-9 + 0 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.4)
- swait()
- end
- ws = 45
- debounce = false
- attacking = false
- elseif k=='e' then
- if getMouseTarget() ~= nil and getMouseTarget().Parent ~= Character and getMouseTarget().Parent.Parent ~= Character and getMouseTarget().Parent:FindFirstChildOfClass("Humanoid") ~= nil then
- local enemyhum = getMouseTarget().Parent:FindFirstChildOfClass("Humanoid")
- if enemyhum.Health < 1 then return end
- local ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso")
- if debounce then return end
- debounce = true
- attacking = true
- metalsound.Volume = 0
- local g1 = Instance.new("BodyGyro", nil)
- g1.CFrame = Root.CFrame
- g1.Parent = Root
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,90000,0)
- for i = 1, 15 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.15)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,.9,1) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.25)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1,.5) * CFrame.Angles(math.rad(-125),math.rad(25),math.rad(0)), 0.25)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-125),math.rad(-25),math.rad(0)), 0.25)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1., .8) * CFrame.Angles(math.rad(55), math.rad(0), math.rad(-6)), 0.25)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .6) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(6)), 0.25)
- swait()
- end
- local hb = Instance.new("Part",Torso)
- hb.Size = Vector3.new(1,1,1)
- hb.Anchored = true
- hb.Transparency = 1
- hb.CanCollide = false
- hb.CFrame = Root.CFrame * CFrame.new(0,0,-60)
- local hitboxr = Instance.new("Part",Torso)
- hitboxr.Size = Vector3.new(1,1,1)
- hitboxr.CanCollide = false
- hitboxr.Anchored = false
- hitboxr.Transparency = 1
- hitboxweld = weldBetween(hitboxr,RightLeg)
- hitboxweld.C0 = CFrame.new(0,2.5,0)
- ws = 0
- local trytohit = false
- for i = 1, 15 do
- if not trytohit then
- Hit = damagealll(3,hitboxr.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 and v:FindFirstChildOfClass("Humanoid") == enemyhum then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- takeDamage(slachtoffer,math.random(16,22))
- trytohit = true
- SOUND(LeftLeg,3041191430,10,false,math.random(9,11)/10,5)
- if enemyhum.Health > 1 then
- local bom = Instance.new("Part",Torso)
- bom.Size = Vector3.new(6,60,6)
- bom.Anchored = true
- bom.CanCollide = false
- bom.BrickColor = BrickColor.new("Maroon")
- bom.Material = "Glass"
- bom.Transparency = .5
- bom.CFrame = hb.CFrame * CFrame.new(0,-20,0) * CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5)))
- coroutine.wrap(function()
- repeat wait() until not wad
- wad = false
- wait(10)
- for i = 1, 40 do
- bom.CFrame = bom.CFrame:lerp(CFrame.new(hb.Position) * CFrame.Angles(math.rad(math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),.05)
- swait()
- end
- for i = 1, 20 do
- bom.CFrame = bom.CFrame:lerp(CFrame.new(hb.Position) * CFrame.new(0,-50,0),.1)
- bom.Transparency = bom.Transparency + .05
- swait()
- end
- bom:Remove()
- end)()
- coroutine.wrap(function()
- local shockwave = Instance.new("Part", Torso)
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.CanCollide = false
- shockwave.Anchored = true
- shockwave.Transparency = 0
- shockwave.BrickColor = BrickColor.new("Crimson")
- shockwave.CFrame = CFrame.new(hb.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh = Instance.new("SpecialMesh", shockwave)
- shockwavemesh.Scale = Vector3.new(4,.7,4)
- shockwavemesh.MeshId = "rbxassetid://20329976"
- local shockwave2 = Instance.new("Part", Torso)
- shockwave2.Size = Vector3.new(1,1,1)
- shockwave2.CanCollide = false
- shockwave2.Anchored = true
- shockwave2.Transparency = 0
- shockwave2.BrickColor = BrickColor.new("Crimson")
- shockwave2.CFrame = CFrame.new(hb.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
- shockwavemesh2.Scale = Vector3.new(4,.7,4)
- shockwavemesh2.MeshId = "rbxassetid://20329976"
- local shockwave3 = Instance.new("Part", Torso)
- shockwave3.Size = Vector3.new(1,1,1)
- shockwave3.CanCollide = false
- shockwave3.Anchored = true
- shockwave3.Transparency = 0
- shockwave3.BrickColor = BrickColor.new("Crimson")
- shockwave3.CFrame = CFrame.new(hb.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
- shockwavemesh3.Scale = Vector3.new(4,.7,4)
- shockwavemesh3.MeshId = "rbxassetid://20329976"
- local shockwave4 = Instance.new("Part", Torso)
- shockwave4.Size = Vector3.new(1,1,1)
- shockwave4.CanCollide = false
- shockwave4.Anchored = true
- shockwave2.Transparency = 0
- shockwave4.BrickColor = BrickColor.new("Crimson")
- shockwave4.CFrame = CFrame.new(hb.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
- shockwavemesh4.Scale = Vector3.new(4,.7,4)
- shockwavemesh4.MeshId = "rbxassetid://20329976"
- for i = 1, 50 do
- shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+21),0)
- shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-16),0)
- shockwave.Transparency = shockwave.Transparency + 0.06
- shockwave2.Transparency = shockwave2.Transparency + 0.06
- shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(4,1,4)
- shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(4,1,4)
- shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(math.rad(0),math.rad(0+6),0)
- shockwave4.CFrame = shockwave4.CFrame * CFrame.Angles(math.rad(0),math.rad(0-6),0)
- shockwave3.Transparency = shockwave3.Transparency + 0.045
- shockwave4.Transparency = shockwave4.Transparency + 0.045
- shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(2,3,2)
- shockwavemesh4.Scale = shockwavemesh4.Scale + Vector3.new(2,3,2)
- swait()
- end
- shockwave:Remove()
- shockwave2:Remove()
- shockwave3:Remove()
- shockwave4:Remove()
- end)()
- coroutine.wrap(function()
- for i = 1, 12 do
- bom.CFrame = bom.CFrame:lerp(CFrame.new(hb.Position) * CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),.1)
- ETorso.CFrame = ETorso.CFrame:lerp(CFrame.new(hb.Position),.2)
- swait()
- end
- coroutine.wrap(function()
- for i = 1, 30 do
- bom.CFrame = bom.CFrame:lerp(CFrame.new(hb.Position) * CFrame.Angles(math.rad(math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),.1)
- swait()
- end
- end)()
- ETorsoweld = weldBetween(ETorso,hb)
- end)()
- end
- end
- end
- end
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0),.25)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0),.25)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.8, 1.7, -.1) * CFrame.Angles(math.rad(-0), math.rad(7), math.rad(72)), 0.25)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .3, -.2) * CFrame.Angles(math.rad(12), math.rad(-0), math.rad(-12)), 0.25)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, .7, .5) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.25)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(72), math.rad(78), math.rad(0)), 0.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.161, 2.1, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(-18)), 0.25)
- swait()
- end
- hitboxr:Remove()
- removeuseless:AddItem(g1,.001)
- local te = 0
- for i = 1, 20 do
- te = te + 18
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20 + te), math.rad(0), math.rad(0)), .25)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.25)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.25)
- swait()
- end
- for i = 1, 20 do
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 0 * math.sin(sine/12)), math.rad(0), math.rad(0)), 0.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + 0 * math.sin(sine/12), .5) * CFrame.Angles(math.rad(-9 + 0 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.4)
- swait()
- end
- if trytohit and enemyhum.Health > 1 then
- SOUND(Torso,2680700408,10,false,math.random(9,11)/10,10)
- for i = 1, 25 do
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.05,-.5) * CFrame.Angles(math.rad(72),0,0),.2)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.05,.5) * CFrame.Angles(math.rad(-72),0,0),.2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(-25), math.rad(0)),.2)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .6) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(6)), 0.25)
- swait()
- end
- local mv = 0
- local to = Instance.new("Part",Torso)
- to.Size = Vector3.new(1,1,1)
- to.Anchored = true
- to.CanCollide = false
- to.BrickColor = BrickColor.new("White")
- to.CFrame = Root.CFrame
- to.Transparency = 1
- local tom = Instance.new("SpecialMesh",to)
- tom.MeshId = "rbxassetid://168892432"
- tom.Scale = Vector3.new(2.5,2.5,2.5)
- coroutine.wrap(function()
- for i = 1, 20 do
- to.Transparency = to.Transparency - .015
- swait()
- end
- end)()
- local to2 = Instance.new("Part",Torso)
- to2.Size = Vector3.new(1,1,1)
- to2.Anchored = true
- to2.CanCollide = false
- to2.BrickColor = BrickColor.new("White")
- to2.CFrame = Root.CFrame
- to2.Transparency = 1
- local tom2 = Instance.new("SpecialMesh",to2)
- tom2.MeshId = "rbxassetid://168892432"
- tom2.Scale = Vector3.new(1.5,1.5,1.5)
- coroutine.wrap(function()
- for i = 1, 20 do
- to2.Transparency = to2.Transparency - .01
- swait()
- end
- end)()
- local to3 = Instance.new("Part",Torso)
- to3.Size = Vector3.new(1,1,1)
- to3.Anchored = true
- to3.CanCollide = false
- to3.BrickColor = BrickColor.new("White")
- to3.CFrame = Root.CFrame
- to3.Transparency = 1
- local tom3 = Instance.new("SpecialMesh",to3)
- tom3.MeshId = "rbxassetid://168892432"
- tom3.Scale = Vector3.new(3.75,3.75,3.75)
- coroutine.wrap(function()
- for i = 1, 20 do
- to3.Transparency = to3.Transparency - .008
- swait()
- end
- end)()
- for i = 1, 45 do
- local mab = Instance.new("Part",Torso)
- mab.Size = Vector3.new(math.random(3,4),.2,.2)
- mab.BrickColor = BrickColor.new("Crimson")
- mab.Material = "Neon"
- mab.Transparency = 1
- mab.Anchored = false
- mab.CanCollide = false
- mab.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- coroutine.wrap(function()
- for i = 1, 10 do
- mab.Transparency = mab.Transparency - .1
- swait()
- end
- end)()
- coroutine.wrap(function()
- local bombom = false
- for i = 1, 200 do
- if bombom then break end
- Hit = damagealll(5,mab.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 and v:FindFirstChildOfClass("Humanoid") == enemyhum then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- takeDamage(slachtoffer,1)
- bombom = true
- mab.Anchored = true
- coroutine.wrap(function()
- pcall(function()
- local bam = Instance.new("Sound",slachtoffer.Parent.Head)
- bam.SoundId = "rbxassetid://3245486889"
- bam.Volume = 8
- bam.Pitch = math.random(9,11)/10
- bam:Play()
- end)
- for i = 1, 20 do
- mab.Size = mab.Size + Vector3.new(1,0,0)
- mab.Transparency = mab.Transparency + .05
- swait()
- end
- if not bombom then
- mab.Anchored = true
- coroutine.wrap(function()
- for i = 1, 20 do
- mab.Size = mab.Size + Vector3.new(1,0,0)
- mab.Transparency = mab.Transparency + .05
- swait()
- end
- mab:Remove()
- end)()
- else
- mab:Remove()
- end
- end)()
- end
- end
- swait()
- end
- if not bombom then
- mab:Remove()
- end
- end)()
- local bov = Instance.new("RocketPropulsion",mab)
- bov.MaxThrust = 4000
- bov.MaxSpeed = 0
- bov.MaxTorque = Vector3.new(99999999,99999999,99999999)
- bov.Target = ETorso
- bov.TargetRadius = math.huge
- bov:fire()
- coroutine.wrap(function()
- for i = 1, 50 do
- bov.MaxSpeed = bov.MaxSpeed + 5
- swait()
- end
- end)()
- mv = mv + 30
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.05,-.5) * CFrame.Angles(math.rad(72),0,0),.2)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.05,.5) * CFrame.Angles(math.rad(-72),0,0),.2)
- to.CFrame = Root.CFrame * CFrame.Angles(0,math.rad(-mv),0)
- to2.CFrame = Root.CFrame * CFrame.Angles(0,math.rad(mv/1.5),0)
- to3.CFrame = Root.CFrame * CFrame.Angles(0,math.rad(-mv/2),0)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0+mv), math.rad(0)),.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .6) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(6)), 0.25)
- swait()
- end
- coroutine.wrap(function()
- for i = 1, 20 do
- to.Transparency = to.Transparency + .05
- to2.Transparency = to2.Transparency + .05
- to3.Transparency = to3.Transparency + .05
- to.CFrame = Root.CFrame * CFrame.Angles(0,math.rad(-mv),0)
- to2.CFrame = Root.CFrame * CFrame.Angles(0,math.rad(mv/1.5),0)
- to3.CFrame = Root.CFrame * CFrame.Angles(0,math.rad(-mv/2),0)
- swait()
- end
- to:Remove()
- to2:Remove()
- to3:Remove()
- end)()
- end
- removeuseless:AddItem(hb,3)
- ws = 45
- wad = false
- debounce = false
- attacking = false
- end
- elseif k=='p' then
- if getMouseTarget() ~= nil then
- if debounce then return end
- debounce = true
- attacking = true
- metalsound.Volume = 0
- ws = 0
- local g1 = Instance.new("BodyGyro", nil)
- g1.CFrame = Root.CFrame
- g1.Parent = Root
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,90000,0)
- for i = 1, 20 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,getMouseHit()),.11)
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
- ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)),.2)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
- swait()
- end
- coroutine.wrap(function()
- for i = 1, 30 do
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0),.2)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
- ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(0)),.2)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
- swait()
- end
- removeuseless:AddItem(g1,.001)
- attacking = false
- debounce = false
- ws = 45
- end)()
- local p = Instance.new("Part",Torso)
- p.Size = Vector3.new(1,1,1)
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = CFrame.new(getMouseHit())
- p.BrickColor = getMouseTarget().BrickColor
- p.Material = getMouseTarget().Material
- p.Transparency = 1
- local zpa = 0
- SOUND(p,3302387879,10,false,math.random(9,11)/10,10)
- coroutine.wrap(function()
- for i = 1, 30 do
- local mv = Instance.new("Part",Torso)
- mv.Size = Vector3.new(1,1,1)
- mv.Anchored = true
- mv.CanCollide = false
- mv.Transparency = 1
- mv.CFrame = p.CFrame * CFrame.new(math.random(-30,30),35,math.random(-30,30))
- local dragh = math.random(3,4)
- local mv2 = Instance.new("Part",Torso)
- mv2.Size = Vector3.new(dragh,dragh,dragh)
- mv2.BrickColor = p.BrickColor
- mv2.Material = p.Material
- mv2.CanCollide = true
- mv2.Anchored = false
- mv2.CFrame = p.CFrame
- coroutine.wrap(function()
- velo(mv2,"l",mv.Position,325)
- wait(.25)
- mv2.l:Remove()
- mv:Remove()
- wait(10)
- for i = 1, 40 do
- mv2.Transparency = mv2.Transparency + .025
- swait()
- end
- mv2:Remove()
- end)()
- end
- end)()
- for i = 1, 60 do
- zpa = zpa + 5
- p.CFrame = p.CFrame * CFrame.Angles(math.rad(0),math.rad(0+zpa),0)
- local crater = Instance.new("Part",Torso)
- crater.Size = Vector3.new(8,8,8)
- crater.BrickColor = p.BrickColor
- crater.Material = p.Material
- crater.Anchored = true
- crater.CanCollide = true
- crater.CFrame = p.CFrame * CFrame.new(0,0,20) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- coroutine.wrap(function()
- wait(10)
- for i = 1, 40 do
- crater.Transparency = crater.Transparency + .05
- swait()
- end
- crater:Remove()
- end)()
- end
- local bigbob = Instance.new("Part",Torso)
- bigbob.Size = Vector3.new(16,16,16)
- bigbob.Material = "Neon"
- bigbob.BrickColor = BrickColor.new("Really black")
- bigbob.Anchored = true
- bigbob.CanCollide = false
- bigbob.CFrame = p.CFrame * CFrame.new(0,-35,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- for i = 1, 20 do
- bigbob.CFrame = bigbob.CFrame:lerp(p.CFrame * CFrame.new(0,35,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.2)
- swait()
- end
- SOUND(bigbob,3302456819,10,false,2,15)
- colortween(bigbob,2,BrickColor.new("Crimson").Color)
- local l = 0
- local p = 0
- local o = 0
- for i = 1, 150 do
- l = l + 2
- p = p + 1
- o = o + 3
- bigbob.CFrame = bigbob.CFrame:lerp(CFrame.new(bigbob.Position) * CFrame.new(1 * math.sin(sine/16),1*math.sin(sine/19),1*math.sin(sine/17)) * CFrame.Angles(math.rad(l),math.rad(p),math.rad(o)),.2)
- swait()
- end
- local m = Instance.new("Part",Torso)
- m.Size = bigbob.Size
- m.Anchored = true
- m.CanCollide = false
- m.BrickColor = bigbob.BrickColor
- m.Material = bigbob.Material
- m.CFrame = bigbob.CFrame
- coroutine.wrap(function()
- for i = 1, 20 do
- m.Size = m.Size + Vector3.new(3,3,3)
- m.Transparency = m.Transparency + .05
- swait()
- end
- m:Remove()
- end)()
- SOUND(bigbob,3302426188,10,false,math.random(9,11)/10,10)
- for i = 1, 500 do
- local bomb = Instance.new("Part",Torso)
- bomb.Size = Vector3.new(math.random(5,8),.8,.8)
- bomb.Anchored = false
- bomb.CanCollide = false
- bomb.BrickColor = bigbob.BrickColor
- bomb.Material = "Neon"
- bomb.CFrame = bigbob.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- local bombhit2 = false
- coroutine.wrap(function()
- for i = 1, 500 do
- if bombhit2 then break end
- bomb.CFrame = bomb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- swait()
- end
- if not bombhit2 then
- for i = 1, 20 do
- bomb.Transparency = bomb.Transparency + .05
- swait()
- end
- bomb:Remove()
- end
- end)()
- bomb.Touched:connect(function(bombhit)
- if bombhit:IsA("Part") and bombhit.Parent.Parent ~= Character and bombhit.Parent ~= Character then
- if bombhit2 then return end
- bombhit2 = true
- bomb.z:Remove()
- bomb.Anchored = true
- bomb.Transparency = 1
- Hit = damagealll(31,bomb.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- takeDamage(slachtoffer,math.random(7,12))
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(Root.Position,torso.Position).lookVector*125
- removeuseless:AddItem(vel,.1)
- end
- end
- local boom = Instance.new("Part",Torso)
- boom.Size = Vector3.new(6,6,6)
- boom.Anchored = true
- boom.CanCollide = false
- boom.BrickColor = BrickColor.new("Crimson")
- boom.Material = "Neon"
- boom.CFrame = bomb.CFrame
- local boom2 = boom:Clone() boom2.BrickColor = BrickColor.new("Really black") boom2.Size = Vector3.new(4,4,4)
- coroutine.wrap(function()
- local shockwave = Instance.new("Part", Torso)
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.CanCollide = false
- shockwave.Anchored = true
- shockwave.Transparency = .4
- shockwave.BrickColor = BrickColor.new("White")
- shockwave.CFrame = CFrame.new(bomb.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh = Instance.new("SpecialMesh", shockwave)
- shockwavemesh.Scale = Vector3.new(4,.7,4)
- shockwavemesh.MeshId = "rbxassetid://20329976"
- local shockwave2 = Instance.new("Part", Torso)
- shockwave2.Size = Vector3.new(1,1,1)
- shockwave2.CanCollide = false
- shockwave2.Anchored = true
- shockwave2.Transparency = .4
- shockwave2.BrickColor = BrickColor.new("White")
- shockwave2.CFrame = CFrame.new(bomb.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
- shockwavemesh2.Scale = Vector3.new(4,.7,4)
- shockwavemesh2.MeshId = "rbxassetid://20329976"
- local sonbox = Instance.new("Part",Torso)
- sonbox.Size = Vector3.new(1,1,1)
- sonbox.Anchored = true
- sonbox.CanCollide = false
- sonbox.Transparency = 1
- sonbox.CFrame = boom.CFrame
- SOUND(sonbox,636458264,10,false,math.random(9,12)/10,6)
- for i = 1, 20 do
- shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(16,21)),0)
- shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(13,16)),0)
- shockwave.Transparency = shockwave.Transparency + .025
- shockwave2.Transparency = shockwave2.Transparency + .025
- shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(3,3,3)
- shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(5,1,5)
- swait()
- end
- shockwave:Remove()
- shockwave2:Remove()
- end)()
- for i = 1, 40 do
- boom.Size = boom.Size + Vector3.new(1,1,1)
- boom2.Size = boom2.Size + Vector3.new(1,1,1)
- boom.Transparency = boom.Transparency + .025
- boom2.Transparency = boom2.Transparency + .025
- boom.CFrame = boom.CFrame:lerp(CFrame.new(boom.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.2)
- boom2.CFrame = boom2.CFrame:lerp(CFrame.new(boom.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.2)
- swait()
- end
- boom:Remove()
- boom2:Remove()
- bomb:Remove()
- end
- end)
- local bs = Instance.new("Part",Torso)
- bs.Size = Vector3.new(1,1,1)
- bs.Transparency = 1
- bs.CanCollide = false
- bs.Anchored = true
- bs.CFrame = bigbob.CFrame * CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- velo(bomb,"z",bs.Position,250)
- bs:Remove()
- bigbob.Size = bigbob.Size - Vector3.new(.032,.032,.032)
- bigbob.CFrame = bigbob.CFrame:lerp(CFrame.new(bigbob.Position) * CFrame.new(1 * math.sin(sine/16),1*math.sin(sine/19),1*math.sin(sine/17)) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.2)
- swait()
- end
- bigbob:Remove()
- end
- elseif k=='q' then
- if speed then
- if walking then
- if debounce then return end
- debounce = true
- psychoboost = true
- trailtrans = 1
- SOUND(Torso,3254129745,10,false,1,6)
- local lp = Instance.new("Part",Torso)
- lp.Size = Vector3.new(1,1,1)
- lp.Anchored = true
- lp.Transparency = 1
- lp.CanCollide = false
- lp.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
- A = Instance.new("Attachment", lp)
- A.Position = Vector3.new(.2,.2,0)
- A.Name = "A"
- B = Instance.new("Attachment", lp)
- B.Position = Vector3.new(-.2,-.2,0)
- B.Name = "B"
- tr1 = Instance.new("Trail", lp)
- tr1.Attachment0 = A
- tr1.Attachment1 = B
- tr1.Enabled = true
- tr1.Lifetime = 2
- tr1.TextureMode = "Static"
- tr1.LightInfluence = 0
- tr1.Color = ColorSequence.new(BrickColor.new("White").Color,BrickColor.new("Really black").Color)
- tr1.Transparency = NumberSequence.new(1, 1)
- local psychoboosts = Instance.new("Sound",Torso)
- psychoboosts.SoundId = "rbxassetid://3254129101"
- psychoboosts.Volume = 0
- psychoboosts.Looped = true
- psychoboosts:Play()
- for i = 1, 120 do
- psychoboosts.Volume = psychoboosts.Volume + .08
- if not walking then break end
- trailtrans = trailtrans - .01
- tr1.Transparency = NumberSequence.new(trailtrans, 1)
- Hit = damagealll(2,Root.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- takeDamage(slachtoffer,math.random(1,2))
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(Root.Position,torso.Position).lookVector*30
- removeuseless:AddItem(vel,.1)
- end
- end
- local lp2 = Instance.new("Part",Torso)
- lp2.Size = Vector3.new(1,1,1)
- lp2.Anchored = true
- lp2.Transparency = 1
- lp2.CanCollide = false
- lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
- local zamu = Instance.new("Part",Torso)
- zamu.Size = Vector3.new(math.random(3,4),.25,.25)
- zamu.Anchored = true
- zamu.CanCollide = false
- zamu.Transparency = trailtrans
- zamu.BrickColor = BrickColor.new("White")
- zamu.Material = "Neon"
- zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- coroutine.wrap(function()
- local y1 = math.random(-180,180)
- local y2 = math.random(-180,180)
- local y3 = math.random(-180,180)
- for i = 1, 20 do
- zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
- zamu.Transparency = zamu.Transparency + .05
- swait()
- end
- zamu:Remove()
- lp2:Remove()
- end)()
- lp.CFrame = lp2.CFrame
- mow = mow + .005
- ws = ws + 1.5
- change = change + .0075
- swait()
- end
- coroutine.wrap(function()
- while walking do
- local ring = Instance.new("Part",Torso)
- ring.Size = Vector3.new(1,1,1)
- ring.Anchored = true
- ring.CanCollide = false
- ring.Transparency = .5
- ring.BrickColor = BrickColor.new("White")
- ring.Material = "Neon"
- ring.CFrame = Root.CFrame * CFrame.new(0,0,-5) * CFrame.Angles(math.rad(90),0,0)
- local ringmesh = Instance.new("SpecialMesh",ring)
- ringmesh.MeshId = "rbxassetid://471124075"
- ringmesh.Scale = Vector3.new(.01,.01,.01)
- coroutine.wrap(function()
- for i = 1, 10 do
- ringmesh.Scale = ringmesh.Scale + Vector3.new(.01,.01,.01)
- ring.Transparency = ring.Transparency + .025
- swait()
- end
- for i = 1, 10 do
- ringmesh.Scale = ringmesh.Scale - Vector3.new(.01,.01,.01)
- ring.Transparency = ring.Transparency + .025
- swait()
- end
- ring:Remove()
- end)()
- swait(10)
- end
- end)()
- while walking do
- psychoboosts.Volume = 10
- Hit = damagealll(10,Root.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- takeDamage(slachtoffer,math.random(2,8))
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(Root.Position,torso.Position).lookVector*150
- removeuseless:AddItem(vel,.1)
- end
- end
- tr1.Transparency = NumberSequence.new(trailtrans, 1)
- local lp2 = Instance.new("Part",Torso)
- lp2.Size = Vector3.new(1,1,1)
- lp2.Anchored = true
- lp2.Transparency = 1
- lp2.CanCollide = false
- lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
- local zamu = Instance.new("Part",Torso)
- zamu.Size = Vector3.new(math.random(3,4),.25,.25)
- zamu.Anchored = true
- zamu.CanCollide = false
- zamu.BrickColor = BrickColor.new("White")
- zamu.Material = "Neon"
- zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- coroutine.wrap(function()
- local y1 = math.random(-180,180)
- local y2 = math.random(-180,180)
- local y3 = math.random(-180,180)
- for i = 1, 20 do
- zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
- zamu.Transparency = zamu.Transparency + .05
- swait()
- end
- zamu:Remove()
- lp2:Remove()
- end)()
- lp.CFrame = lp2.CFrame
- swait()
- end
- coroutine.wrap(function()
- for i = 1, 20 do
- psychoboosts.Volume = psychoboosts.Volume - .5
- swait()
- end
- psychoboosts:Remove()
- end)()
- trailtrans = 0
- removeuseless:AddItem(lp,6)
- debounce = false
- psychoboost = false
- end
- elseif power then
- if debounce then return end
- debounce = true
- attacking = true
- metalsound.Volume = 0
- ws = 0
- local g1 = Instance.new("BodyGyro", nil)
- g1.CFrame = Root.CFrame
- g1.Parent = Root
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,90000,0)
- SOUND(Torso,1412100204,10,false,math.random(9,11)/10,10)
- for i = 1, 30 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,getMouseHit()),.11)
- ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.15,.5) * CFrame.Angles(math.rad(-72),0,0),.2)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.15,.5) * CFrame.Angles(math.rad(-72),0,0),.2)
- swait()
- end
- local borb = Instance.new("Part",Torso)
- borb.Size = Vector3.new(.1,.1,.1)
- borb.Shape = "Ball"
- borb.Transparency = .25
- borb.Anchored = true
- borb.CanCollide = false
- borb.Material = "Neon"
- borb.BrickColor = BrickColor.new("Really black")
- borb.CFrame = Root.CFrame * CFrame.new(0,0,-2.4)
- local particlemiter1 = Instance.new("ParticleEmitter", borb)
- particlemiter1.Enabled = true
- particlemiter1.Color = ColorSequence.new(Color3.new(255, 255, 255))
- particlemiter1.Texture = "rbxassetid://1390780157"
- particlemiter1.Lifetime = NumberRange.new(.05)
- particlemiter1.Size = NumberSequence.new(6,6)
- particlemiter1.Rate = 15
- particlemiter1.Rotation = NumberRange.new(0,360)
- particlemiter1.RotSpeed = NumberRange.new(0)
- particlemiter1.Speed = NumberRange.new(0)
- local borb2 = borb:Clone() borb2.Parent = Torso
- borb2.Transparency = 0
- borb2.BrickColor = BrickColor.new("Really black")
- colortween(borb,.8,BrickColor.new("Crimson").Color)
- for i = 1, 50 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,getMouseHit()),.11)
- borb.CFrame = Root.CFrame * CFrame.new(0,0,-2.4)
- borb2.CFrame = Root.CFrame * CFrame.new(0,0,-2.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.15,.5) * CFrame.Angles(math.rad(-72),0,0),.2)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.15,.5) * CFrame.Angles(math.rad(-72),0,0),.2)
- borb.Size = borb.Size + Vector3.new(.06,.06,.06)
- borb2.Size = borb2.Size + Vector3.new(.03,.03,.03)
- swait()
- end
- coroutine.wrap(function()
- for i = 1, 10 do
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.35,.8) * CFrame.Angles(math.rad(20),0,0),.3)
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.86,.7,.5) * CFrame.Angles(math.rad(-90),math.rad(50),0),.3)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.86,.7,.5) * CFrame.Angles(math.rad(-90),math.rad(-50),0),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.3)
- swait()
- end
- attacking = false
- debounce = false
- ws = 45
- removeuseless:AddItem(g1,.001)
- end)()
- borb2.Anchored = false
- borb.Anchored = false
- borb2weld = weldBetween(borb,borb2)
- SOUND(borb,2743212628,10,false,math.random(9,11)/10,8)
- velo(borb,"h",getMouseHit(),175)
- coroutine.wrap(function()
- local m = Instance.new("Part",Torso)
- m.Size = Vector3.new(3,3,3)
- m.Anchored = true
- m.CanCollide = false
- m.CFrame = borb.CFrame
- m.BrickColor = BrickColor.new("Crimson")
- m.Material = "Neon"
- m.Shape = "Ball"
- for i = 1, 20 do
- m.Size = m.Size + Vector3.new(1,1,1)
- m.Transparency = m.Transparency + .05
- swait()
- end
- m:Remove()
- end)()
- orbhit = false
- borb2.Touched:connect(function(toched)
- if toched:IsA("Part") and toched.Parent.Parent ~= Character and toched.Parent ~= Character then
- if orbhit then return end
- orbhit = true
- borb.h:Remove()
- borb.Anchored = true
- local borbeffect = borb:Clone() borbeffect.Parent = Torso borbeffect.Anchored = true borbeffect.Transparency = 1
- SOUND(borbeffect,2880335731,10,false,math.random(9,11)/10,8)
- local ma = 0
- for i = 1, 55 do
- ma = ma + .5
- Hit = damagealll(2+ma,borb.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- takeDamage(slachtoffer,1)
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(borb.Position,torso.Position).lookVector*100
- removeuseless:AddItem(vel,.1)
- end
- end
- coroutine.wrap(function()
- local shockwave = Instance.new("Part", Torso)
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.CanCollide = false
- shockwave.Anchored = true
- shockwave.Transparency = .4
- shockwave.BrickColor = BrickColor.new("White")
- shockwave.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh = Instance.new("SpecialMesh", shockwave)
- shockwavemesh.Scale = Vector3.new(4,.7,4)
- shockwavemesh.MeshId = "rbxassetid://20329976"
- local shockwave2 = Instance.new("Part", Torso)
- shockwave2.Size = Vector3.new(1,1,1)
- shockwave2.CanCollide = false
- shockwave2.Anchored = true
- shockwave2.Transparency = .4
- shockwave2.BrickColor = BrickColor.new("White")
- shockwave2.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
- shockwavemesh2.Scale = Vector3.new(4,.7,4)
- shockwavemesh2.MeshId = "rbxassetid://20329976"
- local shockwave3 = Instance.new("Part", Torso)
- shockwave3.Size = Vector3.new(1,1,1)
- shockwave3.CanCollide = false
- shockwave3.Anchored = true
- shockwave3.Transparency = .4
- shockwave3.BrickColor = BrickColor.new("White")
- shockwave3.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
- shockwavemesh3.Scale = Vector3.new(4,.7,4)
- shockwavemesh3.MeshId = "rbxassetid://20329976"
- local shockwave4 = Instance.new("Part", Torso)
- shockwave4.Size = Vector3.new(1,1,1)
- shockwave4.CanCollide = false
- shockwave4.Anchored = true
- shockwave2.Transparency = .4
- shockwave4.BrickColor = BrickColor.new("White")
- shockwave4.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
- shockwavemesh4.Scale = Vector3.new(4,.7,4)
- shockwavemesh4.MeshId = "rbxassetid://20329976"
- for i = 1, 20 do
- shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(16,21)),0)
- shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(13,16)),0)
- shockwave.Transparency = shockwave.Transparency + .05
- shockwave2.Transparency = shockwave2.Transparency + .05
- shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,2,8)
- shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(8,2,8)
- shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(7,11)),0)
- shockwave4.CFrame = shockwave4.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(7,11)),0)
- shockwave3.Transparency = shockwave3.Transparency + 0.05
- shockwave4.Transparency = shockwave4.Transparency + 0.05
- shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(10,1,10)
- shockwavemesh4.Scale = shockwavemesh4.Scale + Vector3.new(10,1,10)
- swait()
- end
- shockwave:Remove()
- shockwave2:Remove()
- shockwave3:Remove()
- shockwave4:Remove()
- end)()
- borbeffect.Transparency = borbeffect.Transparency - .05
- borbeffect.Size = borbeffect.Size + Vector3.new(.4,.4,.4)
- swait()
- end
- for i = 1, 15 do
- Hit = damagealll(ma+2,borb.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- takeDamage(slachtoffer,1)
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(borb.Position,torso.Position).lookVector*250
- removeuseless:AddItem(vel,.1)
- end
- end
- coroutine.wrap(function()
- local shockwave = Instance.new("Part", Torso)
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.CanCollide = false
- shockwave.Anchored = true
- shockwave.Transparency = .4
- shockwave.BrickColor = BrickColor.new("White")
- shockwave.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh = Instance.new("SpecialMesh", shockwave)
- shockwavemesh.Scale = Vector3.new(4,.7,4)
- shockwavemesh.MeshId = "rbxassetid://20329976"
- local shockwave2 = Instance.new("Part", Torso)
- shockwave2.Size = Vector3.new(1,1,1)
- shockwave2.CanCollide = false
- shockwave2.Anchored = true
- shockwave2.Transparency = .4
- shockwave2.BrickColor = BrickColor.new("White")
- shockwave2.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
- shockwavemesh2.Scale = Vector3.new(4,.7,4)
- shockwavemesh2.MeshId = "rbxassetid://20329976"
- local shockwave3 = Instance.new("Part", Torso)
- shockwave3.Size = Vector3.new(1,1,1)
- shockwave3.CanCollide = false
- shockwave3.Anchored = true
- shockwave3.Transparency = .4
- shockwave3.BrickColor = BrickColor.new("White")
- shockwave3.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
- shockwavemesh3.Scale = Vector3.new(4,.7,4)
- shockwavemesh3.MeshId = "rbxassetid://20329976"
- local shockwave4 = Instance.new("Part", Torso)
- shockwave4.Size = Vector3.new(1,1,1)
- shockwave4.CanCollide = false
- shockwave4.Anchored = true
- shockwave2.Transparency = .4
- shockwave4.BrickColor = BrickColor.new("White")
- shockwave4.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
- shockwavemesh4.Scale = Vector3.new(4,.7,4)
- shockwavemesh4.MeshId = "rbxassetid://20329976"
- for i = 1, 20 do
- shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(16,21)),0)
- shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(13,16)),0)
- shockwave.Transparency = shockwave.Transparency + .05
- shockwave2.Transparency = shockwave2.Transparency + .05
- shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,2,8)
- shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(8,2,8)
- shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(7,11)),0)
- shockwave4.CFrame = shockwave4.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(7,11)),0)
- shockwave3.Transparency = shockwave3.Transparency + 0.05
- shockwave4.Transparency = shockwave4.Transparency + 0.05
- shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(10,1,10)
- shockwavemesh4.Scale = shockwavemesh4.Scale + Vector3.new(10,1,10)
- swait()
- end
- shockwave:Remove()
- shockwave2:Remove()
- shockwave3:Remove()
- shockwave4:Remove()
- end)()
- borbeffect.Size = borbeffect.Size + Vector3.new(1.5*math.sin(sine),1.5*math.sin(sine),1.5*math.sin(sine))
- swait()
- end
- for i = 1, 15 do
- Hit = damagealll(ma+2,borb.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- takeDamage(slachtoffer,1)
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(borb.Position,torso.Position).lookVector*250
- removeuseless:AddItem(vel,.1)
- end
- end
- coroutine.wrap(function()
- local shockwave = Instance.new("Part", Torso)
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.CanCollide = false
- shockwave.Anchored = true
- shockwave.Transparency = .4
- shockwave.BrickColor = BrickColor.new("White")
- shockwave.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh = Instance.new("SpecialMesh", shockwave)
- shockwavemesh.Scale = Vector3.new(4,.7,4)
- shockwavemesh.MeshId = "rbxassetid://20329976"
- local shockwave2 = Instance.new("Part", Torso)
- shockwave2.Size = Vector3.new(1,1,1)
- shockwave2.CanCollide = false
- shockwave2.Anchored = true
- shockwave2.Transparency = .4
- shockwave2.BrickColor = BrickColor.new("White")
- shockwave2.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
- shockwavemesh2.Scale = Vector3.new(4,.7,4)
- shockwavemesh2.MeshId = "rbxassetid://20329976"
- local shockwave3 = Instance.new("Part", Torso)
- shockwave3.Size = Vector3.new(1,1,1)
- shockwave3.CanCollide = false
- shockwave3.Anchored = true
- shockwave3.Transparency = .4
- shockwave3.BrickColor = BrickColor.new("White")
- shockwave3.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
- shockwavemesh3.Scale = Vector3.new(4,.7,4)
- shockwavemesh3.MeshId = "rbxassetid://20329976"
- local shockwave4 = Instance.new("Part", Torso)
- shockwave4.Size = Vector3.new(1,1,1)
- shockwave4.CanCollide = false
- shockwave4.Anchored = true
- shockwave2.Transparency = .4
- shockwave4.BrickColor = BrickColor.new("White")
- shockwave4.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
- shockwavemesh4.Scale = Vector3.new(4,.7,4)
- shockwavemesh4.MeshId = "rbxassetid://20329976"
- for i = 1, 20 do
- shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(16,21)),0)
- shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(13,16)),0)
- shockwave.Transparency = shockwave.Transparency + .05
- shockwave2.Transparency = shockwave2.Transparency + .05
- shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,2,8)
- shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(8,2,8)
- shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(7,11)),0)
- shockwave4.CFrame = shockwave4.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(7,11)),0)
- shockwave3.Transparency = shockwave3.Transparency + 0.05
- shockwave4.Transparency = shockwave4.Transparency + 0.05
- shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(10,1,10)
- shockwavemesh4.Scale = shockwavemesh4.Scale + Vector3.new(10,1,10)
- swait()
- end
- shockwave:Remove()
- shockwave2:Remove()
- shockwave3:Remove()
- shockwave4:Remove()
- end)()
- borbeffect.Size = borbeffect.Size + Vector3.new(5*math.sin(sine),5*math.sin(sine),5*math.sin(sine))
- swait()
- end
- for i = 1, 50 do
- Hit = damagealll(ma+10,borb.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- takeDamage(slachtoffer,1)
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(borb.Position,torso.Position).lookVector*375
- removeuseless:AddItem(vel,.1)
- end
- end
- coroutine.wrap(function()
- local shockwave = Instance.new("Part", Torso)
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.CanCollide = false
- shockwave.Anchored = true
- shockwave.Transparency = .4
- shockwave.BrickColor = BrickColor.new("White")
- shockwave.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh = Instance.new("SpecialMesh", shockwave)
- shockwavemesh.Scale = Vector3.new(4,.7,4)
- shockwavemesh.MeshId = "rbxassetid://20329976"
- local shockwave2 = Instance.new("Part", Torso)
- shockwave2.Size = Vector3.new(1,1,1)
- shockwave2.CanCollide = false
- shockwave2.Anchored = true
- shockwave2.Transparency = .4
- shockwave2.BrickColor = BrickColor.new("White")
- shockwave2.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
- shockwavemesh2.Scale = Vector3.new(4,.7,4)
- shockwavemesh2.MeshId = "rbxassetid://20329976"
- local shockwave3 = Instance.new("Part", Torso)
- shockwave3.Size = Vector3.new(1,1,1)
- shockwave3.CanCollide = false
- shockwave3.Anchored = true
- shockwave3.Transparency = .4
- shockwave3.BrickColor = BrickColor.new("White")
- shockwave3.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
- shockwavemesh3.Scale = Vector3.new(4,.7,4)
- shockwavemesh3.MeshId = "rbxassetid://20329976"
- local shockwave4 = Instance.new("Part", Torso)
- shockwave4.Size = Vector3.new(1,1,1)
- shockwave4.CanCollide = false
- shockwave4.Anchored = true
- shockwave2.Transparency = .4
- shockwave4.BrickColor = BrickColor.new("White")
- shockwave4.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
- shockwavemesh4.Scale = Vector3.new(4,.7,4)
- shockwavemesh4.MeshId = "rbxassetid://20329976"
- for i = 1, 20 do
- shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(16,21)),0)
- shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(13,16)),0)
- shockwave.Transparency = shockwave.Transparency + .05
- shockwave2.Transparency = shockwave2.Transparency + .05
- shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,2,8)
- shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(8,2,8)
- shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(7,11)),0)
- shockwave4.CFrame = shockwave4.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(7,11)),0)
- shockwave3.Transparency = shockwave3.Transparency + 0.05
- shockwave4.Transparency = shockwave4.Transparency + 0.05
- shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(10,1,10)
- shockwavemesh4.Scale = shockwavemesh4.Scale + Vector3.new(10,1,10)
- swait()
- end
- shockwave:Remove()
- shockwave2:Remove()
- shockwave3:Remove()
- shockwave4:Remove()
- end)()
- borbeffect.Size = borbeffect.Size + Vector3.new(20*math.sin(sine),20*math.sin(sine),20*math.sin(sine))
- swait()
- end
- SOUND(borbeffect,255679373,10,false,math.random(9,11)/10,8)
- local borbeffect2 = borbeffect:Clone() borbeffect2.Parent = Torso borbeffect2.Transparency = 0 borbeffect2.Size = Vector3.new(260,260,260)
- coroutine.wrap(function()
- for i = 1, 40 do
- local m = Instance.new("Part",Torso)
- m.Anchored = true
- m.Size = Vector3.new(1,1,1)
- m.CanCollide = false
- m.CFrame = borb.CFrame * CFrame.new(math.random(-200,200),math.random(-200,200),math.random(-200,200))
- m.Transparency = 1
- local m2 = Instance.new("Part",Torso)
- m2.Size = Vector3.new(math.random(35,45),5,5)
- m2.Material = "Neon"
- m2.Anchored = true
- m2.CFrame = borb.CFrame
- m2.BrickColor = BrickColor.new("Crimson")
- coroutine.wrap(function()
- local a = math.random(-180,180)
- local b = math.random(-180,180)
- local c = math.random(-180,180)
- for i = 1, 20 do
- m2.Transparency = m2.Transparency + .05
- m2.CFrame = m2.CFrame:lerp(CFrame.new(m.Position) * CFrame.Angles(math.rad(a),math.rad(b),math.rad(c)),.2)
- swait()
- end
- m:Remove()
- borb:Remove()
- borb2:Remove()
- m2:Remove()
- end)()
- end
- end)()
- coroutine.wrap(function()
- for i = 1, 10 do
- borbeffect2.Transparency = borbeffect2.Transparency + .25
- swait()
- end
- borbeffect2:Remove()
- end)()
- local dumbass = 2.5
- for i = 1, 70 do
- dumbass = dumbass + 1.25
- Hit = damagealll(dumbass*4,borbeffect.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- takeDamage(slachtoffer,1)
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(borbeffect.Position,torso.Position).lookVector*250
- removeuseless:AddItem(vel,.1)
- end
- end
- borbeffect.Size = borbeffect.Size + Vector3.new(5,5,5)
- coroutine.wrap(function()
- local shockwave = Instance.new("Part", Torso)
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.CanCollide = false
- shockwave.Anchored = true
- shockwave.Transparency = .4
- shockwave.BrickColor = BrickColor.new("White")
- shockwave.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh = Instance.new("SpecialMesh", shockwave)
- shockwavemesh.Scale = Vector3.new(4,.7,4)
- shockwavemesh.MeshId = "rbxassetid://20329976"
- local shockwave2 = Instance.new("Part", Torso)
- shockwave2.Size = Vector3.new(1,1,1)
- shockwave2.CanCollide = false
- shockwave2.Anchored = true
- shockwave2.Transparency = .4
- shockwave2.BrickColor = BrickColor.new("White")
- shockwave2.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
- shockwavemesh2.Scale = Vector3.new(4,.7,4)
- shockwavemesh2.MeshId = "rbxassetid://20329976"
- for i = 1, 20 do
- shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(16,21)),0)
- shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(13,16)),0)
- shockwave.Transparency = shockwave.Transparency + .05
- shockwave2.Transparency = shockwave2.Transparency + .05
- shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(3 + dumbass,2+dumbass/2.5,3 + dumbass)
- shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(3 + dumbass,2+dumbass/2.5,3 + dumbass)
- swait()
- end
- shockwave:Remove()
- shockwave2:Remove()
- end)()
- borbeffect.Transparency = borbeffect.Transparency - .05
- borbeffect.Size = borbeffect.Size + Vector3.new(.4,.4,.4)
- swait()
- end
- local tard = 5
- local dumbass2 = .0
- for i = 1, 230 do
- local zi = 1
- if zi == 1 then
- dumbass = dumbass - .39
- Hit = damagealll(dumbass*4,borbeffect.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- takeDamage(slachtoffer,1)
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(borbeffect.Position,torso.Position).lookVector*250
- removeuseless:AddItem(vel,.1)
- end
- end
- coroutine.wrap(function()
- local shockwave = Instance.new("Part", Torso)
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.CanCollide = false
- shockwave.Anchored = true
- shockwave.Transparency = .4+dumbass2
- shockwave.BrickColor = BrickColor.new("White")
- shockwave.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
- local shockwavemesh = Instance.new("SpecialMesh", shockwave)
- shockwavemesh.Scale = Vector3.new(4,.7,4)
- shockwavemesh.MeshId = "rbxassetid://20329976"
- local shockwave2 = Instance.new("Part", Torso)
- shockwave2.Size = Vector3.new(1,1,1)
- shockwave2.CanCollide = false
- shockwave2.Anchored = true
- shockwave2.Transparency = .4+dumbass2
- shockwave2.BrickColor = BrickColor.new("White")
- shockwave2.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
- local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
- shockwavemesh2.Scale = Vector3.new(4,.7,4)
- shockwavemesh2.MeshId = "rbxassetid://20329976"
- for i = 1, 20 do
- shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(16,21)),0)
- shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(13,16)),0)
- shockwave.Transparency = shockwave.Transparency + .05
- shockwave2.Transparency = shockwave2.Transparency + .05
- shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8 + dumbass,1.25+dumbass/2.5,8 + dumbass)
- shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(8 + dumbass,1.25+dumbass/2.5,8 + dumbass)
- swait()
- end
- shockwave:Remove()
- shockwave2:Remove()
- end)()
- end
- tard = tard - .06
- borbeffect.Size = borbeffect.Size + Vector3.new(tard,tard,tard)
- swait()
- end
- borbeffect:Remove()
- end
- end)
- for i = 1, 500 do
- if orbhit then break end
- swait()
- end
- if not orbhit then
- for i = 1, 20 do
- borb.Transparency = borb.Transparency + .05
- borb2.Transparency = borb2.Transparency + .05
- swait()
- end
- borb:Remove()
- borb2:Remove()
- end
- end
- elseif k=='r' then
- if getMouseTarget() ~= nil and getMouseTarget().Parent ~= Character and getMouseTarget().Parent.Parent ~= Character and getMouseTarget().Parent:FindFirstChildOfClass("Humanoid") ~= nil then
- local enemyhum = getMouseTarget().Parent:FindFirstChildOfClass("Humanoid")
- if enemyhum.Health < 1 then return end
- local ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso")
- if debounce then return end
- debounce = true
- attacking = true
- metalsound.Volume = 0
- ws = 0
- local g1 = Instance.new("BodyGyro", nil)
- g1.CFrame = Root.CFrame
- g1.Parent = Root
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- coroutine.wrap(function()
- for i = 1, 30 do
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.09)
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0),.2)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0),.2)
- swait()
- end
- end)()
- local mrf = Instance.new("Sound",Torso)
- mrf.SoundId = "rbxassetid://2680700408"
- mrf.Volume = 8
- mrf.Pitch = math.random(9,11)/10
- mrf:Play()
- for i = 1, 50 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.09)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
- local bl = Instance.new("Part",Torso)
- bl.Size = Vector3.new(math.random(5,10),.5,.5)
- bl.Anchored = true
- bl.CanCollide = false
- bl.BrickColor = BrickColor.new("Really black")
- bl.Material = "Neon"
- bl.CFrame = Root.CFrame * CFrame.new(math.random(-15,15),math.random(-5,5),math.random(-15,15)) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- bl.Transparency = 1
- coroutine.wrap(function()
- local random1 = math.random(-180,180)
- local random2 = math.random(-180,180)
- local random3 = math.random(-180,180)
- for i = 1, 20 do
- bl.CFrame = bl.CFrame:lerp(bl.CFrame * CFrame.new(3*math.sin(sine/14),2*math.sin(sine/12),5*math.sin(sine/18)) * CFrame.Angles(math.rad(random1*math.sin(sine/15)),math.rad(random2*math.sin(sine/13)),math.rad(random3*math.sin(sine/18))),.05)
- bl.Transparency = bl.Transparency - .05
- swait()
- end
- local z = 0
- local z2 = {
- Color = BrickColor.new("Crimson").Color
- }
- local sm = smoothen:Create(bl,TweenInfo.new(2,Enum.EasingStyle.Linear),z2)
- sm:Play()
- for i = 1, 100 do
- bl.CFrame = bl.CFrame:lerp(bl.CFrame * CFrame.new(3*math.sin(sine/14),2*math.sin(sine/12),5*math.sin(sine/18)) * CFrame.Angles(math.rad(random1*math.sin(sine/15)),math.rad(random2*math.sin(sine/13)),math.rad(random3*math.sin(sine/18))),.05)
- swait()
- end
- bl.Anchored = false
- bl.Transparency = 0
- local bov = Instance.new("RocketPropulsion",bl)
- bov.MaxThrust = 4000
- bov.MaxSpeed = 0
- bov.MaxTorque = Vector3.new(99999999,99999999,99999999)
- bov.Target = ETorso
- bov.TargetRadius = math.huge
- bov:fire()
- local blhit = false
- coroutine.wrap(function()
- local einzel = 0
- for i = 1, 500 do
- if blhit then break end
- Hit = damagealll(12,bl.Position)
- for _,v in pairs(Hit) do
- if v:FindFirstChildOfClass("Humanoid") then
- slachtoffer = v:FindFirstChildOfClass("Humanoid")
- if slachtoffer == enemyhum then
- blhit = true
- local bam = Instance.new("Sound",slachtoffer.Parent.Head)
- bam.SoundId = "rbxassetid://3245486889"
- bam.Volume = 8
- bam.Pitch = math.random(9,11)/10
- bam:Play()
- removeuseless:AddItem(bam,8)
- for i = 1, 5 do
- local ran1 = math.random(-180,180)
- local ran2 = math.random(-180,180)
- local ran3 = math.random(-180,180)
- local bam2 = Instance.new("Part",Torso)
- bam2.Size = Vector3.new(math.random(2,4),.35,.35)
- bam2.BrickColor = bl.BrickColor
- bam2.Material = bl.Material
- bam2.Anchored = true
- bam2.CanCollide = false
- bam2.CFrame = bl.CFrame
- local bamloc = Instance.new("Part",Torso)
- bamloc.Size = Vector3.new(1,1,1)
- bamloc.Anchored = true
- bamloc.Transparency = 1
- bamloc.CanCollide = false
- bamloc.CFrame = bl.CFrame * CFrame.new(math.random(-30,30),math.random(-15,15),math.random(-30,30))
- coroutine.wrap(function()
- for i = 1, 40 do
- bam2.Transparency = bam2.Transparency + .05
- bam2.CFrame = bam2.CFrame:lerp(CFrame.new(bamloc.Position) * CFrame.Angles(math.rad(ran1),math.rad(ran2),math.rad(ran3)),.1)
- swait()
- end
- bam2:Remove()
- bamloc:Remove()
- end)()
- end
- coroutine.wrap(function()
- for i = 1, 20 do
- bl.Size = bl.Size + Vector3.new(1.5,0,0)
- bl.Transparency = bl.Transparency + .05
- swait()
- end
- bl:Remove()
- end)()
- takeDamage(slachtoffer,math.random(2,7))
- end
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(bl.Position,torso.Position).lookVector*10
- removeuseless:AddItem(vel,.1)
- end
- end
- einzel = einzel + .1
- bov.MaxSpeed = bov.MaxSpeed + einzel
- swait()
- end
- if not blhit then
- for i = 1, 20 do
- bl.Size = bl.Size + Vector3.new(1.5,0,0)
- bl.Transparency = bl.Transparency + .05
- swait()
- end
- bl:Remove()
- end
- end)()
- end)()
- swait(2)
- end
- ws = 45
- removeuseless:AddItem(g1,.001)
- attacking = false
- debounce = false
- end
- end
- end)
- function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function ray2(StartPos, EndPos, Distance, Ignore)
- local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
- return ray(StartPos, DIRECTION, Distance, Ignore)
- end
- checks1 = coroutine.wrap(function() -------Checks
- while true do
- hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,0,0))).lookVector,4 * 1,Character)
- if Root.Velocity.Magnitude < 5 and hf == nil then
- position = "Idle"
- elseif Root.Velocity.Magnitude > 5 and hf == nil then
- position = "Walking"
- else
- end
- swait()
- end
- end)
- checks1()
- OrgnC0 = Neck.C0
- immortal = {}
- for i,v in pairs(Character:GetDescendants()) do
- if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
- if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
- v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- end
- table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
- elseif v:IsA("JointInstance") then
- table.insert(immortal,{v,v.Parent,nil,nil,nil})
- end
- end
- for e = 1, #immortal do
- if immortal[e] ~= nil then
- local STUFF = immortal[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if levitate then
- if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- PART.AncestryChanged:connect(function()
- PART.Parent = PARENT
- end)
- else
- if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- PART.AncestryChanged:connect(function()
- PART.Parent = PARENT
- end)
- end
- end
- end
- function immortality()
- for e = 1, #immortal do
- if immortal[e] ~= nil then
- local STUFF = immortal[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if PART.ClassName == "Part" and PART == Root then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- if PART.Parent ~= PARENT then
- hum:Remove()
- PART.Parent = PARENT
- hum = Instance.new("Humanoid",Character)
- if levitate then
- eyo1:Remove()
- eyo2:Remove()
- end
- hum.Name = "noneofurbusiness"
- end
- end
- end
- end
- coroutine.wrap(function()
- while true do
- hum:SetStateEnabled("Dead",false) hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
- if hum.Health < .1 then
- immortality()
- end
- wait()
- end
- end)()
- local anims = coroutine.wrap(function()
- while true do
- settime = 0.05
- sine = sine + change
- sine2 = sine2 + change2
- if position == "Jump" and not attacking then
- change = .8
- walking = false
- metalsound.Volume = 0
- ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5, .15, 0) * CFrame.Angles(math.rad(10), math.rad(2), math.rad(10)), 0.2)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .15, 0) * CFrame.Angles(math.rad(-10), math.rad(-2), math.rad(-10)), 0.2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.09)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
- elseif position == "Falling" and not attacking then
- change = .8
- walking = false
- metalsound.Volume = 0
- ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.09)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/12), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.25)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.25)
- elseif position == "Walking" and not attacking then
- if not psychoboost then
- change = .8
- ws = 45
- mow = .2
- end
- walking = true
- hum.HipHeight = 1.16
- metalsound.Volume = 2
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.05,-.5) * CFrame.Angles(math.rad(72),0,0),.2)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.05,-.5) * CFrame.Angles(math.rad(72),0,0),.2)
- ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3 - .3 * math.sin(sine/8),.45 +.45 * math.sin(sine/8),-.3 - .26*math.sin(sine/8)) * CFrame.Angles(math.rad(75*math.sin(sine/8)),math.rad(-30 + 40*math.sin(sine/8)),math.rad(-10, math.sin(-20 * math.sin(sine/4)))),.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3 - .3 * math.sin(sine/8),.45 -.45 * math.sin(sine/8),-.3 + .26*math.sin(sine/8)) * CFrame.Angles(math.rad(75*-math.sin(sine/8)),math.rad(30 + 40*math.sin(sine/8)),math.rad(10, math.sin(-20 * math.sin(sine/4)))),.3)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- if psychoboost then
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + 0.29*math.sin(sine/2), 0) * CFrame.Angles(math.rad(-28), math.rad(12 * -math.cos(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/6))), mow/2)
- else
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + 0.29*math.sin(sine/2), 0) * CFrame.Angles(math.rad(-15), math.rad(12 * -math.cos(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/6))), mow/2)
- end
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.62 - .54 * math.cos(sine/4)/2.8,.2 - .5 * math.sin(sine/4)) * CFrame.Angles(math.rad(20 - 60* math.sin(sine/4)), math.rad(9-16)*math.cos(sine/4), math.rad(0), math.cos(65 * math.cos(sine/4))), mow)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.62 + .54 * math.cos(sine/4)/2.8,.2 + .5 * math.sin(sine/4)) * CFrame.Angles(math.rad(20 + 60* math.sin(sine/4)), math.rad(-9+16)*math.cos(sine/6), math.rad(0), math.cos(65 * math.cos(sine/4))), mow)
- elseif position == "Idle" and not attacking then
- change = .8
- spin = true
- walking = false
- hum.HipHeight = 1.46
- metalsound.Volume = 0
- rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
- leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
- ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
- end
- swait()
- end
- end)
- anims()
- warn("Legendary power awakened. Made by Supr14")
Add Comment
Please, Sign In to add comment