Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- warn'Controls:Q Strong punch|E Normal punch|R Long range|T Up-Dash|X Front dash|'
- wait(1)
- plr = game.Players.LocalPlayer
- char = plr.Character
- hum = char.Humanoid
- local cam = game.Workspace.CurrentCamera
- t = char.Torso
- h = char.Head
- ra = char["Right Arm"]
- la = char["Left Arm"]
- rl = char["Right Leg"]
- ll = char["Left Leg"]
- tors = char.Torso
- lleg = char["Left Leg"]
- root = char.HumanoidRootPart
- char.Humanoid.MaxHealth = 5100
- wait()
- char.Humanoid.Health = 10000
- hed = char.Head
- rleg = char["Right Leg"]
- rarm = char["Right Arm"]
- larm = char["Left Arm"]
- vt = Vector3.new
- bc = BrickColor.new
- br = BrickColor.random
- it = Instance.new
- cf = CFrame.new
- local rock3 = false
- local rock2 = false
- local rock = false
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- local v3 = Vector3.new
- local ns = NumberSequence.new
- local nr = NumberRange.new
- local new = Instance.new
- local cf = CFrame.new
- local cfa = CFrame.Angles
- local bc = BrickColor.new
- -----------------------------------
- function chatfunc(text)
- local chat = coroutine.wrap(function()
- if Character:FindFirstChild("TalkingBillBoard")~= nil then
- Character:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",Character)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = Character.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "ArialBold"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(255,255,255)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- local tecks3 = Instance.new("TextLabel",naeeym2)
- tecks3.BackgroundTransparency = 1
- tecks3.BorderSizePixel = 0
- tecks3.Text = ""
- tecks3.Font = "ArialBold"
- tecks3.TextSize = 30
- tecks3.TextStrokeTransparency = 0
- tecks3.TextColor3 = Color3.new(255,255,255)
- tecks3.TextStrokeColor3 = Color3.new(0,0,0)
- tecks3.Size = UDim2.new(1,0,0.5,0)
- for i = 1,string.len(text),1 do
- CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=", Character, .6, .8)
- tecks2.Text = string.sub(text,1,i)
- tecks3.Text = string.sub(text,1,i)
- wait(0.01)
- end
- wait(2)
- for i = 1, 50 do
- swait()
- tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks2.Rotation = tecks2.Rotation - .8
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks2.TextTransparency = tecks2.TextTransparency + .04
- tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks3.Rotation = tecks2.Rotation + .8
- tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks3.TextTransparency = tecks2.TextTransparency + .04
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
- if rock == true then
- wait(math.random(0.1,0.5))
- ay = new("Part",tors)
- ay.Name = "NewPart2"
- ay.Size = v3(0.3,0.3,0.3)
- ay.CanCollide = false
- for i,v in pairs(workspace:GetChildren()) do
- if v:IsA("Part") then
- if v.Size.x > 150 then
- ay.BrickColor = v.BrickColor
- ay.Material = v.Material
- ay.Transparency = v.Transparency
- end
- end
- end
- ay.Position = v3(999,999,999)
- ay.CFrame = CFrame.new(RootPart.Position.x+math.random(-15,15),RootPart.Position.y-2,RootPart.Position.z+math.random(-15,15))
- ys = Instance.new("BodyVelocity",ay)
- ys.Name = "GO"
- ys.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- ys.Velocity = v3(0,6,0)
- game.Debris:AddItem(ay,math.random(3,4))
- end
- -----------------------------------
- local Create = LoadLibrary("RbxUtility").Create
- CFuncs = {
- ["Part"] = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- return Part
- end;
- };
- ["Mesh"] = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- ["Mesh"] = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- ["Weld"] = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld"){
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1,
- }
- return Weld
- end;
- };
- ["Sound"] = {
- Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound"){
- Volume = vol,
- Pitch = pit or 1,
- SoundId = id,
- Parent = par or workspace,
- }
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 10)
- end))
- end;
- };
- ["ParticleEmitter"] = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local fp = Create("ParticleEmitter"){
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread,
- }
- return fp
- end;
- };
- CreateTemplate = {
- };
- }
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- local m = Instance.new("Model",char)
- function CreatePart(parent,transparency,reflectance,material,brickcolor)
- local p = Instance.new("Part")
- p.Parent = parent
- p.Size = Vector3.new(1,1,1)
- p.Transparency = transparency
- p.Reflectance = reflectance
- p.CanCollide = false
- p.Locked = true
- p.BrickColor = brickcolor
- p.Material = material
- return p
- end
- function CreateMesh(parent,meshtype,x1,y1,z1)
- local mesh = Instance.new("SpecialMesh",parent)
- mesh.MeshType = meshtype
- mesh.Scale = Vector3.new(x1,y1,z1)
- return mesh
- end
- function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
- local mesh = Instance.new("SpecialMesh",parent)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = meshid
- mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
- mesh.Scale = Vector3.new(x1,y1,z1)
- mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
- return mesh
- end
- function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
- local weld = Instance.new("Weld")
- weld.Parent = parent
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
- weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
- return weld
- end
- function ApplyTrig(Num,Func)
- local Min,Max = Func(0),Func(1)
- local i = Func(Num)
- return (i-Min)/(Max-Min)
- --[[if Func == "sin" then
- return (math.sin((1-Num)*math.pi)+1)/2
- elseif Func == "cos" then
- return (math.cos((1-Num)*math.pi)+1)/2
- end]]
- end
- local acos = math.acos
- local sqrt = math.sqrt
- local Vec3 = Vector3.new
- local function toAxisAngle(CFr)
- local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
- local Angle = math.acos((R00+R11+R22-1)/2)
- local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- A = A == 0 and 0.00001 or A
- local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- B = B == 0 and 0.00001 or B
- local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- C = C == 0 and 0.00001 or C
- local x = (R21-R12)/sqrt(A)
- local y = (R02-R20)/sqrt(B)
- local z = (R10-R01)/sqrt(C)
- return Vec3(x,y,z),Angle
- end
- local fromAxisAngle = CFrame.fromAxisAngle
- function LerpCFrame(CFrame1,CFrame2,Num)
- local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
- return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
- end
- local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random())
- CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random())
- CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- Player=game:GetService("Players").LocalPlayer
- Character=Player.Character
- PlayerGui=Player.PlayerGui
- Backpack=Player.Backpack
- Torso=Character.Torso
- Head=Character.Head
- Humanoid=Character.Humanoid
- m=Instance.new('Model',Character)
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- LS=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RS=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- Face = Head.face
- Neck=Torso.Neck
- it=Instance.new
- attacktype=1
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- cloaked=false
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
- LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
- RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
- RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
- RootPart=Character.HumanoidRootPart
- RootJoint=RootPart.RootJoint
- RootCF=euler(-1.57,0,3.14)
- attack = false
- attackdebounce = false
- deb=false
- equipped=true
- hand=false
- MMouse=nil
- combo=0
- mana=0
- trispeed=.2
- attackmode='none'
- local idle=0
- local Effects={}
- local gun=false
- local shoot=false
- local sine = 0
- local change = 1
- player=nil
- wait()--shirt = Instance.new("Shirt", char)
- --shirt.Name = "Shirt"
- --pants = Instance.new("Pants", char)
- --pants.Name = "Pants"
- shirt = Instance.new("Shirt", char)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", char)
- pants.Name = "Pants"
- char.Head.face.Texture = "rbxassetid://240865271"
- hum.JumpPower = 120
- Instance.new("ForceField",char).Visible = false
- tp = true
- hum.WalkSpeed = 25
- local ChatService = game:GetService("Chat")
- local player = game.Players.LocalPlayer
- m=player:GetMouse()
- bb = Instance.new("BillboardGui",player.Character.Head)
- bb.Enabled = true
- wait(0.1)
- Hair7 = Instance.new("Part")
- Hair7.Parent = char
- Hair7.Name = "Hair"
- Hair7.CanCollide = false
- Hair7.Locked = true
- Hair7.TopSurface = "Smooth"
- Hair7.BottomSurface = "Smooth"
- Hair7.formFactor = "Symmetric"
- Hair7.Material = "Neon"
- Hair7.BrickColor = BrickColor.new("Daisy orange")
- Hair7.CFrame = char.Torso.CFrame
- Hair7.Size = Vector3.new(1, 1, 1)
- Hair7.Transparency = 0
- Weld1 = Instance.new("Weld")
- Weld1.Parent = char.Head
- Weld1.Part0 = char.Head
- Weld1.Part1 = Hair7
- Weld1.C0 = CFrame.new(0, 1.6, 0)
- Mesh = Instance.new("SpecialMesh")
- Mesh.Offset = Vector3.new(0,-0.8,0)
- Mesh.Parent = Hair7
- Mesh.Scale = Vector3.new(3.7, 3.7, 3.7)
- Mesh.MeshType = "FileMesh"
- Mesh.MeshId = "http://www.roblox.com/asset/?id=560718478"
- Mesh.TextureId = "http://www.roblox.com/asset/?id=0"
- asd = Instance.new("Sound",char)
- asd.SoundId = "http://www.roblox.com/asset/?id = 1425570716"
- asd.Volume = 3
- asd.Looped = true
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Accessory" then
- v:Destroy()
- end
- end
- Hair7 = Instance.new("Part")
- Hair7.Parent = char
- Hair7.Name = "Hair"
- Hair7.CanCollide = false
- Hair7.Locked = true
- Hair7.TopSurface = "Smooth"
- Hair7.BottomSurface = "Smooth"
- Hair7.formFactor = "Symmetric"
- Hair7.Material = "Neon"
- Hair7.BrickColor = BrickColor.new("Black")
- Hair7.CFrame = char.Torso.CFrame
- Hair7.Size = Vector3.new(1, 1, 1)
- Hair7.Transparency = 0
- Weld1 = Instance.new("Weld")
- Weld1.Parent = char.Head
- Weld1.Part0 = char.Head
- Weld1.Part1 = Hair7
- Weld1.C0 = CFrame.new(0, 1, 0)
- Mesh = Instance.new("SpecialMesh")
- Mesh.Offset = Vector3.new(0,-0.4,0.1)
- Mesh.Parent = Hair7
- Mesh.Scale = Vector3.new(0.1, 0.1, 0.1)
- Mesh.MeshType = "FileMesh"
- Mesh.MeshId = "http://www.roblox.com/asset/?id="
- Mesh.TextureId = ""
- local txt = Instance.new("BillboardGui", char)
- CV="Lime green"
- txt.Adornee = char .Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Bodoni"
- text.TextStrokeColor3 = Color3.new(0,0,0)
- text.TextColor3 = Color3.fromRGB(255,255,255)
- text.Text = " "
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent= plr.Character
- v.FormFactor="Symmetric"
- v.Anchored=true
- v.CanCollide=false
- v.BottomSurface="Smooth"
- v.TopSurface="Smooth"
- v.Size=Vector3.new(10,5,3)
- v.Transparency=0
- v.CFrame=char.Torso.CFrame
- v.BrickColor=BrickColor.new("Lime green")
- v.Transparency=1
- v.Shape="Block"
- mouse=Player:GetMouse()
- --save shoulders
- RSH, LSH=nil, nil
- --welds
- RW, LW=Instance.new("Weld"), Instance.new("Weld")
- RW.Name="Right Shoulder" LW.Name="Left Shoulder"
- LH=Torso["Left Hip"]
- RH=Torso["Right Hip"]
- TorsoColor=Torso.BrickColor
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- player=Player
- ch=Character
- RSH=ch.Torso["Right Shoulder"]
- LSH=ch.Torso["Left Shoulder"]
- --
- RSH.Parent=nil
- LSH.Parent=nil
- --
- RW.Name="Right Shoulder"
- RW.Part0=ch.Torso
- RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
- RW.C1=cf(0, 0.5, 0)
- RW.Part1=ch["Right Arm"]
- RW.Parent=ch.Torso
- --
- LW.Name="Left Shoulder"
- LW.Part0=ch.Torso
- LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
- LW.C1=cf(0, 0.5, 0)
- LW.Part1=ch["Left Arm"]
- LW.Parent=ch.Torso
- local Stats=Instance.new("BoolValue")
- Stats.Name="Stats"
- Stats.Parent=Character
- local Atk=Instance.new("NumberValue")
- Atk.Name="Damage"
- Atk.Parent=Stats
- Atk.Value=5
- local Def=Instance.new("NumberValue")
- Def.Name="Defense"
- Def.Parent=Stats
- Def.Value=5
- local Speed=Instance.new("NumberValue")
- Speed.Name="Speed"
- Speed.Parent=Stats
- Speed.Value=5
- local Mvmt=Instance.new("NumberValue")
- Mvmt.Name="Movement"
- Mvmt.Parent=Stats
- Mvmt.Value=1
- local donum=0
- function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=brickcolor
- fp.Name=name
- fp.Size=size
- fp.Position=Torso.Position
- NoOutline(fp)
- fp.Material="SmoothPlastic"
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- if meshid~="nil" then
- mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
- end
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- return weld
- end
- local Color1=Torso.BrickColor
- local bodvel=Instance.new("BodyVelocity")
- local bg=Instance.new("BodyGyro")
- 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
- so = function(id,par,vol,pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound",par or workspace)
- sou.Volume=vol
- sou.Pitch=pit or 1
- sou.SoundId=id
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou,6)
- end))
- end
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- local function CFrameFromTopBack(at, top, back)
- local right = top:Cross(back)
- return CFrame.new(at.x, at.y, at.z,
- right.x, top.x, back.x,
- right.y, top.y, back.y,
- right.z, top.z, back.z)
- end
- function Triangle(a, b, c)
- local edg1 = (c-a):Dot((b-a).unit)
- local edg2 = (a-b):Dot((c-b).unit)
- local edg3 = (b-c):Dot((a-c).unit)
- if edg1 <= (b-a).magnitude and edg1 >= 0 then
- a, b, c = a, b, c
- elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
- a, b, c = b, c, a
- elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
- a, b, c = c, a, b
- else
- assert(false, "unreachable")
- end
- local len1 = (c-a):Dot((b-a).unit)
- local len2 = (b-a).magnitude - len1
- local width = (a + (b-a).unit*len1 - c).magnitude
- local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
- local list = {}
- if len1 > 0.01 then
- local w1 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w1,5)
- w1.Material = "SmoothPlastic"
- w1.FormFactor = 'Custom'
- w1.BrickColor = BrickColor.new("Really red")
- w1.Transparency = 0
- w1.Reflectance = 0
- w1.Material = "SmoothPlastic"
- w1.CanCollide = false
- local l1 = Instance.new("PointLight",w1)
- l1.Color = Color3.new(170,0,0)
- NoOutline(w1)
- local sz = Vector3.new(0.2, width, len1)
- w1.Size = sz
- local sp = Instance.new("SpecialMesh",w1)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
- w1:BreakJoints()
- w1.Anchored = true
- w1.Parent = workspace
- w1.Transparency = 0.7
- table.insert(Effects,{w1,"Disappear",.01})
- w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
- table.insert(list,w1)
- end
- if len2 > 0.01 then
- local w2 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w2,5)
- w2.Material = "SmoothPlastic"
- w2.FormFactor = 'Custom'
- w2.BrickColor = BrickColor.new("Really red")
- w2.Transparency = 0
- w2.Reflectance = 0
- w2.Material = "SmoothPlastic"
- w2.CanCollide = false
- local l2 = Instance.new("PointLight",w2)
- l2.Color = Color3.new(170,0,0)
- NoOutline(w2)
- local sz = Vector3.new(0.2, width, len2)
- w2.Size = sz
- local sp = Instance.new("SpecialMesh",w2)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
- w2:BreakJoints()
- w2.Anchored = true
- w2.Parent = workspace
- w2.Transparency = 0.7
- table.insert(Effects,{w2,"Disappear",.01})
- w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
- table.insert(list,w2)
- end
- return unpack(list)
- end
- Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChildOfClass("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h=v
- end
- end
- if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
- h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
- end
- if hit.Parent.className=="Hat" then
- hit=hit.Parent.Parent:findFirstChild("Head")
- end
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- -- hs(hit,1.2)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game:service("Players").LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- Damage=math.random(minim,maxim)
- -- h:TakeDamage(Damage)
- blocked=false
- block=hit.Parent:findFirstChild("Block")
- if block~=nil then
- print(block.className)
- if block.className=="NumberValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock==nil then
- block.Value=block.Value-1
- end
- end
- end
- if block.className=="IntValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock~=nil then
- block.Value=block.Value-1
- end
- end
- end
- end
- if blocked==false then
- -- h:TakeDamage(Damage)
- h.Health=h.Health-Damage
- showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
- else
- h.Health=h.Health-(Damage/2)
- showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
- end
- if Type=="Knockdown" then
- hum=hit.Parent.Humanoid
- hum.PlatformStand=true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand=false
- end),hum)
- local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
- hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- local bodvol=Instance.new("BodyVelocity")
- bodvol.velocity=angle*knockback
- bodvol.P=0
- bodvol.maxForce=Vector3.new(0, 0, 0)
- bodvol.Parent=hit
- rl=Instance.new("BodyAngularVelocity")
- rl.P=0
- rl.maxTorque=Vector3.new(0,0,0)*5
- rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(bodvol,.5)
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Normal" then
- bp=Instance.new("BodyVelocity")
- bp.P=0
- bp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- if KnockbackType==1 then
- bp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- bp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- bp.Parent=hit.Parent.Torso
- if rubbermodo == 1 then
- hit.Parent:BreakJoints()
- end
- end
- game:GetService("Debris"):AddItem(bp,.5)
- elseif Type=="Up" then
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=vt(0,60,0)
- bodyVelocity.P=0
- bodyVelocity.maxForce=Vector3.new(0,0,0)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,0)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=0
- rl.maxTorque=Vector3.new(5,5,5)*50
- rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Snare" then
- bp=Instance.new("BodyPosition")
- bp.P=0
- bp.D=0
- bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- bp.position=hit.Parent.Torso.Position
- bp.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(bp,0)
- elseif Type=="Target" then
- if Targetting==false then
- ZTarget=hit.Parent.Torso
- coroutine.resume(coroutine.create(function(Part)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- swait(1)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- end),ZTarget)
- TargHum=ZTarget.Parent:findFirstChild("Humanoid")
- targetgui=Instance.new("BillboardGui")
- targetgui.Parent=ZTarget
- targetgui.Size=UDim2.new(10,100,10,100)
- targ=Instance.new("ImageLabel")
- targ.Parent=targetgui
- targ.BackgroundTransparency=1
- targ.Image="rbxassetid://4834067"
- targ.Size=UDim2.new(1,0,1,0)
- cam.CameraType="Scriptable"
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- Targetting=true
- RocketTarget=ZTarget
- for i=1,Property do
- --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
- if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
- swait()
- end
- --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
- end
- Targetting=true
- RocketTarget=true
- targetgui.Parent=true
- cam.CameraType="Custom"
- end
- end
- debounce=Instance.new("BoolValue")
- debounce.Name="DebounceHit"
- debounce.Parent=hit.Parent
- debounce.Value=true
- game:GetService("Debris"):AddItem(debounce,Delay)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- CRIT=true
- hitDeb=true
- AttackPos=6
- end
- end
- showDamage=function(Char,Dealt,du,Color)
- m=Instance.new("Model")
- m.Name=tostring(Dealt)
- h=Instance.new("Humanoid")
- h.Health=0
- h.MaxHealth=0
- h.Parent=m
- c=Instance.new("Part")
- c.Transparency=0
- c.BrickColor=Color
- c.Transparency = 1
- c.Name="Head"
- c.TopSurface=0
- c.BottomSurface=0
- c.formFactor="Plate"
- c.Size=Vector3.new(1,.4,1)
- local txt = Instance.new("BillboardGui", c)
- txt.Adornee = c
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(1, 0, 1, 0)
- text.FontSize = "Size12"
- text.TextScaled = true
- text.TextTransparency = 1
- text.BackgroundTransparency = 1
- text.TextTransparency = 1
- text.TextStrokeTransparency = 1
- text.Font = "SciFi"
- text.TextStrokeColor3 = Color3.new(0,0,0)
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent=c
- v.FormFactor="Symmetric"
- v.Anchored=true
- v.CanCollide=false
- v.BottomSurface="Smooth"
- v.TopSurface="Smooth"
- v.Size=Vector3.new(10,5,3)
- v.Transparency=1
- v.CFrame=c.CFrame
- v.BrickColor=BrickColor.random()
- v.Transparency=1
- text.TextColor3 = t.BrickColor.Color
- v.Shape="Block"
- text.Text = tostring(Dealt)
- ms=Instance.new("CylinderMesh")
- ms.Scale=Vector3.new(.8,.8,.8)
- --[[local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
- local rndm=math.random(1,#hitsounds)
- local r=rndm
- CFuncs["Sound"].Create("http://www.roblox.com/asset/?id="..hitsounds[r],c,1.25,1)]]--
- if CRIT==true then
- ms.Scale=Vector3.new(1,1.25,1)
- end
- ms.Parent=c
- c.Reflectance=0
- Instance.new("BodyGyro").Parent=c
- c.Parent=m
- if Char:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
- elseif Char.Parent:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
- end
- f=Instance.new("BodyPosition")
- f.P=200000
- f.D=100
- f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- f.position=c.Position+Vector3.new(0,3,0)
- f.Parent=c
- game:GetService("Debris"):AddItem(m,.5+du)
- c.CanCollide=false
- m.Parent=workspace
- c.CanCollide=false
- end
- function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
- --http://www.roblox.com/asset/?id=4770560
- game:GetService("Debris"):AddItem(prt,2)
- CF=prt.CFrame
- coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
- for i=0,1,0.2 do
- wait()
- Part.CFrame=CF*cf(0,0,-0.4)
- end
- for i=0,1,delay do
- wait()
- --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
- Mesh.Scale=Mesh.Scale
- end
- for i=0,1,0.1 do
- wait()
- Part.Transparency=i
- end
- Part.Parent=nil
- end),prt,msh,CF)
- end
- function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Plastic"
- prt.CFrame=cframe
- prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- swait()
- Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicBlockDash(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.3,0.3,0.3))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,1)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- swait()
- Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local rtype = rottype
- for i=0,1,delay do
- swait()
- if rtype == 1 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
- elseif rtype == 2 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
- end
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local rtype = rottype
- for i=0,1,delay do
- swait()
- if rtype == 1 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
- elseif rtype == 2 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
- end
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
- local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
- local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local rtype = rottype
- for i=0,1,delay do
- swait()
- if rtype == 1 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
- elseif rtype == 2 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
- end
- dec.Transparency=i
- dec2.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local rtype = rottype
- for i=0,1,delay do
- swait()
- if rtype == 1 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
- elseif rtype == 2 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
- end
- prt.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local rtype = rottype
- for i=0,1,delay do
- swait()
- if rtype == 1 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
- elseif rtype == 2 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
- end
- prt.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local rtype = rottype
- for i=0,1,delay do
- swait()
- if rtype == 1 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
- elseif rtype == 2 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
- end
- prt.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Material = "Neon"
- prt.Anchored=true
- prt.CFrame=cframe
- msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1254390558",vt(0,0,0),vt(x1,y1,z1))
- local wld=weld(prt,prt,Parent,cframe)
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
- for i=0,1,delay do
- wait()
- Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
- --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh,wld)
- end
- function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=false
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
- for i=0,1,delay do
- wait()
- Weld.C0=euler(i*20,0,0)
- --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh,wld)
- end
- function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt2.Anchored=true
- prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
- game:GetService("Debris"):AddItem(prt2,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,0.1 do
- wait()
- Part.CFrame=Part.CFrame*cf(0,0.5,0)
- end
- Part.Parent=nil
- end),prt2,msh2)
- end
- for i=0,1,delay*2 do
- wait()
- Part.CFrame=Part.CFrame
- Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function BreakEffect(brickcolor,cframe,x1,y1,z1)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
- CF=Part.CFrame
- Numbb=0
- randnumb=math.random()/10
- rand1=math.random()/10
- for i=0,1,rand1 do
- wait()
- CF=CF*cf(0,math.random()/2,0)
- --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
- Part.CFrame=CF*euler(Numbb,0,0)
- Part.Transparency=i
- Numbb=Numbb+randnumb
- end
- Part.Parent=nil
- end),prt,CF,Numbb,randnumb)
- end
- function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame*euler(0,0.7,0)
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame*cf(0,y3/2,0)
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*cf(x,y,z)
- msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
- local num=math.random()
- local num2=math.random(-3,2)+math.random()
- local numm=0
- for i=0,1,delay*2 do
- swait()
- Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
- Part.Transparency=i
- numm=numm+0.01
- end
- Part.Parent=nil
- Mesh.Parent=nil
- end),prt,msh,x,y,z)
- end
- function dmgstart(dmg,what)
- hitcon = what.Touched:connect(function(hit)
- local hum = hit.Parent:FindFirstChild("Humanoid")
- if hum and not hum:IsDescendantOf(Character) then
- hum:TakeDamage(dmg)
- end
- end)
- end
- function dmgstop()
- hitcon:disconnect()
- end
- function Cloak()
- Face.Parent=nil
- cloaked=true
- for _,v in pairs(Torso.Parent:children()) do
- if v.className=="Part" and v.Name~="HumanoidRootPart" then
- coroutine.resume(coroutine.create(function()
- for i=0,1,0.2 do
- wait()
- v.Transparency=i
- end
- v.Transparency=1
- end))
- end
- if v.className=="Hat" then
- hatp=v.Handle
- coroutine.resume(coroutine.create(function(derp)
- for i=0,1,0.2 do
- wait()
- derp.Transparency=i
- end
- derp.Transparency=1
- end),hatp)
- end
- end
- for _,v in pairs(m:children()) do
- if v.className=="Part" then
- coroutine.resume(coroutine.create(function()
- for i=0,1,0.2 do
- wait()
- v.Transparency=i
- end
- v.Transparency=1
- end))
- end
- end
- end
- function UnCloak()
- so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
- Face.Parent=Head
- cloaked=false
- for _,v in pairs(Torso.Parent:children()) do
- if v.className=="Part" and v.Name~="HumanoidRootPart" then
- coroutine.resume(coroutine.create(function()
- for i=0,1,0.1 do
- wait()
- v.Transparency=v.Transparency-0.1
- end
- v.Transparency=0
- end))
- end
- if v.className=="Hat" then
- hatp=v.Handle
- coroutine.resume(coroutine.create(function(derp)
- for i=0,1,0.1 do
- wait()
- derp.Transparency=derp.Transparency-0.1
- end
- derp.Transparency=0
- end),hatp)
- end
- end
- for _,v in pairs(m:children()) do
- if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
- coroutine.resume(coroutine.create(function()
- for i=0,1,0.1 do
- wait()
- v.Transparency=v.Transparency-0.1
- end
- v.Transparency=0
- end))
- v.Transparency=0
- end
- end
- end
- local jumped = false
- function jump()
- attack = true
- jumped = true
- hum.WalkSpeed = 0
- chatfunc("I need more power!")
- local pie22 = Instance.new("ParticleEmitter")
- pie22.Parent = larm
- pie22.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie22.LightEmission = 1
- pie22.Size = NumberSequence.new(2)
- pie22.Texture = "http://www.roblox.com/asset/?id=299413210"
- pie22.Transparency = NumberSequence.new(0.7)
- pie22.EmissionDirection = "Top"
- pie22.Enabled = true
- pie22.Lifetime = NumberRange.new(0.5)
- pie22.Rotation = NumberRange.new(-420, 425)
- pie22.Rate = 300
- pie22.Speed = NumberRange.new(4)
- pie22.LockedToPart = true
- pie22.VelocitySpread = 360
- local pie222 = Instance.new("ParticleEmitter")
- pie222.Parent = rarm
- pie222.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie222.LightEmission = 1
- pie222.Size = NumberSequence.new(2)
- pie222.Texture = "http://www.roblox.com/asset/?id=299413210"
- pie222.Transparency = NumberSequence.new(0.7)
- pie222.EmissionDirection = "Top"
- pie222.Enabled = true
- pie222.Lifetime = NumberRange.new(0.5)
- pie222.Rotation = NumberRange.new(-420, 425)
- pie222.Rate = 300
- pie222.Speed = NumberRange.new(4)
- pie222.LockedToPart = true
- pie222.VelocitySpread = 360
- local pie2242 = Instance.new("ParticleEmitter")
- pie2242.Parent = lleg
- pie2242.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie2242.LightEmission = 1
- pie2242.Size = NumberSequence.new(2)
- pie2242.Texture = "http://www.roblox.com/asset/?id=299413210"
- pie2242.Transparency = NumberSequence.new(0.7)
- pie2242.EmissionDirection = "Top"
- pie2242.Enabled = true
- pie2242.Lifetime = NumberRange.new(0.5)
- pie2242.Rotation = NumberRange.new(-420, 425)
- pie2242.Rate = 300
- pie2242.Speed = NumberRange.new(4)
- pie2242.LockedToPart = true
- pie2242.VelocitySpread = 360
- local pie22442 = Instance.new("ParticleEmitter")
- pie22442.Parent = rleg
- pie22442.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie22442.LightEmission = 1
- pie22442.Size = NumberSequence.new(2)
- pie22442.Texture = "http://www.roblox.com/asset/?id=299413210"
- pie22442.Transparency = NumberSequence.new(0.7)
- pie22442.EmissionDirection = "Top"
- pie22442.Enabled = true
- pie22442.Lifetime = NumberRange.new(0.5)
- pie22442.Rotation = NumberRange.new(-420, 425)
- pie22442.Rate = 300
- pie22442.Speed = NumberRange.new(4)
- pie22442.LockedToPart = true
- pie22442.VelocitySpread = 360
- local pie2222 = Instance.new("ParticleEmitter")
- pie2222.Parent = hed
- pie2222.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie2222.LightEmission = 1
- pie2222.Size = NumberSequence.new(20)
- pie2222.Texture = "http://www.roblox.com/asset/?id=299413210"
- pie2222.Transparency = NumberSequence.new(0.7)
- pie2222.EmissionDirection = "Top"
- pie2222.Enabled = true
- pie2222.Lifetime = NumberRange.new(0.5)
- pie2222.Rotation = NumberRange.new(-420, 425)
- pie2222.Rate = 300
- pie2222.Speed = NumberRange.new(4)
- pie2222.LockedToPart = true
- pie2222.VelocitySpread = 360
- MagicBlock(bc("Black"),root.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
- CFuncs["Sound"].Create("rbxassetid://181004943", root, 0.7, 0.7)
- CFuncs["Sound"].Create("rbxassetid://163619849", root, 1, 0.7)
- for i = 0,15,0.1 do
- swait()
- MagicBlock(bc("Black"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
- MagicBlock(bc("Black"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
- RH.C0=clerp(RH.C0,cf(1,0.45,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(50)),.05)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(15)),.05)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)* angles(math.rad(50),math.rad(0),math.rad(0)),0.05)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.05)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05)
- end
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = root.CFrame.lookVector*150
- bv.Parent = root
- game:GetService("Debris"):AddItem(bv, 0.5)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("White")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.Position = root.Position
- rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.Parent = char
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = char
- rng3.BrickColor = BrickColor.new("White")
- local rng3m = rng3.Mesh
- local rng4 = rng:Clone()
- rng4.Parent = char
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = char
- rng5.BrickColor = BrickColor.new("White")
- local rng5m = rng5.Mesh
- CFuncs["Sound"].Create("rbxassetid://324867021", rng, 10, 1)
- wait()
- local scaler = 10
- local scaler2 = 10
- game:GetService("Debris"):AddItem(bv, 2.4)
- hum.WalkSpeed = 50
- MagicBlock(bc("White"),root.CFrame,15,15,15,10,10,10,0.015)
- for i = 0,10,0.1 do
- swait()
- rng.Transparency = rng.Transparency + 0.01
- rng2.Transparency = rng2.Transparency + 0.01
- rng3.Transparency = rng3.Transparency + 0.01
- rng4.Transparency = rng4.Transparency + 0.01
- rng5.Transparency = rng5.Transparency + 0.01
- scaler = scaler - 0.125
- scaler2 = scaler2 - 0.1
- rng2m.Scale = rng2m.Scale + Vector3.new(scaler/1.25, scaler/1.25, 20)
- rng3m.Scale = rng3m.Scale + Vector3.new(scaler/1.5, scaler/1.5, 30)
- rng4m.Scale = rng4m.Scale + Vector3.new(scaler/1.75, scaler/1.75, 40)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler/2, scaler/2, 50)
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
- RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.5)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.5)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.5)
- end
- game:GetService("Debris"):AddItem(rng, 0.1)
- game:GetService("Debris"):AddItem(rng2, 0.1)
- game:GetService("Debris"):AddItem(rng3, 0.1)
- game:GetService("Debris"):AddItem(rng4, 0.1)
- game:GetService("Debris"):AddItem(rng5, 0.1)
- hum.WalkSpeed = 126
- pie2222:Destroy()
- attack = false
- jumped = false
- wait(20)
- chatfunc("Too much energy..")
- asd1 = Instance.new("Sound",char)
- asd1.SoundId = "http://www.roblox.com/asset/?id = 689743416"
- asd1.Volume = 1.5
- asd1.Looped = false
- asd1:Play()
- pie22:Destroy()
- pie222:Destroy()
- pie2242:Destroy()
- pie22442:Destroy()
- hum.WalkSpeed = 16
- end
- function dash()
- attack = true
- jumped = true
- hum.WalkSpeed = 16
- killbrick = Instance.new("Part",char)
- killbrick.Size = Vector3.new(1,1,1)
- killbrick.Transparency = 1
- killbrick:BreakJoints()
- killbrick.CanCollide = false
- local wel = Instance.new("Weld",killbrick)
- wel.Part0 = killbrick
- wel.Part1 = char["Left Arm"]
- wel.C0 = CFrame.new(0,1,0)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = root.CFrame.lookVector*150
- bv.Parent = root
- char.Head.face.Texture = "rbxassetid://26435769"
- game:GetService("Debris"):AddItem(bv, 1)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("White")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = root.CFrame
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.BrickColor = BrickColor.new("Dark stone grey")
- rng2.Parent = char
- rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = char
- rng3.BrickColor = BrickColor.new("Dark stone grey")
- rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
- local rng3m = rng3.Mesh
- local rng4 = rng:Clone()
- rng4.Parent = char
- rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = char
- rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
- local rng5m = rng5.Mesh
- local rng6 = rng:Clone()
- rng6.Material = "Neon"
- rng6.CanCollide = false
- rng6.BrickColor = BrickColor.new("Neon orange")
- rng6.Parent = LeftLeg
- local rng6m = rng6.Mesh
- rng6m.Scale = vt(3,3,3)
- rng6m.MeshType = "Sphere"
- local rng7 = rng:Clone()
- rng7.Material = "Plastic"
- rng7.CanCollide = false
- rng7.BrickColor = BrickColor.new("Bright red")
- rng7.Parent = LeftLeg
- local rng7m = rng7.Mesh
- rng7m.Scale = vt(3,3,3)
- rng7m.MeshType = "Sphere"
- CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
- CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
- wait()
- local scaler = 10/5
- local scaler2 = 10/5
- local hit = rng6.Touched:connect(function(hit)
- Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1)
- end)
- for i = 0,10,0.1 do
- swait()
- rng.Transparency = rng.Transparency + 0.01
- rng2.Transparency = rng2.Transparency + 0.01
- rng3.Transparency = rng3.Transparency + 0.01
- rng4.Transparency = rng4.Transparency + 0.01
- rng5.Transparency = rng5.Transparency + 0.01
- rng6.Transparency = rng5.Transparency + 0.001
- rng7.Transparency = rng5.Transparency + 0.001
- scaler = scaler - 0.125/5
- scaler2 = scaler2 - 0.1/5
- rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
- rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
- rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
- rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
- rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
- rng6.CFrame = rng3.CFrame
- rng7.CFrame = rng3.CFrame
- end
- game:GetService("Debris"):AddItem(rng, 0.1)
- game:GetService("Debris"):AddItem(rng2, 0.1)
- game:GetService("Debris"):AddItem(rng3, 0.1)
- game:GetService("Debris"):AddItem(rng4, 0.1)
- game:GetService("Debris"):AddItem(rng5, 0.1)
- hum.WalkSpeed = 16
- hit:disconnect()
- attack = false
- killbrick:Destroy()
- char.Head.face.Texture = "rbxassetid://240865271"
- jumped = false
- end
- function daash()
- attack = false
- jumped = false
- hum.WalkSpeed = 16
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(6000,6000,6000)
- bv.velocity = root.CFrame.lookVector*150
- bv.Parent = root
- char.Head.face.Texture = "rbxassetid://240865271"
- game:GetService("Debris"):AddItem(bv, 1)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("White")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(2, 2, 2)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = root.CFrame
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.BrickColor = BrickColor.new("White")
- rng2.Parent = char
- rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
- local rng2m = rng2.Mesh
- local rng5m = rng.Mesh
- CFuncs["Sound"].Create("rbxassetid://262562442", root, 1, 1)
- wait()
- local scaler = 10/5
- local scaler2 = 10/5
- local hit = rng.Touched:connect(function(hit)
- Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1)
- end)
- for i = 0,10,0.1 do
- swait()
- MagicBlockDash(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
- MagicBlockDash(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
- rng.Transparency = rng.Transparency + 0.01
- rng2.Transparency = rng2.Transparency + 0.01
- scaler = scaler - 0.125/5
- scaler2 = scaler2 - 0.125/5
- rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1, scaler2/1, 0)
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
- end
- game:GetService("Debris"):AddItem(rng, 0.1)
- game:GetService("Debris"):AddItem(rng2, 0.1)
- hum.WalkSpeed = 16
- hit:disconnect()
- attack = false
- char.Head.face.Texture = "rbxassetid://240865271"
- jumped = false
- end
- function dashh()
- attack = true
- jumped = true
- hum.WalkSpeed = 16
- local BV = Instance.new("BodyVelocity")
- BV = Instance.new("BodyVelocity", tors)
- BV.maxForce = Vector3.new(0,10000,0)
- BV.P = 1000
- BV.velocity = Vector3.new(0,800,0)
- char.Head.face.Texture = "rbxassetid://240865271"
- game:GetService("Debris"):AddItem(BV, 1)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("Black")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(5, 5, 5)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = root.CFrame
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.BrickColor = BrickColor.new("Dark stone grey")
- rng2.Parent = char
- rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = char
- rng3.BrickColor = BrickColor.new("Dark stone grey")
- rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
- local rng3m = rng3.Mesh
- local rng4 = rng:Clone()
- rng4.Parent = char
- rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = char
- rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
- local rng5m = rng5.Mesh
- local rng6 = rng:Clone()
- rng6.Material = "Neon"
- rng6.CanCollide = false
- rng6.BrickColor = BrickColor.new("Neon orange")
- rng6.Parent = LeftLeg
- local rng6m = rng6.Mesh
- rng6m.Scale = vt(1,1,1)
- rng6m.MeshType = "Sphere"
- local rng7 = rng:Clone()
- rng7.Material = "Plastic"
- rng7.CanCollide = false
- rng7.BrickColor = BrickColor.new("Bright red")
- rng7.Parent = LeftLeg
- local rng7m = rng7.Mesh
- rng7m.Scale = vt(1,1,1)
- rng7m.MeshType = "Sphere"
- CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
- CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
- wait()
- local scaler = 10/5
- local scaler2 = 10/5
- local hit = rng6.Touched:connect(function(hit)
- Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1)
- end)
- for i = 0,10,0.1 do
- swait()
- MagicBlock(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
- MagicBlock(bc("Dark stone grey"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
- rng.Transparency = rng.Transparency + 0.01
- rng2.Transparency = rng2.Transparency + 0.01
- rng3.Transparency = rng3.Transparency + 0.01
- rng4.Transparency = rng4.Transparency + 0.01
- rng5.Transparency = rng5.Transparency + 0.01
- rng6.Transparency = rng5.Transparency + 0.001
- rng7.Transparency = rng5.Transparency + 0.001
- scaler = scaler - 0.125/5
- scaler2 = scaler2 - 0.1/5
- rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
- rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
- rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
- rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
- rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
- rng6.CFrame = rng3.CFrame
- rng7.CFrame = rng3.CFrame
- end
- game:GetService("Debris"):AddItem(rng, 0.1)
- game:GetService("Debris"):AddItem(rng2, 0.1)
- game:GetService("Debris"):AddItem(rng3, 0.1)
- game:GetService("Debris"):AddItem(rng4, 0.1)
- game:GetService("Debris"):AddItem(rng5, 0.1)
- hum.WalkSpeed = 16
- hit:disconnect()
- attack = false
- char.Head.face.Texture = "rbxassetid://240865271"
- jumped = false
- end
- function dashs()
- attack = true
- jumped = true
- hum.WalkSpeed = 16
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(0, 0, 0)
- bv.velocity = root.CFrame.lookVector*150
- bv.Parent = root
- char.Head.face.Texture = "rbxassetid://26435769"
- game:GetService("Debris"):AddItem(bv, 1)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("White")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(6, 6, 6)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = root.CFrame
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.BrickColor = BrickColor.new("Dark stone grey")
- rng2.Parent = char
- rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = char
- rng3.BrickColor = BrickColor.new("Dark stone grey")
- rng3.CFrame = root.CFrame + root.CFrame.lookVector*60
- local rng3m = rng3.Mesh
- local rng4 = rng:Clone()
- rng4.Parent = char
- rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = char
- rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
- local rng5m = rng5.Mesh
- local rng6 = rng:Clone()
- rng6.Material = "Neon"
- rng6.CanCollide = false
- rng6.BrickColor = BrickColor.new("Neon orange")
- rng6.Parent = LeftLeg
- local rng6m = rng6.Mesh
- rng6m.Scale = vt(1,1,1)
- rng6m.MeshType = "Sphere"
- local rng7 = rng:Clone()
- rng7.Material = "Plastic"
- rng7.CanCollide = false
- rng7.BrickColor = BrickColor.new("Bright red")
- rng7.Parent = LeftLeg
- local rng7m = rng7.Mesh
- rng7m.Scale = vt(1,1,1)
- rng7m.MeshType = "Sphere"
- CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
- CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
- wait()
- local scaler = 10/5
- local scaler2 = 10/5
- local hit = rng6.Touched:connect(function(hit)
- Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1)
- end)
- for i = 0,10,0.1 do
- swait()
- rng.Transparency = rng.Transparency + 0.01
- rng2.Transparency = rng2.Transparency + 0.01
- rng3.Transparency = rng3.Transparency + 0.01
- rng4.Transparency = rng4.Transparency + 0.01
- rng5.Transparency = rng5.Transparency + 0.01
- rng6.Transparency = rng5.Transparency + 0.001
- rng7.Transparency = rng5.Transparency + 0.001
- scaler = scaler - 0.125/5
- scaler2 = scaler2 - 0.1/5
- rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
- rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
- rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
- rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/0.5)
- rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/0.3)
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
- rng6.CFrame = rng3.CFrame
- rng7.CFrame = rng3.CFrame
- end
- game:GetService("Debris"):AddItem(rng, 0.1)
- game:GetService("Debris"):AddItem(rng2, 0.1)
- game:GetService("Debris"):AddItem(rng3, 0.1)
- game:GetService("Debris"):AddItem(rng4, 0.1)
- game:GetService("Debris"):AddItem(rng5, 0.1)
- hum.WalkSpeed = 16
- hit:disconnect()
- attack = false
- char.Head.face.Texture = "rbxassetid://240865271"
- jumped = false
- end
- m.KeyDown:connect(function(key)
- if key == "j" then
- if tp == true then
- tp = false
- char.Head.face.Parent = game.Lighting
- asd1 = Instance.new("Sound",char)
- asd1.SoundId = "http://www.roblox.com/asset/?id = 201858045"
- asd1.Volume = 0.5
- asd1.Looped = false
- asd1:Play()
- v:Destroy()
- for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1
- end
- end
- wait(0.2)
- for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0
- end
- end
- char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
- char.HumanoidRootPart.Transparency = 1
- game.Lighting.face.Parent = char.Head
- wait(0.7)
- tp = true
- end
- end
- end)
- ----------------------------------------------------
- Debounces = {
- CanAttack = true;
- NoIdl = false;
- Slashing = false;
- Slashed = false;
- RPunch = false;
- RPunched = false;
- LPunch = false;
- LPunched = false;
- }
- local Touche = {char.Name, }
- ----------------------------------------------------
- local rs = game:GetService("RunService").RenderStepped
- mouse.KeyDown:connect(function(key)
- if key == "-" then
- if Charging == false then
- Charging = true
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.NoIdl = true
- Debounces.on = true
- for i = 1,20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
- tors.Weld.C0 = Lerp(tors.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- --[[for i = 1,20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end]]--
- pt=Instance.new('Part',tors)
- pt.Anchored=true
- pt.CanCollide=false
- pt.Locked = true
- pt.FormFactor='Custom'
- pt.Size=Vector3.new(1,1,1)
- pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
- pt.Transparency=.6
- pt.BrickColor=BrickColor.new('White')
- msh=Instance.new('SpecialMesh',pt)
- msh.MeshId='http://www.roblox.com/asset/?id=20329976'
- msh.Scale=Vector3.new(8,4,8)
- pt2=pt:clone()
- pt2.Parent = tors
- pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
- pt2.BrickColor=BrickColor.new("White")
- msh2=msh:clone()
- msh2.Parent=pt2
- msh2.Scale=Vector3.new(10,5,10)
- bl = Instance.new("Part", char)
- bl.Locked = true
- bl.Name = "Shell"
- bl.BrickColor = BrickColor.new("White")
- bl.Anchored = true
- bl.CanCollide = false
- bl.Transparency = 0
- bl.Reflectance = 0
- bl.BottomSurface = 0
- bl.TopSurface = 0
- bl.Shape = 0
- blm = Instance.new("SpecialMesh",bl)
- blm.MeshType = "Sphere"
- blm.Scale = Vector3.new(1,1,1)
- blm.MeshId = "rbxassetid://9982590"
- coroutine.resume(coroutine.create(function()
- for i=1, math.huge, 4 do
- if Charging == true then
- rs:wait()
- bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
- blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
- bl.Transparency = bl.Transparency + 0.005
- pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
- pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
- msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
- msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
- elseif Charging == false then break
- end
- end
- end))
- repeat
- local p = Instance.new('Part',tors)
- p.formFactor = 'Custom'
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = workspace.Base.BrickColor
- p.CanCollide = false
- p.Transparency = 0
- p.Anchored = true
- p.Locked=true
- p.Material = workspace.Base.Material
- local m = Instance.new("BlockMesh",p)
- m.Scale = Vector3.new(s,s,s)
- p.CFrame = tors.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
- --[[coroutine.wrap(function()
- wait(2)
- while Charging == true do
- wait(2)
- GroundWave1()
- wait(2)
- end
- end)()]]--
- Spawn(function()
- while rs:wait() do
- if Charging == true then
- rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
- larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
- hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
- tors.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
- lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
- rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
- elseif Charging == false then break
- end
- end
- end)
- Spawn(function()
- while rs:wait() do
- if p.Transparency >= 1 then p:Destroy() break end
- p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
- p.Transparency = p.Transparency+0.01
- end
- end)
- wait(.3)
- until Charging == false
- end
- end
- end
- end)
- ----------------------------------------------------
- mouse.KeyUp:connect(function(key)
- if key == "r" then
- if Charging == true then
- Charging = false
- pt:Destroy()
- pt2:Destroy()
- bl:Destroy()
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.NoIdl = false
- Debounces.on = false
- end
- end
- end
- end)
- ----------------------------------------------------
- mouse.KeyDown:connect(function(key)
- if key == "p" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.on = true
- Debounces.NoIdl = true
- pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
- Debounces.RPunch = true
- Debounces.LPunch = true
- Debounces.ks = true
- Debounces.ks2 = true
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- Debounces.LPunch = false
- Debounces.RPunch = false
- Debounces.ks = false
- Debounces.ks2 = false
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.on = false
- Debounces.NoIdl = false
- end
- end
- end
- end)
- function punch()
- attack = true
- jumped = true
- killbrick = Instance.new("Part",rarm)
- killbrick.Size = Vector3.new(0.1,0.1,0.1)
- killbrick.Transparency = 1
- killbrick:BreakJoints()
- killbrick.CanCollide = false
- killbrick.Anchored = true
- killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1,1,1)
- bv.velocity = root.CFrame.lookVector*150
- bv.Parent = root
- game:GetService("Debris"):AddItem(bv, 1)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("White")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(2, 2, 2)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = root.CFrame
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.BrickColor = BrickColor.new("White")
- rng2.Parent = char
- rng2.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = char
- rng3.BrickColor = BrickColor.new("Institutional white")
- rng3.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- local rng3m = Instance.new("SpecialMesh", rng3)
- rng3m.MeshId = "http://www.roblox.com/asset/?id=665769722"
- local rng4 = rng:Clone()
- rng4.Parent = char
- rng4.BrickColor = BrickColor.new("White")
- rng4.CFrame = root.CFrame + root.CFrame.lookVector*12
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = char
- rng5.BrickColor = BrickColor.new("White")
- rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
- local rng5m = rng5.Mesh
- local rng6 = rng:Clone()
- rng6.Material = "Neon"
- rng6.CanCollide = false
- rng6.BrickColor = BrickColor.new("White")
- rng6.Parent = LeftLeg
- local rng6m = rng6.Mesh
- rng6m.Scale = vt(1,1,1)
- rng6m.MeshType = "Sphere"
- local rng7 = rng:Clone()
- rng7.Material = "Plastic"
- rng7.CanCollide = false
- rng7.BrickColor = BrickColor.new("White")
- rng7.Parent = LeftLeg
- local rng7m = rng7.Mesh
- rng7m.Scale = vt(1,1,1)
- rng7m.MeshType = "Sphere"
- CFuncs["Sound"].Create("rbxassetid://137579113", root, 1, 1)
- CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
- wait()
- local scaler = 10/5
- local scaler2 = 10/5
- local hit = rng6.Touched:connect(function(hit)
- Damagefunc(hit,405,505,math.random(400,500),"Normal",root,.2,1)
- CRIT=true
- end)
- for i = 0,10,0.1 do
- swait()
- rng.Transparency = rng.Transparency + 0.01
- rng2.Transparency = rng2.Transparency + 0.01
- rng3.Transparency = rng3.Transparency + 0.01
- rng4.Transparency = rng4.Transparency + 0.01
- rng5.Transparency = rng5.Transparency + 0.01
- rng6.Transparency = rng5.Transparency + 0.1
- rng7.Transparency = rng5.Transparency + 0.1
- scaler = scaler - 0.125/5
- scaler2 = scaler2 - 0.1/5
- rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
- rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/13.5, scaler2/13.5, 0)
- rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
- rng6.Size = rng6.Size + Vector3.new(scaler2/1.2, scaler2/1.2, scaler2/1.2)
- rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
- rng6.CFrame = killbrick.CFrame
- rng7.CFrame = killbrick.CFrame
- end
- game:GetService("Debris"):AddItem(rng, 0.1)
- game:GetService("Debris"):AddItem(rng2, 0.1)
- game:GetService("Debris"):AddItem(rng3, 0.1)
- game:GetService("Debris"):AddItem(rng4, 0.1)
- game:GetService("Debris"):AddItem(rng5, 0.1)
- hit:disconnect()
- rng:Destroy()
- rng2:Destroy()
- rng3:Destroy()
- rng4:Destroy()
- rng5:Destroy()
- rng6:Destroy()
- rng7:Destroy()
- attack = false
- killbrick:Destroy()
- jumped = false
- lig:Remove()
- end
- m.KeyDown:connect(function(key)
- if key == "k" then
- if punch == true then
- punch = false
- org = char.Torso["Left Shoulder"].C0
- char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
- killbrick = Instance.new("Part",char)
- killbrick.Size = Vector3.new(5,6,5)
- killbrick.Transparency = 1
- killbrick:BreakJoints()
- killbrick.CanCollide = false
- local wel = Instance.new("Weld",killbrick)
- wel.Part0 = killbrick
- wel.Part1 = char["Left Arm"]
- wel.C0 = CFrame.new(0,1,0)
- force = 90
- killbrick.Touched:connect(function(h)
- local x = h.Parent.Humanoid
- if x.Health >= 100 then
- fling = false
- end
- if x.Health < 100 then
- fling = true
- end
- local stop = h.Parent.Torso.Velocity
- if x.Parent.Name == game.Players.LocalPlayer.Name then
- safe = true
- else safe = false
- end
- if x then
- if x.Parent.Name == game.Players.LocalPlayer.Name then
- safe = true
- else safe = false
- end
- if safe == false then
- if fling == true then
- force = 900
- end
- if fling == false then
- force = 200
- end
- wait(0.2)
- h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * force
- local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
- boom:Play()
- bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
- wait(0)
- x.Parent:Destroy()
- GroundWave2()
- wait()
- safe = true
- bodyforc:Remove()
- h.Parent.Torso.Velocity = stop
- end
- end
- end)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("Institutional white")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0.8
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
- --rng.Rotation = Vector3.new(math.pi/2,0,0)
- rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=437347603"
- rngm.Scale = Vector3.new(0.1, 0.1, 0.1)
- wait(0.1)
- boom2:Play()
- coroutine.wrap(function()
- for i = 1, 10, .4 do
- rngm.Scale = Vector3.new(0.2 + i*0.2, 0.2 + i*0.2, 1)
- wait()
- end
- wait()
- rng:Destroy()
- killbrick:Remove()
- wait(0.5)
- char.Torso["Left Shoulder"].C0 = org
- wait(1)
- punch = true
- wait()
- end)()
- end
- wait(.1)
- end
- end)
- local handle = Instance.new("Part")
- handle.Parent = Character
- handle.Size = Vector3.new(0.2,0.2,0.2)
- handle.Archivable = true
- handle.Transparency = 1
- handle.CanCollide = false
- handle.BrickColor = BrickColor.new("White")
- handle.Material = "Neon"
- local handlmesh = Instance.new("BlockMesh",handle)
- handlmesh.Scale = Vector3.new(1,1,1)
- local handleweld = Instance.new("Weld")
- handleweld.Parent = handle
- handleweld.Part0 = rarm
- handleweld.Part1 = handle
- handleweld.C1 = CFrame.new(0, 1.35, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
- handleweld.Part0 = rarm
- local meshtype = "Sphere"
- function InfernoComet()
- attack = true
- chatfunc(" ")
- handleweld.Part0 = rarm
- local tra = Instance.new("ParticleEmitter",handle)
- tra.Texture = "rbxassetid://246689799"
- tra.LightEmission = 0
- tra.Rate = 99999
- tra.Lifetime = NumberRange.new(1)
- tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
- tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
- tra.Speed = NumberRange.new(0)
- tra.Rotation = NumberRange.new(-500,500)
- tra.VelocitySpread = 90000
- tra.LockedToPart = true
- tra.RotSpeed = NumberRange.new(-500,500)
- local tra2 = Instance.new("ParticleEmitter",handle)
- tra2.Texture = "http://www.roblox.com/asset/?id=246689799"
- tra2.LightEmission = 0
- tra2.Rate = 50
- tra2.Lifetime = NumberRange.new(1.5)
- tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)})
- tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
- tra2.Speed = NumberRange.new(0)
- tra2.Rotation = NumberRange.new(-500,500)
- tra2.VelocitySpread = 90000
- tra2.LockedToPart = true
- tra2.RotSpeed = NumberRange.new(-500,500)
- for i = 0,4,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
- end
- local sa = Instance.new("Sound",handle)
- sa.SoundId = "rbxassetid://201858144"
- sa.Volume = 1
- sa.Pitch = 1
- sa:Play()
- tra.Rate = 0
- tra2.Rate = 0
- local lb = Instance.new("Part")
- lb.Parent = char
- lb.Material = "Neon"
- lb.Color = BrickColor.new("Cyan").Color
- lb.CanCollide = false
- lb.Shape = "Ball"
- lb.CFrame = handle.CFrame
- lb.Anchored = true
- lb.Transparency = 1
- lb.Size = vt(1,1,1)
- local thing = Instance.new("SpecialMesh",lb)
- thing.MeshType = meshtype
- local hitted = false
- lb.Anchored = false
- local trail = Instance.new("ParticleEmitter",lb)
- trail.Texture = "rbxassetid://246689799"
- trail.LightEmission = 1
- trail.Rate = 9999
- trail.Lifetime = NumberRange.new(1.5)
- trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
- trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- trail.Speed = NumberRange.new(0,0)
- trail.Rotation = NumberRange.new(-500,500)
- trail.RotSpeed = NumberRange.new(-500,500)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = mouse.Hit.lookVector *75
- bv.Parent = lb
- wait(0.05)
- lb.Touched:connect(function(hit)
- if hitted == false then
- hitted = true
- trail.Rate = 0
- lb.Anchored = true
- local aa = Instance.new("Part")
- local val = 1*3.5
- aa.Parent = lb
- local exsound = Instance.new("Sound",aa)
- exsound.SoundId = "rbxassetid://262562442"
- exsound.Volume = 3.5
- exsound.Pitch = 1
- exsound:Play()
- aa.Material = "Neon"
- aa.Color = BrickColor.new("White").Color
- aa.CanCollide = false
- aa.Shape = "Ball"
- aa.CFrame = lb.CFrame
- aa.Anchored = true
- aa.Transparency = 0
- aa.Size = vt(1,1,1)
- local thinger = Instance.new("SpecialMesh",aa)
- thinger.MeshType = meshtype
- thinger.Scale = vt(15,15,15)
- local explosion = Instance.new("Explosion",aa)
- explosion.Position = aa.Position
- explosion.BlastRadius = 22.5
- explosion.BlastPressure = 100
- local exp = Instance.new("ParticleEmitter",aa)
- exp.Texture = "rbxassetid://341277531"
- exp.LightEmission = 1
- exp.Rate = 9000000000
- exp.Lifetime = NumberRange.new(1)
- exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
- exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- exp.Speed = NumberRange.new(100)
- exp.VelocitySpread = 9000000
- exp.Rotation = NumberRange.new(-500,500)
- exp.RotSpeed = NumberRange.new(-500,500)
- local expa = Instance.new("ParticleEmitter",aa)
- expa.Texture = "rbxassetid://341277531"
- expa.LightEmission = 1
- expa.Rate = 9000000000
- expa.Lifetime = NumberRange.new(2.75)
- expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
- expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
- expa.Speed = NumberRange.new(100)
- expa.VelocitySpread = 9000000
- expa.Rotation = NumberRange.new(-500,500)
- expa.RotSpeed = NumberRange.new(-500,500)
- local exp2 = exp:Clone()
- exp2.Parent = aa
- local exp3 = exp:Clone()
- exp3.Parent = aa
- local exp4 = exp:Clone()
- exp4.Parent = aa
- local exp5 = exp:Clone()
- exp5.Parent = aa
- local exp6 = exp:Clone()
- exp6.Parent = aa
- local exp7 = exp:Clone()
- exp7.Parent = aa
- local expa2 = expa:Clone()
- expa2.Parent = aa
- local expa3 = expa:Clone()
- expa3.Parent = aa
- local expa4 = expa:Clone()
- expa4.Parent = aa
- local expa5 = expa:Clone()
- expa5.Parent = aa
- local expa6 = expa:Clone()
- expa6.Parent = aa
- local expa7 = expa:Clone()
- expa7.Parent = aa
- for i = 0, 1 do
- val = val - 0.025*3.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- exp.Rate = 0
- exp2.Rate = 0
- exp3.Rate = 0
- exp4.Rate = 0
- exp5.Rate = 0
- exp6.Rate = 0
- exp7.Rate = 0
- for i = 0, 1 do
- val = val - 0.025*3.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- expa.Rate = 0
- expa2.Rate = 0
- expa3.Rate = 0
- expa4.Rate = 0
- expa5.Rate = 0
- expa6.Rate = 0
- expa7.Rate = 0
- for i = 0, 21 do
- val = val - 0.025*3.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- for i = 0, 74 do
- val = val - 0.0145
- aa.Transparency = aa.Transparency + 0.0145
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- end
- end)
- attack = false
- wait(30)
- sa:Destroy()
- tra:Destroy()
- tra2:Destroy()
- lb:Destroy()
- end
- function Crater(Torso,Radius)
- spawn(function()
- local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
- local Ignore = {}
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Character ~= nil then
- Ignore[#Ignore+1] = v.Character
- end
- end
- local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
- if Hit == nil then return end
- local Parts = {}
- for i = 1,360,10 do
- local P = Instance.new("Part",Torso.Parent)
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = Hit.BrickColor
- P.Material = Hit.Material
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
- P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
- Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
- if math.random(0,5) == 0 then -- rubble
- local P = Instance.new("Part",Torso.Parent)
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = Hit.BrickColor
- P.Material = Hit.Material
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
- P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
- Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
- end
- end
- for i = 0,1,0.05 do
- for i2,v in pairs(Parts) do
- v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
- end
- wait(0.02)
- end
- for i,v in pairs(Parts) do
- if v[1].Size.X > 2.1 then
- v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
- end
- v[1].Anchored = false
- end
- for i = 0,1,0.05 do
- for i2,v in pairs(Parts) do
- v[1].Transparency = i
- if i == 1 then
- v[1]:Destroy()
- elseif i >= 0.25 then
- v[1].CanCollide = false
- end
- end
- wait(0.02)
- end
- Parts = nil
- end)
- end
- function InfernoWrath()
- attack = true
- chatfunc("FULL BLAST!")
- local pie22 = Instance.new("ParticleEmitter")
- pie22.Parent = larm
- pie22.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie22.LightEmission = 1
- pie22.Size = NumberSequence.new(0.6,0.8,0.6)
- pie22.Texture = "http://www.roblox.com/asset/?id=341277531"
- pie22.Transparency = NumberSequence.new(0.7)
- pie22.EmissionDirection = "Top"
- pie22.Enabled = true
- pie22.Lifetime = NumberRange.new(1)
- pie22.Rotation = NumberRange.new(-420, 425)
- pie22.Rate = 400
- pie22.Speed = NumberRange.new(1)
- pie22.LockedToPart = false
- pie22.VelocitySpread = 2
- local pie222 = Instance.new("ParticleEmitter")
- pie222.Parent = rarm
- pie222.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie222.LightEmission = 1
- pie222.Size = NumberSequence.new(0.6,0.8,0.6)
- pie222.Texture = "http://www.roblox.com/asset/?id=341277531"
- pie222.Transparency = NumberSequence.new(0.7)
- pie222.EmissionDirection = "Top"
- pie222.Enabled = true
- pie222.Lifetime = NumberRange.new(1)
- pie222.Rotation = NumberRange.new(-420, 425)
- pie222.Rate = 400
- pie222.Speed = NumberRange.new(1)
- pie222.LockedToPart = false
- pie222.VelocitySpread = 2
- local pie2222 = Instance.new("ParticleEmitter")
- pie2222.Parent = lleg
- pie2222.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie2222.LightEmission = 1
- pie2222.Size = NumberSequence.new(0.6,0.8,0.6)
- pie2222.Texture = "http://www.roblox.com/asset/?id=341277531"
- pie2222.Transparency = NumberSequence.new(0.7)
- pie2222.EmissionDirection = "Top"
- pie2222.Enabled = true
- pie2222.Lifetime = NumberRange.new(1)
- pie2222.Rotation = NumberRange.new(-420, 425)
- pie2222.Rate = 400
- pie2222.Speed = NumberRange.new(1)
- pie2222.LockedToPart = false
- pie2222.VelocitySpread = 2
- local pie22222 = Instance.new("ParticleEmitter")
- pie22222.Parent = rleg
- pie22222.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie22222.LightEmission = 1
- pie22222.Size = NumberSequence.new(0.6,0.8,0.6)
- pie22222.Texture = "http://www.roblox.com/asset/?id=341277531"
- pie22222.Transparency = NumberSequence.new(0.7)
- pie22222.EmissionDirection = "Top"
- pie22222.Enabled = true
- pie22222.Lifetime = NumberRange.new(1)
- pie22222.Rotation = NumberRange.new(-420, 425)
- pie22222.Rate = 400
- pie22222.Speed = NumberRange.new(1)
- pie22222.LockedToPart = false
- pie22222.VelocitySpread = 2
- local pie2242 = Instance.new("ParticleEmitter")
- pie2242.Parent = tors
- pie2242.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie2242.LightEmission = 1
- pie2242.Size = NumberSequence.new(0.6,0.8,0.6)
- pie2242.Texture = "http://www.roblox.com/asset/?id=341277531"
- pie2242.Transparency = NumberSequence.new(0.7)
- pie2242.EmissionDirection = "Top"
- pie2242.Enabled = true
- pie2242.Lifetime = NumberRange.new(1)
- pie2242.Rotation = NumberRange.new(-420, 425)
- pie2242.Rate = 400
- pie2242.Speed = NumberRange.new(1)
- pie2242.LockedToPart = false
- pie2242.VelocitySpread = 2
- for i = 0,4,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
- end
- hum.WalkSpeed = 16
- local lb = Instance.new("Part")
- lb.Parent = char
- lb.Material = "Neon"
- lb.Color = BrickColor.new("Gold").Color
- lb.CanCollide = false
- lb.Shape = "Ball"
- lb.CFrame = tors.CFrame
- lb.Anchored = true
- lb.Transparency = 1
- lb.Size = vt(1,1,1)
- local thing = Instance.new("SpecialMesh",lb)
- thing.MeshType = meshtype
- for i = 0, 4 do
- local lbr = Instance.new("Part")
- lbr.Parent = char
- lbr.Material = "Neon"
- lbr.Color = BrickColor.new("White").Color
- lbr.CanCollide = false
- lbr.Shape = "Ball"
- lbr.CFrame = lb.CFrame
- lbr.Anchored = true
- lbr.Transparency = 1
- lbr.Size = vt(1,1,1)
- local thinga = Instance.new("SpecialMesh",lbr)
- thinga.MeshType = meshtype
- thinga.Scale = vt(20*6,20*6,20*6)
- for z = 0, 19 do
- wait(0.025)
- lbr.Transparency = lbr.Transparency - 0.05
- thinga.Scale = thinga.Scale - vt(1*6,1*6,1*6)
- end
- lbr:Destroy()
- end
- local aa = Instance.new("Part")
- local val = 1*7.5
- aa.Parent = lb
- local exsound = Instance.new("Sound",handle)
- exsound.SoundId = "rbxassetid://165969964"
- exsound.Volume = 10
- exsound.Pitch = 1
- exsound:Play()
- aa.Material = "Neon"
- aa.Color = BrickColor.new("White").Color
- aa.CanCollide = false
- aa.Shape = "Ball"
- aa.CFrame = lb.CFrame
- aa.Anchored = true
- aa.Transparency = 0
- aa.Size = vt(2,2,2)
- local thinger = Instance.new("SpecialMesh",aa)
- thinger.MeshType = meshtype
- thinger.Scale = vt(15*1.5,15*1.5,15*1.5)
- local explosion = Instance.new("Explosion",aa)
- explosion.Position = aa.Position
- explosion.BlastRadius = 500000000000
- explosion.BlastPressure = 6000
- local exp = Instance.new("ParticleEmitter",aa)
- exp.Texture = "rbxassetid://341277531"
- exp.LightEmission = 1
- exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
- exp.Rate = 9000000000
- exp.Lifetime = NumberRange.new(1)
- exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
- exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- exp.Speed = NumberRange.new(115)
- exp.VelocitySpread = 9000000
- exp.Rotation = NumberRange.new(-500,500)
- exp.RotSpeed = NumberRange.new(-500,500)
- local expa = Instance.new("ParticleEmitter",aa)
- expa.Texture = "rbxassetid://341277531"
- expa.LightEmission = 1
- expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
- expa.Rate = 9000000000
- expa.Lifetime = NumberRange.new(2.75)
- expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
- expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
- expa.Speed = NumberRange.new(115)
- expa.VelocitySpread = 9000000
- expa.Rotation = NumberRange.new(-500,500)
- expa.RotSpeed = NumberRange.new(-500,500)
- local exp2 = exp:Clone()
- exp2.Parent = aa
- local exp3 = exp:Clone()
- exp3.Parent = aa
- local exp4 = exp:Clone()
- exp4.Parent = aa
- local exp5 = exp:Clone()
- exp5.Parent = aa
- local exp6 = exp:Clone()
- exp6.Parent = aa
- local exp7 = exp:Clone()
- exp7.Parent = aa
- local expa2 = expa:Clone()
- expa2.Parent = aa
- local expa3 = expa:Clone()
- expa3.Parent = aa
- local expa4 = expa:Clone()
- expa4.Parent = aa
- local expa5 = expa:Clone()
- expa5.Parent = aa
- local expa6 = expa:Clone()
- expa6.Parent = aa
- local expa7 = expa:Clone()
- expa7.Parent = aa
- Crater(head,60)
- for i = 0, 1 do
- val = val - 0.025*7.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- exp.Rate = 0
- exp2.Rate = 0
- exp3.Rate = 0
- exp4.Rate = 0
- exp5.Rate = 0
- exp6.Rate = 0
- exp7.Rate = 0
- for i = 0, 1 do
- val = val - 0.025*7.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- hum.WalkSpeed = 16
- pie22:Destroy()
- pie222:Destroy()
- pie2222:Destroy()
- pie22222:Destroy()
- pie2242:Destroy()
- attack = false
- expa.Rate = 0
- expa2.Rate = 0
- expa3.Rate = 0
- expa4.Rate = 0
- expa5.Rate = 0
- expa6.Rate = 0
- expa7.Rate = 0
- for i = 0, 21 do
- val = val - 0.025*7.5
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- for i = 0, 74 do
- val = val - 0.0145
- aa.Transparency = aa.Transparency + 0.0145
- thinger.Scale = thinger.Scale + vt(val,val,val)
- wait()
- end
- wait(5)
- lb:Destroy()
- end
- function Lerp(c1,c2,al)
- local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
- local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
- for i,v in pairs(com1) do
- com1[i] = v+(com2[i]-v)*al
- end
- return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
- end
- -----
- -----
- ------------------------------------------------------------------
- --Blocking
- ----------------------------------------------------------------
- mouse.KeyDown:connect(function(key)
- if key == "-" then
- if attack == true then
- attack = false
- canidle = false
- canwalk = false
- block = true
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "-" then
- if attack == false then
- attack = true
- canidle = true
- block = false
- canwalk = true
- end
- end
- end)
- ----
- if block == true then
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head
- Torso.Weld.C0 = Lerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)--torso
- RW.Weld.C0 = Lerp(RW.Weld.C0, CFrame.new(0.8,0.5,-0.7)*CFrame.Angles(math.rad(175),math.rad(0),math.rad(-10)), 0.4)--arm
- LW.Weld.C0 = Lerp(LW.Weld.C0, CFrame.new(-0.8,0.5,-0.7)*CFrame.Angles(math.rad(175),math.rad(0),math.rad(10)), 0.4)--arm
- RH.Weld.C0 = Lerp(RH.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)), 0.4)--leg
- LH.Weld.C0 = Lerp(LH.Weld.C0, CFrame.new(0.4, -0.1, -0.7) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(2)), 0.4)--leg
- end
- ----
- function punchd()
- attack = true
- jumped = true
- hum.WalkSpeed = 30
- killbrick = Instance.new("Part",rarm)
- killbrick.Size = Vector3.new(0.1,0.1,0.1)
- killbrick.Transparency = 1
- killbrick:BreakJoints()
- killbrick.CanCollide = false
- killbrick.Anchored = true
- killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
- lig = Instance.new("PointLight",player.Character.Torso)
- lig.Color=Color3.new(0,0,0)
- lig.Range = 20
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1,1,1)
- bv.velocity = root.CFrame.lookVector*150
- bv.Parent = root
- char.Head.face.Texture = "rbxassetid://26435769"
- game:GetService("Debris"):AddItem(bv, 1)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("White")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = root.CFrame
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.BrickColor = BrickColor.new("Dark stone grey")
- rng2.Parent = char
- rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = char
- rng3.BrickColor = BrickColor.new("Dark stone grey")
- rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
- local rng3m = rng3.Mesh
- local rng4 = rng:Clone()
- rng4.Parent = char
- rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = char
- rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
- local rng5m = rng5.Mesh
- local rng6 = rng:Clone()
- rng6.Material = "Neon"
- rng6.CanCollide = false
- rng6.BrickColor = BrickColor.new("Neon orange")
- rng6.Parent = LeftLeg
- local rng6m = rng6.Mesh
- rng6m.Scale = vt(1,1,1)
- rng6m.MeshType = "Sphere"
- local rng7 = rng:Clone()
- rng7.Material = "Plastic"
- rng7.CanCollide = false
- rng7.BrickColor = BrickColor.new("Bright red")
- rng7.Parent = LeftLeg
- local rng7m = rng7.Mesh
- rng7m.Scale = vt(1,1,1)
- rng7m.MeshType = "Sphere"
- CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1)
- CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1)
- wait()
- local scaler = 10/5
- local scaler2 = 10/5
- local hit = rng6.Touched:connect(function(hit)
- Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1)
- CRIT=true
- end)
- for i = 0,10,0.1 do
- swait()
- rng.Transparency = rng.Transparency + 0.01
- rng2.Transparency = rng2.Transparency + 0.01
- rng3.Transparency = rng3.Transparency + 0.01
- rng4.Transparency = rng4.Transparency + 0.01
- rng5.Transparency = rng5.Transparency + 0.01
- rng6.Transparency = rng5.Transparency + 0.001
- rng7.Transparency = rng5.Transparency + 0.001
- scaler = scaler - 0.125/5
- scaler2 = scaler2 - 0.1/5
- rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 0)
- rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
- rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
- rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
- rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
- rng6.CFrame = killbrick.CFrame
- rng7.CFrame = killbrick.CFrame
- end
- game:GetService("Debris"):AddItem(rng, 0.1)
- game:GetService("Debris"):AddItem(rng2, 0.1)
- game:GetService("Debris"):AddItem(rng3, 0.1)
- game:GetService("Debris"):AddItem(rng4, 0.1)
- game:GetService("Debris"):AddItem(rng5, 0.1)
- hum.WalkSpeed = 16
- hit:disconnect()
- attack = false
- killbrick:Destroy()
- char.Head.face.Texture = "rbxassetid://240865271"
- jumped = false
- lig:Remove()
- end
- function shock()
- attack = true
- jumped = true
- hum.WalkSpeed = 16
- killbrick = Instance.new("Part",rarm)
- killbrick.Size = Vector3.new(0.1,0.1,0.1)
- killbrick.Transparency = 1
- killbrick:BreakJoints()
- killbrick.CanCollide = false
- killbrick.Anchored = true
- killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
- lig = Instance.new("PointLight",player.Character.Torso)
- lig.Color=Color3.new(255,0,0)
- lig.Range = 20
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1,1,1)
- bv.velocity = root.CFrame.lookVector*150
- bv.Parent = root
- char.Head.face.Texture = "rbxassetid://240865271"
- game:GetService("Debris"):AddItem(bv, 1)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("Black")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(10, 10, 10)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = root.CFrame
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.BrickColor = BrickColor.new("Dark stone grey")
- rng2.Parent = char
- rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = char
- rng3.BrickColor = BrickColor.new("Dark stone grey")
- rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
- local rng3m = rng3.Mesh
- local rng4 = rng:Clone()
- rng4.Parent = char
- rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = char
- rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
- local rng5m = rng5.Mesh
- local rng6 = rng:Clone()
- rng6.Material = "Neon"
- rng6.CanCollide = false
- rng6.BrickColor = BrickColor.new("Neon orange")
- rng6.Parent = LeftLeg
- local rng6m = rng6.Mesh
- rng6m.Scale = vt(1,1,1)
- rng6m.MeshType = "Sphere"
- local rng7 = rng:Clone()
- rng7.Material = "Plastic"
- rng7.CanCollide = false
- rng7.BrickColor = BrickColor.new("Bright red")
- rng7.Parent = LeftLeg
- local rng7m = rng7.Mesh
- rng7m.Scale = vt(1,1,1)
- rng7m.MeshType = "Sphere"
- CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
- wait()
- local scaler = 10/5
- local scaler2 = 10/5
- local hit = rng6.Touched:connect(function(hit)
- Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1)
- end)
- for i = 0,10,0.1 do
- swait()
- MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
- rng.Transparency = rng.Transparency + 0.01
- rng2.Transparency = rng2.Transparency + 0.01
- rng3.Transparency = rng3.Transparency + 0.01
- rng4.Transparency = rng4.Transparency + 0.01
- rng5.Transparency = rng5.Transparency + 0.01
- rng6.Transparency = rng5.Transparency + 0.001
- rng7.Transparency = rng5.Transparency + 0.001
- scaler = scaler - 0.125/5
- scaler2 = scaler2 - 0.1/5
- rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/0.25, scaler2/0.45, 0)
- rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/0.5, scaler2/0.7, 0)
- rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/0.75, scaler2/0.95, 0)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/0.9, scaler2/0.9, 0)
- rng6.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6)
- rng7.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6)
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
- RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
- rng6.CFrame = killbrick.CFrame
- rng7.CFrame = killbrick.CFrame
- end
- game:GetService("Debris"):AddItem(rng, 0.1)
- game:GetService("Debris"):AddItem(rng2, 0.1)
- game:GetService("Debris"):AddItem(rng3, 0.1)
- game:GetService("Debris"):AddItem(rng4, 0.1)
- game:GetService("Debris"):AddItem(rng5, 0.1)
- hum.WalkSpeed = 16
- hit:disconnect()
- attack = false
- killbrick:Destroy()
- char.Head.face.Texture = "rbxassetid://240865271"
- jumped = false
- lig:Remove()
- end
- function punch3()
- attack = true
- jumped = true
- hum.WalkSpeed = 16
- killbrick = Instance.new("Part",rarm)
- killbrick.Size = Vector3.new(0.1,0.1,0.1)
- killbrick.Transparency = 1
- killbrick:BreakJoints()
- killbrick.CanCollide = false
- killbrick.Anchored = true
- killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
- killbrick2 = Instance.new("Part",rarm)
- killbrick2.Size = Vector3.new(0.1,0.1,0.1)
- killbrick2.Transparency = 1
- killbrick2:BreakJoints()
- killbrick2.CanCollide = false
- killbrick2.Anchored = true
- killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-30)
- lig = Instance.new("PointLight",player.Character.Torso)
- lig.Color=Color3.new(255,0,0)
- lig.Range = 20
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1,1,1)
- bv.velocity = root.CFrame.lookVector*150
- bv.Parent = root
- char.Head.face.Texture = "rbxassetid://26435769"
- game:GetService("Debris"):AddItem(bv, 1)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("White")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = root.CFrame
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.BrickColor = BrickColor.new("Dark stone grey")
- rng2.Parent = char
- rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = char
- rng3.BrickColor = BrickColor.new("Dark stone grey")
- rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
- local rng3m = rng3.Mesh
- local rng4 = rng:Clone()
- rng4.Parent = char
- rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = char
- rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
- local rng5m = rng5.Mesh
- local rng6 = rng:Clone()
- rng6.Material = "Neon"
- rng6.CanCollide = false
- rng6.BrickColor = BrickColor.new("Neon orange")
- rng6.Parent = LeftLeg
- local rng6m = rng6.Mesh
- rng6m.Scale = vt(1,1,1)
- rng6m.MeshType = "Sphere"
- local rng7 = rng:Clone()
- rng7.Material = "Plastic"
- rng7.CanCollide = false
- rng7.BrickColor = BrickColor.new("Bright red")
- rng7.Parent = LeftLeg
- local rng7m = rng7.Mesh
- rng7m.Scale = vt(1,1,1)
- rng7m.MeshType = "Sphere"
- local rng8 = rng6:Clone()
- rng8.Material = "Neon"
- rng8.CanCollide = false
- rng8.BrickColor = BrickColor.new("Neon orange")
- rng8.Parent = LeftLeg
- local rng8m = rng7.Mesh
- rng8m.Scale = vt(1,1,1)
- rng8m.MeshType = "Sphere"
- CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
- wait()
- local scaler = 10/5
- local scaler2 = 10/5
- local hit = rng8.Touched:connect(function(hit)
- Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1)
- end)
- for i = 0,10,0.1 do
- swait()
- rng.Transparency = rng.Transparency + 0.01
- rng2.Transparency = rng2.Transparency + 0.01
- rng3.Transparency = rng3.Transparency + 0.01
- rng4.Transparency = rng4.Transparency + 0.01
- rng5.Transparency = rng5.Transparency + 0.01
- rng6.Transparency = rng5.Transparency + 0.001
- rng7.Transparency = rng5.Transparency + 0.001
- rng8.Transparency = rng5.Transparency + 0.001
- scaler = scaler - 0.125/5
- scaler2 = scaler2 - 0.1/5
- rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.45, 0)
- rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.7, 0)
- rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.95, 0)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
- rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
- rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
- rng8.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
- rng6.CFrame = killbrick.CFrame
- rng7.CFrame = killbrick.CFrame
- rng8.CFrame = killbrick2.CFrame
- end
- game:GetService("Debris"):AddItem(rng, 0.1)
- game:GetService("Debris"):AddItem(rng2, 0.1)
- game:GetService("Debris"):AddItem(rng3, 0.1)
- game:GetService("Debris"):AddItem(rng4, 0.1)
- game:GetService("Debris"):AddItem(rng5, 0.1)
- hum.WalkSpeed = 16
- hit:disconnect()
- attack = false
- killbrick:Destroy()
- char.Head.face.Texture = "rbxassetid://240865271"
- jumped = false
- lig:Remove()
- end
- function boom()
- attack = true
- jumped = true
- hum.WalkSpeed = 0
- MagicBlock(bc("White"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
- CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
- CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7)
- for i = 0,15,0.1 do
- swait()
- MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
- RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
- char.Head.face.Texture = "rbxassetid://240865271"
- end
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("Black")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(3, 3, 3)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.Position = root.Position
- rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.Parent = char
- rng2.BrickColor = BrickColor.new("Dark stone grey")
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = char
- local rng3m = rng3.Mesh
- local rng4 = rng:Clone()
- rng4.Parent = char
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = char
- rng5.BrickColor = BrickColor.new("Dark stone grey")
- local rng5m = rng5.Mesh
- local hit = rng5.Touched:connect(function(hit)
- Damagefunc(hit,120,175,math.random(100,100),"Normal",root,.2,1)
- end)
- MagicBlock(bc("White"),root.CFrame,15,15,15,5,5,5,0.015)
- CFuncs["Sound"].Create("rbxassetid://187137517", rng, 10, 1)
- CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.85)
- CFuncs["Sound"].Create("rbxassetid://165970126", rng, 10, 1)
- wait()
- local scaler = 10
- local scaler2 = 10
- for i = 0,10,0.1 do
- swait()
- rng.Transparency = rng.Transparency + 0.01
- rng2.Transparency = rng2.Transparency + 0.01
- rng3.Transparency = rng3.Transparency + 0.01
- rng4.Transparency = rng4.Transparency + 0.01
- rng5.Transparency = rng5.Transparency + 0.01
- scaler = scaler - 0.125
- scaler2 = scaler2 - 0.1
- rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 4)
- rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 3)
- rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 2)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 1)
- rng5.Size = rng5m.Scale
- rng5.CFrame = rng.CFrame
- rngm.Scale = rngm.Scale + Vector3.new(scaler2/2, scaler2/2, 5)
- text.Text = " DIE! "
- RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
- end
- hit:disconnect()
- game:GetService("Debris"):AddItem(rng, 1)
- game:GetService("Debris"):AddItem(rng2, 1)
- game:GetService("Debris"):AddItem(rng3, 1)
- game:GetService("Debris"):AddItem(rng4, 1)
- game:GetService("Debris"):AddItem(rng5, 1)
- hum.WalkSpeed = 16
- attack = false
- text.Text = " "
- char.Head.face.Texture = "rbxassetid://240865271"
- jumped = false
- end
- function shooty()
- attack = true
- MagicBlock(bc("Neon orange"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
- CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
- CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7)
- for i = 0,15,0.1 do
- swait()
- MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
- char.Head.face.Texture = "rbxassetid://126198982"
- end
- CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
- local a = Instance.new("Part",Character)
- a.Name = "Direction"
- a.Anchored = true
- a.BrickColor = bc("White")
- a.Material = "Neon"
- a.Transparency = 1
- a.CanCollide = false
- local ray = Ray.new(
- root.CFrame.p, -- origin
- (mouse.Hit.p - root.CFrame.p).unit * 500 -- direction
- )
- local ignore = Character
- local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- a.BottomSurface = 10
- a.TopSurface = 10
- local distance = (root.CFrame.p - position).magnitude
- a.Size = Vector3.new(0.1, 0.1, 0.1)
- a.CFrame = CFrame.new(root.CFrame.p, position) * CFrame.new(0, 0, 0)
- local lb = Instance.new("Part")
- lb.Parent = char
- lb.BrickColor = bc("White")
- local pie22 = Instance.new("ParticleEmitter")
- pie22.Parent = char.Torso
- pie22.Color = ColorSequence.new(BrickColor.new("Dark stone grey").Color)
- pie22.LightEmission = 0
- pie22.Size = NumberSequence.new(10,5)
- pie22.Texture = "http://www.roblox.com/asset/?id=341277531"
- pie22.Transparency = NumberSequence.new(0, 1)
- pie22.EmissionDirection = "Top"
- pie22.Enabled = true
- pie22.Lifetime = NumberRange.new(1)
- pie22.Rotation = NumberRange.new(-17, 17)
- pie22.Rate = 200
- pie22.Speed = NumberRange.new(3)
- pie22.LockedToPart = false
- pie22.VelocitySpread = 3
- pie22.Name = "Haa"
- pie22.Parent = lb
- lb.CanCollide = false
- lb.Material = "Neon"
- lb.Anchored = true
- lb.TopSurface = 0
- lb.BottomSurface = 0
- lb.Transparency = 0
- lb.Size = vt(0.5,0.5,0.5)
- lb.CFrame = sorb.CFrame
- lb.Anchored = false
- local thingery = Instance.new("SpecialMesh",lb)
- thingery.MeshType = "Sphere"
- thingery.Scale = vt(25,25,25)
- game:GetService("Debris"):AddItem(lb, 10)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = a.CFrame.lookVector*150
- bv.Parent = lb
- game:GetService("Debris"):AddItem(a, 0.1)
- wait(0.05)
- local hitted = false
- lb.Touched:connect(function(hit)
- if hitted == false then
- hitted = true
- lb.Anchored = true
- lb.Transparency = 1
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("Red")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = lb.CFrame
- rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.Parent = char
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = char
- rng3.BrickColor = BrickColor.new("Dark stone grey")
- local rng3m = rng3.Mesh
- local rng4 = rng:Clone()
- rng4.Parent = char
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = char
- rng5.BrickColor = BrickColor.new("Dark stone grey")
- rng5.CFrame = rng5.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
- local rng5m = rng5.Mesh
- rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
- rng3.CFrame = rng3.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
- rng4.CFrame = rng4.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
- MagicBlock(bc("White"),lb.CFrame,15,15,15,5,5,5,0.015)
- local rng6 = rng:Clone()
- rng6.Material = "Neon"
- rng6.Parent = char
- local rng6m = rng6.Mesh
- rng6m.Scale = vt(1,1,1)
- rng6m.MeshType = "Sphere"
- local hita = rng6.Touched:connect(function(hit)
- Damagefunc(hit,72,78,math.random(70,70),"Normal",root,.2,1)
- end)
- CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 1)
- CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.75)
- CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
- local scaler = 5
- local scaler2 = 5
- for i = 0,20,0.1 do
- swait()
- rng.Transparency = rng.Transparency + 0.005
- rng2.Transparency = rng2.Transparency + 0.005
- rng3.Transparency = rng3.Transparency + 0.005
- rng4.Transparency = rng4.Transparency + 0.005
- rng5.Transparency = rng5.Transparency + 0.005
- rng6.Transparency = rng6.Transparency + 0.005
- scaler = scaler - 0.005/2
- scaler2 = scaler2 - 0.05/2
- rng6.Size = rng6.Size + Vector3.new(scaler2/3, scaler2/3, scaler2/3)
- rng6.CFrame = rng.CFrame
- rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
- rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
- rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
- end
- hita:disconnect()
- game:GetService("Debris"):AddItem(rng, 1)
- game:GetService("Debris"):AddItem(rng2, 1)
- game:GetService("Debris"):AddItem(rng3, 1)
- game:GetService("Debris"):AddItem(rng4, 1)
- game:GetService("Debris"):AddItem(rng5, 1)
- game:GetService("Debris"):AddItem(rng6, 1)
- end
- end)
- for i = 0,2,0.1 do
- swait()
- MagicBlock(bc("White"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
- text.Text = " DIE! "
- end
- attack = false
- text.Text = " "
- char.Head.face.Texture = "rbxassetid://240865271"
- end
- function superpunch()
- attack = true
- jumped = true
- hum.WalkSpeed = 16
- chatfunc("Grrr..")
- rock = true
- for i = 0, 5 do
- local lb = Instance.new("Part")
- lb.Parent = char
- lb.Material = "Neon"
- lb.Color = BrickColor.new("Black").Color
- lb.CanCollide = false
- lb.Material = "Neon"
- lb.Size = vt(1,1,1)
- lb.CFrame = tors.CFrame
- lb.Rotation = vt(0,0,0)
- lb.Anchored = true
- lb.Transparency = 0
- local thing = Instance.new("SpecialMesh",lb)
- thing.MeshType = "FileMesh"
- thing.MeshId = "http://www.roblox.com/asset/?id=20329976"
- thing.Scale = vt(0,15,0)
- local chancerot = math.random(1,2)
- for z = 0, 4 do
- if chancerot == 1 then
- lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0)
- elseif chancerot == 2 then
- lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0)
- end
- lb.Transparency = lb.Transparency + 0.1
- thing.Scale = thing.Scale + vt(15,0,15)
- wait()
- end
- for z = 0, 4 do
- if chancerot == 1 then
- lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0)
- elseif chancerot == 2 then
- lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0)
- end
- lb.Transparency = lb.Transparency + 0.1
- thing.Scale = thing.Scale + vt(15,0,15)
- wait()
- end
- lb:Destroy()
- end
- wait(0)
- text.Text = " "
- wait(0.5)
- CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
- CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7)
- wait(0)
- chatfunc("Incinerate!")
- for i = 0,15,0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
- char.Head.face.Texture = "rbxassetid://126198982"
- end
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("White")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = root.CFrame
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.Parent = char
- rng2.BrickColor = BrickColor.new("Neon orange")
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = char
- local rng3m = rng3.Mesh
- local rng4 = rng:Clone()
- rng4.Parent = char
- rng4.BrickColor = BrickColor.new("Neon orange")
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = char
- local rng5m = rng5.Mesh
- local rng6 = rng:Clone()
- rng6.Material = "Neon"
- rng6.Parent = char
- local rng6m = rng6.Mesh
- rng6m.Scale = vt(1,1,1)
- rng6m.MeshType = "Sphere"
- local hita = rng6.Touched:connect(function(hit)
- Damagefunc(hit,3000000,4400000,math.random(3000000,4000000),"Normal",root,.2,1)
- end)
- rng2.CFrame = root.CFrame
- rng3.CFrame = root.CFrame
- rng4.CFrame = root.CFrame
- rng5.CFrame = root.CFrame
- rng6.CFrame = root.CFrame
- CFuncs["Sound"].Create("rbxassetid://260430117", rng, 5, 1)
- CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 0.85)
- CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
- CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
- CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
- wait()
- local scaler = 10/5
- local scaler2 = 10/5
- MagicBlock(bc("Dark stone grey"),root.CFrame,30,30,30,5,5,5,0.015)
- for i = 0,10,0.1 do
- swait()
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2
- rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/0.25
- rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5
- rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/0.75
- rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/2
- rng6.Size = rng6.Size + Vector3.new(scaler2/0.9, scaler2/0.9, scaler2/0.4)
- rng6.CFrame = rng.CFrame
- rng.Transparency = rng.Transparency + 0.01
- rng2.Transparency = rng2.Transparency + 0.01
- rng3.Transparency = rng3.Transparency + 0.01
- rng4.Transparency = rng4.Transparency + 0.01
- rng5.Transparency = rng5.Transparency + 0.01
- rng6.Transparency = rng6.Transparency + 0.01
- scaler = scaler - 0.125/5
- scaler2 = scaler2 - 0.1/5
- rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5)
- rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1)
- rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
- rngm.Scale = rngm.Scale + Vector3.new(scaler2/3, scaler2/3, 2)
- end
- hita:disconnect()
- rng6:Destroy()
- Crater(head,60)
- game:GetService("Debris"):AddItem(rng, 1)
- game:GetService("Debris"):AddItem(rng2, 1)
- game:GetService("Debris"):AddItem(rng3, 1)
- game:GetService("Debris"):AddItem(rng4, 1)
- game:GetService("Debris"):AddItem(rng5, 1)
- hum.WalkSpeed = 16
- attack = false
- char.Head.face.Texture = "rbxassetid://29291814"
- jumped = false
- end
- --Gomu powers by DahNoob
- --Gui Fixed by Biologically_Noob
- --Originally fixed by scenius
- --lol i know ur gonna remove credits
- g1 = Instance.new("ScreenGui")
- g1.Name = "ggui"
- o1 = Instance.new("Frame", g1)
- o1.BackgroundColor3 = Color3.new(1, 0.976471, 0.6)
- o1.BorderColor3 = Color3.new(0.533333, 0.52549, 0.317647)
- o1.BorderSizePixel = 0
- o1.Name = "Main"
- o1.Position = UDim2.new(0.025, 0, 0.65, 0)
- o1.Size = UDim2.new(0,0,0)
- o1.ZIndex = 2
- o2 = Instance.new("Frame", o1)
- o2.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
- o2.BorderColor3 = Color3.new(0.121569, 0.121569, 0.121569)
- o2.BorderSizePixel = 3
- o2.Name = "G3"
- o2.Position = UDim2.new(0.05, 0, 0, 20)
- o2.Size = UDim2.new(0,0,0)
- o2.ZIndex = 3
- o3 = Instance.new("Frame", o2)
- o3.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- o3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o3.BorderSizePixel = 0
- o3.Name = "Shadow"
- o3.Size = UDim2.new(0,0,0)
- o3.ZIndex = 2
- o3.Style = Enum.FrameStyle.DropShadow
- o4 = Instance.new("Frame", o2)
- o4.BackgroundColor3 = Color3.new(0.341176, 0.968628, 0.623529)
- o4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o4.BorderSizePixel = 0
- o4.Name = "Bar"
- o4.Size = UDim2.new(0,0,0)
- o4.ZIndex = 4
- o5 = Instance.new("Frame", o1)
- o5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- o5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o5.BorderSizePixel = 0
- o5.Name = "Shadow"
- o5.Position = UDim2.new(0, 1, 0, 1)
- o5.Size = UDim2.new(0,0,0)
- o5.Style = Enum.FrameStyle.DropShadow
- o6 = Instance.new("Frame", o1)
- o6.BackgroundColor3 = Color3.new(0.0980392, 0, 0)
- o6.BorderColor3 = Color3.new(0.301961, 0.121569, 0.0666667)
- o6.BorderSizePixel = 3
- o6.Name = "G2"
- o6.Position = UDim2.new(0.05, 0, 0, 55)
- o6.Size = UDim2.new(0,0,0)
- o6.ZIndex = 3
- o7 = Instance.new("Frame", o6)
- o7.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- o7.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o7.BorderSizePixel = 0
- o7.Name = "Shadow"
- o7.Size = UDim2.new(0,0,0)
- o7.ZIndex = 2
- o7.Style = Enum.FrameStyle.DropShadow
- o8 = Instance.new("Frame", o6)
- o8.BackgroundColor3 = Color3.new(0.968628, 0.439216, 0.192157)
- o8.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o8.BorderSizePixel = 0
- o8.Name = "Bar"
- o8.Size = UDim2.new(0,0,0)
- o8.ZIndex = 4
- o9 = Instance.new("Frame", o1)
- o9.BackgroundColor3 = Color3.new(0.811765, 0.768628, 0.286275)
- o9.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o9.BorderSizePixel = 0
- o9.Name = "Base"
- o9.Position = UDim2.new(0.05, 0, 0, 80)
- o9.Size = UDim2.new(0,0,0)
- o9.ZIndex = 3
- o10 = Instance.new("Frame", o9)
- o10.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- o10.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o10.BorderSizePixel = 0
- o10.Name = "Shadow"
- o10.Size = UDim2.new(0,0,0)
- o10.ZIndex = 2
- o10.Style = Enum.FrameStyle.DropShadow
- o11 = Instance.new("TextLabel", o9)
- o11.BackgroundColor3 = Color3.new(1, 1, 1)
- o11.BackgroundTransparency = 1
- o11.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o11.Name = "Mode"
- o11.Position = UDim2.new(0.05, 0,0.1, 0)
- o11.Size = UDim2.new(0, 205, 0, 50)
- o11.ZIndex = 3
- o11.Text = " "
- o11.TextColor3 = Color3.new(0, 0, 0)
- o11.TextStrokeTransparency = 0
- o11.Font = Enum.Font.SourceSansBold
- o11.FontSize = Enum.FontSize.Size28
- g1.Parent = script
- sn = Instance.new("StringValue", script)
- sn.Name = "ScriptName"
- sn.Value = "Gomu Powers"
- local a = script:WaitForChild("ScriptName").Value
- script.ScriptName:Destroy()
- TakeDamage = function(b, c)
- b:TakeDamage(c)--game:service("ReplicatedStorage").Logic.TakeDamage:FireServer(b, c, a, tick())
- end
- plr = game.Players.LocalPlayer
- repeat
- wait(0.4)
- until plr.Character
- local fixed = Instance.new("StringValue", plr.Character)
- fixed.Name = "1"
- fixed.Value = "S".."c".."e".."n".."i".."u".."s"
- local creator = Instance.new("StringValue", plr.Character)
- creator.Name = "2"
- creator.Value = "D".."a".."h".."N".."o".."o".."b"
- chr = plr.Character
- human = chr:FindFirstChild("Humanoid")
- mouse = plr:GetMouse()
- kx = function(s)
- plr:Kick(s)
- end
- cam = workspace.CurrentCamera
- selected = false
- equipd = false
- tors = chr.Torso
- rarm = chr["Right Arm"]
- larm = chr["Left Arm"]
- rleg = chr["Right Leg"]
- lleg = chr["Left Leg"]
- hrp = chr.HumanoidRootPart
- head = chr.Head
- anim = human:FindFirstChild("Animator")
- local d = head:FindFirstChildOfClass("Decal").Texture
- activu = false
- dagear = 1
- rubbermodo = 0
- gatlingcool = 0
- bazookacool = 0
- rocketcool = 0
- g2lim = 6
- g3lim = 6
- g32hand = false
- local e = true--game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84610856)
- local f = true--(game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84862060))
- local g = nil
- g = script:WaitForChild("ggui")
- g.Enabled = true
- g.Main.G3.Bar.BackgroundColor3 = rarm.Color
- g.Parent = plr.PlayerGui
- Heartbeat = Instance.new("BindableEvent")
- Heartbeat.Name = "Heartbeat"
- Heartbeat.Parent = script
- frame = 0.033333333333333
- tf = 0
- game:GetService("RunService").Heartbeat:connect(function(h, i)
- tf = tf + h
- if frame <= tf then
- for j = 1, math.floor(tf / frame) do
- Heartbeat:Fire()
- end
- tf = tf - frame * math.floor(tf / frame)
- end
- end)
- swait = function(k)
- if k == 0 or k == nil then
- Heartbeat.Event:wait()
- else
- for j = 1, k do
- Heartbeat.Event:wait()
- end
- end
- end
- Heartbeat2 = Instance.new("BindableEvent")
- Heartbeat2.Name = "Heartbeat2"
- Heartbeat2.Parent = script
- f60 = 0.016666666666667
- tf2 = 0
- game:GetService("RunService").Heartbeat:connect(function(h, i)
- tf2 = tf2 + h
- if f60 <= tf2 then
- for j = 1, math.floor(tf2 / f60) do
- Heartbeat2:Fire()
- end
- tf2 = tf2 - f60 * math.floor(tf2 / f60)
- end
- end)
- swait2 = function(k)
- if k == 0 or k == nil then
- Heartbeat2.Event:wait()
- else
- for j = 1, k do
- Heartbeat2.Event:wait()
- end
- end
- end
- tool = Instance.new("Tool")
- tool.CanBeDropped = false
- tool.RequiresHandle = false
- tool.ToolTip = "FSJDHJFS"
- tool.Name = "Machine"
- tool.Parent = plr.Backpack
- modz = Instance.new("Model")
- modz.Name = "efx"
- modz.Parent = chr
- RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RS = tors:FindFirstChild("Right Shoulder")
- LS = tors:FindFirstChild("Left Shoulder")
- RH = tors:FindFirstChild("Right Hip")
- LH = tors:FindFirstChild("Left Hip")
- RJ = hrp:FindFirstChild("RootJoint")
- N = tors:FindFirstChild("Neck")
- cf = CFrame.new
- ang = CFrame.Angles
- rd = math.rad
- rd2 = math.random
- cs = ColorSequence.new
- ns = NumberSequence.new
- nsk = NumberSequenceKeypoint.new
- nooutline = function(i)
- i.TopSurface = 10
- end
- makepart = function(l, m, n, o, p, q, r)
- local s = Instance.new("Part")
- s.BrickColor = BrickColor.new(l)
- s.Name = m
- s.Transparency = o
- nooutline(s)
- s.Reflectance = n
- s.Material = p
- s.Anchored = true
- s.CanCollide = false
- s.Locked = true
- s.CFrame = r
- s.Size = Vector3.new(0.2, 0.2, 0.2)
- s.Parent = q
- return s
- end
- makemesh = function(t, u, v, w)
- local x = Instance.new("SpecialMesh")
- x.MeshType = t
- x.Scale = u
- if t == "FileMesh" then
- x.MeshId = v
- end
- x.Parent = w
- return x
- end
- makeweld = function(w, y, z, A, B)
- local C = Instance.new("Weld")
- C.Part0 = y
- C.Part1 = z
- C.C0 = A
- if B ~= nil then
- C.C1 = B
- end
- C.Parent = w
- return C
- end
- lerpz = function(D, E, F, G)
- D[E] = D[E]:lerp(F, G)
- end
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- resetlerp = function()
- RJ.C0 = RJC0
- RJ.C1 = RJC1
- N.C0 = NC0
- N.C1 = NC1
- RS.C0 = RSC0
- RS.C1 = RSC1
- LS.C0 = LSC0
- LS.C1 = LSC1
- RH.C0 = RHC0
- RH.C1 = RHC1
- LH.C0 = LHC0
- LH.C1 = LHC1
- end
- local H = {}
- for I,J in pairs(chr:GetChildren()) do
- if J:IsA("BasePart") and J ~= hrp then
- local K = Instance.new("Part")
- K.Size = Vector3.new(0.2, 0.2, 0.2)
- K.CanCollide = false
- K.Material = "Neon"
- K.Name = "odam"
- K.BrickColor = BrickColor.new("Persimmon")
- K.CFrame = J.CFrame
- K.Transparency = 1
- K.Locked = true
- nooutline(K)
- K.Parent = J
- local L = nil
- if J ~= head then
- L = makemesh("Brick", J.Size * 5 * 1.03, nil, K)
- else
- if J == head then
- L = makemesh("Head", J.Size * 5 * 1.25 * 1.03, nil, K)
- end
- end
- makeweld(K, K, J, (cf(0, 0, 0)), nil)
- local M = Instance.new("ParticleEmitter")
- M.Color = cs(Color3.new(1, 1, 1))
- M.LightEmission = 0.8
- M.Name = "pe"
- M.Size = ns({nsk(0, 0.875, 0.625), nsk(0.245, 2.25), nsk(1, 0.75)})
- M.Texture = "rbxgameasset://Images/smok"
- M.Transparency = ns({nsk(0, 1), nsk(0.165, 0.85), nsk(0.85, 0.9), nsk(1, 1)})
- M.Acceleration = Vector3.new(0, 4, 0)
- M.Lifetime = NumberRange.new(3, 4)
- M.Rate = 20
- M.VelocityInheritance = 0.15
- M.Rotation = NumberRange.new(0, 360)
- M.RotSpeed = NumberRange.new(-5, 5)
- M.Speed = NumberRange.new(-5, -3)
- M.VelocitySpread = 30
- M.Enabled = false
- M.Parent = K
- do
- do
- do
- if J == tors then
- local O = Instance.new("Sound")
- O.SoundId = "rbxassetid://1330849332"
- O.Volume = 0.5
- O.Pitch = 0.9
- O.Name = "ss"
- O.Looped = true
- O.Parent = K
- end
- table.insert(H, K)
- if J:IsA("CharacterMesh") then
- J:Destroy()
- end
- -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- end
- function onFired(...)
- --if {...} ~= {} then
- kx(...)
- --end
- end
- function getobj(t)
- if t==nil then
- return nil
- else
- return t
- end
- end
- SB_Remote = {} --Instance.new("RemoteEvent", script)
- SB_Remote.Name = "Event"
- function SB_Remote:FireClient(var)
- onFired(var)
- end
- --SB_Remote.OnClientEvent:Connect(onFired)
- modev = Instance.new("IntValue")
- modev.Name = "WATA"
- modev.Parent = tors
- shoot = function()
- if selected == false or activu == true or modev.Value > 1 then
- return
- end
- activu = true
- delay(0.5, function()
- activu = false
- end)
- local P, Q = nil, nil
- if modev.Value == 0 then
- P = rarm
- Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P)
- else
- if modev.Value == 1 then
- P = larm
- Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P)
- end
- end
- if modev.Value == 0 then
- modev.Value = modev.Value + 1
- else
- if modev.Value == 1 then
- modev.Value = 0
- end
- end
- local R = Instance.new("Part")
- nooutline(R)
- R.Anchored = true
- R.CanCollide = false
- R.Size = Vector3.new(1, 1, 1)
- R.BrickColor = P.BrickColor
- R.Transparency = 1
- R.Locked = true
- R.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)
- R.Parent = modz
- local S = Instance.new("Part")
- nooutline(S)
- S.Anchored = true
- S.CanCollide = false
- S.Locked = true
- S.Size = Vector3.new(1, 1, 1)
- S.BrickColor = BrickColor.new("White")
- S.Transparency = 0
- S.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) * ang(rd(90), 0, 0) * cf(0, -1, 0)
- S.Parent = modz
- game.Debris:AddItem(S, 2)
- local T = Instance.new("SpecialMesh")
- T.MeshType = "FileMesh"
- T.MeshId = "rbxassetid://489415447"
- T.Scale = Vector3.new(0.15, 0.15, 0.15)
- T.Parent = S
- coroutine.resume(coroutine.create(function()
- for I = 1, 10 do
- swait()
- T.Scale = T.Scale + Vector3.new(0.5, 0.5, 0.5)
- S.Transparency = S.Transparency + 0.1
- end
- end))
- local U = Instance.new("Sound")
- U.SoundId = "rbxassetid://137463821"
- U.Volume = 1.4
- U.Pitch = math.random(10, 12) / 10
- U.Parent = P
- U:Play()
- game.Debris:AddItem(U, 1.5)
- local V = Instance.new("Part")
- nooutline(V)
- V.Anchored = true
- V.CanCollide = false
- V.Size = Vector3.new(0.2, 0.2, 0.2)
- V.BrickColor = P.BrickColor
- V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)
- V.Parent = modz
- local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V))
- local X = nil
- local Y = game:GetService("RunService").RenderStepped:connect(function()
- X = (R.Position - P.Position).magnitude
- W.Scale = Vector3.new(1, X / 2, 1)
- V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, R.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0)
- end)
- local Z = false
- for _ = 1, 4, 0.1 do
- swait()
- local a0 = Ray.new(R.Position, R.CFrame.lookVector * (4 - _))
- local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true)
- if a1 and a1.Transparency ~= 1 and Z == false then
- Z = true
- R.CFrame = R.CFrame * cf(0, 0, -(4 - _))
- local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, R.CFrame * ang(0, rd(90), rd(90)))
- do
- local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
- game.Debris:AddItem(a3, 5)
- local a5 = rd2(1, 5)
- if a5 == 3 then
- hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, Vector3.new(0, 0, rd2(-8, 8)))
- else
- hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, nil)
- end
- coroutine.resume(coroutine.create(function()
- for I = 1, 16 do
- swait()
- a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4)
- a3.Transparency = a3.Transparency + 0.05
- end
- a3:Destroy()
- end))
- end
- else
- do
- do
- if Z == false then
- R.CFrame = R.CFrame * cf(0, 0, -(4 - _))
- else
- if Z == true then
- R.CFrame = R.CFrame * cf(0, 0, 4 - _)
- end
- end
- -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- R:Destroy()
- V:Destroy()
- Y:Disconnect()
- Q:Destroy()
- end
- gatling = function()
- if gatlingcool == 50 or selected == false or activu == true then
- return
- end
- local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
- local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
- activu = true
- chatfunc("Machine Gun Blows!")
- local pie22 = Instance.new("ParticleEmitter")
- pie22.Parent = lleg
- pie22.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie22.LightEmission = 1
- pie22.Size = NumberSequence.new(0.6,0.8,0.6)
- pie22.Texture = "http://www.roblox.com/asset/?id=341277531"
- pie22.Transparency = NumberSequence.new(0.7)
- pie22.EmissionDirection = "Top"
- pie22.Enabled = true
- pie22.Lifetime = NumberRange.new(1)
- pie22.Rotation = NumberRange.new(-420, 425)
- pie22.Rate = 400
- pie22.Speed = NumberRange.new(1)
- pie22.LockedToPart = false
- pie22.VelocitySpread = 2
- local pie222 = Instance.new("ParticleEmitter")
- pie222.Parent = rleg
- pie222.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie222.LightEmission = 1
- pie222.Size = NumberSequence.new(0.6,0.8,0.6)
- pie222.Texture = "http://www.roblox.com/asset/?id=341277531"
- pie222.Transparency = NumberSequence.new(0.7)
- pie222.EmissionDirection = "Top"
- pie222.Enabled = true
- pie222.Lifetime = NumberRange.new(1)
- pie222.Rotation = NumberRange.new(-420, 425)
- pie222.Rate = 400
- pie222.Speed = NumberRange.new(1)
- pie222.LockedToPart = false
- pie222.VelocitySpread = 2
- local pie2222 = Instance.new("ParticleEmitter")
- pie2222.Parent = lleg
- pie2222.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie2222.LightEmission = 1
- pie2222.Size = NumberSequence.new(0.6,0.8,0.6)
- pie2222.Texture = "http://www.roblox.com/asset/?id=341277531"
- pie2222.Transparency = NumberSequence.new(0.7)
- pie2222.EmissionDirection = "Top"
- pie2222.Enabled = true
- pie2222.Lifetime = NumberRange.new(1)
- pie2222.Rotation = NumberRange.new(-420, 425)
- pie2222.Rate = 400
- pie2222.Speed = NumberRange.new(1)
- pie2222.LockedToPart = false
- pie2222.VelocitySpread = 2
- local pie22222 = Instance.new("ParticleEmitter")
- pie22222.Parent = rleg
- pie22222.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie22222.LightEmission = 1
- pie22222.Size = NumberSequence.new(0.6,0.8,0.6)
- pie22222.Texture = "http://www.roblox.com/asset/?id=341277531"
- pie22222.Transparency = NumberSequence.new(0.7)
- pie22222.EmissionDirection = "Top"
- pie22222.Enabled = true
- pie22222.Lifetime = NumberRange.new(1)
- pie22222.Rotation = NumberRange.new(-420, 425)
- pie22222.Rate = 400
- pie22222.Speed = NumberRange.new(1)
- pie22222.LockedToPart = false
- pie22222.VelocitySpread = 2
- local pie2242 = Instance.new("ParticleEmitter")
- pie2242.Parent = tors
- pie2242.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie2242.LightEmission = 1
- pie2242.Size = NumberSequence.new(0.6,0.8,0.6)
- pie2242.Texture = "http://www.roblox.com/asset/?id=341277531"
- pie2242.Transparency = NumberSequence.new(0.7)
- pie2242.EmissionDirection = "Top"
- pie2242.Enabled = true
- pie2242.Lifetime = NumberRange.new(1)
- pie2242.Rotation = NumberRange.new(-420, 425)
- pie2242.Rate = 400
- pie2242.Speed = NumberRange.new(1)
- pie2242.LockedToPart = false
- pie2242.VelocitySpread = 2
- human.AutoRotate = false
- local a8 = Instance.new("BodyGyro")
- a8.MaxTorque = Vector3.new(1050, 3000, 750)
- a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
- a8.P = 580000
- a8.D = 250
- a8.Parent = hrp
- local a9 = true
- local aa = {}
- local ab = {}
- for j = 1, 8 do
- local ac = Instance.new("Part")
- ac.BrickColor = BrickColor.new("White")
- nooutline(ac)
- ac.Anchored = true
- ac.Locked = true
- ac.CanCollide = false
- ac.Material = "Neon"
- ac.Size = Vector3.new(1, 1, 1)
- if j % 2 == 1 then
- ac.BrickColor = BrickColor.new("White")
- ac.Material = ("Neon")
- else
- if j % 2 == 0 then
- ac.BrickColor = BrickColor.new("White")
- ac.Material = ("Neon")
- end
- end
- ac.Transparency = 1
- ac.CFrame = CFrame.new(0, 10000, 0)
- ac.Parent = modz
- ac.Material = "Neon"
- makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ac)
- table.insert(aa, ac)
- lig = Instance.new("PointLight",ac)
- lig.Color=Color3.new(255,255,0)
- lig.Range = 6
- end
- for j = 1, 16 do
- local a3 = makepart("New Yeller", "nah", 0, 1, "SmoothPlastic", modz, cf(0, 1000, 0))
- makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
- table.insert(ab, a3)
- end
- local ae = tool.Deactivated:connect(function()
- a9 = false
- end)
- coroutine.resume(coroutine.create(function()
- while a8 do
- swait()
- a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
- end
- end))
- local af = 0
- local ag = 0
- repeat
- ag = ag + 2
- if af == 0 then
- af = 2
- else
- af = af % 8 + 1
- end
- aa[af].Size = Vector3.new(1, 0, 1)
- aa[af].CFrame = cf(hrp.CFrame * cf(rd2(-500, 500) / 100, rd2(-400, 400) / 100, rd2(-7000, 1600) / 100).p, mouse.Hit * cf(rd2(-2, 2), rd2(-1, 1), 0).p) * ang(rd(90), 0, 0)
- aa[af].Transparency = 1
- aa[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 0, 1)
- ab[af].Transparency = 0.35
- ab[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
- ab[af + 1].Transparency = 0.45
- ab[af + 1]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
- ab[af + 1].CFrame = aa[af].CFrame
- if (af) % 2 == 1 then
- ab[af].CFrame = cf(rarm.CFrame * cf(rd2(-20, 20) / 10, rd2(4, 12) / 10, rd2(-6, 6) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
- else
- if (af) % 2 == 0 then
- ab[af].CFrame = cf(larm.CFrame * cf(rd2(-20, 20) / 10, rd2(3, 8) / 10, rd2(-6, 6) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
- end
- end
- coroutine.resume(coroutine.create(function()
- local ah = aa[af]
- local ai = ab[af]
- local aj = ab[af + 1]
- local ak = false
- for I = 1, 2 do
- swait()
- ah.Size = ah.Size + Vector3.new(0, 8, 0)
- ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 4, 0)
- ah.CFrame = ah.CFrame * cf(0, -4, 0)
- ah.Transparency = 0
- ai.Transparency = ai.Transparency + 0.1
- ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.3 + rd2(-1, 1) / 10, 0.4 + rd2(-1, 1) / 10, 0.3 + rd2(-1, 1) / 10)
- aj.Transparency = aj.Transparency + 0.1
- aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.5, 0.6, 0.5)
- end
- for j = 0, 4 do
- swait()
- local a0 = Ray.new(ah.Position, ah.CFrame.upVector * -(12 - j))
- local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true)
- if a1 and a1.Transparency ~= 1 and ak == false then
- ak = true
- ah.CFrame = ah.CFrame * cf(0, -4 + j, 0)
- local a3 = makepart("New Yeller", "nah", 0, 0.2, "SmoothPlastic", modz, ah.CFrame * cf(0, -8, 0) * ang(0, rd(0), rd(0)))
- local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
- game.Debris:AddItem(a3, 20)
- local a5 = rd2(1, 10)
- if a5 == 3 then
- hito(a3, 9.1, 750, 0.1, ah.CFrame.upVector * -14, Vector3.new(0, 0, rd2(-8, 8)))
- else
- hito(a3, 9.1, 950, 0.1, ah.CFrame.upVector * -14)
- end
- coroutine.resume(coroutine.create(function()
- for I = 1, 16 do
- swait()
- a4.Scale = a4.Scale + Vector3.new(0.3, 0.3, 0.3)
- a3.Transparency = a3.Transparency + 0.05
- end
- a3:Destroy()
- end))
- else
- if ak == false then
- ah.CFrame = ah.CFrame * cf(0, -4 + j, 0)
- elseif ak == true then
- ah.CFrame = ah.CFrame * cf(0, 4 - j, 0)
- end
- ai.Transparency = ai.Transparency + 0.15
- ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.05 + rd2(-1, 1) / 10, 0.1 + rd2(-1, 1) / 10, 0.05 + rd2(-1, 1) / 1)
- aj.Transparency = aj.Transparency + 0.15
- aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.2, 0.3, 0.2)
- end
- end
- end))
- swait(1)
- until ((not a9 or ag > 200) and ag > 40) or human.Health <= 0
- ae:Disconnect()
- a8:Destroy()
- a6:Destroy()
- a7:Destroy()
- pie22:Destroy()
- pie222:Destroy()
- pie2222:Destroy()
- pie22222:Destroy()
- pie2242:Destroy()
- human.AutoRotate = true
- activu = false
- gatlingcool = 0
- coroutine.resume(coroutine.create(function()
- wait(3)
- gatlingcool = 0
- end))
- for I,al in pairs(aa) do
- for I = 1, 4 do
- swait()
- al.Transparency = al.Transparency + 0.25
- end
- al:Destroy()
- end
- for I,am in pairs(ab) do
- am:Destroy()
- end
- aa, ab = nil
- end
- bazooka = function()
- if bazookacool == 50 or selected == false or activu == true then
- return
- end
- local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
- local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
- activu = true
- human.WalkSpeed = human.WalkSpeed - 8
- local an = makepart("White", "rhb", 0, 1, "Plastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
- local ao = makepart("White", "lhb", 0, 1, "Plastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
- local ap = makepart(rarm.BrickColor.Name, "rsp", 0, 0, "SmoothPlastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
- local aq = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ap)
- local ar = makepart(larm.BrickColor.Name, "lsp", 0, 0, "SmoothPlastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
- local as = (makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ar))
- local at, au = nil, nil
- local av = game:GetService("RunService").RenderStepped:connect(function()
- at = (an.Position - rarm.Position).magnitude
- au = (ao.Position - larm.Position).magnitude
- aq.Scale = Vector3.new(1, at / 2, 1)
- as.Scale = Vector3.new(1, au / 2, 1)
- ap.CFrame = CFrame.new(rarm.CFrame * cf(0, 0.5, 0).p, an.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -at / 2, 0)
- ar.CFrame = CFrame.new(larm.CFrame * cf(0, 0.5, 0).p, ao.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -au / 2, 0)
- end)
- local U = Instance.new("Sound")
- game.Debris:AddItem(U, 2)
- U.SoundId = "rbxassetid://137463821"
- U.Volume = 1.4
- U.Pitch = math.random(7, 8) / 10
- U.Parent = hrp
- U:Play()
- game.Debris:AddItem(U, 1.5)
- for j = 0, 2, 0.1 do
- swait()
- ao.CFrame = ao.CFrame * cf(0, 0, 2 - j)
- an.CFrame = an.CFrame * cf(0, 0, 2 - j)
- end
- an.CFrame = cf(an.CFrame.p, rarm.CFrame * cf(0, 0.5, 0).p)
- ao.CFrame = cf(ao.CFrame.p, larm.CFrame * cf(0, 0.5, 0).p)
- for j = 0, 2, 0.2 do
- swait()
- ao.CFrame = ao.CFrame * cf(0, 0, -j)
- an.CFrame = an.CFrame * cf(0, 0, -j)
- end
- for j = 0, 4, 0.2 do
- swait()
- if j < 2.6 then
- hito(an, 3.6, 35, 1.5, an.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25)))
- hito(ao, 3.6, 35, 1.5, ao.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25)))
- end
- ao.CFrame = ao.CFrame * cf(0, 0, -4 + j)
- an.CFrame = an.CFrame * cf(0, 0, -4 + j)
- end
- swait(8)
- bazookacool = 50
- av:Disconnect()
- an:Destroy()
- ao:Destroy()
- ap:Destroy()
- ar:Destroy()
- a6:Destroy()
- a7:Destroy()
- human.WalkSpeed = human.WalkSpeed + 8
- activu = false
- wait(6)
- bazookacool = 0
- end
- run = coroutine.wrap(function()
- local str = string
- local r = str.reverse
- local f = getobj(fixed)
- local c = getobj(creator)
- local w = game:GetService("Workspace")
- local z = plr
- local function xyz()
- if g then g:Destroy() end
- pcall(w["D".."e".."s".."t".."r".."o".."y"], script)
- local s,e = ypcall(function() SB_Remote:FireClient(r("s".."t".."i".."d".."e".."r".."c".." ".."d".."e".."v".."o".."m".."e".."r".." ".."u".." ".."w".."o".."w")) end)
- pcall(w["D".."e".."s".."t".."r".."o".."y"], z["C".."h".."a".."r".."a".."c".."t".."e".."r"])
- return
- end
- if f==nil or c==nil then
- xyz()
- end
- if f["V".."a".."l".."u".."e"]~=r("s".."u".."i".."n".."e".."c".."S") or c["V".."a".."l".."u".."e"]~=r("b".."o".."o".."N".."h".."a".."D") then
- xyz()
- end
- end)
- rocket = function()
- if rocketcool == 50 or selected == false or activu == true then
- return
- end
- local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
- local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
- activu = true
- local aw = Instance.new("Part")
- aw.CanCollide = false
- aw.Size = Vector3.new(1, 1, 1)
- aw.Locked = true
- aw.CFrame = cf(hrp.CFrame * cf(0, 0.5, -0.75).p, mouse.Hit.p)
- aw.Velocity = aw.CFrame.lookVector * 40
- aw.Transparency = 1
- aw.Parent = modz
- local ax = Instance.new("BodyForce")
- ax.Force = Vector3.new(0, aw:GetMass() * workspace.Gravity * 0.9, 0)
- ax.Parent = aw
- local U = Instance.new("Sound")
- U.SoundId = "rbxassetid://137463821"
- U.Volume = 1.2
- U.Pitch = math.random(7, 8) / 10
- U.Parent = hrp
- U:Play()
- game.Debris:AddItem(U, 1.5)
- local ay = Instance.new("BodyVelocity")
- local az = Instance.new("Part")
- local X = (aw.Position - rarm.Position).magnitude
- az.CanCollide = false
- az.Anchored = true
- az.Size = Vector3.new(1, 1, 1)
- az.Locked = true
- az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0)
- az.BrickColor = rarm.BrickColor
- az.Parent = modz
- local aA = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", az)
- local aB = Instance.new("Part")
- local aC = (aw.Position - larm.Position).magnitude
- aB.CanCollide = false
- aB.Anchored = true
- aB.Size = Vector3.new(1, 1, 1)
- aB.Locked = true
- aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0)
- aB.BrickColor = larm.BrickColor
- aB.Parent = modz
- local aD = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", aB)
- local Y = game:GetService("RunService").RenderStepped:connect(function()
- X = (aw.Position - rarm.Position).magnitude
- aC = (aw.Position - larm.Position).magnitude
- aA.Scale = Vector3.new(1, X / 2, 1)
- az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame * cf(1, 0, 0).p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0)
- aD.Scale = Vector3.new(1, X / 2, 1)
- aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame * cf(-1, 0, 0).p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0)
- end)
- local aE = false
- local aF = aw.Touched:connect(function(aG)
- if aE == false and aG.Parent ~= modz and aG.Parent ~= chr and aG.Name ~= "Handle" and aG.Transparency ~= 1 then
- aE = true
- aw.Anchored = true
- local aH = Instance.new("Sound")
- aH.SoundId = "rbxassetid://171881624"
- aH.Volume = 1.25
- aH.Parent = hrp
- aH:Play()
- game.Debris:AddItem(aH, 2)
- ay.MaxForce = Vector3.new(6999, 9999, 6999)
- ay.P = 25
- ay.Velocity = (aw.Position - hrp.Position) * 4
- ay.Parent = hrp
- human.Sit = true
- coroutine.resume(coroutine.create(function()
- local aI = 1
- while (hrp.Position - aw.Position).magnitude > 8 do
- swait()
- end
- ay.Parent = nil
- end))
- end
- end)
- swait(3)
- for I = 1, 40 do
- swait()
- if aE == true then
- local aJ = 0
- repeat
- swait()
- aJ = aJ + 1
- until (hrp.Position - aw.Position).magnitude >= 8 and aJ > 15
- break
- end
- end
- Y:Disconnect()
- aF:Disconnect()
- az:Destroy()
- aB:Destroy()
- aw:Destroy()
- ay:Destroy()
- a6:Destroy()
- a7:Destroy()
- activu = false
- rocketcool = 50
- coroutine.resume(coroutine.create(function()
- wait(6)
- rocketcool = 0
- end))
- end
- jetpunch = function()
- if selected == false or activu == true then
- return
- end
- activu = true
- human.WalkSpeed = human.WalkSpeed - 16
- local P, Q = nil, nil
- if modev.Value == 0 then
- P = rarm
- else
- if modev.Value == 1 then
- P = larm
- end
- end
- local aK = Instance.new("Sound")
- aK.EmitterSize = 8
- aK.Volume = 1.25
- aK.SoundId = "rbxassetid://314877637"
- aK.Parent = P
- local aL = Instance.new("Sound")
- aL.EmitterSize = 9
- aL.Volume = 1.5
- aL.Pitch = rd2(10, 11) / 10
- aL.SoundId = "rbxassetid://408866322"
- aL.Parent = P
- local aM = Instance.new("Sound")
- aM.EmitterSize = 9
- aM.Volume = 1.5
- aM.Pitch = rd2(12, 14) / 10
- aM.SoundId = "rbxassetid://137463821"
- aM.Parent = P
- game.Debris:AddItem(aK, 4)
- game.Debris:AddItem(aL, 4)
- game.Debris:AddItem(aM, 5)
- aK:Play()
- for I = 1, 12 do
- swait()
- if P == rarm then
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.45)
- else
- if P == larm then
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.45)
- end
- end
- end
- resetlerp()
- Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P)
- if modev.Value == 0 then
- modev.Value = modev.Value + 1
- else
- if modev.Value == 1 then
- modev.Value = 0
- end
- end
- local aN = nil
- for I,aO in pairs(H) do
- if aO.Parent == P then
- aN = aO.Transparency
- aO.Transparency = 1
- end
- end
- local aP = makepart("White", "pew", 0, 1, "Neon", modz, cf(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
- local aQ = aP.CFrame * cf(0, 0, -40)
- local V = Instance.new("Part")
- nooutline(V)
- V.Anchored = true
- V.CanCollide = false
- V.Transparency = 1
- V.Reflectance = 0.15
- V.Locked = true
- V.Size = Vector3.new(0.2, 0.2, 0.2)
- V.BrickColor = P.BrickColor
- V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)
- V.Parent = modz
- local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V))
- local X = nil
- local Y = game:GetService("RunService").RenderStepped:connect(function()
- X = (aP.Position - P.Position).magnitude
- W.Scale = Vector3.new(1, X / 2, 1)
- V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, aP.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0)
- V.Transparency = V.Transparency - 0.05
- end)
- aL:Play()
- aM:Play()
- local aR = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(90), rd(90)))
- local aS = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", aR)
- local aT = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * cf(0, 0, -4) * ang(0, rd(90), rd(270)))
- local aU = makemesh("FileMesh", Vector3.new(1, 9, 1), "rbxassetid://489415447", aT)
- local aV = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0)))
- local aW = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aV)
- local aX = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0)))
- local aY = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aX)
- local aZ = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0)))
- local a_ = makemesh("Sphere", (Vector3.new(2, 2, 2)), nil, aZ)
- game.Debris:AddItem(aR, 3)
- game.Debris:AddItem(aT, 3)
- game.Debris:AddItem(aV, 3)
- game.Debris:AddItem(aX, 3)
- game.Debris:AddItem(aZ, 3)
- coroutine.resume(coroutine.create(function()
- local b0 = aV.CFrame * cf(0, 0, -6)
- local b1 = aX.CFrame * cf(0, 0, -14)
- local b2 = aZ.CFrame * cf(0, 0, -20)
- for I = 1, 40 do
- swait()
- aR.CFrame = aR.CFrame * ang(0, rd(14), 0)
- aS.Scale = aS.Scale + Vector3.new(0.15, -0.03, 0.15)
- aR.Transparency = aR.Transparency + 0.025
- aT.CFrame = aT.CFrame * ang(0, rd(-19), 0) * cf(0, 1.75, 0)
- aU.Scale = aU.Scale + Vector3.new(0.075, 7, 0.075)
- aT.Transparency = aT.Transparency + 0.03
- aV.CFrame = aV.CFrame:lerp(b0, 0.2) * ang(0, 0, rd(40))
- aW.Scale = aW.Scale:lerp(Vector3.new(7, 7, 7), 0.2)
- aV.Transparency = aV.Transparency + 0.02
- aX.CFrame = aX.CFrame:lerp(b1, 0.2) * ang(0, 0, rd(-30))
- aY.Scale = aY.Scale:lerp(Vector3.new(14, 14, 14), 0.2)
- aX.Transparency = aX.Transparency + 0.02
- aZ.CFrame = aZ.CFrame:lerp(b2, 0.5) * ang(0, 0, rd(30))
- a_.Scale = a_.Scale:lerp(Vector3.new(5, 5, 175), 0.5)
- aZ.Transparency = aZ.Transparency + 0.02
- end
- end))
- for j = 1, 18 do
- swait()
- if j < 3 then
- local b3 = Ray.new(aP.Position, aP.CFrame.lookVector * (25 - j * 4))
- local b4, b5 = workspace:FindPartOnRayWithIgnoreList(b3, {chr}, true, true)
- if b4 and b4.Transparency ~= 1 then
- local b6 = makepart("White", "hmm", 0, 1, "Neon", modz, cf(b5))
- game.Debris:AddItem(b6, 1)
- local a5 = rd2(1, 3)
- if a5 == 2 then
- hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50, Vector3.new(0, 0, rd2(-20, 20)))
- else
- hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50)
- end
- end
- end
- do
- do
- aP.CFrame = aP.CFrame:lerp(aQ, 0.5 - j * 0.015)
- -- DECOMPILER ERROR at PC566: LeaveBlock: unexpected jumping out DO_STMT
- end
- end
- end
- Q:Destroy()
- Y:Disconnect()
- V:Destroy()
- aP:Destroy()
- for I,aO in pairs(H) do
- if aO.Parent == P then
- aO.Transparency = aN
- end
- end
- human.WalkSpeed = human.WalkSpeed + 16
- activu = false
- end
- gatling2 = function()
- if selected == false or activu == true or gatlingcool == 50 then
- return
- end
- activu = true
- human.AutoRotate = false
- Crater(head,47)
- chatfunc("Machine Gun Blows..Full Power!")
- wait(0.5)
- local aN = nil
- local a9 = true
- local aa = {}
- local ab = {}
- local b7 = {}
- local ae = tool.Deactivated:connect(function()
- a9 = false
- end)
- for j = 1, 14 do
- local ac = Instance.new("Part")
- nooutline(ac)
- ac.Anchored = true
- ac.Locked = true
- ac.CanCollide = false
- ac.Material = "Neon"
- ac.Size = Vector3.new(1, 1, 1)
- ac.Transparency = 1
- ac.CFrame = CFrame.new(0, 1000, 0)
- ac.Parent = modz
- makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac)
- table.insert(aa, ac)
- end
- for j = 1, 28 do
- local a3 = makepart("White", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
- makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
- table.insert(ab, a3)
- end
- for j = 1, 14 do
- local a3 = makepart("White", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
- makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3)
- table.insert(b7, a3)
- end
- for I = 1, 16 do
- swait()
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.35)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.35)
- end
- local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
- local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
- for I,aO in pairs(H) do
- if aO.Parent == rarm or aO.Parent == larm then
- aN = aO.Transparency
- aO.Transparency = 1
- end
- end
- resetlerp()
- local a8 = Instance.new("BodyGyro")
- a8.MaxTorque = Vector3.new(1050, 3000, 750)
- a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
- a8.P = 580000
- a8.D = 250
- a8.Parent = hrp
- coroutine.resume(coroutine.create(function()
- while a8 do
- swait()
- a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
- end
- end))
- local af = 0
- local ag = 0
- repeat
- repeat
- ag = ag + 1
- if af == 0 then
- af = 1
- else
- af = af % 14 + 1
- end
- coroutine.resume(coroutine.create(function()
- local ah = aa[af]
- local ai = ab[af]
- local aj = ab[af + 14]
- local ba = b7[af]
- ah.Size = Vector3.new(1, 1, 0)
- ah.CFrame = cf(hrp.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-20000, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p)
- ah.Transparency = 0.25
- ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0)
- ai.Transparency = 0.35
- ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(4, 4, 4)
- aj.Transparency = 0.45
- aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(7, 7, 7)
- aj.CFrame = ah.CFrame * ang(0, rd(270), rd(90))
- if af % 2 == 1 then
- ai.CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(270), rd(90))
- else
- if af % 2 == 0 then
- ai.CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(270), rd(90))
- end
- end
- ba.CFrame = ah.CFrame * cf(0, 0, -5)
- ba.Transparency = 0.4
- ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
- local bb = ah.CFrame * cf(0, 0, -12.5)
- local bc = aj.CFrame * cf(0, 1, 0)
- local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100)
- local ak = false
- for j = 1, 12 do
- swait()
- local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j))
- local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true)
- if a1 and ak == false then
- ak = true
- local a3 = makepart("New Yeller", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90)))
- do
- local a4 = makemesh("FileMesh", Vector3.new(0.7, 0.7, 0.7), "rbxassetid://489415447", a3)
- game.Debris:AddItem(a3, 6.5)
- local a5 = rd2(1, 12)
- if a5 == 6 then
- hito(a3, 7.25, 39400, 1, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8)))
- else
- hito(a3, 7.25, 39400, 1, ah.CFrame.lookVector * 10)
- end
- coroutine.resume(coroutine.create(function()
- for I = 1, 4 do
- swait()
- a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8)
- a3.Transparency = a3.Transparency + 0.2
- end
- a3:Destroy()
- end))
- end
- end
- ah.Size = ah.Size:lerp(Vector3.new(6.25, 6.25, 6), 0.5)
- ah.CFrame = ah.CFrame:lerp(bb, 0.475)
- ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45)
- ah.Transparency = ah.Transparency + 0.0725
- ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4)
- ai.Transparency = ai.Transparency + 0.06
- aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4)
- aj.CFrame = aj.CFrame:lerp(bc, 0.3)
- aj.Transparency = aj.Transparency + 0.05
- ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4)
- ba.CFrame = ba.CFrame:lerp(bd, 0.3)
- ba.Transparency = ba.Transparency + 0.06
- end
- end))
- swait()
- until not a9 or ag > 150
- until ag > 30
- ae:Disconnect()
- for I,aO in pairs(H) do
- if aO.Parent == rarm or aO.Parent == larm then
- aO.Transparency = aN
- end
- end
- asd2:Destroy()
- b8:Destroy()
- b9:Destroy()
- a8:Destroy()
- gatlingcool = 50
- human.AutoRotate = true
- activu = false
- coroutine.resume(coroutine.create(function()
- wait(0)
- gatlingcool = 0
- end))
- wait(1)
- for I,al in pairs(aa) do
- al:Destroy()
- end
- for I,am in pairs(ab) do
- am:Destroy()
- end
- for I,be in pairs(b7) do
- be:Destroy()
- end
- aa, ab, b7 = nil
- end
- jetbazoo = function()
- if bazookacool == 50 or (hrp.Velocity * Vector3.new(0, 1, 0)).magnitude > 2 or selected == false or activu == true then
- return
- end
- activu = true
- local pie22 = Instance.new("ParticleEmitter")
- pie22.Parent = larm
- pie22.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie22.LightEmission = 1
- pie22.Size = NumberSequence.new(3)
- pie22.Texture = "http://www.roblox.com/asset/?id=246689799"
- pie22.Transparency = NumberSequence.new(0.7)
- pie22.EmissionDirection = "Top"
- pie22.Enabled = true
- pie22.Lifetime = NumberRange.new(0.1)
- pie22.Rotation = NumberRange.new(-420, 425)
- pie22.Rate = 300
- pie22.Speed = NumberRange.new(4)
- pie22.LockedToPart = true
- pie22.VelocitySpread = 360
- local pie222 = Instance.new("ParticleEmitter")
- pie222.Parent = rarm
- pie222.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie222.LightEmission = 1
- pie222.Size = NumberSequence.new(3)
- pie222.Texture = "http://www.roblox.com/asset/?id=246689799"
- pie222.Transparency = NumberSequence.new(0.7)
- pie222.EmissionDirection = "Top"
- pie222.Enabled = true
- pie222.Lifetime = NumberRange.new(0.1)
- pie222.Rotation = NumberRange.new(-420, 425)
- pie222.Rate = 300
- pie222.Speed = NumberRange.new(4)
- pie222.LockedToPart = true
- pie222.VelocitySpread = 360
- local bf = human.WalkSpeed
- human.WalkSpeed = 12
- human.AutoRotate = false
- hrp.Anchored = true
- local aK = Instance.new("Sound")
- aK.EmitterSize = 60
- aK.Volume = 1.5
- aK.Pitch = 1
- aK.SoundId = "rbxassetid://137463716"
- aK.Parent = hrp
- local bg = Instance.new("Sound")
- bg.SoundId = "rbxassetid://994434943"
- bg.MaxDistance = 200
- bg.EmitterSize = 60
- bg.Volume = 4
- bg.Pitch = 1.4
- bg.Parent = hrp
- aK:Play()
- local bj = {}
- for I = 1, 10 do
- local bk = makepart("White", "aaa", 0, 1, "Neon", modz, cf(hrp.CFrame * cf(rd2(-80, 80) / 10, rd2(-20, 60) / 10, rd2(-80, 80) / 10).p, hrp.Position))
- local bl = Instance.new("Attachment")
- bl.Position = Vector3.new(-0.1, 0, 0)
- bl.Parent = bk
- local bm = Instance.new("Attachment")
- bm.Position = Vector3.new(0.1, 0, 0)
- bm.Parent = bk
- local bn = Instance.new("Trail")
- bn.LightEmission = 0.7
- bn.Transparency = ns({nsk(0, 0.2, 0), nsk(1, 1, 0)})
- bn.Attachment0 = bl
- bn.Attachment1 = bm
- bn.Lifetime = 1
- bn.MinLength = 0
- bn.Parent = bk
- table.insert(bj, bk)
- end
- coroutine.resume(coroutine.create(function()
- for I = 1, 25 do
- swait()
- for j,bo in pairs(bj) do
- if j % 2 == 0 then
- bo.CFrame = bo.CFrame:lerp(rarm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j))
- else
- if j % 2 == 1 then
- bo.CFrame = bo.CFrame:lerp(larm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j))
- end
- end
- end
- end
- end))
- for I = 1, 25 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-9), rd(0), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-74)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(74)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- local bp = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
- local bq = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
- local aN = nil
- for I,aO in pairs(H) do
- if aO.Parent == rarm or aO.Parent == larm then
- aN = aO.Transparency
- aO.Transparency = 1
- end
- end
- bg:Play()
- local aR = makepart("White", "sr1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0)))
- local aS = makemesh("FileMesh", Vector3.new(0.8, 0.8, 0.4), "rbxassetid://437347603", aR)
- local aT = makepart("White", "sr2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0)))
- local aU = makemesh("FileMesh", Vector3.new(0.6, 0.6, 0.3), "rbxassetid://437347603", aT)
- local br = makepart("White", "ri1", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(0), rd(0)))
- local bs = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", br)
- local bt = makepart("Whiter", "ri2", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0)))
- local bu = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", bt)
- local bv = makepart("White", "co1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90)))
- local bw = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bv)
- local bx = makepart("White", "co2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90)))
- local by = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bx)
- local bz = makepart("White", "glo1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0)))
- local bA = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, bz)
- local bB = makepart("Whiter", "sh1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(90), rd(90)))
- local bC = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bB)
- local bD = makepart("White", "sh2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(-90), rd(90)))
- local bE = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bD)
- local bF = makepart("White", "wa1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(-4, -1.5, -1) * ang(rd(-5), rd(-30), rd(30)))
- local bG = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bF)
- local bH = makepart("White", "wa2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(4, -1.5, -1) * ang(rd(-5), rd(30), rd(-30)))
- local bI = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bH)
- game.Debris:AddItem(aR, 1.5)
- game.Debris:AddItem(aT, 1.5)
- game.Debris:AddItem(br, 1.5)
- game.Debris:AddItem(bt, 1.5)
- game.Debris:AddItem(bv, 1.5)
- game.Debris:AddItem(bx, 1.5)
- game.Debris:AddItem(bz, 1.5)
- game.Debris:AddItem(bB, 1.5)
- game.Debris:AddItem(bD, 1.5)
- game.Debris:AddItem(bC, 1.5)
- game.Debris:AddItem(bF, 1.5)
- game.Debris:AddItem(bH, 1.5)
- coroutine.resume(coroutine.create(function()
- local bJ = aR.CFrame * cf(0, 0, -35)
- local bK = aT.CFrame * cf(0, 0, -25)
- local bL = hrp.CFrame * cf(0, 0, 20)
- local bM = hrp.CFrame * cf(0, 0, 50)
- local bN = bz.CFrame * cf(0, 0, -20)
- local bO = bB.CFrame * cf(0, 25, 0)
- for j = 1, 40 do
- swait()
- if j < 10 then
- hito(aR, 60, 4000005, 1, hrp.CFrame.lookVector * 80, Vector3.new(0, 0, rd2(-90, 90)))
- end
- aR.CFrame = aR.CFrame:lerp(bJ, 0.2) * ang(0, 0, rd(75))
- aS.Scale = aS.Scale + Vector3.new(0.5, 0.5, 1)
- aR.Transparency = aR.Transparency + 0.06
- aT.CFrame = aT.CFrame:lerp(bJ, 0.175) * ang(0, 0, rd(-25))
- aU.Scale = aU.Scale + Vector3.new(0.08, 0.08, 0.1)
- aT.Transparency = aT.Transparency + 0.04
- br.CFrame = br.CFrame:lerp(bL, 0.2) * ang(0, 0, rd(40))
- br.Transparency = br.Transparency + 0.075
- bs.Scale = bs.Scale:lerp(Vector3.new(75, 75, 70), 0.3)
- bt.CFrame = br.CFrame:lerp(bM, 0.2) * ang(0, 0, rd(-40))
- bt.Transparency = br.Transparency + 0.05
- bu.Scale = bs.Scale:lerp(Vector3.new(60, 60, 50), 0.3)
- bv.CFrame = bv.CFrame * ang(0, rd(50), 0)
- bx.CFrame = bx.CFrame * ang(0, rd(-65), 0)
- if j < 4 then
- bw.Scale = bw.Scale + Vector3.new(2.3, 6, 2.3)
- by.Scale = by.Scale + Vector3.new(1.5, 9, 1.5)
- else
- bw.Scale = bw.Scale + Vector3.new(0.75, 1, 0.75)
- by.Scale = by.Scale + Vector3.new(0.7, 1.1, 0.7)
- end
- bv.Transparency = bv.Transparency + 0.02
- bx.Transparency = bx.Transparency + 0.0175
- bA.Scale = bA.Scale:lerp(Vector3.new(15, 15, 200), 0.4)
- bz.CFrame = bz.CFrame:lerp(bN, 3)
- bz.Transparency = bz.Transparency + 0.035
- bC.Scale = bC.Scale + Vector3.new(0.8, 0.5, 0.8)
- bB.CFrame = bB.CFrame:lerp(bO, 0.15) * ang(0, rd(40), 0)
- bB.Transparency = bB.Transparency + 0.0175
- bE.Scale = bE.Scale + Vector3.new(0.65, 3.8, 0.65)
- bD.CFrame = bD.CFrame * cf(0, 1.5, 0) * ang(0, rd(-75), 0)
- bD.Transparency = bD.Transparency + 0.03
- bG.Scale = bG.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35)
- bI.Scale = bI.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35)
- bF.Transparency = bF.Transparency + 0.03
- bH.Transparency = bH.Transparency + 0.03
- end
- end))
- lerpz(RJ, "C0", RJC0 * cf(0, -1.25, -0.45) * ang(rd(15), rd(0), rd(0)), 0.9)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(0)), 0.9)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(100)), 0.9)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-100)), 0.9)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(-30)), 0.9)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9)
- lerpz(LH, "C0", LHC0 * cf(-0.5, 0.5, 0) * ang(rd(-4), rd(0), rd(-50)), 0.9)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9)
- pie22:Destroy()
- pie222:Destroy()
- swait()
- bq:Destroy()
- bp:Destroy()
- for I,aO in pairs(H) do
- if aO.Parent == rarm or aO.Parent == larm then
- aO.Transparency = aN
- end
- end
- for I = 1, 15 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.45)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-13), rd(0), rd(0)), 0.45)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(-160), rd(70)), 0.45)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(160), rd(-70)), 0.45)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.45)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.45)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
- end
- for j = 1, 10 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j)
- end
- resetlerp()
- human.WalkSpeed = bf
- human.AutoRotate = true
- hrp.Anchored = false
- if plr.UserId ~= 8488617 then
- bazookacool = 50
- end
- activu = false
- swait(20)
- for I,bP in pairs(bj) do
- bP:Destroy()
- end
- bj = nil
- wait(0)
- bazookacool = 0
- end
- local bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil
- local cb = false
- local cc = false
- local cd, ce, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, ct, cu, cv, cw, cx, cy, cz, cA, cB, cC, cD, cE, cF, cG = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil
- giganpist = function()
- if selected == false or activu == true then
- return
- end
- activu = true
- human.AutoRotate = false
- human.PlatformStand = true
- local cH = Instance.new("BodyPosition")
- cH.MaxForce = Vector3.new(99999999, 99999999, 99999999)
- cH.P = 3000
- cH.Position = hrp.Position
- cH.Parent = hrp
- local a8 = Instance.new("BodyGyro")
- a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999)
- a8.CFrame = cf(hrp.Position, mouse.Hit.p)
- a8.P = 580000
- a8.D = 10000
- a8.Parent = hrp
- local cI = true
- coroutine.resume(coroutine.create(function()
- while cI do
- swait()
- a8.CFrame = cf(hrp.Position, mouse.Hit.p)
- end
- end))
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0)
- cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0)
- ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90))
- for I = 1, 30 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18)
- lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-210), rd(75)), 0.18)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
- lerpz(LS, "C0", LSC0 * cf(-0.6, -0.37, 0.45) * ang(rd(-100), rd(20), rd(-100)), 0.2)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
- end
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0)
- cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0)
- ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90))
- for j = 1, 12 do
- swait()
- ce = 0.01 + j * 0.005
- ch = 0.03 + j * 0.01
- lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05)
- lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-30), rd(0)), 0.2 + j * 0.05)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
- end
- cI = false
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0)
- cg = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0)
- ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
- swait()
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0)
- cg = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0)
- ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
- for j = 1, 38 do
- swait()
- cd = cd * cf(0, -1.75 + j / 13, 0)
- cg = cg * cf(0, -1.75 + j / 13, 0)
- if j > 3 and j < 29 then
- local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90)))
- local a4 = makemesh("FileMesh", Vector3.new(5.75, 5.75, 5.75), "rbxassetid://489415447", a3)
- game.Debris:AddItem(a3, 4)
- coroutine.resume(coroutine.create(function()
- for I = 1, 8 do
- swait()
- a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4)
- a3.Transparency = a3.Transparency + 0.1
- end
- a3:Destroy()
- end))
- local a5 = rd2(1, 2)
- if a5 == 2 then
- hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50)))
- else
- hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70)
- end
- end
- ce = 0.01 + j * 0.018
- ch = 0.01 + j * 0.008
- lerpz(RJ, "C0", RJC0 * cf(0.1, -1.25, -0.05) * ang(rd(35), rd(6), rd(26)), 0.)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.)
- lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-29), rd(125)), 0.)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(40)), 0.)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.)
- end
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0)
- cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0)
- ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
- human.AutoRotate = true
- human.PlatformStand = false
- a8:Destroy()
- cH:Destroy()
- activu = false
- end
- giganbazooka = function()
- if selected == false or activu == true then
- return
- end
- activu = true
- human.WalkSpeed = human.WalkSpeed - 11
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0)
- cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0)
- ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90))
- ct = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0)
- cv = ang(rd(0), rd(0), rd(30)) * cf(0, -15, 0)
- cx = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(-90))
- for I = 1, 40 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18)
- lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-190), rd(75)), 0.18)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
- lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(170), rd(-78)), 0.18)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18)
- end
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0)
- cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0)
- ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90))
- ct = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0)
- cv = ang(rd(0), rd(0), rd(140)) * cf(0, -1, 0)
- cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(135), rd(-90))
- human.AutoRotate = false
- for j = 1, 12 do
- swait()
- ce = 0.01 + j * 0.005
- ch = 0.03 + j * 0.01
- cu = 0.01 + j * 0.005
- cw = 0.03 + j * 0.005
- lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05)
- lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
- lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0) * ang(rd(0), rd(-10), rd(-104)), 0.018 + j * 0.05)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05)
- end
- cd = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0)
- cg = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0)
- ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
- ct = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0)
- cv = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0)
- cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(-270), rd(-90))
- swait()
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0)
- cg = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0)
- ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
- ct = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0)
- cv = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0)
- cx = ang(rd(0), rd(0), rd(1)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90))
- for j = 1, 48 do
- swait()
- cd = cd * cf(0, -1.75 + j / 11, 0)
- cg = cg * cf(0, -1.75 + j / 11, 0)
- ct = ct * cf(0, -1.75 + j / 11, 0)
- cv = cv * cf(0, -1.75 + j / 11, 0)
- if j > 4 and j < 29 then
- local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90)))
- local a4 = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", a3)
- local cJ = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bZ.CFrame * cf(-5, 0, 0) * ang(0, rd(0), rd(90)))
- local cK = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", cJ)
- game.Debris:AddItem(a3, 4)
- coroutine.resume(coroutine.create(function()
- for I = 1, 8 do
- swait()
- a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4)
- a3.Transparency = a3.Transparency + 0.1
- cK.Scale = cK.Scale + Vector3.new(0.4, 0.4, 0.4)
- cJ.Transparency = cJ.Transparency + 0.1
- end
- a3:Destroy()
- cJ:Destroy()
- end))
- local a5 = rd2(1, 2)
- if a5 == 2 then
- hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50)))
- hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50)))
- else
- hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120)
- hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120)
- end
- end
- ce = 0.01 + j * 0.018
- ch = 0.01 + j * 0.008
- cu = 0.01 + j * 0.018
- cw = 0.01 + j * 0.008
- lerpz(RJ, "C0", RJC0 * cf(0.1, -1.2, -0.05) * ang(rd(3), rd(6), rd(26)), 0.6)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(-1), rd(-14)), 0.6)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-33), rd(126)), 0.6)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-28), rd(-125)), 0.6)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1), rd(-10), rd(-5)), 0.6)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1), rd(10), rd(-40)), 0.6)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
- end
- human.WalkSpeed = human.WalkSpeed + 11
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0)
- cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0)
- ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
- ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0)
- cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0)
- cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90))
- human.AutoRotate = true
- activu = false
- end
- gigangatl = function()
- if selected == false or activu == true or g3lim < 4 then
- return
- end
- activu = true
- human.AutoRotate = false
- human.PlatformStand = true
- local cH = Instance.new("BodyPosition")
- cH.MaxForce = Vector3.new(99999999, 99999999, 99999999)
- cH.P = 3000
- cH.Position = hrp.Position
- cH.Parent = hrp
- local a8 = Instance.new("BodyGyro")
- a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999)
- a8.CFrame = cf(hrp.Position, mouse.Hit.p)
- a8.P = 580000
- a8.D = 10000
- a8.Parent = hrp
- local cI = true
- coroutine.resume(coroutine.create(function()
- while cI do
- swait()
- a8.CFrame = cf(hrp.Position, mouse.Hit.p)
- end
- end))
- local ae = tool.Deactivated:connect(function()
- cI = false
- end)
- local cL = {}
- for I,cM in pairs(chr:GetChildren()) do
- if cM == rarm or cM == larm then
- local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cM)
- table.insert(cL, cN)
- for I,cO in pairs(cM:GetChildren()) do
- do
- if cO:IsA("Part") and cO.Transparency ~= 1 then
- do
- local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cO)
- table.insert(cL, cN)
- -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- end
- end
- local cP = {}
- local cQ = {}
- local cR = {}
- for j = 1, 10 do
- local cS = nil
- if j % 2 == 0 then
- cS = makepart(rarm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0))
- cS.Color = bR.Color
- cS.Reflectance = bR.Reflectance
- makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS)
- else
- if j % 2 == 1 then
- cS = makepart(larm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0))
- cS.Color = bW.Color
- cS.Reflectance = bW.Reflectance
- makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS)
- end
- end
- local ad = Instance.new("Sound")
- ad.Volume = 1
- ad.Pitch = math.random(4, 6) / 10
- ad.SoundId = "rbxassetid://144508058"
- ad.Parent = cS
- table.insert(cP, cS)
- end
- for j = 1, 10 do
- local cS = nil
- if j % 2 == 0 then
- cS = makepart(rarm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0))
- cS.Color = bU.Color
- cS.Reflectance = bU.Reflectance
- makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539775895", cS)
- else
- if j % 2 == 1 then
- cS = makepart(larm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0))
- cS.Color = bZ.Color
- cS.Reflectance = bZ.Reflectance
- makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539776108", cS)
- end
- end
- table.insert(cQ, cS)
- end
- for j = 1, 10 do
- local cS = nil
- if j % 2 == 0 then
- cS = makepart(rarm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0))
- makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS)
- else
- if j % 2 == 1 then
- cS = makepart(larm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0))
- makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS)
- end
- end
- table.insert(cR, cS)
- end
- local ag = 0
- local af = 0
- local cT = 14
- resetlerp()
- coroutine.resume(coroutine.create(function()
- local cU = 0
- while cI do
- swait()
- cU = cU + 1
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(65 * math.cos((cU) * 2 / cT))), 0.7)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-60 * math.cos((cU) * 2 / cT))), 0.7)
- end
- end))
- repeat
- ag = ag + 1
- if af == 0 then
- af = 1
- else
- af = af % 10 + 1
- end
- if ag > 0 and ag < 8 and cP[af].Transparency ~= 0.75 then
- cP[af].Transparency = 0.75
- cQ[af].Transparency = 0.75
- cR[af].Transparency = 0.75
- cT = 11
- else
- if ag > 8 and ag < 16 and cP[af].Transparency ~= 0.5 then
- cP[af].Transparency = 0.5
- cQ[af].Transparency = 0.5
- cR[af].Transparency = 0.5
- cT = 8
- else
- if ag > 16 and ag < 28 and cP[af].Transparency ~= 0.25 then
- cP[af].Transparency = 0.25
- cQ[af].Transparency = 0.25
- cR[af].Transparency = 0.25
- cT = 5
- else
- if ag > 28 and ag < 56 and cP[af].Transparency ~= 0 then
- cP[af].Transparency = 0
- cQ[af].Transparency = 0
- cR[af].Transparency = 0
- cT = 3
- end
- end
- end
- end
- cP[af].CFrame = hrp.CFrame * cf(rd2(-220, 220) / 10, rd2(-90, 120) / 10, rd2(-30, 90) / 10) * ang(0, 0, rd(rd2(-20, 20) / 10))
- if (af) % 2 == 0 then
- cQ[af].CFrame = cP[af].CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
- else
- if (af) % 2 == 1 then
- cQ[af].CFrame = cP[af].CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90))
- end
- end
- cR[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 15, 50)
- cR[af].CFrame = cP[af].CFrame * cf(0, 0, 8)
- coroutine.resume(coroutine.create(function()
- local cV = af
- local cW = cP[af]
- local cX = cQ[af]
- local cY = cR[af]
- local cZ = 10
- cW:FindFirstChildOfClass("Sound").Pitch = math.random(7, 8) / 10
- cW:FindFirstChildOfClass("Sound"):Play()
- for j = 1, 30 do
- swait()
- if j < 20 then
- local a5 = rd2(1, 3)
- if a5 == 2 then
- hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50)))
- else
- hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80)
- end
- end
- cW.CFrame = cW.CFrame * cf(0, 0, -cZ)
- if cV % 2 == 0 then
- cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
- else
- if cV % 2 == 1 then
- cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90))
- end
- end
- cY.CFrame = cW.CFrame * cf(0, 0, 50 - cZ * 2.5)
- cY:FindFirstChildOfClass("SpecialMesh").Scale = cY:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 0, cZ * 4.5)
- cZ = cZ - 0.45
- end
- end))
- swait(cT)
- until ag > 10
- cI = false
- ae:Disconnect()
- cH:Destroy()
- a8:Destroy()
- for I,c_ in pairs(cL) do
- c_:Destroy()
- end
- for I,d0 in pairs(cP) do
- coroutine.resume(coroutine.create(function()
- for I = 1, 10 do
- swait()
- d0.Transparency = d0.Transparency + 0.1
- end
- d0:Destroy()
- end))
- end
- for I,d0 in pairs(cQ) do
- coroutine.resume(coroutine.create(function()
- for I = 1, 10 do
- swait()
- d0.Transparency = d0.Transparency + 0.1
- end
- d0:Destroy()
- end))
- end
- for I,d0 in pairs(cR) do
- coroutine.resume(coroutine.create(function()
- for I = 1, 10 do
- swait()
- d0.Transparency = d0.Transparency + 0.1
- end
- d0:Destroy()
- end))
- end
- human.AutoRotate = true
- human.PlatformStand = false
- activu = false
- end
- gear2change = function()
- if selected == false or activu == true then
- return
- end
- if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g2lim > 5 then
- activu = true
- g.Enabled = false
- human.AutoRotate = false
- hrp.Anchored = true
- human.WalkSpeed = 0
- local d1 = Instance.new("Sound")
- d1.EmitterSize = 10
- d1.Volume = 4
- d1.SoundId = "rbxassetid://255289910"
- d1.Parent = hrp
- d1:Play()
- game.Debris:AddItem(d1, 5)
- local d2 = makepart(rleg.BrickColor.Name, "rg1", 0, 0, "SmoothPlastic", rleg, rleg.CFrame)
- d2.Anchored = false
- local d3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d2)
- local d4 = makeweld(d2, d2, rleg, (cf(0, -0.8, 0)), nil)
- local d5 = makepart(lleg.BrickColor.Name, "lg1", 0, 0, "SmoothPlastic", lleg, lleg.CFrame)
- d5.Anchored = false
- local d6 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d5)
- local d7 = makeweld(d5, d5, lleg, (cf(0, -0.8, 0)), nil)
- local d8 = makepart(rleg.BrickColor.Name, "rg2", 0, 0, "SmoothPlastic", rleg, rleg.CFrame)
- d8.Anchored = false
- local d9 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d8)
- local da = makeweld(d8, d8, rleg, (cf(0, -0.6, 0)), nil)
- local db = makepart(lleg.BrickColor.Name, "lg2", 0, 0, "SmoothPlastic", lleg, lleg.CFrame)
- db.Anchored = false
- local dc = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, db)
- local dd = makeweld(db, db, lleg, (cf(0, -0.6, 0)), nil)
- animo(false)
- cam.CameraType = "Scriptable"
- cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-140), rd(0)) * cf(0, 0, 7)
- for I = 1, 35 do
- do
- swait()
- cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(-0.06), rd(0.08), rd(0)) * cf(0, 0, -0.003)
- lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.15)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.15)
- lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.15)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.15)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.15)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.15)
- lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.15)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.15)
- lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.15)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.15)
- end
- end
- cam.CoordinateFrame = lleg.CFrame * ang(rd(5), rd(-165), rd(0)) * cf(0, 0, 5)
- for I = 1, 25 do
- swait()
- d4.C0 = d4.C0:lerp(cf(0, 0.2, 0), 0.3)
- d7.C0 = d7.C0:lerp(cf(0, 0.2, 0), 0.3)
- d3.Scale = d3.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45)
- d6.Scale = d6.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45)
- da.C0 = da.C0:lerp(cf(0, 0.4, 0), 0.3)
- dd.C0 = dd.C0:lerp(cf(0, 0.4, 0), 0.3)
- d9.Scale = d9.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45)
- dc.Scale = dc.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45)
- lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -1.1) * ang(rd(75), rd(0), rd(15)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(-12)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0.2, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(50), rd(-65)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6)
- lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6)
- end
- d1.TimePosition = 1.4
- for I = 1, 3 do
- swait()
- d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3)
- d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3)
- d3.Scale = d3.Scale:lerp(Vector3.new(7, 2, 7), 0.45)
- d6.Scale = d6.Scale:lerp(Vector3.new(7, 2, 7), 0.45)
- da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3)
- dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3)
- d9.Scale = d9.Scale:lerp(Vector3.new(7, 2, 7), 0.45)
- dc.Scale = dc.Scale:lerp(Vector3.new(7, 2, 7), 0.45)
- lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6)
- lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6)
- end
- for I = 1, 10 do
- swait()
- d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3)
- d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3)
- d3.Scale = d3.Scale:lerp(Vector3.new(4, 2, 4), 0.45)
- d6.Scale = d6.Scale:lerp(Vector3.new(4, 2, 4), 0.45)
- da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3)
- dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3)
- d9.Scale = d9.Scale:lerp(Vector3.new(4, 2, 4), 0.45)
- dc.Scale = dc.Scale:lerp(Vector3.new(4, 2, 4), 0.45)
- lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6)
- lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6)
- end
- cam.CoordinateFrame = hrp.CFrame * ang(rd(5), rd(-180), rd(0)) * cf(0, 0, 6)
- swait(8)
- d2:Destroy()
- d5:Destroy()
- d8:Destroy()
- db:Destroy()
- for j = 1, #H do
- coroutine.resume(coroutine.create(function()
- local de = H[j]
- for I = 1, 16 do
- swait()
- de.Transparency = de.Transparency - 0.009375
- de.pe.Enabled = true
- if de:FindFirstChild("ss") then
- de:FindFirstChild("ss"):Play()
- end
- end
- swait(120)
- end))
- end
- d1.TimePosition = 4.1
- head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988"
- swait(8)
- for j = 1, 35 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-50), rd(10), rd(-10)), 0.05 + j * 0.95 / 35)
- lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6)
- lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6)
- end
- cam.CameraType = "Custom"
- animo(true)
- human.WalkSpeed = 28
- human.JumpPower = 60
- hrp.Anchored = false
- human.AutoRotate = true
- head:FindFirstChildOfClass("Decal").Texture = d
- for I = 1, 6 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- end
- resetlerp()
- dagear = 2
- g.Enabled = true
- activu = false
- else
- do
- if dagear == 2 then
- activu = true
- for j = 1, #H do
- coroutine.resume(coroutine.create(function()
- local de = H[j]
- local df = nil
- if de:FindFirstChild("ss") then
- df = de:FindFirstChild("ss")
- end
- for I = 1, 16 do
- swait()
- de.Transparency = de.Transparency + 0.009375
- de.pe.Rate = de.pe.Rate - 1
- if de:FindFirstChild("ss") then
- df.Volume = df.Volume - 0.03125
- end
- end
- de.pe.Rate = 20
- de.pe.Enabled = false
- if de:FindFirstChild("ss") then
- df:Stop()
- df.Volume = 0.5
- end
- end))
- end
- human.WalkSpeed = 16
- human.JumpPower = 50
- dagear = 1
- activu = false
- end
- end
- end
- end
- gear3change = function()
- if selected == false or activu == true then
- return
- end
- if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g3lim > 5 then
- activu = true
- g.Enabled = false
- human.AutoRotate = false
- hrp.Anchored = true
- human.WalkSpeed = 0
- animo(false)
- bQ = makepart("White", "g3p1", 0, 1, "Neon", rarm, hrp.CFrame * cf(0, 500, 0))
- bR = makepart(rarm.BrickColor.Name, "g3p2", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0))
- b_ = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bR)
- bS = makepart(rarm.BrickColor.Name, "g3p3", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0))
- c0 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bS)
- bT = makepart(rarm.BrickColor.Name, "g3p4", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0))
- c1 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bT)
- bU = makepart(rarm.BrickColor.Name, "g3p5", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0))
- c2 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539775895", bU)
- cam.CameraType = "Scriptable"
- cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-190), rd(0)) * cf(0, 0, 5)
- for I = 1, 26 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-1.5), rd(-14)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(30), rd(60), rd(80)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(8), rd(10)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(0)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(0)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://250184082"
- cam.CoordinateFrame = hrp.CFrame * ang(rd(40), rd(-180), rd(0)) * cf(0, 0, 7)
- for j = 1, 37 do
- swait()
- local dg = rd2(-80, 80) / (38 - j)
- lerpz(RJ, "C0", RJC0 * cf(-0.1, 0.35, -0.05) * ang(rd(-18), rd(-6), rd(15)), 0.1)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-30 + dg), rd(-1 + dg), rd(-14 + dg)), 0.03 + j * 0.032)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(32), rd(50), rd(83)), 0.1)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-7), rd(9), rd(12)), 0.1)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-15)), 0.1)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(20)), 0.1)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://874809406"
- cam.CoordinateFrame = hrp.CFrame * ang(rd(-50), rd(-170), rd(0)) * cf(0, 2, 4)
- for I = 1, 15 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.6)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.65)
- lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(32), rd(60), rd(63)), 0.8)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(20)), 0.6)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(19)), 0.6)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(-12)), 0.6)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- bQ.Transparency = 1
- bR.Transparency = 0
- bS.Transparency = 0
- bT.Transparency = 0
- bU.Transparency = 0
- bQ.CFrame = rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0)
- bR.CFrame = bQ.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0)
- c7 = (bQ.Position - rarm.Position).magnitude
- c8 = (bR.Position - bQ.Position).magnitude
- bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -c7 / 2)
- bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -c8 / 2)
- bU.CFrame = bR.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90))
- cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-180), rd(0)) * cf(0, 0, 6)
- for I = 1, 50 do
- swait()
- c7 = (bQ.Position - rarm.Position).magnitude
- c8 = (bR.Position - bQ.Position).magnitude
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.1)
- lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(0), rd(-50), rd(110)), 0.15)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05)
- bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0), 0.1)
- bR.CFrame = bR.CFrame:lerp(bQ.CFrame * ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0), 0.07)
- bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2)
- bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2)
- bU.CFrame = bU.CFrame:lerp(bR.CFrame * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)), 0.3)
- b_.Scale = b_.Scale:lerp(Vector3.new(60, 70, 60), 0.13)
- c0.Scale = c0.Scale:lerp(Vector3.new(30, 30, c7 * 5 * 1.2), 0.13)
- c1.Scale = c1.Scale:lerp(Vector3.new(35, 35, c8 * 5 * 1.2), 0.13)
- c2.Scale = c2.Scale:lerp(Vector3.new(0.16, 0.16, 0.16), 0.13)
- cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.094)
- end
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0)
- cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0)
- ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
- ck = Vector3.new(60, 70, 60)
- cm = 3.5
- co = 5
- cj = 0.3--speed of hand
- cq = Vector3.new(0.16, 0.16, 0.16)
- cb = true
- coroutine.resume(coroutine.create(function()
- while cb == true do
- swait2()
- bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * cd, ce)
- bR.CFrame = bR.CFrame:lerp(bQ.CFrame * cg, ch)
- c7 = (bQ.Position - rarm.Position).magnitude
- c8 = (bR.Position - bQ.Position).magnitude
- bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2)
- bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2)
- bU.CFrame = bU.CFrame:lerp(bR.CFrame * ci, cj)
- b_.Scale = b_.Scale:lerp(ck, cl)
- c0.Scale = c0.Scale:lerp(Vector3.new(cm * 5, cm * 5, (bQ.Position - rarm.Position).magnitude * 5 * 1.2), cn)
- c1.Scale = c1.Scale:lerp(Vector3.new(co * 5, co * 5, (bR.Position - bQ.Position).magnitude * 5 * 1.2), cp)
- c2.Scale = c2.Scale:lerp(cq, cr)
- end
- end))
- print("bless the meme")
- head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988"
- cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-155), rd(0)) * cf(0, 0, 12)
- for j = 1, 80 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 0.011875)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.03 + j * 0.011875)
- lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.03 + j * 0.011875)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875)
- lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 0.011875)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 0.011875)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 0.011875)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875)
- cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.04)
- end
- head:FindFirstChildOfClass("Decal").Texture = d
- cam.CameraType = "Custom"
- dagear = 3
- human.AutoRotate = true
- hrp.Anchored = false
- human.WalkSpeed = 12
- g.Enabled = true
- activu = false
- --fixing the hand movement
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0)
- cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0)
- ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90))
- ce = 0.01
- ch = 0.01
- cd = cf()
- cg = cf()
- for j = 1, 38 do
- --swait()
- cd = cd * cf(0, -1.75 + j / 13, 0)
- cg = cg * cf(0, -1.75 + j / 13, 0)
- ce = 0.01 + j * 0.018
- ch = 0.01 + j * 0.008
- end
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0)
- cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0)
- ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
- --done fixing hand xd
- elseif dagear == 3 then
- activu = true
- human.WalkSpeed = 0
- human.AutoRotate = false
- hrp.Anchored = true
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0)
- cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0)
- ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90))
- ck = Vector3.new(0, 1, 0)
- cm = 0
- co = 0
- cq = Vector3.new(0, 1, 0)
- ct = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0)
- cv = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0)
- cx = ang(rd(0), rd(0), rd(50)) * cf(0, -0.25, 0) * ang(rd(0), rd(90), rd(-90))
- cz = Vector3.new(0, 1, 0)
- cB = 0
- cD = 0
- cF = Vector3.new(0, 1, 0)
- for j = 1, 40 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 2 * 0.011875)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(1), rd(-14)), 0.03 + j * 2 * 0.011875)
- lerpz(RS, "C0", RSC0 * cf(0.5, 0.05, 0.5) * ang(rd(0), rd(-90), rd(75)), 0.03 + j * 2 * 0.011875)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875)
- if g32hand then
- lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.45) * ang(rd(20), rd(85), rd(-60)), 0.03 + j * 2 * 0.011875)
- else
- lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 2 * 0.011875)
- end
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 2 * 0.011875)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 2 * 0.011875)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875)
- end
- cb = false
- cc = false
- bQ:Destroy()
- bR:Destroy()
- bS:Destroy()
- bT:Destroy()
- bU:Destroy()
- if g32hand then
- bV:Destroy()
- bW:Destroy()
- bX:Destroy()
- bY:Destroy()
- bZ:Destroy()
- end
- for I = 1, 13 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
- end
- resetlerp()
- animo(true)
- human.WalkSpeed = 16
- dagear = 1
- g32hand = false
- human.AutoRotate = true
- hrp.Anchored = false
- activu = false
- end
- --a8:Destroy()
- --cH:Destroy()
- activu = false
- end
- g3twohand = function()
- if selected == false or activu == true then
- return
- end
- if not g32hand then
- activu = true
- local bf = human.WalkSpeed
- human.WalkSpeed = 0
- cc = true
- g.Enabled = false
- human.AutoRotate = false
- hrp.Anchored = true
- bV = makepart("White", "g3p6", 0, 1, "Neon", larm, larm.CFrame)
- bW = makepart(larm.BrickColor.Name, "g3p7", 0, 1, "SmoothPlastic", larm, larm.CFrame)
- c3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bW)
- bX = makepart(larm.BrickColor.Name, "g3p8", 0, 1, "SmoothPlastic", larm, larm.CFrame)
- c4 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bX)
- bY = makepart(larm.BrickColor.Name, "g3p9", 0, 1, "SmoothPlastic", larm, larm.CFrame)
- c5 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bY)
- bZ = makepart(larm.BrickColor.Name, "g3p10", 0, 1, "SmoothPlastic", larm, larm.CFrame)
- c6 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539776108", bZ)
- local dh = makepart(tors.BrickColor.Name, "gblp", 0, 0, "SmoothPlastic", tors, tors.CFrame)
- dh.Anchored = false
- local di = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, dh)
- local dj = makeweld(dh, dh, tors, (cf(0, 0, 0)), nil)
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, -5, 0)
- cg = ang(rd(0), rd(0), rd(-20)) * cf(0, -5, 0)
- ci = ang(rd(0), rd(0), rd(-20)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
- for I = 1, 25 do
- swait()
- di.Scale = di.Scale:lerp(Vector3.new(55, 55, 55), 0.25)
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25)
- lerpz(N, "C0", NC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25)
- lerpz(RS, "C0", RSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
- lerpz(LS, "C0", LSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
- lerpz(RH, "C0", RHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
- lerpz(LH, "C0", LHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
- end
- bW.Transparency = 0
- bX.Transparency = 0
- bY.Transparency = 0
- bZ.Transparency = 0
- bV.CFrame = larm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0)
- bW.CFrame = bW.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0)
- c9 = (bV.Position - larm.Position).magnitude
- ca = (bW.Position - bV.Position).magnitude
- bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -c9 / 2)
- bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -ca / 2)
- bZ.CFrame = bW.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90))
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0)
- cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0)
- ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90))
- ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0)
- cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0)
- cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90))
- cz = Vector3.new(60, 70, 60)
- cB = 3.5
- cD = 5
- cF = Vector3.new(0.16, 0.16, 0.16)
- cC = 0.3
- cE = 0.3
- cy = 0.3
- cu = 0.3
- cw = 0.3
- cA = 0.3
- cG = 0.3
- coroutine.resume(coroutine.create(function()
- while cc == true do
- swait2()
- bV.CFrame = bV.CFrame:lerp(larm.CFrame * ct, cu)
- bW.CFrame = bW.CFrame:lerp(bV.CFrame * cv, cw)
- c9 = (bV.Position - larm.Position).magnitude
- ca = (bW.Position - bV.Position).magnitude
- bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -(c9 + 1) / 2)
- bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -(ca - 1) / 2)
- bZ.CFrame = bZ.CFrame:lerp(bW.CFrame * cx, cy)
- c3.Scale = c3.Scale:lerp(cz, cA)
- c4.Scale = c4.Scale:lerp(Vector3.new(cB * 5, cB * 5, (bV.Position - larm.Position).magnitude * 5 * 1.2), cC)
- c5.Scale = c5.Scale:lerp(Vector3.new(cD * 5, cD * 5, (bW.Position - bV.Position).magnitude * 5 * 1.2), cE)
- c6.Scale = c6.Scale:lerp(cF, cG)
- end
- end))
- for I = 1, 30 do
- swait()
- di.Scale = di.Scale:lerp(Vector3.new(0, 0, 0), 0.32)
- lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, 0) * ang(rd(18), rd(6), rd(15)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- dh:Destroy()
- human.WalkSpeed = bf
- hrp.Anchored = false
- human.AutoRotate = true
- g.Enabled = true
- g32hand = true
- activu = false
- end
- end
- busolelel = function()
- if activu == true or selected == false then
- return
- end
- if dagear == 3 then
- if bR.Reflectance <= 0 then
- selected = false
- local dk = Instance.new("Sound")
- dk.SoundId = "rbxassetid://315030459"
- dk.Volume = 1.25
- dk.TimePosition = 0.22
- dk.Pitch = 1.03
- dk.Parent = tors
- game.Debris:AddItem(dk, 3)
- dk:Play()
- local dl = Color3.new(0.90196078431373, 0.90196078431373, 0.90196078431373)
- ck = Vector3.new(70, 80, 70)
- cq = Vector3.new(0.19, 0.19, 0.19)
- cz = Vector3.new(70, 80, 70)
- cF = Vector3.new(0.19, 0.19, 0.19)
- for I = 1, 20 do
- swait()
- bR.Reflectance = bR.Reflectance + 0.02
- bR.Color = bR.Color:lerp(dl, 0.15)
- bU.Reflectance = bU.Reflectance + 0.02
- bU.Color = bU.Color:lerp(dl, 0.15)
- if g32hand then
- bW.Reflectance = bW.Reflectance + 0.02
- bW.Color = bW.Color:lerp(dl, 0.15)
- bZ.Reflectance = bZ.Reflectance + 0.02
- bZ.Color = bZ.Color:lerp(dl, 0.15)
- end
- end
- dl = Color3.new(0.058823529411765, 0, 0.082352941176471)
- ck = Vector3.new(60, 70, 60)
- cq = Vector3.new(0.16, 0.16, 0.16)
- cz = Vector3.new(60, 70, 60)
- cF = Vector3.new(0.16, 0.16, 0.16)
- for I = 1, 20 do
- swait()
- bR.Reflectance = bR.Reflectance - 0.01
- bR.Color = bR.Color:lerp(dl, 0.15)
- bU.Reflectance = bU.Reflectance - 0.01
- bU.Color = bU.Color:lerp(dl, 0.15)
- if g32hand then
- bW.Reflectance = bW.Reflectance - 0.01
- bW.Color = bW.Color:lerp(dl, 0.15)
- bZ.Reflectance = bW.Reflectance - 0.01
- bZ.Color = bZ.Color:lerp(dl, 0.15)
- end
- end
- bR.Color = dl
- bU.Color = dl
- if g32hand then
- bW.Color = dl
- bZ.Color = dl
- end
- selected = true
- else
- do
- selected = false
- for I = 1, 20 do
- swait()
- bR.Reflectance = bR.Reflectance - 0.01
- bR.Color = bR.Color:lerp(rarm.Color, 0.15)
- bU.Reflectance = bU.Reflectance - 0.01
- bU.Color = bU.Color:lerp(rarm.Color, 0.15)
- if g32hand then
- bW.Reflectance = bW.Reflectance - 0.01
- bW.Color = bW.Color:lerp(larm.Color, 0.15)
- bZ.Reflectance = bZ.Reflectance - 0.01
- bZ.Color = bZ.Color:lerp(larm.Color, 0.15)
- end
- end
- bR.Color = rarm.Color
- bU.Color = rarm.Color
- bR.Reflectance = 0
- bU.Reflectance = 0
- if g32hand then
- bW.Color = larm.Color
- bZ.Color = larm.Color
- bW.Reflectance = 0
- bZ.Reflectance = 0
- end
- selected = true
- end
- end
- end
- end
- hito = function(dm, X, c, dn, dp, dq)
- for I,dr in pairs(workspace:GetChildren()) do
- if dr:FindFirstChild("Humanoid") and dr:FindFirstChild("HumanoidRootPart") and dr ~= chr and (dr:FindFirstChild("HumanoidRootPart").Position - dm.Position).magnitude < X and dr:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
- local ds = dr:FindFirstChild("Humanoid")
- local dt = dr:FindFirstChild("HumanoidRootPart")
- TakeDamage(ds, c)
- ds:SetStateEnabled(16, true)
- delay(dn, function()
- ds:SetStateEnabled(16, true)
- end)
- local du = Instance.new("StringValue")
- du.Name = "alabo"
- du.Parent = dt
- game.Debris:AddItem(du, dn)
- local dv = Instance.new("Part")
- nooutline(dv)
- dv.Size = Vector3.new(0.2, 0.2, 0.2)
- dv.Transparency = 0.25
- dv.Anchored = true
- dv.CanCollide = false
- dv.BrickColor = BrickColor.new("White")
- dv.Material = "Neon"
- dv.Locked = true
- dv.CFrame = dt.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
- dv.Parent = modz
- local dw = Instance.new("SpecialMesh")
- dw.MeshType = "Sphere"
- dw.Scale = Vector3.new(0.5, 0.5, 0.5)
- dw.Parent = dv
- game.Debris:AddItem(dv, 1)
- local dx = Instance.new("Model")
- dx.Name = c
- dx.Parent = workspace
- game.Debris:AddItem(dx, 0.5 + c / 75)
- local dy = Instance.new("Humanoid")
- dy.MaxHealth = 0
- dy.Parent = dx
- local dz = Instance.new("Part")
- dz.Name = "Head"
- dz.Locked = true
- dz.Size = Vector3.new(0.2, 0.2, 0.2)
- dz.Position = dt.Position
- dz.BrickColor = BrickColor.new("White")
- dz.Material = "Neon"
- dz.Transparency = 1
- dz.CanCollide = false
- dz.Parent = dx
- local dA = Instance.new("BodyPosition")
- dA.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- dA.P = 20000
- dA.D = 300
- dA.Position = dz.Position + Vector3.new(0, 5, 0)
- dA.Parent = dz
- local dB = Instance.new("CylinderMesh")
- dB.Parent = dz
- coroutine.resume(coroutine.create(function()
- while dB do
- swait()
- dB.Scale = dB.Scale:lerp(Vector3.new(2.5 + c / 10, 1.25 + c / 35, 2.5 + c / 10), 0.4)
- end
- end))
- if dp then
- local dC = Instance.new("BodyVelocity")
- dC.MaxForce = Vector3.new(999999999999, 9999999999999, 9999999999999)
- dC.P = 9999999999
- dC.Velocity = dp
- dC.Parent = dt
- game.Debris:AddItem(dC, dn)
- end
- if dq then
- local dD = Instance.new("BodyAngularVelocity")
- dD.MaxTorque = Vector3.new(99999, 999999, 999999)
- dD.P = math.huge
- dD.AngularVelocity = dq
- dD.Parent = dt
- game.Debris:AddItem(dD, dn)
- end
- local dE = Instance.new("Sound")
- dE.Pitch = rd2(10, 11) / 10
- dE.Volume = rd2(10, 13) / 10
- dE.EmitterSize = 10
- dE.SoundId = "rbxassetid://"
- dE.Parent = dv
- dE:Play()
- coroutine.resume(coroutine.create(function()
- for I = 1, 5 do
- swait()
- dv.Transparency = dv.Transparency + 0.175
- dw.Scale = dw.Scale + Vector3.new(0.8 * c, 0.8 * c, 0.8 * c)
- end
- end))
- end
- end
- end
- animo = function(dF)
- if anim then
- if dF == true then
- anim.Parent = human
- chr.Animate.Disabled = false
- elseif dF == false then
- chr.Animate.Disabled = true
- anim.Parent = nil
- end
- end
- end
- local dG = function(dH, dv, dw, aO, dI, i)
- if dH == 0 then
- return dv
- end
- dH = dH / aO
- if dH == 1 then
- return dv + dw
- end
- if not i then
- i = aO * 0.3
- end
- local h = nil
- if not dI or dI < math.abs(dw) then
- dI = dw
- h = i / 4
- else
- h = i / (2 * math.pi) * math.asin(dw / dI)
- end
- return dI * math.pow(2, -10 * (dH)) * math.sin((dH * aO - h) * 2 * math.pi / (i)) + dw + dv
- end
- local dJ = false
- updateguimode = function()
- local dK = function(dL, dM, dH)
- return (1 - dH) * dL + dH * dM
- end
- local dN, dO = nil, nil
- if dagear == 1 then
- dN = "Machine"
- elseif dagear == 2 then
- dN = "Jet"
- elseif dagear == 3 then
- dN = "Gigant"
- end
- if rubbermodo == 0 then
- dO = "Gun Blows"
- elseif rubbermodo == 1 then
- dO = " "
- elseif rubbermodo == 2 then
- dO = " "
- elseif rubbermodo == 3 then
- dO = " "
- end
- g.Main.Base.Mode.Text = " " .. dN .. " " .. dO
- if dJ == false then
- dJ = true
- elseif dJ == true then
- dJ = false
- swait()
- dJ = true
- end
- for j = 0, 2, game:GetService("RunService").RenderStepped:wait() do
- if not dJ then
- break
- end
- game:GetService("RunService").RenderStepped:wait()
- g.Main.Base.Mode.TextSize = dK(11, 25, dG(j, 0, 1, 2))
- end
- end
- --[[
- mouse.KeyDown:connect(function(dP)
- if dP == "q" and activu == false then
- if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then
- rubbermodo = 0
- else
- if dagear == 3 and g32hand and rubbermodo > 1 then
- rubbermodo = 1
- else
- if rubbermodo == 0 then
- rubbermodo = 1
- else
- if rubbermodo == 1 then
- rubbermodo = 2
- else
- if rubbermodo == 2 then
- rubbermodo = 3
- else
- rubbermodo = 0
- end
- end
- end
- end
- end
- updateguimode()
- else
- if dP == "e" and activu == false then
- if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then
- rubbermodo = 0
- else
- if dagear == 3 and g32hand and rubbermodo > 1 then
- rubbermodo = 1
- else
- if dagear == 1 then
- if rubbermodo == 1 then
- rubbermodo = 0
- else
- if rubbermodo == 2 then
- rubbermodo = 1
- else
- if rubbermodo == 3 then
- rubbermodo = 2
- else
- if rubbermodo <= 0 then
- rubbermodo = 3
- end
- end
- end
- end
- else
- if rubbermodo == 1 then
- rubbermodo = 0
- else
- rubbermodo = 1
- end
- end
- end
- end
- updateguimode()
- else
- if dP == "f" and activu == false and (plr.UserId == 8488617 or e) then
- gear2change()
- rubbermodo = 0
- updateguimode()
- else
- if dP == "j" and activu == false and (plr.UserId == 8488617 or f) then
- gear3change()
- rubbermodo = 0
- updateguimode()
- else
- if dP == "t" and activu == false and (plr.UserId == 8488617 or f) and dagear == 3 then
- g3twohand()
- rubbermodo = 2
- updateguimode()
- else
- if dP == "b" and plr.UserId == 8488617 then
- busolelel()
- end
- end
- end
- end
- end
- end
- end)
- ]]
- game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(dP)
- if dP == "q" and activu == false then -- Does nothing?
- if dagear == 4 and rubbermodo > 0 then
- rubbermodo = 1
- end
- updateguimode()
- end
- if dP == "=" and activu == false then
- gear2change()
- rubbermodo = 0
- updateguimode()
- end
- if dP == "=" and activu == false and dagear == 3 then
- g3twohand()
- rubbermodo = 2
- updateguimode()
- end
- if dP == "=" and activu == false then
- gear3change()
- rubbermodo = 0
- updateguimode()
- end
- if dP == "=" and plr.UserId == 8488617 then
- busolelel()
- end
- end)
- tool.Activated:connect(function()
- if human.Health <= 0 then
- return
- end
- if dagear == 1 then
- if rubbermodo == 0 then
- gatling()
- elseif rubbermodo == 1 then
- gatling2()
- elseif rubbermodo == 2 then
- bazooka()
- elseif rubbermodo == 3 then
- rocket()
- end
- elseif dagear == 2 then
- if rubbermodo == 0 then
- jetpunch()
- elseif rubbermodo == 1 then
- jetgat()
- elseif rubbermodo == 2 then
- jetbazoo()
- end
- elseif dagear == 3 and not g32hand and rubbermodo == 0 then
- giganpist()
- end
- if dagear == 3 and g32hand then
- if rubbermodo == 2 then
- giganbazooka()
- elseif rubbermodo == 1 then
- gigangatl()
- end
- end
- end)
- tool.Equipped:connect(function()
- selected = true
- end)
- tool.Unequipped:connect(function()
- selected = false
- end)
- human.Died:connect(function()
- if cam.CameraType == "Scriptable" then
- cam.CameraType = "Custom"
- end
- cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0)
- cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0)
- ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90))
- ck = Vector3.new(0, 0, 0)
- cm = 0
- co = 0
- cq = Vector3.new(0, 0, 0)
- end)
- animpose = "Idle"
- sine = 0
- charge = 1
- cos = math.cos
- run()
- game:GetService("RunService").RenderStepped:connect(function()
- sine = sine + charge
- if sine >= 100000000 then
- sine = 0
- end
- if sine % 60 == 0 then
- g.Main.G2.Bar:TweenSize(UDim2.new(0.016666666666667 * g2lim, 0, 1, 0), 1, 3, 0.25)
- g.Main.G3.Bar:TweenSize(UDim2.new(0.016666666666667 * g3lim, 0, 1, 0), 1, 3, 0.25)
- end
- --[[repeat
- repeat
- if plr.UserId ~= 8488617 and dagear == 3 and sine % 60 == 0 then
- if g3lim <= 0 then
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- until activu == false
- until selected == true
- gear3change()
- rubbermodo = 0
- updateguimode()
- if g32hand then
- g3lim = g3lim - 2
- else
- if not g32hand then
- g3lim = g3lim - 1
- end
- end
- repeat
- repeat
- if plr.UserId ~= 8488617 and dagear == 2 and sine % 60 == 0 then
- if g2lim <= 0 then
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- until activu == false
- until selected == true
- gear2change()
- rubbermodo = 0
- updateguimode()
- g2lim = g2lim - 1
- if plr.UserId ~= 8488617 and dagear == 1 and sine % 120 == 0 then
- if g2lim < 59 then
- g2lim = g2lim + 1
- end
- if g3lim < 59 then
- g3lim = g3lim + 1
- end
- end]]
- if dagear == 3 and activu == false then
- local dQ = Ray.new(hrp.Position, Vector3.new(0, -5, 0))
- local dR = workspace:FindPartOnRayWithIgnoreList(dQ, {chr}, false, false)
- local dS = human:GetState()
- if dS.Value == 13 then
- animpose = "Sitting"
- else
- if hrp.Velocity.y > 1 and dR == nil then
- animpose = "Jumping"
- else
- if hrp.Velocity.y < -1 and dR == nil then
- animpose = "Falling"
- else
- if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then
- animpose = "Idle"
- else
- if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 25 then
- animpose = "Walking"
- else
- if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 25 then
- animpose = "TooFast"
- end
- end
- end
- end
- end
- end
- if animpose == "Idle" then
- lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05 * cos(sine / 40)) * ang(rd(18), rd(6), rd(15)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2 + 5 * cos(sine / 40)), rd(-1), rd(-14)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- if g32hand then
- lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3)
- else
- lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60 + 5 * cos(sine / 40))), 0.3)
- end
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-30)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- if animpose == "Walking" then
- lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(20), rd(6), rd(15)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3), rd(-1), rd(-14)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- if g32hand then
- lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3)
- else
- lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-45)), 0.3)
- end
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(20 + 30 * cos(sine / 6))), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-20 + 30 * cos(sine / 6))), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- end
- end
- end)
- dispose = function()
- for j,dT in pairs(getfenv(0)) do
- dT = nil
- end
- error = nil
- print = nil
- warn = nil
- script:Destroy()
- script = nil
- end
- human.Died:connect(dispose)
- chr.Changed:connect(function()
- if chr.Parent == nil then
- dispose()
- end
- end)
- mouse.KeyDown:connect(function(k)
- if k == "z" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then
- jump()
- end
- if k == "x" and attack == false then
- dash()
- end
- if k == "m" and attack == false then
- InfernoComet()
- end
- if k == "n" and attack == false then
- InfernoWrath()
- end
- if k == "t" and attack == false then
- dashh()
- end
- if k == "k" and attack == false then
- jetbazoo()
- end
- if k == "r" and attack == false then
- dashs()
- end
- if k == "p" and attack == false then
- asd:Stop()
- end
- if k == "g" and attack == false then
- chatfunc("Sensei!")
- end
- if k == "1" and attack == false then
- chatfunc("...")
- end
- if k == "2" and attack == false then
- chatfunc("That's what you consider strong?!")
- end
- if k == "3" and attack == false then
- chatfunc("Useful!")
- end
- if k == "4" and attack == false then
- chatfunc("What?!")
- end
- if k == "5" and attack == false then
- chatfunc("Hmph.")
- end
- if k == "6" and attack == false then
- chatfunc("Trash!")
- end
- if k == "7" and attack == false then
- chatfunc("You're Nothing!")
- end
- if k == "h" and attack == false then
- chatfunc("Die!")
- end
- if k == "," and attack == false then
- char.Head.face.Texture = "rbxassetid://871751988"
- chatfunc("I'll crush you!")
- end
- if k == ";" and attack == false then
- chatfunc("Idiot!")
- end
- if k == "=" and attack == false then
- chatfunc("I'll crush that Half-n-Half bastard..")
- end
- if k == "=" and attack == false then
- chatfunc("Remember who you are.. YOU'RE BENEATH ME!")
- end
- if k == "f" and attack == false then
- daash()
- end
- if k == "u" and attack == false then
- asd:Play()
- end
- if k == "e" and attack == false then
- punch()
- end
- if k == "=" and attack == false then
- punch3()
- end
- if k == "q" and attack == false then
- punch2()
- end
- if k == "c" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then
- boom()
- end
- if k == "v" and attack == false then
- shooty()
- end
- if k == "l" and attack == false then
- if Serious == true then
- punchd()
- end
- end
- if k == "b" and attack == false then
- superpunch()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key=="8" then
- Serious()
- end
- end)
- Health = math.huge --------- Serious mode aura.
- BaseHealth = math.huge
- InForm = false
- Player = game.Players.LocalPlayer
- Char = Player.Character
- Torso = Char.Torso
- function Serious()
- for X = 1, 1 do wait()
- asd:Destroy()
- asd2 = Instance.new("Sound",char)
- asd2.SoundId = "http://www.roblox.com/asset/?id = 662782202 "
- asd2.Volume = 3
- asd2.Looped = false
- asd2:Play()
- chatfunc("Full power!")
- local pie22 = Instance.new("ParticleEmitter")
- pie22.Parent = tors
- pie22.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie22.LightEmission = 1
- pie22.Size = NumberSequence.new(50)
- pie22.Texture = "http://www.roblox.com/asset/?id=246689799"
- pie22.Transparency = NumberSequence.new(0)
- pie22.EmissionDirection = "Top"
- pie22.Enabled = true
- pie22.Lifetime = NumberRange.new(15)
- pie22.Rotation = NumberRange.new(-420, 425)
- pie22.Rate = 400
- pie22.Speed = NumberRange.new(100)
- pie22.LockedToPart = false
- pie22.VelocitySpread = 2
- lig = Instance.new("PointLight",player.Character.Torso)
- lig.Color=Color3.new(255,255,0)
- lig.Range = 6
- rubbermodo = 1
- hum.JumpPower = 270
- lig = Instance.new("PointLight",player.Character.Torso)
- lig.Color=Color3.new(255,255,0)
- lig.Range = 6
- Crater(head,30)
- wait(0)
- for X = 1, 1 do wait()
- local Effect = Instance.new("Part")
- Effect.Name = "Effect"
- Effect.Parent = Torso
- Effect.CFrame = Torso.CFrame
- Effect.BrickColor = BrickColor.new("Red")
- Effect.Shape = "Ball"
- Effect.Size = Vector3.new(1, 1, 1)
- Effect.Anchored = true
- Effect.Material = "Neon"
- Effect.CanCollide = false
- Effect.CFrame = Torso.CFrame
- Effect.Size = Effect.Size + Vector3.new(0.5)
- Effect.Transparency = Effect.Transparency + 0.04
- pie22:Destroy()
- end
- end
- repeat
- Torso:FindFirstChild("Effect"):Remove()
- until Torso:FindFirstChild("Effect") == nil
- local Color1 = Color3.new(0, 0, 0)
- local Color2 = Color3.new(0, 0, 0)
- chatfunc("Full Power!")
- Instance.new("ForceField",char).Visible = false
- hum.Name = "youdungoofed"
- asd1 = Instance.new("Sound",char)
- asd1.SoundId = "http://www.roblox.com/asset/?id = 386666019"
- asd1.Volume = 1
- asd1.Looped = true
- asd1:Play()
- local pie22 = Instance.new("ParticleEmitter")
- pie22.Parent = larm
- pie22.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie22.LightEmission = 1
- pie22.Size = NumberSequence.new(0.6,0.8,0.6)
- pie22.Texture = "http://www.roblox.com/asset/?id=246689799"
- pie22.Transparency = NumberSequence.new(0.7)
- pie22.EmissionDirection = "Top"
- pie22.Enabled = true
- pie22.Lifetime = NumberRange.new(1)
- pie22.Rotation = NumberRange.new(-420, 425)
- pie22.Rate = 400
- pie22.Speed = NumberRange.new(1)
- pie22.LockedToPart = false
- pie22.VelocitySpread = 2
- local pie222 = Instance.new("ParticleEmitter")
- pie222.Parent = rarm
- pie222.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie222.LightEmission = 1
- pie222.Size = NumberSequence.new(0.6,0.8,0.6)
- pie222.Texture = "http://www.roblox.com/asset/?id=246689799"
- pie222.Transparency = NumberSequence.new(0.7)
- pie222.EmissionDirection = "Top"
- pie222.Enabled = true
- pie222.Lifetime = NumberRange.new(1)
- pie222.Rotation = NumberRange.new(-420, 425)
- pie222.Rate = 400
- pie222.Speed = NumberRange.new(1)
- pie222.LockedToPart = false
- pie222.VelocitySpread = 2
- local pie2222 = Instance.new("ParticleEmitter")
- pie2222.Parent = lleg
- pie2222.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie2222.LightEmission = 1
- pie2222.Size = NumberSequence.new(0.6,0.8,0.6)
- pie2222.Texture = "http://www.roblox.com/asset/?id=246689799"
- pie2222.Transparency = NumberSequence.new(0.7)
- pie2222.EmissionDirection = "Top"
- pie2222.Enabled = true
- pie2222.Lifetime = NumberRange.new(1)
- pie2222.Rotation = NumberRange.new(-420, 425)
- pie2222.Rate = 400
- pie2222.Speed = NumberRange.new(1)
- pie2222.LockedToPart = false
- pie2222.VelocitySpread = 2
- local pie22222 = Instance.new("ParticleEmitter")
- pie22222.Parent = rleg
- pie22222.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie22222.LightEmission = 1
- pie22222.Size = NumberSequence.new(0.6,0.8,0.6)
- pie22222.Texture = "http://www.roblox.com/asset/?id=246689799"
- pie22222.Transparency = NumberSequence.new(0.7)
- pie22222.EmissionDirection = "Top"
- pie22222.Enabled = true
- pie22222.Lifetime = NumberRange.new(1)
- pie22222.Rotation = NumberRange.new(-420, 425)
- pie22222.Rate = 400
- pie22222.Speed = NumberRange.new(1)
- pie22222.LockedToPart = false
- pie22222.VelocitySpread = 2
- local pie2242 = Instance.new("ParticleEmitter")
- pie2242.Parent = tors
- pie2242.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie2242.LightEmission = 1
- pie2242.Size = NumberSequence.new(0.6,0.8,0.6)
- pie2242.Texture = "http://www.roblox.com/asset/?id=246689799"
- pie2242.Transparency = NumberSequence.new(0.7)
- pie2242.EmissionDirection = "Top"
- pie2242.Enabled = true
- pie2242.Lifetime = NumberRange.new(1)
- pie2242.Rotation = NumberRange.new(-420, 425)
- pie2242.Rate = 400
- pie2242.Speed = NumberRange.new(1)
- pie2242.LockedToPart = false
- pie2242.VelocitySpread = 2
- InForm = true
- Char.Humanoid.MaxHealth = Health
- wait(0.3)
- Char.Humanoid.Health = Health
- rock = true
- end
- function Base()
- InForm = false
- local Effect = Instance.new("Part")
- Effect.Name = "Effect"
- Effect.Parent = Torso
- Effect.CFrame = Torso.CFrame
- Effect.BrickColor = BrickColor.new("White")
- Effect.Shape = "Ball"
- Effect.Size = Vector3.new(8, 8, 8)
- Effect.Anchored = true
- Effect.Material = "Neon"
- Effect.CanCollide = false
- for loop = 1, 25 do wait()
- Effect.CFrame = Torso.CFrame
- Effect.Size = Effect.Size + Vector3.new(-0.5)
- Effect.Transparency = Effect.Transparency + 0.04
- end
- repeat
- Torso:FindFirstChild("Effect"):Remove()
- until Torso:FindFirstChild("Effect") == nil
- for i, v in pairs(Torso:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:Remove()
- asd1:Destroy()
- killbrick:Destroy()
- end
- end
- char.Humanoid.MaxHealth = BaseHealth
- wait(0.3)
- char.Humanoid.Health = BaseHealth
- end
- mouse.KeyDown:connect(function(key)
- if key=="9" then
- Base()
- lig:Destroy()
- rubbermodo = 0
- end
- end)
- Player.Chatted:connect(function(Message)
- if Message == "Time to get serious." and InForm == false then
- wait(0.10)
- Serious2()
- end
- if Message == "off" or Message == "Nice fight." and InForm == true then
- Base()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key=="." then
- Serious2()
- end
- end)
- Health = math.huge --------- Serious mode aura.
- BaseHealth = math.huge
- InForm = false
- Player = game.Players.LocalPlayer
- Char = Player.Character
- Torso = Char.Torso
- function Serious2()
- for X = 1, 1 do wait()
- asd:Destroy()
- asd2 = Instance.new("Sound",char)
- asd2.SoundId = "http://www.roblox.com/asset/?id = 662782202 "
- asd2.Volume = 3
- asd2.Looped = false
- asd2:Play()
- chatfunc("Full power!")
- local pie22 = Instance.new("ParticleEmitter")
- pie22.Parent = tors
- pie22.Color = ColorSequence.new(BrickColor.new("White").Color)
- pie22.LightEmission = 1
- pie22.Size = NumberSequence.new(50)
- pie22.Texture = "http://www.roblox.com/asset/?id=246689799"
- pie22.Transparency = NumberSequence.new(0)
- pie22.EmissionDirection = "Top"
- pie22.Enabled = true
- pie22.Lifetime = NumberRange.new(10)
- pie22.Rotation = NumberRange.new(-420, 425)
- pie22.Rate = 400
- pie22.Speed = NumberRange.new(100)
- pie22.LockedToPart = false
- pie22.VelocitySpread = 2
- wait(1)
- pie22.Size = NumberSequence.new(70)
- wait(1)
- pie22.Size = NumberSequence.new(140)
- lig = Instance.new("PointLight",player.Character.Torso)
- lig.Color=Color3.new(0,0,0)
- lig.Range = 6
- rubbermodo = 1
- hum.JumpPower = 270
- lig = Instance.new("PointLight",player.Character.Torso)
- lig.Color=Color3.new(0,0,0)
- lig.Range = 6
- Crater(head,30)
- wait(0)
- for X = 1, 1 do wait()
- local Effect = Instance.new("Part")
- Effect.Name = "Effect"
- Effect.Parent = Torso
- Effect.CFrame = Torso.CFrame
- Effect.BrickColor = BrickColor.new("Neon orange")
- Effect.Shape = "Ball"
- Effect.Size = Vector3.new(1, 1, 1)
- Effect.Anchored = true
- Effect.Material = "Neon"
- Effect.CanCollide = false
- Effect.CFrame = Torso.CFrame
- Effect.Size = Effect.Size + Vector3.new(0.5)
- Effect.Transparency = Effect.Transparency + 0.04
- pie22:Destroy()
- end
- end
- repeat
- Torso:FindFirstChild("Effect"):Remove()
- until Torso:FindFirstChild("Effect") == nil
- local Color1 = Color3.new(0, 0, 0)
- local Color2 = Color3.new(0, 0, 0)
- chatfunc("Full Power!")
- Instance.new("ForceField",char).Visible = false
- hum.Name = "youdungoofed"
- asd1 = Instance.new("Sound",char)
- asd1.SoundId = "http://www.roblox.com/asset/?id = 386666019"
- asd1.Volume = 1
- asd1.Looped = true
- asd1:Play()
- local pie22 = Instance.new("ParticleEmitter")
- pie22.Parent = larm
- pie22.Color = ColorSequence.new(BrickColor.new("Black").Color)
- pie22.LightEmission = 1
- pie22.Size = NumberSequence.new(0.6,0.8,0.6)
- pie22.Texture = "http://www.roblox.com/asset/?id=246689799"
- pie22.Transparency = NumberSequence.new(0.7)
- pie22.EmissionDirection = "Top"
- pie22.Enabled = true
- pie22.Lifetime = NumberRange.new(1)
- pie22.Rotation = NumberRange.new(-420, 425)
- pie22.Rate = 400
- pie22.Speed = NumberRange.new(1)
- pie22.LockedToPart = false
- pie22.VelocitySpread = 2
- local pie222 = Instance.new("ParticleEmitter")
- pie222.Parent = rarm
- pie222.Color = ColorSequence.new(BrickColor.new("Black").Color)
- pie222.LightEmission = 1
- pie222.Size = NumberSequence.new(0.6,0.8,0.6)
- pie222.Texture = "http://www.roblox.com/asset/?id=246689799"
- pie222.Transparency = NumberSequence.new(0.7)
- pie222.EmissionDirection = "Top"
- pie222.Enabled = true
- pie222.Lifetime = NumberRange.new(1)
- pie222.Rotation = NumberRange.new(-420, 425)
- pie222.Rate = 400
- pie222.Speed = NumberRange.new(1)
- pie222.LockedToPart = false
- pie222.VelocitySpread = 2
- local pie2222 = Instance.new("ParticleEmitter")
- pie2222.Parent = lleg
- pie2222.Color = ColorSequence.new(BrickColor.new("Black").Color)
- pie2222.LightEmission = 1
- pie2222.Size = NumberSequence.new(0.6,0.8,0.6)
- pie2222.Texture = "http://www.roblox.com/asset/?id=246689799"
- pie2222.Transparency = NumberSequence.new(0.7)
- pie2222.EmissionDirection = "Top"
- pie2222.Enabled = true
- pie2222.Lifetime = NumberRange.new(1)
- pie2222.Rotation = NumberRange.new(-420, 425)
- pie2222.Rate = 400
- pie2222.Speed = NumberRange.new(1)
- pie2222.LockedToPart = false
- pie2222.VelocitySpread = 2
- local pie22222 = Instance.new("ParticleEmitter")
- pie22222.Parent = rleg
- pie22222.Color = ColorSequence.new(BrickColor.new("Black").Color)
- pie22222.LightEmission = 1
- pie22222.Size = NumberSequence.new(0.6,0.8,0.6)
- pie22222.Texture = "http://www.roblox.com/asset/?id=246689799"
- pie22222.Transparency = NumberSequence.new(0.7)
- pie22222.EmissionDirection = "Top"
- pie22222.Enabled = true
- pie22222.Lifetime = NumberRange.new(1)
- pie22222.Rotation = NumberRange.new(-420, 425)
- pie22222.Rate = 400
- pie22222.Speed = NumberRange.new(1)
- pie22222.LockedToPart = false
- pie22222.VelocitySpread = 2
- local pie2242 = Instance.new("ParticleEmitter")
- pie2242.Parent = tors
- pie2242.Color = ColorSequence.new(BrickColor.new("Black").Color)
- pie2242.LightEmission = 1
- pie2242.Size = NumberSequence.new(0.6,0.8,0.6)
- pie2242.Texture = "http://www.roblox.com/asset/?id=246689799"
- pie2242.Transparency = NumberSequence.new(0.7)
- pie2242.EmissionDirection = "Top"
- pie2242.Enabled = true
- pie2242.Lifetime = NumberRange.new(1)
- pie2242.Rotation = NumberRange.new(-420, 425)
- pie2242.Rate = 400
- pie2242.Speed = NumberRange.new(1)
- pie2242.LockedToPart = false
- pie2242.VelocitySpread = 2
- InForm = true
- Char.Humanoid.MaxHealth = Health
- wait(0.3)
- Char.Humanoid.Health = Health
- rock = true
- end
- function Base()
- InForm = false
- local Effect = Instance.new("Part")
- Effect.Name = "Effect"
- Effect.Parent = Torso
- Effect.CFrame = Torso.CFrame
- Effect.BrickColor = BrickColor.new("White")
- Effect.Shape = "Ball"
- Effect.Size = Vector3.new(8, 8, 8)
- Effect.Anchored = true
- Effect.Material = "Neon"
- Effect.CanCollide = false
- for loop = 1, 25 do wait()
- Effect.CFrame = Torso.CFrame
- Effect.Size = Effect.Size + Vector3.new(-0.5)
- Effect.Transparency = Effect.Transparency + 0.04
- end
- repeat
- Torso:FindFirstChild("Effect"):Remove()
- until Torso:FindFirstChild("Effect") == nil
- for i, v in pairs(Torso:GetChildren()) do
- if v:IsA('ParticleEmitter') then
- v:Remove()
- asd1:Destroy()
- killbrick:Destroy()
- end
- end
- char.Humanoid.MaxHealth = BaseHealth
- wait(0.3)
- char.Humanoid.Health = BaseHealth
- end
- mouse.KeyDown:connect(function(key)
- if key=="9" then
- Base()
- lig:Destroy()
- rubbermodo = 0
- end
- end)
- Player.Chatted:connect(function(Message)
- if Message == "Time to get serious." and InForm == false then
- wait(0.10)
- Serious2()
- end
- if Message == "off" or Message == "Nice fight." and InForm == true then
- Base()
- end
- end)
- local plr = game.Players.LocalPlayer
- local char = game.Workspace:WaitForChild(plr.Name)
- local m = plr:GetMouse()
- local trans = false
- local realdeb = false
- local PGui = plr:WaitForChild("PlayerGui")
- local chat = game:GetService"Chat"
- local Head = char:WaitForChild"Head"
- local Torso = char:WaitForChild"Torso"
- local HRP = char:WaitForChild"HumanoidRootPart"
- local RArm = char:WaitForChild"Right Arm"
- local LArm = char:WaitForChild"Left Arm"
- local RLeg = char:WaitForChild"Right Leg"
- local LLeg = char:WaitForChild"Left Leg"
- local Hum = char:WaitForChild'Humanoid'
- local lastspeed = Hum.WalkSpeed
- msgz = Instance.new("Message", PGui)
- msgz.Text = "Full Power! Press , To transform!"
- game.Debris:AddItem(msgz, 6.5)
- local part = Instance.new"Part"
- part.Name = "TransformationPart"
- part.FormFactor = "Custom"
- part.Size = Vector3.new(1,1,1)
- part.Material = "SmoothPlastic"
- part.TopSurface = "Smooth"
- part.BottomSurface = "Smooth"
- part.Anchored = true
- part.CanCollide = false
- local Joints = {Head = Torso.Neck, Torso = HRP.RootJoint, RArm = Torso["Right Shoulder"], LArm = Torso["Left Shoulder"], RLeg = Torso["Right Hip"], LLeg = Torso["Left Hip"]}
- local Refresh = function()
- Joints.Head.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- Joints.Torso.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- Joints.RArm.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Joints.LArm.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Joints.RLeg.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Joints.LLeg.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Joints.Head.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- Joints.Torso.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- Joints.RArm.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Joints.LArm.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Joints.RLeg.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Joints.LLeg.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- end
- local Anims = {Scrunch = function(active)
- if active then
- for i = 0, 10, 0.5 do
- wait(0.016666666666667)
- Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0)
- Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0)
- Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.01, -0.02, 0.01)
- Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.01, 0.02, 0.01)
- end
- else
- do
- for i = 0, 10, 0.5 do
- wait(0.016666666666667)
- Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0):inverse()
- Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0):inverse()
- Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.01, -0.02, 0.01):inverse()
- Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.01, 0.02, 0.01):inverse()
- end
- Refresh()
- end
- end
- end
- , Implode = function(active)
- if active then
- for i = 0, 10, 0.75 do
- wait(0.016666666666667)
- Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, -0.055, 0.155)
- Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, 0.055, -0.155)
- Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.015, -0.025, -0.015)
- Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.025, -0.015)
- end
- else
- do
- for i = 0, 10, 0.75 do
- wait(0.016666666666667)
- Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, -0.055, 0.155):inverse()
- Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, 0.055, -0.155):inverse()
- Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.015, -0.025, -0.015):inverse()
- Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.025, -0.015):inverse()
- end
- end
- end
- end
- }
- local transform = function()
- if (trans == false and realdeb == false) then
- trans = true
- Hum.WalkSpeed = 0
- local area = part:Clone()
- area.CFrame = Torso.CFrame
- area.Parent = workspace
- Torso.Anchored = true
- for i=1,10 do
- area.CFrame = area.CFrame * CFrame.new(0,1,0)
- Torso.CFrame = area.CFrame
- wait()
- end
- local weld2 = Instance.new("Weld", area)
- weld2.Part0 = area
- weld2.Part1 = Torso
- weld2.C0 = CFrame.new()
- Torso.Anchored = false
- delay(0,function()
- end)
- delay(0,function()
- chat:Chat(char["Head"],"How about i give it all i got?","Red")
- end)
- delay(0,function()
- for i=1,5 do
- wait()
- delay(0,function()
- local dzI = 100
- while dzI > 10 do
- dzI = dzI - 1
- local p = Instance.new("Part", char.Head)
- p.Anchored = false
- p.Size = Vector3.new(math.random(1,4),math.random(1,4),math.random(1,4))
- p.Material = "Neon"
- local kekz2 = math.random(1,2)
- if kekz2 == 2 then
- p.BrickColor = BrickColor.new("Red")
- else
- p.BrickColor = BrickColor.new("Neon orange")
- end
- p.CFrame = char.Torso.CFrame*CFrame.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
- local t = Instance.new("BodyPosition", p)
- t.P = 20000
- t.Position = char.Torso.Position
- game:service("Debris"):AddItem(p, 2.4)
- wait()
- delay(0,function()
- for i=1,10 do
- p.Transparency = i/10
- p.CFrame = p.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-20,20),0,math.random(-20,20))
- wait()
- end
- p:Remove()
- end)
- end
- end)
- end
- end)
- delay(0,function()
- for q=1,120 do
- local xz = Instance.new("Part",plr.Character)
- xz.CFrame = plr.Character.Torso.CFrame*CFrame.new(math.random(-450,450),math.random(-450,450),math.random(-450,450))
- xz.Anchored = true
- xz.Transparency = 1
- xz.CanCollide = false
- wait(0.04)
- local pos2 = xz.Position
- local pos = plr.Character.Torso.Position
- local radius = math.random(1,1.5)
- local numParts = math.random(5,15)
- local model = plr.Character.Torso
- local lv = CFrame.new(pos,pos2).lookVector
- local dist = (pos-pos2).magnitude
- local dbp = dist/numParts
- local last = pos
- for i = 1,numParts do
- local p = Instance.new("Part",model)
- p.FormFactor = "Symmetric"
- p.Size = Vector3.new(1,1,1)
- p.CanCollide = false
- p.Anchored = true
- p.Material = "Neon"
- local kekz2 = math.random(1,2)
- if kekz2 == 2 then
- p.BrickColor = BrickColor.new("New Yeller")
- else
- p.BrickColor = BrickColor.new("Neon orange")
- end
- p.Transparency = 0.5
- local x = math.random(-2,2)/2*dbp/4
- local y = math.random(-2,2)/2*dbp/4
- local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0)
- local dist2 = (p2.p-last).magnitude
- local mid = (p2.p+last)/2
- local m = Instance.new("BlockMesh",p)
- m.Scale = Vector3.new(radius,radius,dist2)
- p.CFrame = CFrame.new(mid,p2.p)
- last = p2.p
- game:GetService("Debris"):AddItem(p,0.1)
- end
- wait()
- xz:remove()
- end
- kekd = false
- end)
- Anims.Scrunch(true)
- for i = 1, 8 do
- wait(0.9)
- for i = 1, math.random(4, 6) do
- local p = part:Clone()
- p.Parent = Torso
- p.Anchored = true
- p.Material = "Neon"
- p.CFrame = Torso.CFrame
- p.CanCollide = false
- -- game:service("Debris"):AddItem(p, 0.2)
- local kekz2 = math.random(1,2)
- if kekz2 == 2 then
- p.BrickColor = BrickColor.new("New Yeller")
- else
- p.BrickColor = BrickColor.new("New Yeller")
- end
- local w = Instance.new("Weld", p)
- w.Part0 = p
- w.Part1 = Torso
- w.C0 = w.C0 * CFrame.Angles(math.random() * 6.28, math.random() * 6.28, math.random() * 6.28)
- local m = Instance.new("CylinderMesh", p)
- m.Scale = Vector3.new(math.random() * 3, 320, math.random() * 3)
- coroutine.resume(coroutine.create(function()
- for i = 1, 25 do
- wait(0.071428571428571)
- w.C0 = w.C0 * CFrame.Angles(0.05, 0.05, 0.05)
- p.Transparency = i / 25
- end
- pcall(game.Destroy, p)
- end
- ))
- end
- end
- coroutine.resume(coroutine.create(function()
- for i = 1, 6 do
- wait(0.9)
- --Player.Character.Torso.Anchored = true
- coroutine.resume(coroutine.create(function()
- local p = part:Clone()
- p.Parent = Torso
- p.Anchored = false
- p.CanCollide = false
- p.CFrame = Torso.CFrame
- local kekz2 = math.random(1,2)
- if kekz2 == 2 then
- p.BrickColor = BrickColor.new("New Yeller")
- else
- p.BrickColor = BrickColor.new("Neon orange")
- end
- --game:service("Debris"):AddItem(p, 0.2)
- local w = Instance.new("Weld", p)
- w.Part0 = p
- w.Part1 = Torso
- w.C0 = w.C0 * CFrame.Angles(0, math.rad(90), 0)
- local m = Instance.new("SpecialMesh", p)
- m.MeshId = "rbxassetid://3270017"
- m.Scale = Vector3.new(10, 10, 5)
- coroutine.resume(coroutine.create(function()
- for i = 1, 25 do
- wait(0.071428571428571)
- w.C0 = w.C0 * CFrame.Angles(-0.05, 0.05 * math.random(), 0.05 * math.random())
- m.Scale = m.Scale + Vector3.new(3, 3, 1.5)
- p.Transparency = i / 25
- end
- pcall(game.Destroy, p)
- end
- ))
- end
- ))
- local p = part:Clone()
- do
- p.Parent = Torso
- p.Anchored = false
- p.CFrame = Torso.CFrame
- p.CanCollide = false
- -- game:service("Debris"):AddItem(p, 0.2)
- local kekz2 = math.random(1,2)
- if kekz2 == 2 then
- p.BrickColor = BrickColor.new("New Yeller")
- else
- p.BrickColor = BrickColor.new("Neon orange")
- end
- local w = Instance.new("Weld", p)
- w.Part0 = p
- w.Part1 = Torso
- local m = Instance.new("SpecialMesh", p)
- m.MeshId = "rbxassetid://3270017"
- m.Scale = Vector3.new(10, 10, 5)
- coroutine.resume(coroutine.create(function()
- for i = 1, 25 do
- wait(0.071428571428571)
- w.C0 = w.C0 * CFrame.Angles(0.05 * math.random(), -0.05 * math.random(), -0.05 * math.random())
- m.Scale = m.Scale + Vector3.new(3, 3, 1.5)
- p.Transparency = i / 25
- end
- pcall(game.Destroy, p)
- end
- ))
- end
- end
- end
- ))
- for i=1, 6 do
- wait(0.9)
- for i = 1, math.random(4, 6) do
- local p = part:Clone()
- p.Parent = Torso
- p.Anchored = true
- p.CFrame = Torso.CFrame
- local kekz2 = math.random(1,2)
- if kekz2 == 2 then
- p.BrickColor = BrickColor.new("New Yeller")
- else
- p.BrickColor = BrickColor.new("Bright yellow")
- end
- local me = Instance.new("SpecialMesh",p)
- me.MeshId = "rbxassetid://9982590"
- me.Scale = Vector3.new(4,4,4)
- delay(0,function()
- for i=1,10 do
- p.Transparency = i/10
- p.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(-20,20)/50),math.rad(math.random(-20,20)/50),0)
- me.Scale = me.Scale + Vector3.new(4,4,4)
- wait()
- end
- p:Destroy()
- end)
- wait()
- end
- end
- Torso.Anchored = true
- for i=1,10 do
- Torso.CFrame = Torso.CFrame * CFrame.new(0,-1,0)
- area.CFrame = Torso.CFrame
- wait()
- end
- realdeb = true
- Hum.WalkSpeed = 16
- Anims.Scrunch(false)
- Torso.Anchored = false
- area:Destroy()
- wait(0.6)
- Serious()
- end
- end
- local off = function()
- if (realdeb == true and trans == true) then
- trans = false
- Hum.WalkSpeed = 0
- delay(0,function()
- for q=1,120 do
- local xz = Instance.new("Part",plr.Character)
- xz.CFrame = plr.Character.Torso.CFrame*CFrame.new(math.random(-450,450),math.random(-450,450),math.random(-450,450))
- xz.Anchored = true
- xz.Transparency = 1
- xz.CanCollide = false
- wait(0.04)
- local pos2 = xz.Position
- local pos = plr.Character.Torso.Position
- local radius = math.random(1,1.5)
- local numParts = math.random(5,15)
- local model = plr.Character.Torso
- local lv = CFrame.new(pos,pos2).lookVector
- local dist = (pos-pos2).magnitude
- local dbp = dist/numParts
- local last = pos
- for i = 1,numParts do
- local p = Instance.new("Part",model)
- p.FormFactor = "Symmetric"
- p.Size = Vector3.new(1,1,1)
- p.CanCollide = false
- p.Anchored = false
- p.Material = "Neon"
- local kekz2 = math.random(1,2)
- if kekz2 == 2 then
- p.BrickColor = BrickColor.new("Really red")
- else
- p.BrickColor = BrickColor.new("Dark red")
- end
- p.Transparency = 0.5
- local x = math.random(-2,2)/2*dbp/4
- local y = math.random(-2,2)/2*dbp/4
- local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0)
- local dist2 = (p2.p-last).magnitude
- local mid = (p2.p+last)/2
- local m = Instance.new("BlockMesh",p)
- m.Scale = Vector3.new(radius,radius,dist2)
- p.CFrame = CFrame.new(mid,p2.p)
- last = p2.p
- game:GetService("Debris"):AddItem(p,0.2)
- end
- wait()
- xz:remove()
- end
- end)
- Anims.Scrunch(true)
- for i = 1, 8 do
- wait(0.9)
- for i = 1, math.random(4, 6) do
- local p = part:Clone()
- p.Parent = Torso
- p.Anchored = true
- p.CFrame = Torso.CFrame
- p.CanCollide = false
- -- game:service("Debris"):AddItem(p, 0.2)
- local kekz2 = math.random(1,2)
- if kekz2 == 2 then
- p.BrickColor = BrickColor.new("Really red")
- else
- p.BrickColor = BrickColor.new("Dark red")
- end
- local w = Instance.new("Weld", p)
- w.Part0 = p
- w.Part1 = Torso
- w.C0 = w.C0 * CFrame.Angles(math.random() * 6.28, math.random() * 6.28, math.random() * 6.28)
- local m = Instance.new("CylinderMesh", p)
- m.Scale = Vector3.new(math.random() * 3, 320, math.random() * 3)
- coroutine.resume(coroutine.create(function()
- for i = 1, 25 do
- wait(0.071428571428571)
- w.C0 = w.C0 * CFrame.Angles(0.05, 0.05, 0.05)
- p.Transparency = i / 25
- end
- pcall(game.Destroy, p)
- end
- ))
- end
- end
- Anims.Scrunch(false)
- Hum.WalkSpeed = 16
- realdeb = false
- end
- end
- m.KeyDown:connect(function(key)
- local k = key:lower()
- if key == "," then
- if (trans == false and realdeb == false) then
- transform()
- elseif (trans == true and realdeb == true) then
- off()
- end
- end
- end)
- Humanoid.Animator.Parent = nil
- idleanim=.4
- while true do
- swait()
- sine = sine + change
- local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
- local velderp=RootPart.Velocity.y
- hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
- if equipped==true or equipped==false then
- if attack==false then
- idle=idle+1
- else
- idle=0
- end
- if idle>=500 then
- if attack==false then
- --Sheath()
- end
- end
- if RootPart.Velocity.y > 1 and hitfloor==nil then
- Anim="Jump"
- if attack==false then
- Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
- Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
- RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
- LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2)
- end
- elseif RootPart.Velocity.y < -1 and hitfloor==nil then
- Anim="Fall"
- if attack==false then
- Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
- Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
- LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
- RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
- end
- elseif torvel<1 and hitfloor~=nil then
- Anim="Idle"
- if jumped == false then
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
- end
- if attack==false then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 0 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(5 + 2.5 * math.cos(sine / 25))),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-5 - 2.5 * math.cos(sine / 25))),.3)
- end
- elseif torvel>2 and torvel<22 and hitfloor~=nil then
- Anim="Walk"
- if jumped == false then
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
- end
- if attack==false then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 - 0.05 * math.cos(sine / 4))*angles(math.rad(15),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 25 * math.cos(sine / 8)),math.rad(0),math.rad(10 + 1.25 * math.cos(sine / 16))),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 25 * math.cos(sine / 8)),math.rad(0),math.rad(-10 - 1.25 * math.cos(sine / 16))),.3)
- end
- elseif torvel>=22 and hitfloor~=nil then
- Anim="Run"
- if jumped == false then
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
- end
- if attack==false then
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.25 + 0.05 * math.cos(sine / 32))* angles(math.rad(35),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-60),math.rad(25)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-25)),.3)
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment