Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local Angel = Instance.new("TextButton")
- local TextButton = Instance.new("TextButton")
- local Ender = Instance.new("TextButton")
- local Claws = Instance.new("TextButton")
- local Bendy = Instance.new("TextButton")
- local Dex = Instance.new("TextButton")
- local TopKek = Instance.new("TextButton")
- local close = Instance.new("TextButton")
- local open = Instance.new("TextButton")
- -- Properties
- ScreenGui.Parent = game.CoreGui
- Frame.Active = true
- Frame.Draggable = true
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0.666667, 0, 0)
- Frame.BackgroundTransparency = 0.10000000149012
- Frame.Position = UDim2.new(0.387066513, 0, 0.140109897, 0)
- Frame.Size = UDim2.new(0, 418, 0, 393)
- Frame.Visible = false
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel.BackgroundTransparency = 0.60000002384186
- TextLabel.Size = UDim2.new(0, 418, 0, 54)
- TextLabel.Font = Enum.Font.Code
- TextLabel.Text = "Scryptex"
- TextLabel.TextColor3 = Color3.new(0.666667, 0, 0)
- TextLabel.TextSize = 40
- TextLabel.TextStrokeColor3 = Color3.new(0.666667, 0, 0)
- Angel.Name = "Angel"
- Angel.Parent = Frame
- Angel.BackgroundColor3 = Color3.new(1, 1, 1)
- Angel.Position = UDim2.new(0.072966516, 0, 0.234096706, 0)
- Angel.Size = UDim2.new(0, 100, 0, 25)
- Angel.Font = Enum.Font.Code
- Angel.Text = "Angel"
- Angel.TextColor3 = Color3.new(0, 0, 0)
- Angel.TextSize = 14
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.Position = UDim2.new(0.687799037, 0, 0.234096706, 0)
- TextButton.Size = UDim2.new(0, 100, 0, 25)
- TextButton.Font = Enum.Font.Code
- TextButton.Text = "BoB The builder"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextSize = 14
- Ender.Name = "Ender"
- Ender.Parent = Frame
- Ender.BackgroundColor3 = Color3.new(1, 1, 1)
- Ender.Position = UDim2.new(0.3791866, 0, 0.234096706, 0)
- Ender.Size = UDim2.new(0, 100, 0, 25)
- Ender.Font = Enum.Font.Code
- Ender.Text = "ender"
- Ender.TextColor3 = Color3.new(0, 0, 0)
- Ender.TextSize = 14
- Claws.Name = "Claws"
- Claws.Parent = Frame
- Claws.BackgroundColor3 = Color3.new(1, 1, 1)
- Claws.Position = UDim2.new(0.3791866, 0, 0.600508928, 0)
- Claws.Size = UDim2.new(0, 100, 0, 25)
- Claws.Font = Enum.Font.Code
- Claws.Text = "Claws"
- Claws.TextColor3 = Color3.new(0, 0, 0)
- Claws.TextSize = 14
- Bendy.Name = "Bendy"
- Bendy.Parent = Frame
- Bendy.BackgroundColor3 = Color3.new(1, 1, 1)
- Bendy.Position = UDim2.new(0.072966516, 0, 0.600508928, 0)
- Bendy.Size = UDim2.new(0, 100, 0, 25)
- Bendy.Font = Enum.Font.Code
- Bendy.Text = "Bendy!"
- Bendy.TextColor3 = Color3.new(0, 0, 0)
- Bendy.TextSize = 14
- Dex.Name = "Dex"
- Dex.Parent = Frame
- Dex.BackgroundColor3 = Color3.new(1, 1, 1)
- Dex.Position = UDim2.new(0.716507196, 0, 0.600508928, 0)
- Dex.Size = UDim2.new(0, 100, 0, 25)
- Dex.Font = Enum.Font.Code
- Dex.Text = "DEX"
- Dex.TextColor3 = Color3.new(0, 0, 0)
- Dex.TextSize = 14
- TopKek.Name = "TopKek"
- TopKek.Parent = Frame
- TopKek.BackgroundColor3 = Color3.new(0.666667, 0, 0)
- TopKek.Position = UDim2.new(0, 0, 0.860050917, 0)
- TopKek.Size = UDim2.new(0, 418, 0, 55)
- TopKek.Font = Enum.Font.Code
- TopKek.Text = "TopKek v 4"
- TopKek.TextColor3 = Color3.new(0, 0, 0)
- TopKek.TextSize = 14
- close.Name = "close"
- close.Parent = ScreenGui
- close.BackgroundColor3 = Color3.new(0.666667, 0, 0)
- close.BackgroundTransparency = 0.20000000298023
- close.Position = UDim2.new(0, 0, 0.666666687, 0)
- close.Size = UDim2.new(0, 200, 0, 50)
- close.Font = Enum.Font.SourceSansBold
- close.Text = "Close"
- close.TextColor3 = Color3.new(0, 0, 0)
- close.TextScaled = true
- close.TextSize = 14
- close.TextWrapped = true
- open.Name = "open"
- open.Parent = ScreenGui
- open.BackgroundColor3 = Color3.new(0.666667, 0, 0)
- open.BackgroundTransparency = 0.20000000298023
- open.Position = UDim2.new(0, 0, 0.666666687, 0)
- open.Size = UDim2.new(0, 200, 0, 50)
- open.Font = Enum.Font.SourceSansBold
- open.Text = "Open"
- open.TextColor3 = Color3.new(0, 0, 0)
- open.TextScaled = true
- open.TextSize = 14
- open.TextWrapped = true
- -- Scripts --
- open.MouseButton1Down:connect(function()
- Frame.Visible = true
- open.Visible = false
- close.Visible = true
- end)
- close.MouseButton1Down:connect(function()
- Frame.Visible = false
- open.Visible = true
- close.Visible = false
- end)
- ---- Functions --
- Angel.MouseButton1Down:connect(function()
- --coolallball
- if game.Players.LocalPlayer.Character.Animate.Disabled==false then
- game.Players.LocalPlayer.Character.Animate.Disabled=true
- end
- wait()
- local Player=game.Players.LocalPlayer
- repeat wait()
- until Player
- local Char=Player.Character
- repeat wait()
- until Char
- local CurrentEffects={}
- local CurrentDamages={}
- local Human=Char.Humanoid
- local LArm=Char["Left Arm"]
- local RArm=Char["Right Arm"]
- local LLeg=Char["Left Leg"]
- local RLeg=Char["Right Leg"]
- local Torso=Char.Torso
- local RS=Torso["Right Shoulder"]
- local LS=Torso["Left Shoulder"]
- local RH=Torso["Right Hip"]
- local LH=Torso["Left Hip"]
- local Head=Char.Head
- local Neck=Torso.Neck
- local RootPart=Char.HumanoidRootPart
- local RootJoint=RootPart.RootJoint
- local equipped=false
- local Debounce=false
- local Anim="Idle"
- local chat = game:GetService("Chat")
- local Mouse=Player:GetMouse()
- local Lighting=game.Lighting
- local cf=CFrame.new
- local v3=Vector3.new
- local c3=Color3.new
- local it=Instance.new
- local angles=CFrame.Angles
- local rad=math.rad
- local ran=math.random
- local huge=math.huge
- local attacking=false
- local attacktype=1
- local Portalling=false
- local p = game.Players.LocalPlayer
- local char = p.Character
- local mouse = p:GetMouse()
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local hum = char.Humanoid
- local cam = game.Workspace.CurrentCamera
- local root = char.HumanoidRootPart
- local deb = false
- local shot = 0
- local debris=game:service"Debris"
- local l = game:GetService("Lighting")
- local rs = game:GetService("RunService").RenderStepped
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
- LSC0=cf(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
- RSC0=cf(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- ROOTC0 = cf(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- r=game:service'RunService'.RenderStepped
- clerp=function(a,b,t)
- return a:lerp(b,t)
- end
- local Rainbow = { --This is the main color set. Try to use more than just a few, make it fade in order as well
- "Really red",
- }
- Debounces = {
- CanAttack = true;
- NoIdl = false;
- Slashing = false;
- Slashed = false;
- RPunch = false;
- Invisible = false;
- RPunched = false;
- LPunch = false;
- LPunched = false;
- }
- local Touche = {char.Name, }
- function genWeld(a,b)
- local w = Instance.new("Weld",a)
- w.Part0 = a
- w.Part1 = b
- return w
- end
- function weld(a, b)
- local weld = Instance.new("Weld")
- weld.Name = "W"
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- weld.Parent = a
- return weld;
- 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
- ----------------------------------------------------
- newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
- local wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- ----------------------------------------------------
- function weld5(part0, part1, c0, c1)
- weeld=Instance.new("Weld", part0)
- weeld.Part0=part0
- weeld.Part1=part1
- weeld.C0=c0
- weeld.C1=c1
- return weeld
- end
- ----------------------------------------------------
- function HasntTouched(plrname)
- local ret = true
- for _, v in pairs(Touche) do
- if v == plrname then
- ret = false
- end
- end
- return ret
- end
- ----------------------------------------------------
- newWeld(torso, larm, -1.5, 0.5, 0)
- larm.Weld.C1 = CFrame.new(0, 0.5, 0)
- newWeld(torso, rarm, 1.5, 0.5, 0)
- rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
- newWeld(torso, hed, 0, 1.5, 0)
- newWeld(torso, lleg, -0.5, -1, 0)
- lleg.Weld.C1 = CFrame.new(0, 1, 0)
- newWeld(torso, rleg, 0.5, -1, 0)
- rleg.Weld.C1 = CFrame.new(0, 1, 0)
- newWeld(root, torso, 0, -1, 0)
- torso.Weld.C1 = CFrame.new(0, -1, 0)
- p = Instance.new("Part")
- p.BrickColor = BrickColor.new("Really red")
- p.Transparency = 1
- TorsoColor = p.BrickColor
- local Transforming = true
- Human.WalkSpeed = 0
- local fx = Instance.new("Part",Torso)
- wit = p.BrickColor.Color
- wit2 = Color3.new(0,255,0)
- local glowz = Instance.new("ParticleEmitter",fx)
- glowz.LightEmission = 1
- glowz.Texture = "rbxassetid://284205403"
- glowz.Color = ColorSequence.new(wit)
- glowz.Size = NumberSequence.new(5)
- glowz.Speed = NumberRange.new(25,50)
- glowz.LockedToPart = false
- glowz.Transparency = NumberSequence.new(0.75)
- glowz.RotSpeed = NumberRange.new(-2000,2000)
- glowz.Lifetime = NumberRange.new(1)
- glowz.Rate = 50000
- glowz.VelocitySpread = 9001
- local glowz2 = Instance.new("ParticleEmitter",fx)
- glowz2.LightEmission = 0.5
- glowz.Texture = "rbxassetid://284205403"
- glowz2.Color = ColorSequence.new(wit2)
- glowz2.Size = NumberSequence.new(5)
- glowz2.Speed = NumberRange.new(25,50)
- glowz2.LockedToPart = false
- glowz2.Transparency = NumberSequence.new(0.75)
- glowz2.RotSpeed = NumberRange.new(-2000,2000)
- glowz2.Lifetime = NumberRange.new(1)
- glowz2.Rate = 50000
- glowz2.VelocitySpread = 9001
- fx.Anchored = true
- fx.Material = "Neon"
- fx.CanCollide = false
- fx.Locked = true
- fx.Transparency = 1
- fx.Material = "Neon"
- fx.Size = Vector3.new(1,1,1)
- fx.TopSurface = "SmoothNoOutlines"
- fx.BottomSurface = "SmoothNoOutlines"
- fx.BrickColor = BrickColor.new("Really black")
- fxm = Instance.new("SpecialMesh",fx)
- fxm.MeshType = "Sphere"
- local sa2 = Instance.new("Sound",Torso)
- sa2.SoundId = "rbxassetid://93724183"
- sa2.Pitch = 0.5
- sa2.Volume = 5
- sa2.Looped = false
- sa2:Play()
- local value = 1
- fxm.Scale = Vector3.new(1,1,1)
- for i = 1, 20 do rs:wait()
- value = value - 0.05
- fx.Transparency = fx.Transparency - (1/20)
- fx.CFrame = Torso.CFrame
- fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
- rs:wait()
- end
- ----------------------------------------------------
- GroundWave1 = function()
- local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local Colors = {"New Yeller", "Really black"}
- local wave = Instance.new("Part", Torso)
- wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = HandCF
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshId = "rbxassetid://3270017"
- coroutine.wrap(function()
- for i = 1, 30, 1 do
- wm.Scale = Vector3.new(50, 50, 1 + i*50)
- wave.Size = wm.Scale
- wave.CFrame = HandCF
- wave.Transparency = i/30
- wait()
- end
- wait()
- wave:Destroy()
- end)()
- end
- ----------------------------------------------------
- GroundWave3 = function()
- local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local Colors = {"New Yeller", "New Yeller"}
- local wave = Instance.new("Part", torso)
- wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = HandCF
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshId = "rbxassetid://3270017"
- coroutine.wrap(function()
- for i = 1, 14, 1 do
- wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
- wave.Size = wm.Scale
- wave.CFrame = HandCF
- wave.Transparency = i/14
- wait()
- end
- wait()
- wave:Destroy()
- end)()
- end
- local acos = math.acos
- local sqrt = math.sqrt
- local Vec3 = Vector3.new
- local fromAxisAngle = CFrame.fromAxisAngle
- 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 acos = math.acos
- local sqrt = math.sqrt
- local Vec3 = Vector3.new
- local fromAxisAngle = CFrame.fromAxisAngle
- 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
- 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
- function LerpCFrame(CFrame1,CFrame2,Num)
- local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
- return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
- 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 = BrickColor.new("New Yeller")
- P.Material = "Granite"
- 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 = BrickColor.new("New Yeller")
- P.Material = Hit.Material
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(5,5,5)*(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
- GroundWave = function()
- if Transforming == true then
- local value = 5
- local value2 = 10
- local value3 = 20
- local sa2 = Instance.new("Sound",Torso)
- sa2.SoundId = "rbxassetid://393621716"
- sa2.Pitch = 1
- sa2.Volume = 10
- sa2.Looped = false
- sa2:Play()
- local wave = Instance.new("Part", Torso)
- local glowz = Instance.new("ParticleEmitter",wave)
- glowz.LightEmission = 1
- glowz.Texture = "rbxassetid://284205403"
- glowz.Color = ColorSequence.new(wit)
- glowz.Size = NumberSequence.new(30)
- glowz.Speed = NumberRange.new(25,100)
- glowz.LockedToPart = false
- glowz.Transparency = NumberSequence.new(0.75)
- glowz.RotSpeed = NumberRange.new(-2000,2000)
- glowz.Lifetime = NumberRange.new(1)
- glowz.Rate = 50000
- glowz.VelocitySpread = 9001
- local glowz2 = Instance.new("ParticleEmitter",wave)
- glowz2.LightEmission = 1
- glowz.Texture = "rbxassetid://284205403"
- glowz2.Color = ColorSequence.new(wit)
- glowz2.Size = NumberSequence.new(30)
- glowz2.Speed = NumberRange.new(25,100)
- glowz2.LockedToPart = false
- glowz2.Transparency = NumberSequence.new(0.75)
- glowz2.RotSpeed = NumberRange.new(-2000,2000)
- glowz2.Lifetime = NumberRange.new(1)
- glowz2.Rate = 50000
- glowz2.VelocitySpread = 9001
- wave.BrickColor = BrickColor.new("Really black")
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = fx.CFrame
- wave.Material = "Neon"
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshType = "Sphere"
- wm.Scale = Vector3.new(1,1,1)
- local wave2 = Instance.new("Part", Torso)
- wave2.BrickColor = TorsoColor
- wave2.Anchored = true
- wave2.CanCollide = false
- wave2.Locked = true
- wave2.Size = Vector3.new(1, 1, 1)
- wave2.TopSurface = "Smooth"
- wave2.BottomSurface = "Smooth"
- wave2.Transparency = 0.35
- wave2.CFrame = fx.CFrame
- wave2.Material = "Neon"
- wm2 = Instance.new("SpecialMesh", wave2)
- wm2.MeshType = "FileMesh"
- wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
- wm2.Scale = Vector3.new(1,1,1)
- local wave3 = Instance.new("Part", Torso)
- wave3.BrickColor = BrickColor.new("Really black")
- wave3.Anchored = true
- wave3.CanCollide = false
- wave3.Locked = true
- wave3.Size = Vector3.new(1, 1, 1)
- wave3.TopSurface = "Smooth"
- wave3.BottomSurface = "Smooth"
- wave3.Transparency = 0.35
- wave3.CFrame = fx.CFrame
- wave3.Material = "Neon"
- wm3 = Instance.new("SpecialMesh", wave3)
- wm3.MeshType = "FileMesh"
- wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
- wm3.Scale = Vector3.new(1,1,1)
- coroutine.wrap(function()
- for i = 1, 18, 1 do
- value = value - 0.5
- value2 = value2 - 0.75*1.5
- value3 = value3 - 0.475*1.5
- wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
- wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
- wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
- --wave.Size = wm.Scale
- wave.CFrame = fx.CFrame
- wave.Transparency = i/14
- --wave2.Size = wm2.Scale
- wave2.CFrame = fx.CFrame
- wave2.Rotation = Vector3.new(90, 0, 0)
- wave2.Transparency = i/14
- --wave3.Size = wm3.Scale
- wave3.CFrame = fx.CFrame
- wave3.Rotation = Vector3.new(90, 0, 0)
- wave3.Transparency = i/14
- wait()
- glowz.Rate = 0
- glowz2.Rate = 0
- end
- wait()
- wave:Destroy()
- wave2:Destroy()
- wave3:Destroy()
- end)()
- elseif Transforming == false then
- wait()
- end
- end
- for i = 1, 100 do rs:wait()
- fx.CFrame = Torso.CFrame
- end
- spawn(function()
- while wait(1) do
- GroundWave()
- end
- end)
- wait(4)
- Transforming = false
- local value2 = 1
- for i = 1, 20 do rs:wait()
- value2 = value2 - 0.05
- glowz.Rate = 0
- glowz2.Rate = 0
- fx.Transparency = fx.Transparency + (1/20)
- fx.CFrame = torso.CFrame
- fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
- rs:wait()
- end
- glowz:Destroy()
- glowz2:Destroy()
- local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local valuer = 5
- local valuer2 = 10
- local valuer3 = 15
- local sa2 = Instance.new("Sound",torso)
- sa2.SoundId = "rbxassetid://130972023"
- sa2.Pitch = 1
- sa2.Volume = 5
- sa2.Looped = false
- sa2:Play()
- local sar2 = Instance.new("Sound",torso)
- sar2.SoundId = "rbxassetid://153274423"
- sar2.Pitch = 1
- sar2.Volume = 5
- sar2.Looped = false
- sar2:Play()
- local Mus = Instance.new("Sound",torso)
- Mus.SoundId = "rbxassetid://730210213"
- Mus.Pitch = 1
- Mus.Volume = 6
- Mus.Looped = true
- Mus:Play()
- Crater(torso,67)
- local wave = Instance.new("Part", torso)
- wave.BrickColor = TorsoColor
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = HandCF
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshId = "rbxassetid://3270017"
- local wave2 = Instance.new("Part", torso)
- wave2.BrickColor = BrickColor.new("Really black")
- wave2.Anchored = true
- wave2.CanCollide = false
- wave2.Locked = true
- wave2.Size = Vector3.new(1, 1, 1)
- wave2.TopSurface = "Smooth"
- wave2.BottomSurface = "Smooth"
- wave2.Transparency = 0.35
- wave2.CFrame = HandCF
- wm2 = Instance.new("SpecialMesh", wave2)
- wm2.MeshId = "rbxassetid://3270017"
- local wave3 = Instance.new("Part", torso)
- wave3.BrickColor = TorsoColor
- wave3.Anchored = true
- wave3.CanCollide = false
- wave3.Locked = true
- wave3.Size = Vector3.new(1, 1, 1)
- wave3.TopSurface = "Smooth"
- wave3.BottomSurface = "Smooth"
- wave3.Transparency = 0.35
- wave3.CFrame = HandCF
- wm3 = Instance.new("SpecialMesh", wave3)
- wm3.MeshId = "rbxassetid://3270017"
- coroutine.wrap(function()
- for i = 1, 14, 1 do
- valuer = valuer - 0.35
- valuer2 = valuer - 0.45
- valuer3 = valuer3 - 0.475
- wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200)
- wave.Size = wm.Scale
- wave.CFrame = HandCF
- wave.Transparency = i/14
- wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10)
- wave2.Size = wm2.Scale
- wave2.CFrame = HandCF
- wave2.Transparency = i/14
- wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1)
- wave3.Size = wm2.Scale
- wave3.CFrame = HandCF
- wave3.Transparency = i/14
- wait()
- end
- wait()
- wave:Destroy()
- wave2:Destroy()
- end)()
- hum.WalkSpeed = 16
- CV="Pastel blue"
- local txt = Instance.new("BillboardGui", Char)
- 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(255,255,0)
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent=Player.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=1
- v.CFrame=Char.Torso.CFrame
- v.BrickColor=BrickColor.new(CV)
- v.Transparency=1
- text.TextColor3 = Color3.new(0,0,0)
- v.Shape="Block"
- text.Text = "{}Archangel Feluxinian{} By- Jeff223311"
- Player:ClearCharacterAppearance()
- wait(0.1)
- Player.Character.Head.BrickColor = BrickColor.new("Really black")
- Player.Character.Torso.BrickColor = BrickColor.new("Really black")
- Player.Character["Right Arm"].BrickColor = BrickColor.new("Really black")
- Player.Character["Right Leg"].BrickColor = BrickColor.new("Really black")
- Player.Character["Left Leg"].BrickColor = BrickColor.new("Really black")
- Player.Character["Left Arm"].BrickColor = BrickColor.new("Really black")
- Player.Character.Head.face:Destroy()
- local selectionBoxOfTorso = Instance.new("SelectionBox",Torso)
- selectionBoxOfTorso.Adornee = Torso
- selectionBoxOfTorso.Color = BrickColor.new("New Yeller")
- selectionBoxOfTorso.LineThickness = 0.01
- selectionBoxOfTorso.Transparency = 0
- local selectionBoxOfRightArm = Instance.new("SelectionBox",Char["Right Arm"])
- selectionBoxOfRightArm.Adornee = Char["Right Arm"]
- selectionBoxOfRightArm.Color = BrickColor.new("New Yeller")
- selectionBoxOfRightArm.LineThickness = 0.01
- selectionBoxOfRightArm.Transparency = 0
- local selectionBoxOfRightLeg = Instance.new("SelectionBox",Char["Right Leg"])
- selectionBoxOfRightLeg.Adornee = Char["Right Leg"]
- selectionBoxOfRightLeg.Color = BrickColor.new("New Yeller")
- selectionBoxOfRightLeg.LineThickness = 0.01
- selectionBoxOfRightLeg.Transparency = 0
- local selectionBoxOfLeftArm = Instance.new("SelectionBox",Char["Left Arm"])
- selectionBoxOfLeftArm.Adornee = Char["Left Arm"]
- selectionBoxOfLeftArm.Color = BrickColor.new("New Yeller")
- selectionBoxOfLeftArm.LineThickness = 0.01
- selectionBoxOfLeftArm.Transparency = 0
- local selectionBoxOfLeftLeg = Instance.new("SelectionBox",Char["Left Leg"])
- selectionBoxOfLeftLeg.Adornee = Char["Left Leg"]
- selectionBoxOfLeftLeg.Color = BrickColor.new("New Yeller")
- selectionBoxOfLeftLeg.LineThickness = 0.01
- selectionBoxOfLeftLeg.Transparency = 0
- LightOnBody = Instance.new("PointLight", Head)
- LightOnBody.Brightness = 3000
- LightOnBody.Range = 20
- LightOnBody.Color = Color3.new(0, 225, 0)
- ----------------------------------------------------------------------
- local m2 = Instance.new("Model")
- m2.Name = "Wings"
- p1 = Instance.new("Part", m2)
- p1.BrickColor = BrickColor.new("New Yeller")
- p1.Material = Enum.Material.Neon
- p1.CFrame = CFrame.new(28.7928066, 27.8741341, 25.9347725, -0.579227924, -0.579227805, -0.573576331, 0.707106769, -0.707106769, 0, -0.405579776, -0.405579716, 0.819152117)
- p1.FormFactor = Enum.FormFactor.Custom
- p1.Size = Vector3.new(0.61060679, 3.09150696, 0.221234918)
- p1.BottomSurface = Enum.SurfaceType.Smooth
- p1.TopSurface = Enum.SurfaceType.Smooth
- b1 = Instance.new("SpecialMesh", p1)
- b1.MeshType = Enum.MeshType.Sphere
- b1.Name = "Mesh"
- p2 = Instance.new("Part", m2)
- p2.BrickColor = BrickColor.new("New Yeller")
- p2.Material = Enum.Material.SmoothPlastic
- p2.Reflectance = 0.30000001192093
- p2.CFrame = CFrame.new(23.8806973, 23.7568359, 26.9065781, -0.573576033, 0.346188396, -0.742403686, 0, -0.906307817, -0.422617972, -0.819152117, -0.24240382, 0.519836783)
- p2.CanCollide = false
- p2.FormFactor = Enum.FormFactor.Custom
- p2.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p2.BottomSurface = Enum.SurfaceType.Smooth
- p2.TopSurface = Enum.SurfaceType.Smooth
- b2 = Instance.new("SpecialMesh", p2)
- b2.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b2.TextureId = ""
- b2.MeshType = Enum.MeshType.FileMesh
- b2.Name = "Mesh"
- b2.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p3 = Instance.new("Part", m2)
- p3.BrickColor = BrickColor.new("New Yeller")
- p3.Material = Enum.Material.SmoothPlastic
- p3.Reflectance = 0.30000001192093
- p3.CFrame = CFrame.new(23.7651176, 23.6910381, 26.9875221, -0.573576033, 0.346188247, -0.742403686, -2.40360578e-007, -0.906307697, -0.422617912, -0.819152117, -0.242403969, 0.519836664)
- p3.CanCollide = false
- p3.FormFactor = Enum.FormFactor.Custom
- p3.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p3.BottomSurface = Enum.SurfaceType.Smooth
- p3.TopSurface = Enum.SurfaceType.Smooth
- b3 = Instance.new("SpecialMesh", p3)
- b3.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b3.TextureId = ""
- b3.MeshType = Enum.MeshType.FileMesh
- b3.Name = "Mesh"
- b3.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p4 = Instance.new("Part", m2)
- p4.BrickColor = BrickColor.new("New Yeller")
- p4.Material = Enum.Material.SmoothPlastic
- p4.Reflectance = 0.30000001192093
- p4.CFrame = CFrame.new(29.5663891, 25.8075085, 26.4371891, -0.573576391, 0.280166149, 0.769750714, 2.08616257e-007, -0.939692259, 0.342020333, 0.819151878, 0.196174487, 0.538985968)
- p4.CanCollide = false
- p4.FormFactor = Enum.FormFactor.Custom
- p4.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p4.BottomSurface = Enum.SurfaceType.Smooth
- p4.TopSurface = Enum.SurfaceType.Smooth
- b4 = Instance.new("SpecialMesh", p4)
- b4.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b4.TextureId = ""
- b4.MeshType = Enum.MeshType.FileMesh
- b4.Name = "Mesh"
- b4.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p5 = Instance.new("Part", m2)
- p5.BrickColor = BrickColor.new("New Yeller")
- p5.Material = Enum.Material.SmoothPlastic
- p5.Reflectance = 0.30000001192093
- p5.CFrame = CFrame.new(23.880703, 23.7568455, 26.9065876, -0.573576212, 0.346188098, -0.742403805, -4.76837158e-007, -0.906307578, -0.422617912, -0.819152236, -0.242404133, 0.519836485)
- p5.CanCollide = false
- p5.FormFactor = Enum.FormFactor.Custom
- p5.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p5.BottomSurface = Enum.SurfaceType.Smooth
- p5.TopSurface = Enum.SurfaceType.Smooth
- b5 = Instance.new("SpecialMesh", p5)
- b5.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b5.TextureId = ""
- b5.MeshType = Enum.MeshType.FileMesh
- b5.Name = "Mesh"
- b5.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p6 = Instance.new("Part", m2)
- p6.BrickColor = BrickColor.new("New Yeller")
- p6.Material = Enum.Material.SmoothPlastic
- p6.Reflectance = 0.30000001192093
- p6.CFrame = CFrame.new(23.6530266, 23.6272411, 27.0660267, -0.573576212, 0.346187949, -0.742403805, -7.17197622e-007, -0.906307459, -0.422617853, -0.819152236, -0.242404282, 0.519836366)
- p6.CanCollide = false
- p6.FormFactor = Enum.FormFactor.Custom
- p6.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p6.BottomSurface = Enum.SurfaceType.Smooth
- p6.TopSurface = Enum.SurfaceType.Smooth
- b6 = Instance.new("SpecialMesh", p6)
- b6.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b6.TextureId = ""
- b6.MeshType = Enum.MeshType.FileMesh
- b6.Name = "Mesh"
- b6.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p7 = Instance.new("Part", m2)
- p7.BrickColor = BrickColor.new("New Yeller")
- p7.Material = Enum.Material.SmoothPlastic
- p7.Reflectance = 0.30000001192093
- p7.CFrame = CFrame.new(23.7651253, 23.6910515, 26.9875393, -0.573576212, 0.3461878, -0.742403805, -9.57558086e-007, -0.90630734, -0.422617793, -0.819152236, -0.242404431, 0.519836247)
- p7.CanCollide = false
- p7.FormFactor = Enum.FormFactor.Custom
- p7.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p7.BottomSurface = Enum.SurfaceType.Smooth
- p7.TopSurface = Enum.SurfaceType.Smooth
- b7 = Instance.new("SpecialMesh", p7)
- b7.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b7.TextureId = ""
- b7.MeshType = Enum.MeshType.FileMesh
- b7.Name = "Mesh"
- b7.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p8 = Instance.new("Part", m2)
- p8.BrickColor = BrickColor.new("New Yeller")
- p8.Material = Enum.Material.SmoothPlastic
- p8.Reflectance = 0.30000001192093
- p8.CFrame = CFrame.new(23.6530304, 23.6272488, 27.0660381, -0.573576212, 0.346187651, -0.742403805, -1.19791855e-006, -0.90630722, -0.422617733, -0.819152236, -0.24240458, 0.519836128)
- p8.CanCollide = false
- p8.FormFactor = Enum.FormFactor.Custom
- p8.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p8.BottomSurface = Enum.SurfaceType.Smooth
- p8.TopSurface = Enum.SurfaceType.Smooth
- b8 = Instance.new("SpecialMesh", p8)
- b8.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b8.TextureId = ""
- b8.MeshType = Enum.MeshType.FileMesh
- b8.Name = "Mesh"
- b8.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p9 = Instance.new("Part", m2)
- p9.BrickColor = BrickColor.new("New Yeller")
- p9.Material = Enum.Material.SmoothPlastic
- p9.Reflectance = 0.30000001192093
- p9.CFrame = CFrame.new(30.2536392, 23.691061, 26.9184284, -0.573576212, -0.346188962, 0.74240309, 4.47034836e-007, -0.906307578, -0.422616601, 0.81915164, -0.242404819, 0.519836843)
- p9.CanCollide = false
- p9.FormFactor = Enum.FormFactor.Custom
- p9.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p9.BottomSurface = Enum.SurfaceType.Smooth
- p9.TopSurface = Enum.SurfaceType.Smooth
- b9 = Instance.new("SpecialMesh", p9)
- b9.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b9.TextureId = ""
- b9.MeshType = Enum.MeshType.FileMesh
- b9.Name = "Mesh"
- b9.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p10 = Instance.new("Part", m2)
- p10.BrickColor = BrickColor.new("New Yeller")
- p10.Material = Enum.Material.SmoothPlastic
- p10.Reflectance = 0.30000001192093
- p10.CFrame = CFrame.new(27.9471893, 26.8180733, 25.3034286, -0.573576212, 0.469845235, 0.671010077, 2.86794574e-007, -0.819150567, 0.573576927, 0.81915164, 0.328989446, 0.469847172)
- p10.CanCollide = false
- p10.FormFactor = Enum.FormFactor.Custom
- p10.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p10.BottomSurface = Enum.SurfaceType.Smooth
- p10.TopSurface = Enum.SurfaceType.Smooth
- b10 = Instance.new("SpecialMesh", p10)
- b10.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b10.TextureId = ""
- b10.MeshType = Enum.MeshType.FileMesh
- b10.Name = "Mesh"
- b10.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p11 = Instance.new("Part", m2)
- p11.BrickColor = BrickColor.new("New Yeller")
- p11.Material = Enum.Material.SmoothPlastic
- p11.Reflectance = 0.30000001192093
- p11.CFrame = CFrame.new(27.8153667, 25.7751122, 25.211132, -0.573576212, 0.469845206, 0.671010017, 3.03888498e-007, -0.819150567, 0.573576987, 0.81915164, 0.328989416, 0.469847172)
- p11.CanCollide = false
- p11.FormFactor = Enum.FormFactor.Custom
- p11.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p11.BottomSurface = Enum.SurfaceType.Smooth
- p11.TopSurface = Enum.SurfaceType.Smooth
- b11 = Instance.new("SpecialMesh", p11)
- b11.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b11.TextureId = ""
- b11.MeshType = Enum.MeshType.FileMesh
- b11.Name = "Mesh"
- b11.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p12 = Instance.new("Part", m2)
- p12.BrickColor = BrickColor.new("New Yeller")
- p12.Material = Enum.Material.SmoothPlastic
- p12.Reflectance = 0.30000001192093
- p12.CFrame = CFrame.new(29.655653, 24.6090927, 26.4997177, -0.573576212, 0.212011248, 0.791239619, 2.79475898e-007, -0.965924561, 0.258820325, 0.81915164, 0.14845185, 0.554032922)
- p12.CanCollide = false
- p12.FormFactor = Enum.FormFactor.Custom
- p12.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p12.BottomSurface = Enum.SurfaceType.Smooth
- p12.TopSurface = Enum.SurfaceType.Smooth
- b12 = Instance.new("SpecialMesh", p12)
- b12.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b12.TextureId = ""
- b12.MeshType = Enum.MeshType.FileMesh
- b12.Name = "Mesh"
- b12.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p13 = Instance.new("Part", m2)
- p13.BrickColor = BrickColor.new("New Yeller")
- p13.Material = Enum.Material.SmoothPlastic
- p13.Reflectance = 0.30000001192093
- p13.CFrame = CFrame.new(27.9198303, 25.8644161, 25.2842865, -0.573576212, 0.469845116, 0.671010017, 2.51205847e-007, -0.819150507, 0.573577106, 0.81915164, 0.328989446, 0.469847202)
- p13.CanCollide = false
- p13.FormFactor = Enum.FormFactor.Custom
- p13.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p13.BottomSurface = Enum.SurfaceType.Smooth
- p13.TopSurface = Enum.SurfaceType.Smooth
- b13 = Instance.new("SpecialMesh", p13)
- b13.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b13.TextureId = ""
- b13.MeshType = Enum.MeshType.FileMesh
- b13.Name = "Mesh"
- b13.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p14 = Instance.new("Part", m2)
- p14.BrickColor = BrickColor.new("New Yeller")
- p14.Material = Enum.Material.SmoothPlastic
- p14.Reflectance = 0.30000001192093
- p14.CFrame = CFrame.new(29.778841, 24.6493893, 26.5859776, -0.573576212, 0.212011158, 0.791239619, 2.26793262e-007, -0.965924621, 0.258820474, 0.81915164, 0.148451865, 0.554032922)
- p14.CanCollide = false
- p14.FormFactor = Enum.FormFactor.Custom
- p14.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p14.BottomSurface = Enum.SurfaceType.Smooth
- p14.TopSurface = Enum.SurfaceType.Smooth
- b14 = Instance.new("SpecialMesh", p14)
- b14.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b14.TextureId = ""
- b14.MeshType = Enum.MeshType.FileMesh
- b14.Name = "Mesh"
- b14.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p15 = Instance.new("Part", m2)
- p15.BrickColor = BrickColor.new("New Yeller")
- p15.Material = Enum.Material.SmoothPlastic
- p15.Reflectance = 0.30000001192093
- p15.CFrame = CFrame.new(29.3303242, 25.7026424, 26.271925, -0.573576212, 0.280165315, 0.769750893, 1.98523225e-007, -0.939691305, 0.342021316, 0.81915164, 0.196174055, 0.538986266)
- p15.CanCollide = false
- p15.FormFactor = Enum.FormFactor.Custom
- p15.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p15.BottomSurface = Enum.SurfaceType.Smooth
- p15.TopSurface = Enum.SurfaceType.Smooth
- b15 = Instance.new("SpecialMesh", p15)
- b15.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b15.TextureId = ""
- b15.MeshType = Enum.MeshType.FileMesh
- b15.Name = "Mesh"
- b15.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p16 = Instance.new("Part", m2)
- p16.BrickColor = BrickColor.new("New Yeller")
- p16.Material = Enum.Material.SmoothPlastic
- p16.Reflectance = 0.30000001192093
- p16.CFrame = CFrame.new(29.8983212, 24.6884689, 26.6696377, -0.573576272, 0.212011099, 0.791239798, 1.39939146e-007, -0.965924501, 0.258820534, 0.81915158, 0.148451924, 0.554033041)
- p16.CanCollide = false
- p16.FormFactor = Enum.FormFactor.Custom
- p16.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p16.BottomSurface = Enum.SurfaceType.Smooth
- p16.TopSurface = Enum.SurfaceType.Smooth
- b16 = Instance.new("SpecialMesh", p16)
- b16.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b16.TextureId = ""
- b16.MeshType = Enum.MeshType.FileMesh
- b16.Name = "Mesh"
- b16.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p17 = Instance.new("Part", m2)
- p17.BrickColor = BrickColor.new("New Yeller")
- p17.Material = Enum.Material.SmoothPlastic
- p17.Reflectance = 0.30000001192093
- p17.CFrame = CFrame.new(29.5664043, 25.8075294, 26.4372196, -0.573576272, 0.280165255, 0.769751072, 1.1166911e-007, -0.939691126, 0.342021376, 0.81915158, 0.196174115, 0.538986385)
- p17.CanCollide = false
- p17.FormFactor = Enum.FormFactor.Custom
- p17.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p17.BottomSurface = Enum.SurfaceType.Smooth
- p17.TopSurface = Enum.SurfaceType.Smooth
- b17 = Instance.new("SpecialMesh", p17)
- b17.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b17.TextureId = ""
- b17.MeshType = Enum.MeshType.FileMesh
- b17.Name = "Mesh"
- b17.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p18 = Instance.new("Part", m2)
- p18.BrickColor = BrickColor.new("New Yeller")
- p18.Material = Enum.Material.SmoothPlastic
- p18.Reflectance = 0.30000001192093
- p18.CFrame = CFrame.new(28.021162, 25.9510212, 25.3552322, -0.573576331, 0.469845086, 0.671010435, 8.10900147e-008, -0.819150269, 0.573577285, 0.819151521, 0.328989595, 0.469847381)
- p18.CanCollide = false
- p18.FormFactor = Enum.FormFactor.Custom
- p18.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p18.BottomSurface = Enum.SurfaceType.Smooth
- p18.TopSurface = Enum.SurfaceType.Smooth
- b18 = Instance.new("SpecialMesh", p18)
- b18.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b18.TextureId = ""
- b18.MeshType = Enum.MeshType.FileMesh
- b18.Name = "Mesh"
- b18.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p19 = Instance.new("Part", m2)
- p19.BrickColor = BrickColor.new("New Yeller")
- p19.Material = Enum.Material.SmoothPlastic
- p19.Reflectance = 0.30000001192093
- p19.CFrame = CFrame.new(30.3657436, 23.6272507, 26.9969234, -0.573576272, -0.346189439, 0.74240303, -9.24166343e-009, -0.906307697, -0.422616035, 0.819151521, -0.242404714, 0.519837141)
- p19.CanCollide = false
- p19.FormFactor = Enum.FormFactor.Custom
- p19.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p19.BottomSurface = Enum.SurfaceType.Smooth
- p19.TopSurface = Enum.SurfaceType.Smooth
- b19 = Instance.new("SpecialMesh", p19)
- b19.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b19.TextureId = ""
- b19.MeshType = Enum.MeshType.FileMesh
- b19.Name = "Mesh"
- b19.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p20 = Instance.new("Part", m2)
- p20.BrickColor = BrickColor.new("New Yeller")
- p20.Material = Enum.Material.SmoothPlastic
- p20.Reflectance = 0.30000001192093
- p20.CFrame = CFrame.new(30.2536469, 23.6910553, 26.9184265, -0.573576272, -0.346189529, 0.742402911, -2.63107069e-007, -0.906307518, -0.422615975, 0.819151521, -0.242404476, 0.519837141)
- p20.CanCollide = false
- p20.FormFactor = Enum.FormFactor.Custom
- p20.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p20.BottomSurface = Enum.SurfaceType.Smooth
- p20.TopSurface = Enum.SurfaceType.Smooth
- b20 = Instance.new("SpecialMesh", p20)
- b20.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b20.TextureId = ""
- b20.MeshType = Enum.MeshType.FileMesh
- b20.Name = "Mesh"
- b20.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p21 = Instance.new("Part", m2)
- p21.BrickColor = BrickColor.new("New Yeller")
- p21.Material = Enum.Material.SmoothPlastic
- p21.Reflectance = 0.30000001192093
- p21.CFrame = CFrame.new(27.8458843, 26.7314644, 25.2324886, -0.573576272, 0.469844759, 0.671010494, -4.23347274e-007, -0.819149971, 0.573577166, 0.819151521, 0.328989863, 0.469847023)
- p21.CanCollide = false
- p21.FormFactor = Enum.FormFactor.Custom
- p21.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p21.BottomSurface = Enum.SurfaceType.Smooth
- p21.TopSurface = Enum.SurfaceType.Smooth
- b21 = Instance.new("SpecialMesh", p21)
- b21.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b21.TextureId = ""
- b21.MeshType = Enum.MeshType.FileMesh
- b21.Name = "Mesh"
- b21.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p22 = Instance.new("Part", m2)
- p22.BrickColor = BrickColor.new("New Yeller")
- p22.Material = Enum.Material.SmoothPlastic
- p22.Reflectance = 0.30000001192093
- p22.CFrame = CFrame.new(30.1380615, 23.756855, 26.8374882, -0.573576212, -0.346189648, 0.742402732, -5.1367897e-007, -0.906307459, -0.422615856, 0.819151521, -0.242404282, 0.519837141)
- p22.CanCollide = false
- p22.FormFactor = Enum.FormFactor.Custom
- p22.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p22.BottomSurface = Enum.SurfaceType.Smooth
- p22.TopSurface = Enum.SurfaceType.Smooth
- b22 = Instance.new("SpecialMesh", p22)
- b22.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b22.TextureId = ""
- b22.MeshType = Enum.MeshType.FileMesh
- b22.Name = "Mesh"
- b22.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p23 = Instance.new("Part", m2)
- p23.BrickColor = BrickColor.new("New Yeller")
- p23.Material = Enum.Material.SmoothPlastic
- p23.Reflectance = 0.30000001192093
- p23.CFrame = CFrame.new(29.4501858, 25.7558784, 26.3558216, -0.573576212, 0.280164778, 0.769751191, -6.73919146e-007, -0.939690709, 0.342021406, 0.819151521, 0.196174636, 0.538986027)
- p23.CanCollide = false
- p23.FormFactor = Enum.FormFactor.Custom
- p23.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p23.BottomSurface = Enum.SurfaceType.Smooth
- p23.TopSurface = Enum.SurfaceType.Smooth
- b23 = Instance.new("SpecialMesh", p23)
- b23.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b23.TextureId = ""
- b23.MeshType = Enum.MeshType.FileMesh
- b23.Name = "Mesh"
- b23.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p24 = Instance.new("Part", m2)
- p24.BrickColor = BrickColor.new("New Yeller")
- p24.Material = Enum.Material.SmoothPlastic
- p24.Reflectance = 0.30000001192093
- p24.CFrame = CFrame.new(29.3303471, 25.702631, 26.2719078, -0.573576272, 0.280164808, 0.76975143, -7.04498234e-007, -0.939690709, 0.342021465, 0.819151461, 0.196174651, 0.538986087)
- p24.CanCollide = false
- p24.FormFactor = Enum.FormFactor.Custom
- p24.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p24.BottomSurface = Enum.SurfaceType.Smooth
- p24.TopSurface = Enum.SurfaceType.Smooth
- b24 = Instance.new("SpecialMesh", p24)
- b24.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b24.TextureId = ""
- b24.MeshType = Enum.MeshType.FileMesh
- b24.Name = "Mesh"
- b24.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p25 = Instance.new("Part", m2)
- p25.BrickColor = BrickColor.new("New Yeller")
- p25.Material = Enum.Material.SmoothPlastic
- p25.Reflectance = 0.30000001192093
- p25.CFrame = CFrame.new(29.7788715, 24.6493816, 26.5859661, -0.573576331, 0.212010548, 0.791240335, -7.63082312e-007, -0.965923905, 0.258820742, 0.819151402, 0.14845252, 0.554032862)
- p25.CanCollide = false
- p25.FormFactor = Enum.FormFactor.Custom
- p25.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p25.BottomSurface = Enum.SurfaceType.Smooth
- p25.TopSurface = Enum.SurfaceType.Smooth
- b25 = Instance.new("SpecialMesh", p25)
- b25.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b25.TextureId = ""
- b25.MeshType = Enum.MeshType.FileMesh
- b25.Name = "Mesh"
- b25.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p26 = Instance.new("Part", m2)
- p26.BrickColor = BrickColor.new("New Yeller")
- p26.Material = Enum.Material.SmoothPlastic
- p26.Reflectance = 0.30000001192093
- p26.CFrame = CFrame.new(29.450201, 25.7558823, 26.3558235, -0.573576331, 0.280164748, 0.769751668, -7.91352306e-007, -0.93969059, 0.342021525, 0.819151402, 0.196174681, 0.538986146)
- p26.CanCollide = false
- p26.FormFactor = Enum.FormFactor.Custom
- p26.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p26.BottomSurface = Enum.SurfaceType.Smooth
- p26.TopSurface = Enum.SurfaceType.Smooth
- b26 = Instance.new("SpecialMesh", p26)
- b26.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b26.TextureId = ""
- b26.MeshType = Enum.MeshType.FileMesh
- b26.Name = "Mesh"
- b26.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p27 = Instance.new("Part", m2)
- p27.BrickColor = BrickColor.new("New Yeller")
- p27.Material = Enum.Material.SmoothPlastic
- p27.Reflectance = 0.30000001192093
- p27.CFrame = CFrame.new(30.3657703, 23.6272449, 26.9969063, -0.57357645, -0.346190155, 0.74240309, -9.161393e-007, -0.90630734, -0.422615707, 0.819151342, -0.242404088, 0.51983732)
- p27.CanCollide = false
- p27.FormFactor = Enum.FormFactor.Custom
- p27.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p27.BottomSurface = Enum.SurfaceType.Smooth
- p27.TopSurface = Enum.SurfaceType.Smooth
- b27 = Instance.new("SpecialMesh", p27)
- b27.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b27.TextureId = ""
- b27.MeshType = Enum.MeshType.FileMesh
- b27.Name = "Mesh"
- b27.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p28 = Instance.new("Part", m2)
- p28.BrickColor = BrickColor.new("New Yeller")
- p28.Material = Enum.Material.SmoothPlastic
- p28.Reflectance = 0.30000001192093
- p28.CFrame = CFrame.new(28.0211868, 25.9510098, 25.3552094, -0.57357645, 0.469844639, 0.67101109, -1.07637948e-006, -0.819149673, 0.573577106, 0.819151342, 0.328990191, 0.469846785)
- p28.CanCollide = false
- p28.FormFactor = Enum.FormFactor.Custom
- p28.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p28.BottomSurface = Enum.SurfaceType.Smooth
- p28.TopSurface = Enum.SurfaceType.Smooth
- b28 = Instance.new("SpecialMesh", p28)
- b28.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b28.TextureId = ""
- b28.MeshType = Enum.MeshType.FileMesh
- b28.Name = "Mesh"
- b28.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p29 = Instance.new("Part", m2)
- p29.BrickColor = BrickColor.new("New Yeller")
- p29.Material = Enum.Material.Neon
- p29.CFrame = CFrame.new(31.2683067, 23.2277946, 27.6474876, 0.280168235, -0.769749522, -0.573576212, 0.939691305, 0.342017233, -1.0690095e-006, 0.19617486, -0.538985491, 0.819151521)
- p29.FormFactor = Enum.FormFactor.Custom
- p29.Size = Vector3.new(0.61060679, 3.09150696, 0.221234918)
- p29.BottomSurface = Enum.SurfaceType.Smooth
- p29.TopSurface = Enum.SurfaceType.Smooth
- b29 = Instance.new("SpecialMesh", p29)
- b29.MeshType = Enum.MeshType.Sphere
- b29.Name = "Mesh"
- p30 = Instance.new("Part", m2)
- p30.BrickColor = BrickColor.new("New Yeller")
- p30.Material = Enum.Material.SmoothPlastic
- p30.Reflectance = 0.30000001192093
- p30.CFrame = CFrame.new(29.655632, 24.6090698, 26.4996777, -0.573576212, 0.2120094, 0.791238904, -1.13902195e-006, -0.965922236, 0.258820891, 0.819151521, 0.148452237, 0.554032147)
- p30.CanCollide = false
- p30.FormFactor = Enum.FormFactor.Custom
- p30.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p30.BottomSurface = Enum.SurfaceType.Smooth
- p30.TopSurface = Enum.SurfaceType.Smooth
- b30 = Instance.new("SpecialMesh", p30)
- b30.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b30.TextureId = ""
- b30.MeshType = Enum.MeshType.FileMesh
- b30.Name = "Mesh"
- b30.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p31 = Instance.new("Part", m2)
- p31.BrickColor = BrickColor.new("New Yeller")
- p31.Material = Enum.Material.SmoothPlastic
- p31.Reflectance = 0.30000001192093
- p31.CFrame = CFrame.new(30.138031, 23.7568359, 26.8374538, -0.573576212, -0.346189976, 0.742401063, -1.26856219e-006, -0.906306148, -0.422614396, 0.819151521, -0.242403775, 0.519836485)
- p31.CanCollide = false
- p31.FormFactor = Enum.FormFactor.Custom
- p31.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p31.BottomSurface = Enum.SurfaceType.Smooth
- p31.TopSurface = Enum.SurfaceType.Smooth
- b31 = Instance.new("SpecialMesh", p31)
- b31.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b31.TextureId = ""
- b31.MeshType = Enum.MeshType.FileMesh
- b31.Name = "Mesh"
- b31.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p32 = Instance.new("Part", m2)
- p32.BrickColor = BrickColor.new("New Yeller")
- p32.Material = Enum.Material.SmoothPlastic
- p32.Reflectance = 0.30000001192093
- p32.CFrame = CFrame.new(27.741394, 26.6421375, 25.1592979, -0.573576212, 0.469842911, 0.671009958, -1.42880219e-006, -0.819147944, 0.573576748, 0.819151521, 0.328989625, 0.4698461)
- p32.CanCollide = false
- p32.FormFactor = Enum.FormFactor.Custom
- p32.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p32.BottomSurface = Enum.SurfaceType.Smooth
- p32.TopSurface = Enum.SurfaceType.Smooth
- b32 = Instance.new("SpecialMesh", p32)
- b32.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b32.TextureId = ""
- b32.MeshType = Enum.MeshType.FileMesh
- b32.Name = "Mesh"
- b32.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p33 = Instance.new("Part", m2)
- p33.BrickColor = BrickColor.new("New Yeller")
- p33.Material = Enum.Material.Neon
- p33.CFrame = CFrame.new(32.7100258, 25.2490444, 28.6569691, -0.14224124, -0.806705832, -0.573576093, 0.984804153, -0.173650295, -1.38238238e-006, -0.0996002704, -0.564861953, 0.819151759)
- p33.FormFactor = Enum.FormFactor.Custom
- p33.Size = Vector3.new(0.61060679, 7.32508755, 0.221234918)
- p33.BottomSurface = Enum.SurfaceType.Smooth
- p33.TopSurface = Enum.SurfaceType.Smooth
- b33 = Instance.new("SpecialMesh", p33)
- b33.MeshType = Enum.MeshType.Sphere
- b33.Name = "Mesh"
- p34 = Instance.new("Part", m2)
- p34.BrickColor = BrickColor.new("New Yeller")
- p34.Material = Enum.Material.SmoothPlastic
- p34.Reflectance = 0.30000001192093
- p34.CFrame = CFrame.new(27.919817, 25.8643856, 25.2842369, -0.573576391, 0.469842792, 0.671009898, -1.37759764e-006, -0.819147885, 0.573576868, 0.8191517, 0.328989476, 0.46984604)
- p34.CanCollide = false
- p34.FormFactor = Enum.FormFactor.Custom
- p34.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p34.BottomSurface = Enum.SurfaceType.Smooth
- p34.TopSurface = Enum.SurfaceType.Smooth
- b34 = Instance.new("SpecialMesh", p34)
- b34.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b34.TextureId = ""
- b34.MeshType = Enum.MeshType.FileMesh
- b34.Name = "Mesh"
- b34.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p35 = Instance.new("Part", m2)
- p35.BrickColor = BrickColor.new("New Yeller")
- p35.Material = Enum.Material.SmoothPlastic
- p35.Reflectance = 0.30000001192093
- p35.CFrame = CFrame.new(29.8982925, 24.6884441, 26.6695824, -0.573576391, 0.212008998, 0.791238666, -1.40201018e-006, -0.965921998, 0.25882113, 0.8191517, 0.148452297, 0.554031909)
- p35.CanCollide = false
- p35.FormFactor = Enum.FormFactor.Custom
- p35.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p35.BottomSurface = Enum.SurfaceType.Smooth
- p35.TopSurface = Enum.SurfaceType.Smooth
- b35 = Instance.new("SpecialMesh", p35)
- b35.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b35.TextureId = ""
- b35.MeshType = Enum.MeshType.FileMesh
- b35.Name = "Mesh"
- b35.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p36 = Instance.new("Part", m2)
- p36.BrickColor = BrickColor.new("New Yeller")
- p36.Material = Enum.Material.SmoothPlastic
- p36.Reflectance = 0.30000001192093
- p36.CFrame = CFrame.new(27.8153496, 25.7750854, 25.2110863, -0.573576391, 0.469842672, 0.671009898, -1.43028012e-006, -0.819147885, 0.573576927, 0.8191517, 0.328989506, 0.4698461)
- p36.CanCollide = false
- p36.FormFactor = Enum.FormFactor.Custom
- p36.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p36.BottomSurface = Enum.SurfaceType.Smooth
- p36.TopSurface = Enum.SurfaceType.Smooth
- b36 = Instance.new("SpecialMesh", p36)
- b36.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b36.TextureId = ""
- b36.MeshType = Enum.MeshType.FileMesh
- b36.Name = "Mesh"
- b36.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p37 = Instance.new("Part", m2)
- p37.BrickColor = BrickColor.new("New Yeller")
- p37.Material = Enum.Material.Neon
- p37.CFrame = CFrame.new(30.7430439, 27.8460693, 27.2796841, -0.409572512, -0.709406137, -0.573576272, 0.866021335, -0.500000834, -1.38386031e-006, -0.286787719, -0.49673146, 0.819151938)
- p37.FormFactor = Enum.FormFactor.Custom
- p37.Size = Vector3.new(0.61060679, 7.32508755, 0.221234918)
- p37.BottomSurface = Enum.SurfaceType.Smooth
- p37.TopSurface = Enum.SurfaceType.Smooth
- b37 = Instance.new("SpecialMesh", p37)
- b37.MeshType = Enum.MeshType.Sphere
- b37.Name = "Mesh"
- p38 = Instance.new("Part", m2)
- p38.BrickColor = BrickColor.new("New Yeller")
- p38.Material = Enum.Material.Neon
- p38.CFrame = CFrame.new(32.7113533, 27.1965656, 28.6579113, -0.28016308, -0.769750178, -0.573576272, 0.939688683, -0.342021704, -1.3540581e-006, -0.196174175, -0.538985133, 0.819152057)
- p38.FormFactor = Enum.FormFactor.Custom
- p38.Size = Vector3.new(0.61060679, 8.03632927, 0.221234918)
- p38.BottomSurface = Enum.SurfaceType.Smooth
- p38.TopSurface = Enum.SurfaceType.Smooth
- b38 = Instance.new("SpecialMesh", p38)
- b38.MeshType = Enum.MeshType.Sphere
- b38.Name = "Mesh"
- p39 = Instance.new("Part", m2)
- p39.BrickColor = BrickColor.new("New Yeller")
- p39.Material = Enum.Material.SmoothPlastic
- p39.Reflectance = 0.30000001192093
- p39.CFrame = CFrame.new(26.2033787, 25.7750854, 25.2801971, -0.573574483, -0.469848186, -0.671007693, -2.18929154e-006, -0.819150686, 0.573572934, -0.819151402, 0.328989863, 0.469846785)
- p39.CanCollide = false
- p39.FormFactor = Enum.FormFactor.Custom
- p39.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p39.BottomSurface = Enum.SurfaceType.Smooth
- p39.TopSurface = Enum.SurfaceType.Smooth
- b39 = Instance.new("SpecialMesh", p39)
- b39.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b39.TextureId = ""
- b39.MeshType = Enum.MeshType.FileMesh
- b39.Name = "Mesh"
- b39.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p40 = Instance.new("Part", m2)
- p40.BrickColor = BrickColor.new("New Yeller")
- p40.Material = Enum.Material.SmoothPlastic
- p40.Reflectance = 0.30000001192093
- p40.CFrame = CFrame.new(25.9975967, 25.9509888, 25.4242878, -0.573574483, -0.469848186, -0.671007693, -2.18929154e-006, -0.819150686, 0.573572934, -0.819151402, 0.328989863, 0.469846785)
- p40.CanCollide = false
- p40.FormFactor = Enum.FormFactor.Custom
- p40.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p40.BottomSurface = Enum.SurfaceType.Smooth
- p40.TopSurface = Enum.SurfaceType.Smooth
- b40 = Instance.new("SpecialMesh", p40)
- b40.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b40.TextureId = ""
- b40.MeshType = Enum.MeshType.FileMesh
- b40.Name = "Mesh"
- b40.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p41 = Instance.new("Part", m2)
- p41.BrickColor = BrickColor.new("New Yeller")
- p41.Material = Enum.Material.SmoothPlastic
- p41.Reflectance = 0.30000001192093
- p41.CFrame = CFrame.new(26.098917, 25.8643856, 25.3533516, -0.573574483, -0.469848186, -0.671007693, -2.18929154e-006, -0.819150686, 0.573572934, -0.819151402, 0.328989863, 0.469846785)
- p41.CanCollide = false
- p41.FormFactor = Enum.FormFactor.Custom
- p41.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p41.BottomSurface = Enum.SurfaceType.Smooth
- p41.TopSurface = Enum.SurfaceType.Smooth
- b41 = Instance.new("SpecialMesh", p41)
- b41.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b41.TextureId = ""
- b41.MeshType = Enum.MeshType.FileMesh
- b41.Name = "Mesh"
- b41.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p42 = Instance.new("Part", m2)
- p42.BrickColor = BrickColor.new("New Yeller")
- p42.Material = Enum.Material.SmoothPlastic
- p42.Reflectance = 0.30000001192093
- p42.CFrame = CFrame.new(24.12043, 24.6884346, 26.7387066, -0.573574483, -0.212014884, -0.791238487, -2.23079792e-006, -0.965923309, 0.258816421, -0.819151402, 0.148452327, 0.554032683)
- p42.CanCollide = false
- p42.FormFactor = Enum.FormFactor.Custom
- p42.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p42.BottomSurface = Enum.SurfaceType.Smooth
- p42.TopSurface = Enum.SurfaceType.Smooth
- b42 = Instance.new("SpecialMesh", p42)
- b42.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b42.TextureId = ""
- b42.MeshType = Enum.MeshType.FileMesh
- b42.Name = "Mesh"
- b42.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p43 = Instance.new("Part", m2)
- p43.BrickColor = BrickColor.new("New Yeller")
- p43.Material = Enum.Material.SmoothPlastic
- p43.Reflectance = 0.30000001192093
- p43.CFrame = CFrame.new(24.12043, 24.6884365, 26.7387066, -0.573574483, -0.212014899, -0.791238487, -2.30996147e-006, -0.96592325, 0.258816421, -0.819151402, 0.148452222, 0.554032683)
- p43.CanCollide = false
- p43.FormFactor = Enum.FormFactor.Custom
- p43.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p43.BottomSurface = Enum.SurfaceType.Smooth
- p43.TopSurface = Enum.SurfaceType.Smooth
- b43 = Instance.new("SpecialMesh", p43)
- b43.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b43.TextureId = ""
- b43.MeshType = Enum.MeshType.FileMesh
- b43.Name = "Mesh"
- b43.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p44 = Instance.new("Part", m2)
- p44.BrickColor = BrickColor.new("New Yeller")
- p44.Material = Enum.Material.SmoothPlastic
- p44.Reflectance = 0.30000001192093
- p44.CFrame = CFrame.new(24.3630924, 24.6090679, 26.5687962, -0.573574483, -0.212014914, -0.791238487, -2.38912503e-006, -0.96592319, 0.258816421, -0.819151402, 0.148452118, 0.554032683)
- p44.CanCollide = false
- p44.FormFactor = Enum.FormFactor.Custom
- p44.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p44.BottomSurface = Enum.SurfaceType.Smooth
- p44.TopSurface = Enum.SurfaceType.Smooth
- b44 = Instance.new("SpecialMesh", p44)
- b44.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b44.TextureId = ""
- b44.MeshType = Enum.MeshType.FileMesh
- b44.Name = "Mesh"
- b44.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p45 = Instance.new("Part", m2)
- p45.BrickColor = BrickColor.new("New Yeller")
- p45.Material = Enum.Material.SmoothPlastic
- p45.Reflectance = 0.30000001192093
- p45.CFrame = CFrame.new(24.2399025, 24.6493645, 26.6550598, -0.573574483, -0.212014928, -0.791238487, -2.46828859e-006, -0.965923131, 0.258816421, -0.819151402, 0.148452014, 0.554032683)
- p45.CanCollide = false
- p45.FormFactor = Enum.FormFactor.Custom
- p45.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p45.BottomSurface = Enum.SurfaceType.Smooth
- p45.TopSurface = Enum.SurfaceType.Smooth
- b45 = Instance.new("SpecialMesh", p45)
- b45.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b45.TextureId = ""
- b45.MeshType = Enum.MeshType.FileMesh
- b45.Name = "Mesh"
- b45.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p46 = Instance.new("Part", m2)
- p46.BrickColor = BrickColor.new("New Yeller")
- p46.Material = Enum.Material.SmoothPlastic
- p46.Reflectance = 0.30000001192093
- p46.CFrame = CFrame.new(24.3630962, 24.6090736, 26.5688019, -0.573574483, -0.212014943, -0.791238487, -2.54745214e-006, -0.965923071, 0.258816421, -0.819151402, 0.148451909, 0.554032683)
- p46.CanCollide = false
- p46.FormFactor = Enum.FormFactor.Custom
- p46.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p46.BottomSurface = Enum.SurfaceType.Smooth
- p46.TopSurface = Enum.SurfaceType.Smooth
- b46 = Instance.new("SpecialMesh", p46)
- b46.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b46.TextureId = ""
- b46.MeshType = Enum.MeshType.FileMesh
- b46.Name = "Mesh"
- b46.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p47 = Instance.new("Part", m2)
- p47.BrickColor = BrickColor.new("New Yeller")
- p47.Material = Enum.Material.SmoothPlastic
- p47.Reflectance = 0.30000001192093
- p47.CFrame = CFrame.new(24.2399063, 24.6493702, 26.6550655, -0.573574483, -0.212014958, -0.791238487, -2.6266157e-006, -0.965923011, 0.258816421, -0.819151402, 0.148451805, 0.554032683)
- p47.CanCollide = false
- p47.FormFactor = Enum.FormFactor.Custom
- p47.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p47.BottomSurface = Enum.SurfaceType.Smooth
- p47.TopSurface = Enum.SurfaceType.Smooth
- b47 = Instance.new("SpecialMesh", p47)
- b47.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b47.TextureId = ""
- b47.MeshType = Enum.MeshType.FileMesh
- b47.Name = "Mesh"
- b47.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p48 = Instance.new("Part", m2)
- p48.BrickColor = BrickColor.new("New Yeller")
- p48.Material = Enum.Material.Neon
- p48.CFrame = CFrame.new(25.2453995, 27.8142643, 25.9324112, 0.579229355, 0.579225123, -0.573574543, 0.707105756, -0.707103014, -2.67389237e-006, -0.405579329, -0.40558058, -0.819151223)
- p48.FormFactor = Enum.FormFactor.Custom
- p48.Size = Vector3.new(0.61060679, 3.09150696, 0.221234918)
- p48.BottomSurface = Enum.SurfaceType.Smooth
- p48.TopSurface = Enum.SurfaceType.Smooth
- b48 = Instance.new("SpecialMesh", p48)
- b48.MeshType = Enum.MeshType.Sphere
- b48.Name = "Mesh"
- p49 = Instance.new("Part", m2)
- p49.BrickColor = BrickColor.new("New Yeller")
- p49.Material = Enum.Material.SmoothPlastic
- p49.Reflectance = 0.30000001192093
- p49.CFrame = CFrame.new(26.2033863, 25.7751026, 25.2802086, -0.573574364, -0.469848186, -0.671007454, -2.67389191e-006, -0.819150448, 0.573572874, -0.819151223, 0.328989238, 0.469846845)
- p49.CanCollide = false
- p49.FormFactor = Enum.FormFactor.Custom
- p49.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p49.BottomSurface = Enum.SurfaceType.Smooth
- p49.TopSurface = Enum.SurfaceType.Smooth
- b49 = Instance.new("SpecialMesh", p49)
- b49.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b49.TextureId = ""
- b49.MeshType = Enum.MeshType.FileMesh
- b49.Name = "Mesh"
- b49.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p50 = Instance.new("Part", m2)
- p50.BrickColor = BrickColor.new("New Yeller")
- p50.Material = Enum.Material.SmoothPlastic
- p50.Reflectance = 0.30000001192093
- p50.CFrame = CFrame.new(25.9976063, 25.9510059, 25.4242992, -0.573574364, -0.469848186, -0.671007454, -2.67389191e-006, -0.819150448, 0.573572874, -0.819151223, 0.328989238, 0.469846845)
- p50.CanCollide = false
- p50.FormFactor = Enum.FormFactor.Custom
- p50.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p50.BottomSurface = Enum.SurfaceType.Smooth
- p50.TopSurface = Enum.SurfaceType.Smooth
- b50 = Instance.new("SpecialMesh", p50)
- b50.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b50.TextureId = ""
- b50.MeshType = Enum.MeshType.FileMesh
- b50.Name = "Mesh"
- b50.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p51 = Instance.new("Part", m2)
- p51.BrickColor = BrickColor.new("New Yeller")
- p51.Material = Enum.Material.SmoothPlastic
- p51.Reflectance = 0.30000001192093
- p51.CFrame = CFrame.new(26.0989265, 25.8644028, 25.353363, -0.573574364, -0.469848186, -0.671007454, -2.67389191e-006, -0.819150448, 0.573572874, -0.819151223, 0.328989238, 0.469846845)
- p51.CanCollide = false
- p51.FormFactor = Enum.FormFactor.Custom
- p51.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p51.BottomSurface = Enum.SurfaceType.Smooth
- p51.TopSurface = Enum.SurfaceType.Smooth
- b51 = Instance.new("SpecialMesh", p51)
- b51.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b51.TextureId = ""
- b51.MeshType = Enum.MeshType.FileMesh
- b51.Name = "Mesh"
- b51.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p52 = Instance.new("Part", m2)
- p52.BrickColor = BrickColor.new("New Yeller")
- p52.Material = Enum.Material.Neon
- p52.CFrame = CFrame.new(21.2912331, 25.2490387, 28.7011547, 0.142246991, 0.806705594, -0.573574483, 0.984804809, -0.173645705, -2.66166035e-006, -0.0995996594, -0.564862788, -0.819151103)
- p52.FormFactor = Enum.FormFactor.Custom
- p52.Size = Vector3.new(0.61060679, 7.32508755, 0.221234918)
- p52.BottomSurface = Enum.SurfaceType.Smooth
- p52.TopSurface = Enum.SurfaceType.Smooth
- b52 = Instance.new("SpecialMesh", p52)
- b52.MeshType = Enum.MeshType.Sphere
- b52.Name = "Mesh"
- p53 = Instance.new("Part", m2)
- p53.BrickColor = BrickColor.new("New Yeller")
- p53.Material = Enum.Material.Neon
- p53.CFrame = CFrame.new(23.2582321, 27.8460655, 27.3238525, 0.409577936, 0.709403872, -0.573574483, 0.866023481, -0.499996662, -2.64914797e-006, -0.28678745, -0.496732205, -0.819151103)
- p53.FormFactor = Enum.FormFactor.Custom
- p53.Size = Vector3.new(0.61060679, 7.32508755, 0.221234918)
- p53.BottomSurface = Enum.SurfaceType.Smooth
- p53.TopSurface = Enum.SurfaceType.Smooth
- b53 = Instance.new("SpecialMesh", p53)
- b53.MeshType = Enum.MeshType.Sphere
- b53.Name = "Mesh"
- p54 = Instance.new("Part", m2)
- p54.BrickColor = BrickColor.new("New Yeller")
- p54.Material = Enum.Material.Neon
- p54.CFrame = CFrame.new(21.2899132, 27.1965466, 28.7020855, 0.280168742, 0.769748747, -0.573574483, 0.939690113, -0.342017204, -2.64914797e-006, -0.196173787, -0.538985729, -0.819151103)
- p54.FormFactor = Enum.FormFactor.Custom
- p54.Size = Vector3.new(0.61060679, 8.03632927, 0.221234918)
- p54.BottomSurface = Enum.SurfaceType.Smooth
- p54.TopSurface = Enum.SurfaceType.Smooth
- b54 = Instance.new("SpecialMesh", p54)
- b54.MeshType = Enum.MeshType.Sphere
- b54.Name = "Mesh"
- p55 = Instance.new("Part", m2)
- p55.BrickColor = BrickColor.new("New Yeller")
- p55.Material = Enum.Material.Neon
- p55.CFrame = CFrame.new(22.732933, 23.2277641, 27.6916542, -0.280163169, 0.769749939, -0.573574483, 0.939688265, 0.342020243, -2.67457881e-006, 0.196175426, -0.538984358, -0.819150984)
- p55.FormFactor = Enum.FormFactor.Custom
- p55.Size = Vector3.new(0.61060679, 3.09150696, 0.221234918)
- p55.BottomSurface = Enum.SurfaceType.Smooth
- p55.TopSurface = Enum.SurfaceType.Smooth
- b55 = Instance.new("SpecialMesh", p55)
- b55.MeshType = Enum.MeshType.Sphere
- b55.Name = "Mesh"
- p56 = Instance.new("Part", m2)
- p56.BrickColor = BrickColor.new("New Yeller")
- p56.Material = Enum.Material.SmoothPlastic
- p56.Reflectance = 0.30000001192093
- p56.CFrame = CFrame.new(26.1728668, 26.7314224, 25.3015804, -0.573574424, -0.469846636, -0.671006322, -2.71658587e-006, -0.819149017, 0.573572636, -0.819150925, 0.328987926, 0.469845742)
- p56.CanCollide = false
- p56.FormFactor = Enum.FormFactor.Custom
- p56.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p56.BottomSurface = Enum.SurfaceType.Smooth
- p56.TopSurface = Enum.SurfaceType.Smooth
- b56 = Instance.new("SpecialMesh", p56)
- b56.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b56.TextureId = ""
- b56.MeshType = Enum.MeshType.FileMesh
- b56.Name = "Mesh"
- b56.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p57 = Instance.new("Part", m2)
- p57.BrickColor = BrickColor.new("New Yeller")
- p57.Material = Enum.Material.SmoothPlastic
- p57.Reflectance = 0.30000001192093
- p57.CFrame = CFrame.new(26.0715504, 26.8180256, 25.3725224, -0.573574424, -0.469846636, -0.671006322, -2.71658587e-006, -0.819149017, 0.573572636, -0.819150925, 0.328987926, 0.469845742)
- p57.CanCollide = false
- p57.FormFactor = Enum.FormFactor.Custom
- p57.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p57.BottomSurface = Enum.SurfaceType.Smooth
- p57.TopSurface = Enum.SurfaceType.Smooth
- b57 = Instance.new("SpecialMesh", p57)
- b57.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b57.TextureId = ""
- b57.MeshType = Enum.MeshType.FileMesh
- b57.Name = "Mesh"
- b57.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p58 = Instance.new("Part", m2)
- p58.BrickColor = BrickColor.new("New Yeller")
- p58.Material = Enum.Material.SmoothPlastic
- p58.Reflectance = 0.30000001192093
- p58.CFrame = CFrame.new(26.2773418, 26.6421242, 25.2284393, -0.573574424, -0.469846636, -0.671006322, -2.71658587e-006, -0.819149017, 0.573572636, -0.819150925, 0.328987926, 0.469845742)
- p58.CanCollide = false
- p58.FormFactor = Enum.FormFactor.Custom
- p58.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p58.BottomSurface = Enum.SurfaceType.Smooth
- p58.TopSurface = Enum.SurfaceType.Smooth
- b58 = Instance.new("SpecialMesh", p58)
- b58.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b58.TextureId = ""
- b58.MeshType = Enum.MeshType.FileMesh
- b58.Name = "Mesh"
- b58.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p59 = Instance.new("Part", m2)
- p59.BrickColor = BrickColor.new("New Yeller")
- p59.Material = Enum.Material.SmoothPlastic
- p59.Reflectance = 0.30000001192093
- p59.CFrame = CFrame.new(24.6884308, 25.7025909, 26.3410091, -0.573574424, -0.280167818, -0.769747615, -2.71658587e-006, -0.939688742, 0.342017263, -0.819150925, 0.196172908, 0.538984478)
- p59.CanCollide = false
- p59.FormFactor = Enum.FormFactor.Custom
- p59.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p59.BottomSurface = Enum.SurfaceType.Smooth
- p59.TopSurface = Enum.SurfaceType.Smooth
- b59 = Instance.new("SpecialMesh", p59)
- b59.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b59.TextureId = ""
- b59.MeshType = Enum.MeshType.FileMesh
- b59.Name = "Mesh"
- b59.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p60 = Instance.new("Part", m2)
- p60.BrickColor = BrickColor.new("New Yeller")
- p60.Material = Enum.Material.SmoothPlastic
- p60.Reflectance = 0.30000001192093
- p60.CFrame = CFrame.new(24.4523582, 25.807478, 26.5063095, -0.573574424, -0.280167848, -0.769747615, -2.7445908e-006, -0.939688742, 0.342017263, -0.819150925, 0.196172863, 0.538984478)
- p60.CanCollide = false
- p60.FormFactor = Enum.FormFactor.Custom
- p60.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p60.BottomSurface = Enum.SurfaceType.Smooth
- p60.TopSurface = Enum.SurfaceType.Smooth
- b60 = Instance.new("SpecialMesh", p60)
- b60.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b60.TextureId = ""
- b60.MeshType = Enum.MeshType.FileMesh
- b60.Name = "Mesh"
- b60.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p61 = Instance.new("Part", m2)
- p61.BrickColor = BrickColor.new("New Yeller")
- p61.Material = Enum.Material.SmoothPlastic
- p61.Reflectance = 0.30000001192093
- p61.CFrame = CFrame.new(24.5685883, 25.7558403, 26.4249287, -0.573574424, -0.280167878, -0.769747615, -2.77259574e-006, -0.939688742, 0.342017263, -0.819150925, 0.196172819, 0.538984478)
- p61.CanCollide = false
- p61.FormFactor = Enum.FormFactor.Custom
- p61.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p61.BottomSurface = Enum.SurfaceType.Smooth
- p61.TopSurface = Enum.SurfaceType.Smooth
- b61 = Instance.new("SpecialMesh", p61)
- b61.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b61.TextureId = ""
- b61.MeshType = Enum.MeshType.FileMesh
- b61.Name = "Mesh"
- b61.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p62 = Instance.new("Part", m2)
- p62.BrickColor = BrickColor.new("New Yeller")
- p62.Material = Enum.Material.SmoothPlastic
- p62.Reflectance = 0.30000001192093
- p62.CFrame = CFrame.new(24.6884365, 25.7025948, 26.3410149, -0.573574424, -0.280167907, -0.769747615, -2.80060067e-006, -0.939688742, 0.342017263, -0.819150925, 0.196172774, 0.538984478)
- p62.CanCollide = false
- p62.FormFactor = Enum.FormFactor.Custom
- p62.Size = Vector3.new(0.584050655, 0.584051132, 0.584051371)
- p62.BottomSurface = Enum.SurfaceType.Smooth
- p62.TopSurface = Enum.SurfaceType.Smooth
- b62 = Instance.new("SpecialMesh", p62)
- b62.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b62.TextureId = ""
- b62.MeshType = Enum.MeshType.FileMesh
- b62.Name = "Mesh"
- b62.Scale = Vector3.new(0.283109009, 0.283109039, 0.283109665)
- p63 = Instance.new("Part", m2)
- p63.BrickColor = BrickColor.new("New Yeller")
- p63.Material = Enum.Material.SmoothPlastic
- p63.Reflectance = 0.30000001192093
- p63.CFrame = CFrame.new(24.452364, 25.8074818, 26.5063152, -0.573574424, -0.280167937, -0.769747615, -2.8286056e-006, -0.939688742, 0.342017263, -0.819150925, 0.196172729, 0.538984478)
- p63.CanCollide = false
- p63.FormFactor = Enum.FormFactor.Custom
- p63.Size = Vector3.new(0.849326968, 0.849327147, 0.584051371)
- p63.BottomSurface = Enum.SurfaceType.Smooth
- p63.TopSurface = Enum.SurfaceType.Smooth
- b63 = Instance.new("SpecialMesh", p63)
- b63.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b63.TextureId = ""
- b63.MeshType = Enum.MeshType.FileMesh
- b63.Name = "Mesh"
- b63.Scale = Vector3.new(0.849326968, 0.849327147, 0.56621933)
- p64 = Instance.new("Part", m2)
- p64.BrickColor = BrickColor.new("New Yeller")
- p64.Material = Enum.Material.SmoothPlastic
- p64.Reflectance = 0.30000001192093
- p64.CFrame = CFrame.new(24.568594, 25.7558441, 26.4249344, -0.573574424, -0.280167967, -0.769747615, -2.85661054e-006, -0.939688742, 0.342017263, -0.819150925, 0.196172684, 0.538984478)
- p64.CanCollide = false
- p64.FormFactor = Enum.FormFactor.Custom
- p64.Size = Vector3.new(0.585091829, 0.622839987, 0.584051371)
- p64.BottomSurface = Enum.SurfaceType.Smooth
- p64.TopSurface = Enum.SurfaceType.Smooth
- b64 = Instance.new("SpecialMesh", p64)
- b64.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b64.TextureId = ""
- b64.MeshType = Enum.MeshType.FileMesh
- b64.Name = "Mesh"
- b64.Scale = Vector3.new(0.585091829, 0.622839928, 0.301983595)
- p65 = Instance.new("Part", m2)
- p65.BrickColor = BrickColor.new("Really black")
- p65.Transparency = 1
- p65.Name = "TorsoPart"
- p65.CFrame = CFrame.new(27.0399818, 25.1251049, 25.3600311, 0.999996543, 2.59280205e-006, 8.94069672e-008, 2.77161598e-006, 0.999995351, 1.56462193e-006, 6.2584877e-007, 1.51991844e-006, 0.999998093)
- p65.FormFactor = Enum.FormFactor.Symmetric
- p65.Size = Vector3.new(4, 4, 2)
- w1 = Instance.new("Weld", p1)
- w1.Name = "Part_Weld"
- w1.Part0 = p1
- w1.C0 = CFrame.new(7.48623466, 46.9062119, -4.72964478, -0.579227924, 0.707106769, -0.405579776, -0.579227805, -0.707106769, -0.405579716, -0.573576331, 0, 0.819152117)
- w1.Part1 = p2
- w1.C1 = CFrame.new(35.7379875, 19.7860374, 13.782176, -0.573576331, -1.03064551e-007, -0.819152117, 0.346188396, -0.906307817, -0.24240382, -0.742403984, -0.422618032, 0.519836664)
- w2 = Instance.new("Weld", p2)
- w2.Name = "Part_Weld"
- w2.Part0 = p2
- w2.C0 = CFrame.new(35.7379875, 19.7860374, 13.782176, -0.573576331, -1.03064551e-007, -0.819152117, 0.346188396, -0.906307817, -0.24240382, -0.742403984, -0.422618032, 0.519836664)
- w2.Part1 = p3
- w2.C1 = CFrame.new(35.7379951, 19.7860336, 13.626483, -0.573576331, -1.03064551e-007, -0.819152117, 0.346188396, -0.906307817, -0.24240382, -0.742403984, -0.422618032, 0.519836664)
- w3 = Instance.new("Weld", p3)
- w3.Name = "Part_Weld"
- w3.Part0 = p3
- w3.C0 = CFrame.new(35.7379951, 19.7860336, 13.626483, -0.573576331, -1.03064551e-007, -0.819152117, 0.346188396, -0.906307817, -0.24240382, -0.742403984, -0.422618032, 0.519836664)
- w3.Part1 = p4
- w3.C1 = CFrame.new(-4.6974678, 10.7812996, -45.834713, -0.573576748, 0, 0.819151878, 0.280166447, -0.939692616, 0.1961748, 0.769751072, 0.342020154, 0.538985789)
- w4 = Instance.new("Weld", p4)
- w4.Name = "Part_Weld"
- w4.Part0 = p4
- w4.C0 = CFrame.new(-4.6974678, 10.7812996, -45.834713, -0.573576748, 0, 0.819151878, 0.280166447, -0.939692616, 0.1961748, 0.769751072, 0.342020154, 0.538985789)
- w4.Part1 = p5
- w4.C1 = CFrame.new(35.7379875, 19.7860374, 13.782176, -0.573576331, -1.03064551e-007, -0.819152117, 0.346188396, -0.906307817, -0.24240382, -0.742403984, -0.422618032, 0.519836664)
- w5 = Instance.new("Weld", p5)
- w5.Name = "Part_Weld"
- w5.Part0 = p5
- w5.C0 = CFrame.new(35.7379875, 19.7860374, 13.782176, -0.573576331, -1.03064551e-007, -0.819152117, 0.346188396, -0.906307817, -0.24240382, -0.742403984, -0.422618032, 0.519836664)
- w5.Part1 = p6
- w5.C1 = CFrame.new(35.7379951, 19.7860374, 13.4754944, -0.573576331, -1.03064551e-007, -0.819152117, 0.346188396, -0.906307817, -0.24240382, -0.742403984, -0.422618032, 0.519836664)
- w6 = Instance.new("Weld", p6)
- w6.Name = "Part_Weld"
- w6.Part0 = p6
- w6.C0 = CFrame.new(35.7379951, 19.7860374, 13.4754944, -0.573576331, -1.03064551e-007, -0.819152117, 0.346188396, -0.906307817, -0.24240382, -0.742403984, -0.422618032, 0.519836664)
- w6.Part1 = p7
- w6.C1 = CFrame.new(35.7379951, 19.7860336, 13.626483, -0.573576331, -1.03064551e-007, -0.819152117, 0.346188396, -0.906307817, -0.24240382, -0.742403984, -0.422618032, 0.519836664)
- w7 = Instance.new("Weld", p7)
- w7.Name = "Part_Weld"
- w7.Part0 = p7
- w7.C0 = CFrame.new(35.7379951, 19.7860336, 13.626483, -0.573576331, -1.03064551e-007, -0.819152117, 0.346188396, -0.906307817, -0.24240382, -0.742403984, -0.422618032, 0.519836664)
- w7.Part1 = p8
- w7.C1 = CFrame.new(35.7379951, 19.7860374, 13.4754944, -0.573576331, -1.03064551e-007, -0.819152117, 0.346188396, -0.906307817, -0.24240382, -0.742403984, -0.422618032, 0.519836664)
- w8 = Instance.new("Weld", p8)
- w8.Name = "Part_Weld"
- w8.Part0 = p8
- w8.C0 = CFrame.new(35.7379951, 19.7860374, 13.4754944, -0.573576331, -1.03064551e-007, -0.819152117, 0.346188396, -0.906307817, -0.24240382, -0.742403984, -0.422618032, 0.519836664)
- w8.Part1 = p9
- w8.C1 = CFrame.new(-4.69746971, 38.4699516, -26.4413414, -0.573576748, -1.03064551e-007, 0.819151878, -0.346188426, -0.906307817, -0.242403746, 0.742403686, -0.422618032, 0.519837141)
- w9 = Instance.new("Weld", p9)
- w9.Name = "Part_Weld"
- w9.Part0 = p9
- w9.C0 = CFrame.new(-4.69746971, 38.4699516, -26.4413414, -0.573576748, -1.03064551e-007, 0.819151878, -0.346188426, -0.906307817, -0.242403746, 0.742403686, -0.422618032, 0.519837141)
- w9.Part1 = p10
- w9.C1 = CFrame.new(-4.6974659, 0.512617111, -46.0237579, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w10 = Instance.new("Weld", p10)
- w10.Name = "Part_Weld"
- w10.Part0 = p10
- w10.C0 = CFrame.new(-4.6974659, 0.512617111, -46.0237579, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w10.Part1 = p11
- w10.C1 = CFrame.new(-4.69746971, -0.249427795, -45.2937202, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w11 = Instance.new("Weld", p11)
- w11.Name = "Part_Weld"
- w11.Part0 = p11
- w11.C0 = CFrame.new(-4.69746971, -0.249427795, -45.2937202, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w11.Part1 = p12
- w11.C1 = CFrame.new(-4.69746971, 13.5492201, -44.5157242, -0.573576748, -2.87868307e-008, 0.819151878, 0.212012202, -0.965925753, 0.148452699, 0.791239858, 0.258819222, 0.554032564)
- w12 = Instance.new("Weld", p12)
- w12.Name = "Part_Weld"
- w12.Part0 = p12
- w12.C0 = CFrame.new(-4.69746971, 13.5492201, -44.5157242, -0.573576748, -2.87868307e-008, 0.819151878, 0.212012202, -0.965925753, 0.148452699, 0.791239858, 0.258819222, 0.554032564)
- w12.Part1 = p13
- w12.C1 = CFrame.new(-4.69747162, -0.249425888, -45.4494095, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w13 = Instance.new("Weld", p13)
- w13.Name = "Part_Weld"
- w13.Part0 = p13
- w13.C0 = CFrame.new(-4.69747162, -0.249425888, -45.4494095, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w13.Part1 = p14
- w13.C1 = CFrame.new(-4.6974678, 13.5492172, -44.6714172, -0.573576748, -2.87868307e-008, 0.819151878, 0.212012202, -0.965925753, 0.148452699, 0.791239858, 0.258819222, 0.554032564)
- w14 = Instance.new("Weld", p14)
- w14.Name = "Part_Weld"
- w14.Part0 = p14
- w14.C0 = CFrame.new(-4.6974678, 13.5492172, -44.6714172, -0.573576748, -2.87868307e-008, 0.819151878, 0.212012202, -0.965925753, 0.148452699, 0.791239858, 0.258819222, 0.554032564)
- w14.Part1 = p15
- w14.C1 = CFrame.new(-4.69747162, 10.7813034, -45.5280304, -0.573576748, 0, 0.819151878, 0.280166447, -0.939692616, 0.1961748, 0.769751072, 0.342020154, 0.538985789)
- w15 = Instance.new("Weld", p15)
- w15.Name = "Part_Weld"
- w15.Part0 = p15
- w15.C0 = CFrame.new(-4.69747162, 10.7813034, -45.5280304, -0.573576748, 0, 0.819151878, 0.280166447, -0.939692616, 0.1961748, 0.769751072, 0.342020154, 0.538985789)
- w15.Part1 = p16
- w15.C1 = CFrame.new(-4.69746971, 13.5492172, -44.8224106, -0.573576748, -2.87868307e-008, 0.819151878, 0.212012202, -0.965925753, 0.148452699, 0.791239858, 0.258819222, 0.554032564)
- w16 = Instance.new("Weld", p16)
- w16.Name = "Part_Weld"
- w16.Part0 = p16
- w16.C0 = CFrame.new(-4.69746971, 13.5492172, -44.8224106, -0.573576748, -2.87868307e-008, 0.819151878, 0.212012202, -0.965925753, 0.148452699, 0.791239858, 0.258819222, 0.554032564)
- w16.Part1 = p17
- w16.C1 = CFrame.new(-4.6974678, 10.7812996, -45.834713, -0.573576748, 0, 0.819151878, 0.280166447, -0.939692616, 0.1961748, 0.769751072, 0.342020154, 0.538985789)
- w17 = Instance.new("Weld", p17)
- w17.Name = "Part_Weld"
- w17.Part0 = p17
- w17.C0 = CFrame.new(-4.6974678, 10.7812996, -45.834713, -0.573576748, 0, 0.819151878, 0.280166447, -0.939692616, 0.1961748, 0.769751072, 0.342020154, 0.538985789)
- w17.Part1 = p18
- w17.C1 = CFrame.new(-4.6974678, -0.249424934, -45.600399, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w18 = Instance.new("Weld", p18)
- w18.Name = "Part_Weld"
- w18.Part0 = p18
- w18.C0 = CFrame.new(-4.6974678, -0.249424934, -45.600399, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w18.Part1 = p19
- w18.C1 = CFrame.new(-4.6974678, 38.4699554, -26.5923309, -0.573576748, -1.03064551e-007, 0.819151878, -0.346188426, -0.906307817, -0.242403746, 0.742403686, -0.422618032, 0.519837141)
- w19 = Instance.new("Weld", p19)
- w19.Name = "Part_Weld"
- w19.Part0 = p19
- w19.C0 = CFrame.new(-4.6974678, 38.4699554, -26.5923309, -0.573576748, -1.03064551e-007, 0.819151878, -0.346188426, -0.906307817, -0.242403746, 0.742403686, -0.422618032, 0.519837141)
- w19.Part1 = p20
- w19.C1 = CFrame.new(-4.69746971, 38.4699516, -26.4413414, -0.573576748, -1.03064551e-007, 0.819151878, -0.346188426, -0.906307817, -0.242403746, 0.742403686, -0.422618032, 0.519837141)
- w20 = Instance.new("Weld", p20)
- w20.Name = "Part_Weld"
- w20.Part0 = p20
- w20.C0 = CFrame.new(-4.69746971, 38.4699516, -26.4413414, -0.573576748, -1.03064551e-007, 0.819151878, -0.346188426, -0.906307817, -0.242403746, 0.742403686, -0.422618032, 0.519837141)
- w20.Part1 = p21
- w20.C1 = CFrame.new(-4.69746971, 0.512615204, -45.8727722, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w21 = Instance.new("Weld", p21)
- w21.Name = "Part_Weld"
- w21.Part0 = p21
- w21.C0 = CFrame.new(-4.69746971, 0.512615204, -45.8727722, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w21.Part1 = p22
- w21.C1 = CFrame.new(-4.69746971, 38.4699554, -26.2856503, -0.573576748, -1.03064551e-007, 0.819151878, -0.346188426, -0.906307817, -0.242403746, 0.742403686, -0.422618032, 0.519837141)
- w22 = Instance.new("Weld", p22)
- w22.Name = "Part_Weld"
- w22.Part0 = p22
- w22.C0 = CFrame.new(-4.69746971, 38.4699554, -26.2856503, -0.573576748, -1.03064551e-007, 0.819151878, -0.346188426, -0.906307817, -0.242403746, 0.742403686, -0.422618032, 0.519837141)
- w22.Part1 = p23
- w22.C1 = CFrame.new(-4.69747162, 10.7813015, -45.6837234, -0.573576748, 0, 0.819151878, 0.280166447, -0.939692616, 0.1961748, 0.769751072, 0.342020154, 0.538985789)
- w23 = Instance.new("Weld", p23)
- w23.Name = "Part_Weld"
- w23.Part0 = p23
- w23.C0 = CFrame.new(-4.69747162, 10.7813015, -45.6837234, -0.573576748, 0, 0.819151878, 0.280166447, -0.939692616, 0.1961748, 0.769751072, 0.342020154, 0.538985789)
- w23.Part1 = p24
- w23.C1 = CFrame.new(-4.69747162, 10.7813034, -45.5280304, -0.573576748, 0, 0.819151878, 0.280166447, -0.939692616, 0.1961748, 0.769751072, 0.342020154, 0.538985789)
- w24 = Instance.new("Weld", p24)
- w24.Name = "Part_Weld"
- w24.Part0 = p24
- w24.C0 = CFrame.new(-4.69747162, 10.7813034, -45.5280304, -0.573576748, 0, 0.819151878, 0.280166447, -0.939692616, 0.1961748, 0.769751072, 0.342020154, 0.538985789)
- w24.Part1 = p25
- w24.C1 = CFrame.new(-4.6974678, 13.5492172, -44.6714172, -0.573576748, -2.87868307e-008, 0.819151878, 0.212012202, -0.965925753, 0.148452699, 0.791239858, 0.258819222, 0.554032564)
- w25 = Instance.new("Weld", p25)
- w25.Name = "Part_Weld"
- w25.Part0 = p25
- w25.C0 = CFrame.new(-4.6974678, 13.5492172, -44.6714172, -0.573576748, -2.87868307e-008, 0.819151878, 0.212012202, -0.965925753, 0.148452699, 0.791239858, 0.258819222, 0.554032564)
- w25.Part1 = p26
- w25.C1 = CFrame.new(-4.69747162, 10.7813015, -45.6837234, -0.573576748, 0, 0.819151878, 0.280166447, -0.939692616, 0.1961748, 0.769751072, 0.342020154, 0.538985789)
- w26 = Instance.new("Weld", p26)
- w26.Name = "Part_Weld"
- w26.Part0 = p26
- w26.C0 = CFrame.new(-4.69747162, 10.7813015, -45.6837234, -0.573576748, 0, 0.819151878, 0.280166447, -0.939692616, 0.1961748, 0.769751072, 0.342020154, 0.538985789)
- w26.Part1 = p27
- w26.C1 = CFrame.new(-4.6974678, 38.4699554, -26.5923309, -0.573576748, -1.03064551e-007, 0.819151878, -0.346188426, -0.906307817, -0.242403746, 0.742403686, -0.422618032, 0.519837141)
- w27 = Instance.new("Weld", p27)
- w27.Name = "Part_Weld"
- w27.Part0 = p27
- w27.C0 = CFrame.new(-4.6974678, 38.4699554, -26.5923309, -0.573576748, -1.03064551e-007, 0.819151878, -0.346188426, -0.906307817, -0.242403746, 0.742403686, -0.422618032, 0.519837141)
- w27.Part1 = p28
- w27.C1 = CFrame.new(-4.6974678, -0.249424934, -45.600399, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w28 = Instance.new("Weld", p28)
- w28.Name = "Part_Weld"
- w28.Part0 = p28
- w28.C0 = CFrame.new(-4.6974678, -0.249424934, -45.600399, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w28.Part1 = p29
- w28.C1 = CFrame.new(-36.0110359, 31.0260429, -4.71271896, 0.280166358, 0.93969208, 0.196174681, -0.769750178, 0.342019618, -0.538985252, -0.57357645, -2.95716429e-008, 0.819151998)
- w29 = Instance.new("Weld", p29)
- w29.Name = "Part_Weld"
- w29.Part0 = p29
- w29.C0 = CFrame.new(-36.0110359, 31.0260429, -4.71271896, 0.280166358, 0.93969208, 0.196174681, -0.769750178, 0.342019618, -0.538985252, -0.57357645, -2.95716429e-008, 0.819151998)
- w29.Part1 = p30
- w29.C1 = CFrame.new(-4.69746971, 13.5492201, -44.5157242, -0.573576748, -2.87868307e-008, 0.819151878, 0.212012202, -0.965925753, 0.148452699, 0.791239858, 0.258819222, 0.554032564)
- w30 = Instance.new("Weld", p30)
- w30.Name = "Part_Weld"
- w30.Part0 = p30
- w30.C0 = CFrame.new(-4.69746971, 13.5492201, -44.5157242, -0.573576748, -2.87868307e-008, 0.819151878, 0.212012202, -0.965925753, 0.148452699, 0.791239858, 0.258819222, 0.554032564)
- w30.Part1 = p31
- w30.C1 = CFrame.new(-4.69746971, 38.4699554, -26.2856503, -0.573576748, -1.03064551e-007, 0.819151878, -0.346188426, -0.906307817, -0.242403746, 0.742403686, -0.422618032, 0.519837141)
- w31 = Instance.new("Weld", p31)
- w31.Name = "Part_Weld"
- w31.Part0 = p31
- w31.C0 = CFrame.new(-4.69746971, 38.4699554, -26.2856503, -0.573576748, -1.03064551e-007, 0.819151878, -0.346188426, -0.906307817, -0.242403746, 0.742403686, -0.422618032, 0.519837141)
- w31.Part1 = p32
- w31.C1 = CFrame.new(-4.6974678, 0.512617111, -45.717083, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w32 = Instance.new("Weld", p32)
- w32.Name = "Part_Weld"
- w32.Part0 = p32
- w32.C0 = CFrame.new(-4.6974678, 0.512617111, -45.717083, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w32.Part1 = p33
- w32.C1 = CFrame.new(-17.3583775, 46.9591446, -4.71270752, -0.142244235, 0.98480773, -0.0996004939, -0.806707144, -0.173648238, -0.564862549, -0.57357657, 0, 0.819151998)
- w33 = Instance.new("Weld", p33)
- w33.Name = "Part_Weld"
- w33.Part0 = p33
- w33.C0 = CFrame.new(-17.3583775, 46.9591446, -4.71270752, -0.142244235, 0.98480773, -0.0996004939, -0.806707144, -0.173648238, -0.564862549, -0.57357657, 0, 0.819151998)
- w33.Part1 = p34
- w33.C1 = CFrame.new(-4.69747162, -0.249425888, -45.4494095, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w34 = Instance.new("Weld", p34)
- w34.Name = "Part_Weld"
- w34.Part0 = p34
- w34.C0 = CFrame.new(-4.69747162, -0.249425888, -45.4494095, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w34.Part1 = p35
- w34.C1 = CFrame.new(-4.69746971, 13.5492172, -44.8224106, -0.573576748, -2.87868307e-008, 0.819151878, 0.212012202, -0.965925753, 0.148452699, 0.791239858, 0.258819222, 0.554032564)
- w35 = Instance.new("Weld", p35)
- w35.Name = "Part_Weld"
- w35.Part0 = p35
- w35.C0 = CFrame.new(-4.69746971, 13.5492172, -44.8224106, -0.573576748, -2.87868307e-008, 0.819151878, 0.212012202, -0.965925753, 0.148452699, 0.791239858, 0.258819222, 0.554032564)
- w35.Part1 = p36
- w35.C1 = CFrame.new(-4.69746971, -0.249427795, -45.2937202, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w36 = Instance.new("Weld", p36)
- w36.Name = "Part_Weld"
- w36.Part0 = p36
- w36.C0 = CFrame.new(-4.69746971, -0.249427795, -45.2937202, -0.573576748, 0, 0.819151878, 0.469846189, -0.819152057, 0.328990072, 0.671009898, 0.57357645, 0.469846576)
- w36.Part1 = p37
- w36.C1 = CFrame.new(-3.70028734, 49.2830544, -4.71271324, -0.409575999, 0.866025388, -0.286788285, -0.709406435, -0.5, -0.496731967, -0.57357657, 0, 0.819151998)
- w37 = Instance.new("Weld", p37)
- w37.Name = "Part_Weld"
- w37.Part0 = p37
- w37.C0 = CFrame.new(-3.70028734, 49.2830544, -4.71271324, -0.409575999, 0.866025388, -0.286788285, -0.709406435, -0.5, -0.496731967, -0.57357657, 0, 0.819151998)
- w37.Part1 = p38
- w37.C1 = CFrame.new(-10.7698097, 49.927597, -4.71271324, -0.280166447, 0.939692616, -0.196174681, -0.769750953, -0.342020154, -0.53898561, -0.57357657, 0, 0.819151998)
- w38 = Instance.new("Weld", p38)
- w38.Name = "Part_Weld"
- w38.Part0 = p38
- w38.C0 = CFrame.new(-10.7698097, 49.927597, -4.71271324, -0.280166447, 0.939692616, -0.196174681, -0.769750953, -0.342020154, -0.53898561, -0.57357657, 0, 0.819151998)
- w38.Part1 = p39
- w38.C1 = CFrame.new(35.7379837, 25.1083565, -9.07904911, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w39 = Instance.new("Weld", p39)
- w39.Name = "Part_Weld"
- w39.Part0 = p39
- w39.C0 = CFrame.new(35.7379837, 25.1083565, -9.07904911, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w39.Part1 = p40
- w39.C1 = CFrame.new(35.7379837, 25.1083584, -9.38572502, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w40 = Instance.new("Weld", p40)
- w40.Name = "Part_Weld"
- w40.Part0 = p40
- w40.C0 = CFrame.new(35.7379837, 25.1083584, -9.38572502, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w40.Part1 = p41
- w40.C1 = CFrame.new(35.7379875, 25.1083603, -9.23473454, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w41 = Instance.new("Weld", p41)
- w41.Name = "Part_Weld"
- w41.Part0 = p41
- w41.C0 = CFrame.new(35.7379875, 25.1083603, -9.23473454, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w41.Part1 = p42
- w41.C1 = CFrame.new(35.7379913, 24.9916019, -2.11887932, -0.573576331, -2.87868307e-008, -0.819152117, -0.212012321, -0.965925753, 0.14845252, -0.791240156, 0.258819222, 0.554032147)
- w42 = Instance.new("Weld", p42)
- w42.Name = "Part_Weld"
- w42.Part0 = p42
- w42.C0 = CFrame.new(35.7379913, 24.9916019, -2.11887932, -0.573576331, -2.87868307e-008, -0.819152117, -0.212012321, -0.965925753, 0.14845252, -0.791240156, 0.258819222, 0.554032147)
- w42.Part1 = p43
- w42.C1 = CFrame.new(35.7379913, 24.9916019, -2.11887932, -0.573576331, -2.87868307e-008, -0.819152117, -0.212012321, -0.965925753, 0.14845252, -0.791240156, 0.258819222, 0.554032147)
- w43 = Instance.new("Weld", p43)
- w43.Name = "Part_Weld"
- w43.Part0 = p43
- w43.C0 = CFrame.new(35.7379913, 24.9916019, -2.11887932, -0.573576331, -2.87868307e-008, -0.819152117, -0.212012321, -0.965925753, 0.14845252, -0.791240156, 0.258819222, 0.554032147)
- w43.Part1 = p44
- w43.C1 = CFrame.new(35.7379913, 24.9916058, -1.81219578, -0.573576331, -2.87868307e-008, -0.819152117, -0.212012321, -0.965925753, 0.14845252, -0.791240156, 0.258819222, 0.554032147)
- w44 = Instance.new("Weld", p44)
- w44.Name = "Part_Weld"
- w44.Part0 = p44
- w44.C0 = CFrame.new(35.7379913, 24.9916058, -1.81219578, -0.573576331, -2.87868307e-008, -0.819152117, -0.212012321, -0.965925753, 0.14845252, -0.791240156, 0.258819222, 0.554032147)
- w44.Part1 = p45
- w44.C1 = CFrame.new(35.7379913, 24.9916019, -1.96789074, -0.573576331, -2.87868307e-008, -0.819152117, -0.212012321, -0.965925753, 0.14845252, -0.791240156, 0.258819222, 0.554032147)
- w45 = Instance.new("Weld", p45)
- w45.Name = "Part_Weld"
- w45.Part0 = p45
- w45.C0 = CFrame.new(35.7379913, 24.9916019, -1.96789074, -0.573576331, -2.87868307e-008, -0.819152117, -0.212012321, -0.965925753, 0.14845252, -0.791240156, 0.258819222, 0.554032147)
- w45.Part1 = p46
- w45.C1 = CFrame.new(35.7379913, 24.9916058, -1.81219578, -0.573576331, -2.87868307e-008, -0.819152117, -0.212012321, -0.965925753, 0.14845252, -0.791240156, 0.258819222, 0.554032147)
- w46 = Instance.new("Weld", p46)
- w46.Name = "Part_Weld"
- w46.Part0 = p46
- w46.C0 = CFrame.new(35.7379913, 24.9916058, -1.81219578, -0.573576331, -2.87868307e-008, -0.819152117, -0.212012321, -0.965925753, 0.14845252, -0.791240156, 0.258819222, 0.554032147)
- w46.Part1 = p47
- w46.C1 = CFrame.new(35.7379913, 24.9916019, -1.96789074, -0.573576331, -2.87868307e-008, -0.819152117, -0.212012321, -0.965925753, 0.14845252, -0.791240156, 0.258819222, 0.554032147)
- w47 = Instance.new("Weld", p47)
- w47.Name = "Part_Weld"
- w47.Part0 = p47
- w47.C0 = CFrame.new(35.7379913, 24.9916019, -1.96789074, -0.573576331, -2.87868307e-008, -0.819152117, -0.212012321, -0.965925753, 0.14845252, -0.791240156, 0.258819222, 0.554032147)
- w47.Part1 = p48
- w47.C1 = CFrame.new(-23.7728367, 15.5624714, 35.7227516, 0.579227924, 0.707106769, -0.405579776, 0.579227865, -0.707106769, -0.405579716, -0.57357645, 0, -0.819151998)
- w48 = Instance.new("Weld", p48)
- w48.Name = "Part_Weld"
- w48.Part0 = p48
- w48.C0 = CFrame.new(-23.7728367, 15.5624714, 35.7227516, 0.579227924, 0.707106769, -0.405579776, 0.579227865, -0.707106769, -0.405579716, -0.57357645, 0, -0.819151998)
- w48.Part1 = p49
- w48.C1 = CFrame.new(35.7379837, 25.1083565, -9.07904911, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w49 = Instance.new("Weld", p49)
- w49.Name = "Part_Weld"
- w49.Part0 = p49
- w49.C0 = CFrame.new(35.7379837, 25.1083565, -9.07904911, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w49.Part1 = p50
- w49.C1 = CFrame.new(35.7379837, 25.1083584, -9.38572502, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w50 = Instance.new("Weld", p50)
- w50.Name = "Part_Weld"
- w50.Part0 = p50
- w50.C0 = CFrame.new(35.7379837, 25.1083584, -9.38572502, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w50.Part1 = p51
- w50.C1 = CFrame.new(35.7379875, 25.1083603, -9.23473454, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w51 = Instance.new("Weld", p51)
- w51.Name = "Part_Weld"
- w51.Part0 = p51
- w51.C0 = CFrame.new(35.7379875, 25.1083603, -9.23473454, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w51.Part1 = p52
- w51.C1 = CFrame.new(-25.0353527, 3.42085648, 35.7227554, 0.142244235, 0.98480773, -0.0996005014, 0.806707203, -0.173648238, -0.56486249, -0.57357645, 0, -0.819151998)
- w52 = Instance.new("Weld", p52)
- w52.Name = "Part_Weld"
- w52.Part0 = p52
- w52.C0 = CFrame.new(-25.0353527, 3.42085648, 35.7227554, 0.142244235, 0.98480773, -0.0996005014, 0.806707203, -0.173648238, -0.56486249, -0.57357645, 0, -0.819151998)
- w52.Part1 = p53
- w52.C1 = CFrame.new(-25.8052597, 10.9961138, 35.7227554, 0.409575999, 0.866025388, -0.286788225, 0.709406435, -0.5, -0.496731758, -0.57357645, 0, -0.819151998)
- w53 = Instance.new("Weld", p53)
- w53.Name = "Part_Weld"
- w53.Part0 = p53
- w53.C0 = CFrame.new(-25.8052597, 10.9961138, 35.7227554, 0.409575999, 0.866025388, -0.286788225, 0.709406435, -0.5, -0.496731758, -0.57357645, 0, -0.819151998)
- w53.Part1 = p54
- w53.C1 = CFrame.new(-25.8904991, 8.38383961, 35.7227592, 0.280166447, 0.939692616, -0.196174681, 0.769751012, -0.342020154, -0.538985491, -0.57357645, 0, -0.819151998)
- w54 = Instance.new("Weld", p54)
- w54.Name = "Part_Weld"
- w54.Part0 = p54
- w54.C0 = CFrame.new(-25.8904991, 8.38383961, 35.7227592, 0.280166447, 0.939692616, -0.196174681, 0.769751012, -0.342020154, -0.538985491, -0.57357645, 0, -0.819151998)
- w54.Part1 = p55
- w54.C1 = CFrame.new(-20.8903503, -10.5176811, 35.7227554, -0.280166388, 0.93969208, 0.196174622, 0.769750416, 0.342019618, -0.538984895, -0.57357651, -2.95716429e-008, -0.819151938)
- w55 = Instance.new("Weld", p55)
- w55.Name = "Part_Weld"
- w55.Part0 = p55
- w55.C0 = CFrame.new(-20.8903503, -10.5176811, 35.7227554, -0.280166388, 0.93969208, 0.196174622, 0.769750416, 0.342019618, -0.538984895, -0.57357651, -2.95716429e-008, -0.819151938)
- w55.Part1 = p56
- w55.C1 = CFrame.new(35.7379799, 25.8704014, -9.65809727, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w56 = Instance.new("Weld", p56)
- w56.Name = "Part_Weld"
- w56.Part0 = p56
- w56.C0 = CFrame.new(35.7379799, 25.8704014, -9.65809727, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w56.Part1 = p57
- w56.C1 = CFrame.new(35.7379799, 25.8703995, -9.8090868, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w57 = Instance.new("Weld", p57)
- w57.Name = "Part_Weld"
- w57.Part0 = p57
- w57.C0 = CFrame.new(35.7379799, 25.8703995, -9.8090868, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w57.Part1 = p58
- w57.C1 = CFrame.new(35.7379875, 25.8704014, -9.50240993, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w58 = Instance.new("Weld", p58)
- w58.Name = "Part_Weld"
- w58.Part0 = p58
- w58.C0 = CFrame.new(35.7379875, 25.8704014, -9.50240993, -0.573576331, 0, -0.819152117, -0.469846368, -0.819152057, 0.328989863, -0.671010137, 0.57357645, 0.469846219)
- w58.Part1 = p59
- w58.C1 = CFrame.new(35.7379913, 25.9019985, -3.98426342, -0.573576331, 0, -0.819152117, -0.280166537, -0.939692616, 0.196174636, -0.769751191, 0.342020154, 0.538985431)
- w59 = Instance.new("Weld", p59)
- w59.Name = "Part_Weld"
- w59.Part0 = p59
- w59.C0 = CFrame.new(35.7379913, 25.9019985, -3.98426342, -0.573576331, 0, -0.819152117, -0.280166537, -0.939692616, 0.196174636, -0.769751191, 0.342020154, 0.538985431)
- w59.Part1 = p60
- w59.C1 = CFrame.new(35.7379875, 25.9019947, -4.29094791, -0.573576331, 0, -0.819152117, -0.280166537, -0.939692616, 0.196174636, -0.769751191, 0.342020154, 0.538985431)
- w60 = Instance.new("Weld", p60)
- w60.Name = "Part_Weld"
- w60.Part0 = p60
- w60.C0 = CFrame.new(35.7379875, 25.9019947, -4.29094791, -0.573576331, 0, -0.819152117, -0.280166537, -0.939692616, 0.196174636, -0.769751191, 0.342020154, 0.538985431)
- w60.Part1 = p61
- w60.C1 = CFrame.new(35.7379875, 25.9019966, -4.13995552, -0.573576331, 0, -0.819152117, -0.280166537, -0.939692616, 0.196174636, -0.769751191, 0.342020154, 0.538985431)
- w61 = Instance.new("Weld", p61)
- w61.Name = "Part_Weld"
- w61.Part0 = p61
- w61.C0 = CFrame.new(35.7379875, 25.9019966, -4.13995552, -0.573576331, 0, -0.819152117, -0.280166537, -0.939692616, 0.196174636, -0.769751191, 0.342020154, 0.538985431)
- w61.Part1 = p62
- w61.C1 = CFrame.new(35.7379913, 25.9019985, -3.98426342, -0.573576331, 0, -0.819152117, -0.280166537, -0.939692616, 0.196174636, -0.769751191, 0.342020154, 0.538985431)
- w62 = Instance.new("Weld", p62)
- w62.Name = "Part_Weld"
- w62.Part0 = p62
- w62.C0 = CFrame.new(35.7379913, 25.9019985, -3.98426342, -0.573576331, 0, -0.819152117, -0.280166537, -0.939692616, 0.196174636, -0.769751191, 0.342020154, 0.538985431)
- w62.Part1 = p63
- w62.C1 = CFrame.new(35.7379875, 25.9019947, -4.29094791, -0.573576331, 0, -0.819152117, -0.280166537, -0.939692616, 0.196174636, -0.769751191, 0.342020154, 0.538985431)
- w63 = Instance.new("Weld", p63)
- w63.Name = "Part_Weld"
- w63.Part0 = p63
- w63.C0 = CFrame.new(35.7379875, 25.9019947, -4.29094791, -0.573576331, 0, -0.819152117, -0.280166537, -0.939692616, 0.196174636, -0.769751191, 0.342020154, 0.538985431)
- w63.Part1 = p64
- w63.C1 = CFrame.new(35.7379875, 25.9019966, -4.13995552, -0.573576331, 0, -0.819152117, -0.280166537, -0.939692616, 0.196174636, -0.769751191, 0.342020154, 0.538985431)
- w64 = Instance.new("Weld", p64)
- w64.Name = "TorsoPart_Weld"
- w64.Part0 = p64
- w64.C0 = CFrame.new(35.7379875, 25.9019966, -4.13995552, -0.573576331, 0, -0.819152117, -0.280166537, -0.939692616, 0.196174636, -0.769751191, 0.342020154, 0.538985431)
- w64.Part1 = p65
- w64.C1 = CFrame.new(-27.0399971, -25.1251144, -25.3600025, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- m2.Parent = char
- m2:MakeJoints()
- --------------------------------------------------------------------------------
- local cor2 = Instance.new("Part", char.Wings)
- cor2.Name = "Thingy"
- cor2.Locked = true
- cor2.BottomSurface = 0
- cor2.CanCollide = false
- cor2.Size = Vector3.new(0.2, 0.2, 0.2)
- cor2.Transparency = 1
- cor2.TopSurface = 0
- corw2 = Instance.new("Weld", cor2)
- corw2.Part0 = torso
- corw2.Part1 = cor2
- corw2.C0 = CFrame.new(0, 0.7, 0.8) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0))
- corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- weld2 = Instance.new("Weld", char.Wings)
- weld2.Part0 = cor2
- weld2.Part1 = char.Wings.TorsoPart
- weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- rainbowNumber = 1
- local model = Instance.new("Model", char)
- model.Name = "x10Wand"
- local player = game.Players.LocalPlayer
- local pchar = player.Character
- local mouse = player:GetMouse()
- local cam = workspace.CurrentCamera
- local rad = math.rad
- bodyparts = {}
- local keysDown = {}
- local flySpeed = 0
- local MAX_FLY_SPEED = 150
- local canFly = false
- local flyToggled = false
- local forward, side = 0, 0
- local lastForward, lastSide = 0, 0
- local floatBP = Instance.new("BodyPosition")
- floatBP.maxForce = Vector3.new(0, math.huge, 0)
- local flyBV = Instance.new("BodyVelocity")
- flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- local turnBG = Instance.new("BodyGyro")
- turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- mouse.KeyDown:connect(function(key)
- keysDown[key] = true
- if key == "f" then
- flyToggled = not flyToggled
- if not flyToggled then
- stanceToggle = "Normal"
- floatBP.Parent = nil
- flyBV.Parent = nil
- turnBG.Parent = nil
- root.Velocity = Vector3.new()
- pchar.Humanoid.PlatformStand = false
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- keysDown[key] = nil
- end)
- local function updateFly()
- if not flyToggled then return end
- lastForward = forward
- lastSide = side
- forward = 0
- side = 0
- if keysDown.w then
- forward = forward + 1
- end
- if keysDown.s then
- forward = forward - 1
- end
- if keysDown.a then
- side = side - 1
- end
- if keysDown.d then
- side = side + 1
- end
- canFly = (forward ~= 0 or side ~= 0)
- if canFly then
- stanceToggle = "Floating"
- turnBG.Parent = root
- floatBP.Parent = nil
- flyBV.Parent = root
- flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
- if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
- else
- floatBP.position = root.Position
- floatBP.Parent = root
- flySpeed = flySpeed - 1
- if flySpeed < 0 then flySpeed = 0 end
- end
- local camCF = cam.CoordinateFrame
- local in_forward = canFly and forward or lastForward
- local in_side = canFly and side or lastSide
- flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,in_forward * 0.2, 0).p) - camCF.p) * flySpeed
- turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,0)
- end
- game:service'RunService'.RenderStepped:connect(function()
- if flyToggled then
- pchar.Humanoid.PlatformStand = true
- end
- updateFly()
- end)
- local TBlast, TBMesh = Instance.new("Part"), Instance.new("SpecialMesh")
- TBlast.BrickColor = BrickColor.new("New Yeller")
- TBlast.Transparency = 1
- TBlast.Anchored = true
- TBlast.CanCollide = false
- TBlast.CFrame = root.CFrame
- TBlast.Size = Vector3.new(2,2,2)
- TBMesh.Parent = TBlast
- TBMesh.MeshType = "Sphere"
- game.Lighting.Brightness = 0
- game.Lighting.OutdoorAmbient = TBlast.BrickColor.Color
- game.Lighting.TimeOfDay = 0.1
- game.Lighting.FogEnd = 1000
- game.Lighting.FogColor = TBlast.BrickColor.Color
- game.Lighting.TimeOfDay = "00:00:00"
- game.Lighting.Ambient = Color3.new(0,0,0)
- game.Lighting.FogColor = Color3.new(0,0,0)
- game.Lighting.FogEnd = 500
- game.Lighting.FogStart = 0
- game.Lighting.GlobalShadows = true
- function ClearEffects()
- for i, v in ipairs(CurrentEffects) do
- v:Remove()
- v:Destroy()
- game:GetService("Debris"):AddItem(v,0)
- table.remove(CurrentEffects,i)
- end
- end
- Human.WalkSpeed=26
- function defpos()
- Neck.C0 = necko
- LH.C0 = LHC0
- LS.C0 = LSC0
- RH.C0 = RHC0
- RS.C0 = RSC0
- RootJoint.C0 = ROOTC0
- end
- function newpos()
- defpos()
- RS.C0=clerp(RS.C0,RS.C0*angles(rad(-50),0,0),.3)
- LS.C0=clerp(LS.C0,LS.C0*angles(rad(-50),0,0),.3)
- RH.C0=clerp(RH.C0,RH.C0*angles(rad(-25),0,0),.3)
- LH.C0=clerp(LH.C0,LH.C0*angles(rad(-25),0,0),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*cf(0,0,1),1)
- end
- function PEE(part,size,col3,Lemission,trans,accel,ltp,edirection,enabled,lifetime,rate,rotation,rotspeed,speed,velspread,name,text)
- local p=it("ParticleEmitter",part)
- p.Size=size
- p.Texture=text
- p.Color=col3
- p.LightEmission=Lemission
- p.Transparency=trans
- p.Acceleration=accel
- p.LockedToPart=ltp
- p.EmissionDirection=edirection
- p.Enabled=enabled
- p.Lifetime=lifetime
- p.Rate=rate
- p.Rotation=rotation
- p.RotSpeed=rotspeed
- p.Speed=speed
- p.VelocitySpread=velspread
- p.Name=name
- return p
- end
- gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
- local gui = Instance.new(GuiType)
- gui.Parent = parent
- gui.Text = text
- gui.BackgroundTransparency = backtrans
- gui.BackgroundColor3 = backcol
- gui.SizeConstraint = "RelativeXY"
- gui.TextXAlignment = "Center"
- gui.TextYAlignment = "Center"
- gui.Position = pos
- gui.Size = size
- gui.Font = "SourceSans"
- gui.FontSize = "Size60"
- gui.TextWrapped = false
- gui.TextStrokeTransparency = 0
- gui.TextColor = BrickColor.new("New Yeller")
- return gui
- end
- part=function(parent,anchored,cancollide,size,cframe,col3,material,trans)
- local p=it("Part",parent)
- p.Anchored=anchored
- p.CanCollide=cancollide
- p.Size=size
- p.CFrame=cframe
- p.Color=col3
- p.Material=material
- p.Transparency=trans
- return p
- end
- BillboardGui = function(image, position, size)
- local billpar = Instance.new("Part")
- billpar.Transparency = 1
- billpar.formFactor = "Custom"
- billpar.Size = Vector3.new(1, 1, 1)
- billpar.Anchored = true
- billpar.CanCollide = false
- billpar.CFrame = CFrame.new(position)
- billpar.Name = "BillboardGuiPart"
- local bill = Instance.new("BillboardGui", billpar)
- bill.Adornee = billpar
- bill.Size = UDim2.new(1, 0, 1, 0)
- bill.SizeOffset = Vector2.new(size, size)
- local d = Instance.new("ImageLabel", bill)
- d.BackgroundTransparency = 1
- d.Size = UDim2.new(1, 0, 1, 0)
- d.Image = image
- return billpar
- end
- RealDamage = function(part,min,max,radius)
- coroutine.resume(coroutine.create(function()
- for i,v in pairs(workspace:children()) do
- if v:FindFirstChild'Humanoid' and v:FindFirstChild'Torso' then
- if v.Name == game.Players.LocalPlayer.Name then else
- print((v.Torso.Position - part.Position).magnitude)
- if ((v.Torso.Position - part.Position).magnitude <= radius) then
- local hpdmg=math.random(min,max)
- v.Humanoid.Health = v.Humanoid.Health - hpdmg
- print"0"
- print"1"
- local Dbil=it("BillboardGui", v.Torso)
- Dbil.Adornee=v.Torso
- Dbil.Size=UDim2.new(0, 500, 0, 500)
- Dbil.SizeOffset=Vector2.new(0,0)
- Dbil.AlwaysOnTop=true
- Dbil.ExtentsOffset=Vector3.new(ran(-3,3),ran(-3,3),ran(-3,3))
- table.insert(CurrentDamages,Dbil)
- print"2"
- local goo=gui("TextLabel",Dbil,""..hpdmg.."",1,Color3.new(0,0,0),UDim2.new(0, 0, 0, 0),UDim2.new(1, 0, 1, 0))
- table.insert(CurrentDamages,goo)
- print"3"
- for i=1,10 do
- wait()
- goo.TextTransparency=i/10
- end
- for a,b in pairs(CurrentDamages) do
- b:Remove()
- b:Destroy()
- game:GetService("Debris"):AddItem(b,0)
- table.remove(CurrentEffects,a)
- end
- end
- end
- end
- end
- end))
- end
- smoothNO=function(ppart)
- ppart.TopSurface=10
- ppart.BottomSurface=10
- ppart.BackSurface=10
- ppart.FrontSurface=10
- ppart.LeftSurface=10
- ppart.RightSurface=10
- return ppart
- end
- smoothO=function(ppart)
- ppart.TopSurface=0
- ppart.BottomSurface=0
- ppart.BackSurface=0
- ppart.FrontSurface=0
- ppart.LeftSurface=0
- ppart.RightSurface=0
- end
- sound=function(parent,id,vol,looped)
- local s=it("Sound",parent)
- s.SoundId=id
- s.Volume=vol
- s.Looped=looped
- return s
- end
- mesh=function(parent,ttype,scale)
- local m=it("SpecialMesh",parent)
- m.MeshType=ttype
- m.Scale=scale
- return m
- end
- spmesh=function(parent,id,scale)
- local m=it("SpecialMesh",parent)
- m.MeshId=id
- m.Scale=scale
- return m
- end
- local EyePart=part(Char,false,false,v3(.3,.3,.3),Torso.CFrame,c3(0,1,0),"Neon",0)
- EyePart.Name="EyePart"
- EyePart.Shape="Ball"
- local EyeWeld=it("Weld",Char)
- EyeWeld.Part0=EyePart
- EyeWeld.Part1=Head
- EyeWeld.C0=EyeWeld.C0*cf(.2,-.25,.578)
- local EyeSizes={
- NumberSequenceKeypoint.new(0,.4,0),
- NumberSequenceKeypoint.new(1,0,0)
- }
- local EyeTrans={
- NumberSequenceKeypoint.new(0,0,0),
- NumberSequenceKeypoint.new(1,1,0)
- }
- local PE=it("ParticleEmitter",EyePart)
- PE.LightEmission=.4
- PE.LockedToPart=true
- PE.Size=NumberSequence.new(EyeSizes)
- PE.Transparency=NumberSequence.new(EyeTrans)
- PE.Acceleration=v3(2,0,0)
- PE.Lifetime=NumberRange.new(2,2,2)
- PE.Rate=70
- PE.Speed=NumberRange.new(4,4,4)
- PE.Texture="rbxassetid://300899374"
- local function RisingAndRotatingParts(Parent,Cframe,Col1,Col2,Time,Material,Size)
- local Colours = {BrickColor.new(Col1),BrickColor.new(Col2)}
- local flame1 = Instance.new("Part",Parent)
- flame1.Anchored = true
- flame1.CanCollide =false
- flame1.CFrame = Cframe
- flame1.Material = Material
- flame1.TopSurface = 0
- flame1.BottomSurface = 0
- flame1.Size = Size
- flame1.BrickColor = Colours[math.random(1,#Colours)]
- for i = 1,30 do
- flame1.CFrame = flame1.CFrame*CFrame.Angles(.5,.5,.5)+Vector3.new(0,.2,0)
- flame1.Transparency = i/30
- r:wait()
- end
- flame1:Destroy()
- end
- coroutine.resume(coroutine.create(function()
- while r:wait() do
- RisingAndRotatingParts(Char,Torso.CFrame*cf(ran(-2,2),-3,ran(-2,2)),"New Yeller","Really black",1,"Neon",v3(.5,.5,.5))
- end
- end))
- coroutine.resume(coroutine.create(function()
- for i=1,huge do
- local MCir=part(Char,false,false,v3(0,0,0),Torso.CFrame,c3(0,0,0),"Neon",1)
- table.insert(CurrentEffects,MCir)
- local CirM=mesh(MCir,"Cylinder",v3(1.3,3.3,3.3))
- table.insert(CurrentEffects,CirM)
- local CirDec=it("Decal",MCir)
- CirDec.Texture="rbxassetid://687708091"
- CirDec.Face="Right"
- CirDec.Transparency=.5
- table.insert(CurrentEffects,CirDec)
- local MagicWeld=it("Weld",Char)
- MagicWeld.Part0=EyePart
- MagicWeld.Part1=MCir
- MagicWeld.C0=MagicWeld.C0*angles(0,rad(90),0)*cf(.05,0,0)
- table.insert(CurrentEffects,MagicWeld)
- for i=1,40 do
- MagicWeld.C0=MagicWeld.C0*angles(rad(6),0,0)
- CirM.Scale=CirM.Scale+v3(0,.4,.4)
- CirDec.Transparency=i/40
- r:wait()
- end
- --ClearEffects()
- end
- end))
- print"kek"
- attackone=function()
- if attacking ==false then attacking=true
- print"1"
- chat:Chat(Char.Head,"Hmph.","Red")
- local Hbox=part(Char,false,false,v3(1.5,2,1.5),Torso.CFrame,c3(0,0,0),"Plastic",1)
- RealDamage(Hbox,7,16,5,false)
- local w=it("Weld",Char)
- w.Part0=Hbox
- w.Part1=LArm
- w.C0=w.C0*cf(0,1,0)
- for i=1,10 do
- RS.C0=clerp(RS.C0,RS.C0*angles(rad(0),0,0),.06)
- LS.C0=clerp(LS.C0,LS.C0*angles(rad(0),rad(-65),rad(-150)),.06)
- RH.C0=clerp(RH.C0,RH.C0*angles(0,rad(0),rad(0)),.06)
- LH.C0=clerp(LH.C0,LH.C0*angles(0,0,0),.06)
- RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(90)),.06)
- Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(0),0,rad(-90)),.06)
- r:wait()
- end
- for i=1,10 do
- LS.C0=clerp(LS.C0,LS.C0*angles(rad(-9),rad(0),rad(0)),1)
- RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(-12)),1)
- Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(0),0,rad(12)),1)
- r:wait()
- end
- wait(.8)
- newpos()
- Hbox:Destroy()
- end
- attacking=false
- end
- attacktwo=function()
- if attacking==false then attacking=true
- print"2"
- chat:Chat(Char.Head,"Die!","Red")
- local ETorso=Torso:Clone()
- ETorso.Transparency=1
- ETorso.Anchored=true
- ETorso.CanCollide=false
- ETorso.CFrame=Torso.CFrame
- for i=1,10 do
- RS.C0=clerp(RS.C0,RS.C0*angles(rad(-7),rad(0),rad(0))*cf(0,-.05,0),1)
- RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(9)),1)
- Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(0),0,rad(-9)),1)
- r:wait()
- end
- for i=1,30 do
- local p=part(Char,true,false,v3(1,1,1),ETorso.CFrame*cf(0,0,-i)*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Plastic",0)
- local m=it("SpecialMesh",p)
- m.MeshId="rbxassetid://3270017"
- m.Scale=v3(4,4,4)
- spawn(function()
- for ii=1,20 do
- r:wait()
- m.Scale=m.Scale+v3(.5,.5,.5)
- p.Transparency=ii/20
- end
- end)
- r:wait()
- end
- local urmum=part(Char,true,false,v3(1,1,1),ETorso.CFrame*cf(0,0,-30),c3(0,1,0),"Plastic",0)
- table.insert(CurrentEffects,urmum)
- smoothNO(urmum)
- local HBox=urmum:Clone()
- HBox.Parent=Char
- HBox.Transparency=1
- HBox.Shape="Ball"
- HBox.Size=v3(2,2,2)
- HBox.CFrame=urmum.CFrame
- RealDamage(HBox,10,25,20,false)
- local urmesh=it("SpecialMesh",urmum)
- urmesh.MeshType="Sphere"
- urmesh.Scale=v3(2,2,2)
- coroutine.resume(coroutine.create(function()
- for i=1,40 do
- urmum.Transparency=i/40
- urmesh.Scale=urmesh.Scale+v3(1.5,1.5,1.5)
- HBox.CFrame=urmum.CFrame
- HBox.Size=HBox.Size+v3(1,1,1)
- r:wait()
- end
- end))
- for a=1,2 do
- for i=1,20 do
- spawn(function()
- local rann=part(Char,true,false,v3(0,0,0),ETorso.CFrame*cf(0,0,-30)*cf(ran(-30,30),ran(30),ran(-30,30)),c3(0,1,0),"Neon",1)
- table.insert(CurrentEffects,rann)
- local p=part(Char,false,false,v3(0,0,0),ETorso.CFrame*CFrame.new(0,0,-30),c3(0,1,0),"Neon",0)
- table.insert(CurrentEffects,p)
- local m=it("BlockMesh",p)
- m.Scale=v3(6,6,6)
- local bp=it("BodyPosition")
- bp.maxForce=v3(math.huge,math.huge,math.huge)
- bp.Position=rann.Position
- bp.Parent=p
- table.insert(CurrentEffects,bp)
- spawn(function()
- for i=1,16 do
- r:wait()
- p.Transparency=i/16
- end
- end)
- wait()
- bp.Parent=bil
- end)
- end
- end
- ETorso:Remove()
- HBox:Destroy()
- end
- --ClearEffects()
- attacking=false
- newpos()
- end
- attackthree=function()
- if attacking==false then attacking=true
- print"3"
- chat:Chat(Char.Head,"Get Ready..","Red")
- for i=1,10 do
- RS.C0=clerp(RS.C0,RS.C0*angles(rad(-33),0,rad(-10))*cf(0,-.25,0),.4)
- LS.C0=clerp(LS.C0,LS.C0*angles(rad(0),rad(20),rad(0)),.06)
- RH.C0=clerp(RH.C0,RH.C0*angles(0,rad(0),rad(0)),.06)
- LH.C0=clerp(LH.C0,LH.C0*angles(0,0,0),.06)
- RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(-6)),1)
- Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(0),0,rad(6)),1)
- r:wait()
- end
- local ball=part(Char,false,false,v3(1,1,1),Head.CFrame,c3(0,0,0),"Plastic",.8)
- local ball2=part(Char,false,false,v3(1,1,1),Head.CFrame,c3(0,1,0),"Neon",.2)
- local w=it("Weld",Char)
- w.Part0=ball
- w.Part1=RArm
- w.C0=w.C0*cf(0,20,0)
- local w2=it("Weld",Char)
- w2.Part0=ball2
- w2.Part1=ball
- local m=it("SpecialMesh",ball)
- m.MeshType="Sphere"
- m.Scale=Vector3.new(.1,.1,.1)
- local m2=it("SpecialMesh",ball2)
- m2.MeshType="Sphere"
- m2.Scale=Vector3.new(.01,.01,.01)
- local EyeSizes={
- NumberSequenceKeypoint.new(0,5,0),
- NumberSequenceKeypoint.new(1,0,0)
- }
- local PE=it("ParticleEmitter",ball)
- PE.LightEmission=.4
- PE.LockedToPart=false
- PE.Size=NumberSequence.new(EyeSizes)
- PE.Transparency=NumberSequence.new(EyeTrans)
- PE.Acceleration=v3(0,0,0)
- PE.Lifetime=NumberRange.new(4,4,4)
- PE.Rate=2e9
- PE.Speed=NumberRange.new(0,0,0)
- PE.Texture="rbxassetid://300899374"
- --table.insert(CurrentEffects,PE)
- coroutine.resume(coroutine.create(function()
- for i=1,30 do
- spawn(function()
- local rng=part(Char,true,false,v3(1,1,1),ball.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Plastic",.5)
- table.insert(CurrentEffects,rng)
- local rm=it("SpecialMesh",rng)
- rm.MeshId="rbxassetid://3270017"
- rm.Scale=v3(60,60,60)
- for ii=1,10 do
- rm.Scale=rm.Scale-v3(6,6,6)
- r:wait()
- end
- end)
- wait()
- end
- end))
- local p1=part(Char,true,false,v3(1,1,1),ball.CFrame,c3(0,1,0),"Neon",.5)
- local pm=mesh(p1,"Brick",v3(5,5,5))
- for i=1,20 do
- m.Scale=m.Scale+v3(.5,.5,.5)
- m2.Scale=m2.Scale+v3(.3,.3,.3)
- p1.Transparency=(-i/20*-i/20)
- r:wait()
- end
- wait(.5)
- w.Parent=nil
- table.insert(CurrentEffects,w)
- --table.insert(CurrentEffects,w2)
- local placeholder=part(Char,true,false,v3(1,1,1),Head.CFrame*CFrame.new(0,-5,-30),c3(0,1,0),"Neon",1)
- local BV=it("BodyVelocity")
- BV.maxForce=v3(huge,huge,huge)
- BV.Velocity=(placeholder.Position-ball.Position).unit*100
- BV.Parent=ball
- ball.Touched:connect(function(hit)
- if hit.Name~=ball2.Name then
- ball.Anchored=true
- ball.ParticleEmitter.Enabled=false
- ball.Transparency=1
- ball2.Transparency=1
- local xpl=part(Char,true,false,v3(1,1,1),ball.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",.75)
- local m=spmesh(xpl,"rbxassetid://9982590",v3(4,4,4))
- local xpl2=part(Char,true,false,v3(4,4,4),ball.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",1)
- spawn(function()
- for i=1,80 do
- xpl.Transparency=.75+i/80
- m.Scale=m.Scale+v3(.6,.6,.6)
- wait()
- end
- end)
- RealDamage(xpl2,15,30,7)
- for i=1,50 do
- xpl2.Size=xpl2.Size+v3(.3,.3,.3)
- xpl2.CFrame=ball.CFrame
- r:wait()
- end
- xpl:Destroy()
- xpl2:Destroy()
- end
- end)
- spawn(function()
- wait(1.5)
- if BV then
- BV:Destroy()
- end
- placeholder:Destroy()
- PE.Enabled=false
- ball2:Destroy()
- wait(7)
- ball:Destroy()
- end)
- for i=1,10 do
- RS.C0=clerp(RS.C0,RS.C0*angles(rad(0),rad(20),rad(30))*cf(0,0,0),.4)
- LS.C0=clerp(LS.C0,LS.C0*angles(rad(0),rad(0),rad(0)),.06)
- RH.C0=clerp(RH.C0,RH.C0*angles(0,rad(0),rad(0)),.06)
- LH.C0=clerp(LH.C0,LH.C0*angles(0,0,0),.06)
- RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(12)),1)
- Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(0),0,rad(-12)),1)
- wait()
- end
- chat:Chat(Char.Head,"Falling Star!","Green")
- end
- wait(2)
- attacking=false
- attacktype=1
- newpos()
- end
- Mouse.Button1Down:connect(function()
- if attacking== false and attacktype == 1 then
- attackone()
- attacktype = 2
- else
- if attacking == false and attacktype == 2 then
- attacktwo()
- attacktype = 3
- else
- if attacking == false and attacktype == 3 then
- attackthree()
- attacktype = 1
- end
- end
- end
- end)
- local Ging=false
- Mouse.KeyDown:connect(function(Key)
- if Key=="g" and Ging==false and attacking==false then attacking,Torso.Anchored=true,true
- local Clear={}
- local REKING=true
- chat:Chat(Char.Head,"By The Power Bestowed Upon Me Within The Demon's Eye..","Green")
- for i=1,20 do
- RS.C0=clerp(RS.C0,RS.C0*angles(rad(4.5),rad(-2),rad(8.5))*cf(0.02,0,0),1)
- LS.C0=clerp(LS.C0,LS.C0*angles(rad(0),rad(0),rad(0)),.06)
- RH.C0=clerp(RH.C0,RH.C0*angles(0,rad(0),rad(0)),.06)
- LH.C0=clerp(LH.C0,LH.C0*angles(0,0,0),.06)
- RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(1)),1)
- Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(-1),0,rad(-2)),1)
- r:wait()
- end
- local ball=part(Char,false,false,v3(0,0,0),Torso.CFrame,c3(0,1,0),"Neon",0)
- local ball2=part(Char,false,false,v3(.3,.3,.3),Torso.CFrame,c3(0,0,0),"Plastic",.8)
- local bm=mesh(ball,"Sphere",v3(0,0,0))
- local bm2=mesh(ball2,"Sphere",v3(.3,.3,.3))
- smoothNO(ball2)
- local w=it("Weld",Char)
- w.Part0=ball
- w.Part1=RArm
- w.C0=w.C0*CFrame.new(0,1.6,0)
- local w2=it("Weld",Char)
- w2.Part0=ball2
- w2.Part1=RArm
- w2.C0=w2.C0*CFrame.new(0,1.6,0)
- for i=1,60 do r:wait()
- bm.Scale=bm.Scale:Lerp(bm.Scale+Vector3.new(.23,.23,.23),.3)
- bm2.Scale=bm2.Scale:Lerp(bm2.Scale+Vector3.new(.3,.3,.3),.3)
- end
- local Ring=part(Char,true,false,v3(0,0,0),ball.CFrame,c3(0,0,0),"Neon",.5)
- local Ring2=Ring:Clone()
- Ring2.Parent=Char
- local RM=spmesh(Ring,"rbxassetid://3270017",Vector3.new(1.7,1.7,.5))
- local RM2=spmesh(Ring2,"rbxassetid://3270017",Vector3.new(1.7,1.7,.5))
- Ring.CFrame=ball.CFrame*CFrame.Angles(ran(-10,10),ran(-10,10),ran(-10,10))
- Ring2.CFrame=ball.CFrame*CFrame.Angles(ran(-10,10),ran(-10,10),ran(-10,10))
- Ging=true
- coroutine.resume(coroutine.create(function()
- while Ging==true do r:wait()
- Ring.CFrame=Ring.CFrame:lerp(Ring.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
- Ring2.CFrame=Ring2.CFrame:lerp(Ring2.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
- end
- end))
- print"OYEFGYEFYGIEF"
- local cols={"New Yeller", "Really black"}
- function fromground()
- local poss = Torso.CFrame*CFrame.new(0,-3,0)
- local main=it("Part",Char)
- main.Anchored=true
- main.CanCollide=false
- main.Size=v3(1,.2,1)
- main.CFrame=poss
- main.BrickColor=BrickColor.new(cols[math.random(#cols)])
- main.Material="Neon"
- main.CFrame = main.CFrame*cf((ran(-30,30)),0,(ran(-30,30)))
- local one = it("SpecialMesh", main)
- one.MeshType = "Sphere"
- one.Scale = v3(.3,.3,.3)
- main.CFrame = main.CFrame*angles((rad(90)),0,0)
- for i = 0,10,.1 do
- one.Scale = one.Scale+v3(.1,.1,4)
- main.Transparency = i
- wait()
- end
- one:Destroy()
- main:Destroy()
- end
- coroutine.resume(coroutine.create(function()
- while Ging==true do
- spawn(function()
- fromground()
- end)
- wait(.1)
- end
- end))
- spawn(function()
- coroutine.resume(coroutine.create(function()
- for i=1,17 do r:wait()
- print"hi"
- local Cir=part(Char,true,false,v3(0,0,0),Torso.CFrame*cf(0,-2.8,0)*angles(0,0,math.rad(90)),c3(0,0,0),"Neon",1)
- local Cirm=mesh(Cir,"Cylinder",v3(0,1,1))
- local CirDec=it("Decal",Cir)
- CirDec.Texture="rbxassetid://687708091"
- CirDec.Face="Right"
- CirDec.Transparency=0
- table.insert(Clear,Cir)
- for ii=1,100 do r:wait()
- Cir.CFrame=Cir.CFrame*CFrame.Angles(math.rad(i*1.5),0,0)
- Cirm.Scale=Cirm.Scale:Lerp(Cirm.Scale+Vector3.new(0,6,6),.4)
- CirDec.Transparency=ii/100
- end
- end
- end))
- end)
- Bright={}
- local BR=1
- for i=1,10 do
- table.insert(Bright,BR)
- BR=BR-.1
- end
- table.insert(Bright,0)
- for i, v in pairs(Bright) do
- print(v)
- end
- Lighting.Brightness=1
- spawn(function()
- for i=1,#Bright do
- Lighting.Brightness=Bright[i]
- wait(.1)
- end
- end)
- local C1=part(Char,true,false,v3(1,1,1),Torso.CFrame*CFrame.new(0,155,0),c3(90/255,97/255,99/255),"Plastic",1)
- local C1m=spmesh(C1,"rbxassetid://1095708",v3(1000,50,1000))
- for i=1,#Bright do
- C1.Transparency=Bright[i]
- wait(.1)
- end
- chat:Chat(Char.Head,"Open! Angel Gate!","Red")
- --PORTAL
- Portalling=true
- for i=1,2 do
- local Spoke1=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,1),"Plastic",1)
- local pp1=part(Char,false,false,v3(2,2,2),Torso.CFrame,c3(0,1,1),"Plastic",1)
- local pp2=part(Char,false,false,v3(2,2,2),Torso.CFrame,c3(0,1,1),"Plastic",1)
- local pp3=part(Char,false,false,v3(2,2,2),Torso.CFrame,c3(0,1,1),"Plastic",1)
- local pp4=part(Char,false,false,v3(2,2,2),Torso.CFrame,c3(0,1,1),"Plastic",1)
- local POS=part(Char,false,false,v3(2,2,2),Torso.CFrame*angles(math.rad(90),0,0)*cf(0,0,-140),c3(0,1,1),"Plastic",1)
- local wel0=it("Weld",Char)
- wel0.Part0=Spoke1
- wel0.Part1=POS
- wait()
- local wel1=it("Weld",Char)
- wel1.Part0=POS
- wel1.Part1=pp1
- wait()
- wel1.C0=wel1.C0*cf(0,60,0)
- wait()
- local wel2=it("Weld",Char)
- wel2.Part0=POS
- wel2.Part1=pp2
- wel2.C0=wel2.C0*cf(0,-60,0)
- wait()
- local wel3=it("Weld",Char)
- wel3.Part0=POS
- wel3.Part1=pp3
- wel3.C0=wel3.C0*cf(-60,0,0)
- wait()
- local wel4=it("Weld",Char)
- wel4.Part0=POS
- wel4.Part1=pp4
- wel4.C0=wel4.C0*cf(60,0,0)
- local TransPoints={
- NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(.51,0,0),NumberSequenceKeypoint.new(.517,.0123,0),
- NumberSequenceKeypoint.new(.767,0.0926,0),NumberSequenceKeypoint.new(.88,.395,0),NumberSequenceKeypoint.new(1,1,0)
- }
- local SizePoints={
- NumberSequenceKeypoint.new(0,4.56,0),NumberSequenceKeypoint.new(.046,4.44,0),NumberSequenceKeypoint.new(.144,4.25,0),
- NumberSequenceKeypoint.new(.521,4,0),NumberSequenceKeypoint.new(1,3.75,0)
- }
- local PE1=PEE(pp1,NumberSequence.new(SizePoints),ColorSequence.new(Color3.new(1,1,1),Color3.new(0,1,1)),.6,NumberSequence.new(TransPoints),v3(0,0,0),false,"Bottom",true,NumberRange.new(6,6,6),499999997952.000,NumberRange.new(0,0,0),NumberRange.new(0,0,0),NumberRange.new(6,6,6),0,"SpinningPortalEffect1","rbxassetid://300899374")
- local PE2=PEE(pp2,NumberSequence.new(SizePoints),ColorSequence.new(Color3.new(1,1,1),Color3.new(0,1,1)),.6,NumberSequence.new(TransPoints),v3(0,0,0),false,"Top",true,NumberRange.new(6,6,6),499999997952.000,NumberRange.new(0,0,0),NumberRange.new(0,0,0),NumberRange.new(6,6,6),0,"SpinningPortalEffect2","rbxassetid://300899374")
- local PE3=PEE(pp3,NumberSequence.new(SizePoints),ColorSequence.new(Color3.new(1,1,1),Color3.new(0,1,1)),.6,NumberSequence.new(TransPoints),v3(0,0,0),false,"Right",true,NumberRange.new(6,6,6),499999997952.000,NumberRange.new(0,0,0),NumberRange.new(0,0,0),NumberRange.new(6,6,6),0,"SpinningPortalEffect3","rbxassetid://300899374")
- local PE4=PEE(pp4,NumberSequence.new(SizePoints),ColorSequence.new(Color3.new(1,1,1),Color3.new(0,1,1)),.6,NumberSequence.new(TransPoints),v3(0,0,0),false,"Left",true,NumberRange.new(6,6,6),499999997952.000,NumberRange.new(0,0,0),NumberRange.new(0,0,0),NumberRange.new(6,6,6),0,"SpinningPortalEffect4","rbxassetid://300899374")
- spawn(function()
- while Portalling==true do
- wait()
- POS.CFrame=POS.CFrame*angles(0,0,math.rad(3))
- end
- POS:Destroy()
- pp1:Destroy()
- pp2:Destroy()
- pp3:Destroy()
- pp4:Destroy()
- end)
- wait(.5)
- end
- wait(5)
- newpos()
- chat:Chat(Char.Head,"Now, You Will Know What It's Like To Burn.","Red")
- Ging=false
- Ring:Destroy()
- Ring2:Destroy()
- ball:Destroy()
- ball2:Destroy()
- for i,v in pairs(Clear) do
- v:Destroy()
- end
- wait(3)
- --anims
- chat:Chat(Char.Head,"DIE!!!!!","Red")
- defpos()
- RS.C0 = clerp(RS.C0,RS.C0* angles(rad(-30), rad(0), rad(0)), 1)
- LS.C0 = clerp(LS.C0,LS.C0* angles(rad(-30), rad(0), rad(0)), 1)
- RH.C0 = clerp(RH.C0,RH.C0* angles(rad(-10), rad(0), rad(0)), 1)
- LH.C0 = clerp(LH.C0,LH.C0* angles(rad(-10), rad(0), rad(0)), 1)
- Neck.C0 = clerp(Neck.C0,Neck.C0*angles(rad(-35), rad(0), rad(0)), 1)
- local cylp=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(0,0,math.rad(90)),c3(0,1,0),"Neon",.5)
- local clym=mesh(cylp,"Cylinder",v3(5000,60,40))
- smoothNO(cylp)
- spawn(function()
- while REKING==true do r:wait()
- cylp.CFrame=Torso.CFrame*angles(0,0,math.rad(90))*CFrame.new(ran(-2,2),0,ran(-2,2))
- end
- end)
- local Explosion=function()
- local b1=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.5)--spike mesh in middle
- local b2=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,0,0),"Neon",.6)--black ball mesh thats big and expands
- local b3=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--green ball mesh that coats black ball mesh
- local r1=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,0,0),"Neon",.6)--ring that rotates around section
- local r2=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,0,0),"Neon",.6)--ring that rotates around section
- local bb=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,0,0),"Neon",.7)--black ball that envelopes all >:D rhymes
- local gr=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",.7)--green ring that goes around bb
- local gr2=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",.7)--green ring that goes around bb
- local sw=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--shockwave around whole fing
- local sw2=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--another shockwave around whole fing
- local bm1=spmesh(b1,"rbxassetid://9982590",v3(8,8,8))
- local bm2=mesh(b2,"Sphere",v3(40,40,40))
- local bm3=mesh(b3,"Sphere",v3(42,42,42))
- local rm1=spmesh(r1,"rbxassetid://3270017",v3(50,50,30))
- local rm2=spmesh(r2,"rbxassetid://3270017",v3(50,50,30))
- local bbm=mesh(bb,"Sphere",v3(60,60,60))
- local grm1=spmesh(gr,"rbxassetid://3270017",v3(80,80,50))
- local grm2=spmesh(gr2,"rbxassetid://3270017",v3(80,80,50))
- local ss1=spmesh(sw,"rbxassetid://20329976",v3(40,15,40))
- local ss2=spmesh(sw2,"rbxassetid://20329976",v3(48,5,48))
- wait()
- smoothNO(b1)
- smoothNO(b2)
- smoothNO(bb)
- RealDamage(Torso,70,200,70,false)
- for i=1,400 do r:wait()
- --CFrames
- b1.CFrame=b1.CFrame:lerp(b1.CFrame*CFrame.Angles(rad(3),0,rad(3)),.4)
- r1.CFrame=r1.CFrame:lerp(r1.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
- r2.CFrame=r2.CFrame:lerp(r2.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
- gr.CFrame=gr.CFrame:lerp(gr.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.1)
- gr2.CFrame=gr2.CFrame:lerp(gr2.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.1)
- sw.CFrame=sw.CFrame:lerp(sw.CFrame*CFrame.Angles(0,math.rad(5),0),.4)
- sw2.CFrame=sw2.CFrame:lerp(sw2.CFrame*CFrame.Angles(0,math.rad(-5),0),.4)
- --Sizing
- bm1.Scale=bm1.Scale:Lerp(bm1.Scale+Vector3.new(1.8,1.8,1.8),.069)--hehe
- bm2.Scale=bm2.Scale:Lerp(bm2.Scale+Vector3.new(6,6,6),.1)
- bm3.Scale=bm3.Scale:Lerp(bm3.Scale+Vector3.new(6,6,6),.1)
- rm1.Scale=rm1.Scale:Lerp(rm1.Scale+Vector3.new(7,7,7),.1)
- rm2.Scale=rm2.Scale:Lerp(rm2.Scale+Vector3.new(7,7,7),.1)
- bbm.Scale=bbm.Scale:Lerp(bbm.Scale+Vector3.new(8,8,8),.1)
- grm1.Scale=grm1.Scale:Lerp(grm1.Scale+Vector3.new(7,7,7),.1)
- grm2.Scale=grm2.Scale:Lerp(grm2.Scale+Vector3.new(7,7,7),.1)
- ss1.Scale=ss1.Scale:Lerp(ss1.Scale+Vector3.new(7,3,7),.1)
- ss2.Scale=ss2.Scale:Lerp(ss2.Scale+Vector3.new(7,2,7),.1)
- --Transparency
- b1.Transparency=.7+i/400
- b2.Transparency=.7+i/400
- b3.Transparency=.7+i/400
- r1.Transparency=.7+i/400
- r2.Transparency=.7+i/400
- bb.Transparency=.7+i/400
- gr.Transparency=.7+i/400
- gr2.Transparency=.7+i/400
- sw.Transparency=.7+i/400
- sw2.Transparency=.7+i/400
- end
- --Destroying
- b1:Destroy()
- b2:Destroy()
- b3:Destroy()
- r1:Destroy()
- r2:Destroy()
- bb:Destroy()
- gr:Destroy()
- gr2:Destroy()
- sw:Destroy()
- sw2:Destroy()
- end
- for i=1,30 do r:wait()
- spawn(function()
- Explosion()
- end)
- wait(.89)
- end
- REKING=false
- NBright={}
- local NBR=0
- for i=1,10 do
- table.insert(NBright,NBR)
- NBR=NBR+.1
- end
- print"boop"
- for i, v in pairs(NBright) do
- print(v)
- end
- for i=1,#NBright do
- Lighting.Brightness=NBright[i]
- wait(.1)
- end
- Lighting.Brightness=1
- Portalling=false
- for i=1,10 do wait()
- C1.Transparency=i/10
- cylp.Transparency=.5+i/10
- end
- Torso.Anchored=false
- newpos()
- attacking=false
- canattack=true
- end
- end)
- Mouse.KeyDown:connect(function(Key)
- if Key=="p" and attacking==false then attacking=true
- chat:Chat(Char.Head,"URAGH!","Green")
- local Explosion=function()
- local b1=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.5)--spike mesh in middle
- local b2=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,0,0),"Neon",.6)--black ball mesh thats big and expands
- local b3=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--green ball mesh that coats black ball mesh
- local r1=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,0,0),"Neon",.6)--ring that rotates around section
- local r2=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,0,0),"Neon",.6)--ring that rotates around section
- local bb=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,0,0),"Neon",.7)--black ball that envelopes all >:D rhymes
- local gr=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",.7)--green ring that goes around bb
- local gr2=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",.7)--green ring that goes around bb
- local sw=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--shockwave around whole fing
- local sw2=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--another shockwave around whole fing
- local bm1=spmesh(b1,"rbxassetid://9982590",v3(8,8,8))
- local bm2=mesh(b2,"Sphere",v3(40,40,40))
- local bm3=mesh(b3,"Sphere",v3(42,42,42))
- local rm1=spmesh(r1,"rbxassetid://3270017",v3(50,50,30))
- local rm2=spmesh(r2,"rbxassetid://3270017",v3(50,50,30))
- local bbm=mesh(bb,"Sphere",v3(60,60,60))
- local grm1=spmesh(gr,"rbxassetid://3270017",v3(80,80,50))
- local grm2=spmesh(gr2,"rbxassetid://3270017",v3(80,80,50))
- local ss1=spmesh(sw,"rbxassetid://20329976",v3(40,15,40))
- local ss2=spmesh(sw2,"rbxassetid://20329976",v3(48,5,48))
- wait()
- smoothNO(b1)
- smoothNO(b2)
- smoothNO(bb)
- for i=1,400 do r:wait()
- --CFrames
- b1.CFrame=b1.CFrame:lerp(b1.CFrame*CFrame.Angles(rad(3),0,rad(3)),.4)
- r1.CFrame=r1.CFrame:lerp(r1.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
- r2.CFrame=r2.CFrame:lerp(r2.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
- gr.CFrame=gr.CFrame:lerp(gr.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.1)
- gr2.CFrame=gr2.CFrame:lerp(gr2.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.1)
- sw.CFrame=sw.CFrame:lerp(sw.CFrame*CFrame.Angles(0,math.rad(5),0),.4)
- sw2.CFrame=sw2.CFrame:lerp(sw2.CFrame*CFrame.Angles(0,math.rad(-5),0),.4)
- --Sizing
- bm1.Scale=bm1.Scale:Lerp(bm1.Scale+Vector3.new(1.8,1.8,1.8),.069)--hehe
- bm2.Scale=bm2.Scale:Lerp(bm2.Scale+Vector3.new(6,6,6),.1)
- bm3.Scale=bm3.Scale:Lerp(bm3.Scale+Vector3.new(6,6,6),.1)
- rm1.Scale=rm1.Scale:Lerp(rm1.Scale+Vector3.new(7,7,7),.1)
- rm2.Scale=rm2.Scale:Lerp(rm2.Scale+Vector3.new(7,7,7),.1)
- bbm.Scale=bbm.Scale:Lerp(bbm.Scale+Vector3.new(8,8,8),.1)
- grm1.Scale=grm1.Scale:Lerp(grm1.Scale+Vector3.new(7,7,7),.1)
- grm2.Scale=grm2.Scale:Lerp(grm2.Scale+Vector3.new(7,7,7),.1)
- ss1.Scale=ss1.Scale:Lerp(ss1.Scale+Vector3.new(7,3,7),.1)
- ss2.Scale=ss2.Scale:Lerp(ss2.Scale+Vector3.new(7,2,7),.1)
- --Transparency
- b1.Transparency=.7+i/400
- b2.Transparency=.7+i/400
- b3.Transparency=.7+i/400
- r1.Transparency=.7+i/400
- r2.Transparency=.7+i/400
- bb.Transparency=.7+i/400
- gr.Transparency=.7+i/400
- gr2.Transparency=.7+i/400
- sw.Transparency=.7+i/400
- sw2.Transparency=.7+i/400
- end
- b1:Destroy()
- b2:Destroy()
- b3:Destroy()
- r1:Destroy()
- r2:Destroy()
- bb:Destroy()
- gr:Destroy()
- gr2:Destroy()
- sw:Destroy()
- sw2:Destroy()
- end
- Torso.Anchored=true
- RS.C0 = clerp(RS.C0,RS.C0* angles(rad(-30), rad(0), rad(0)), 1)
- LS.C0 = clerp(LS.C0,LS.C0* angles(rad(-30), rad(0), rad(0)), 1)
- RH.C0 = clerp(RH.C0,RH.C0* angles(rad(-10), rad(0), rad(0)), 1)
- LH.C0 = clerp(LH.C0,LH.C0* angles(rad(-10), rad(0), rad(0)), 1)
- Neck.C0 = clerp(Neck.C0,Neck.C0*angles(rad(-35), rad(0), rad(0)), 1)
- spawn(function()
- Explosion()
- end)
- wait(2)
- Torso.Anchored=false
- newpos()
- attacking=false
- end
- end)
- Mouse.KeyDown:connect(function(Key)
- if Key=="l" then
- local poop=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)
- local cyl=mesh(poop,"Cylinder",v3(1,1,1))
- for i=1,60,.2 do r:wait()
- cyl.Scale=Vector3.new(i*2,i*2,4)
- poop.CFrame=Torso.CFrame*CFrame.new(0,0,-i)*CFrame.Angles(0,rad(90),0)
- end
- end
- end)
- Mouse.KeyDown:connect(function(Key)
- if Key=="m" then
- local poop=part(Char,true,false,v3(1,1,1),Torso.CFrame*cf(ran(3,10),ran(0,10),ran(3,10)),c3(0,1,0),"Neon",.7)
- poop.CFrame=poop.CFrame*CFrame.new(poop.Position-Torso.Position,poop.Position)
- end
- end)
- local animpose = "Idle"
- local lastanimpose = "Idle"
- local sine = 0
- local change = 1
- local val = 0
- local ffing = false
- -------------------------------
- game:GetService("RunService").RenderStepped:connect(function()
- --[[if char.Humanoid.Jump == true then
- jump = true
- else
- jump = false
- end]]
- char.Humanoid.FreeFalling:connect(function(f)
- if f then
- ffing = true
- else
- ffing = false
- end
- end)
- sine = sine + change
- if jumpn == true then
- animpose = "Jumping"
- elseif ffing == true then
- animpose = "Freefalling"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
- animpose = "Idle"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
- animpose = "Walking"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
- animpose = "Running"
- end
- if animpose ~= lastanimpose then
- sine = 0
- if Debounces.NoIdl == false then
- if animpose == "Idle" then
- for i = 1, 2 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
- end
- elseif animpose == "Walking" then
- for i = 1, 2 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
- end
- elseif animpose == "Running" then
- for i = 1, 2 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
- wait()
- end
- end
- else
- end
- end
- lastanimpose = animpose
- if Debounces.NoIdl == false then
- if animpose == "Idle" then
- change = 0.5
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(-10),math.rad(-10),math.rad(14+2*math.cos(sine/10))), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(-20),math.rad(6),math.rad(-10-2*math.cos(sine/10))), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/10)),math.rad(20),0), 0.2)
- hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.16*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-20), math.rad(0)), 0.05)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0-0.1*math.cos(sine/10), -0.55) * CFrame.Angles(math.rad(-10+1*math.cos(sine/10)), math.rad(10), math.rad(-0-2*math.cos(sine/10))), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1-0.1*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-10), math.rad(0+2*math.cos(sine/10))), 0.4)
- elseif animpose == "Walking" then
- change = 1
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
- elseif animpose == "Running" then
- change = 1
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
- end
- end
- end)
- hum.MaxHealth = math.huge
- wait(3)
- hum.Health = math.huge
- spawn(function()
- while wait(2)
- do
- GroundWave3()
- end
- end)
- end)
- TextButton.MouseButton1Down:connect(function()
- function lerp(weld,beglerp,endlerp,speed)
- weld.C0 = beglerp:lerp(endlerp,speed)
- return weld.C0
- end
- local speed = 0.2
- local angle = 0
- local anglespeed = 2
- local armspeed = 0.2
- local armangle = 0
- local armanglespeed = 2
- local legspeed = 0.2
- local legangle = 0
- local leganglespeed = 2
- ignore = {}
- on = false
- damen = true
- enabled = true
- dancing = false
- goldenmode = false
- extradamage = 0
- combo = 1
- Player = game.Players.LocalPlayer
- mouse = Player:GetMouse()
- Char = Player.Character
- if Char:FindFirstChild("Shirt") ~= nil then
- Char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=337323278"
- else
- Instance.new("Shirt",Char).ShirtTemplate = "http://www.roblox.com/asset/?id=337323278"
- end
- if Char:FindFirstChild("Pants") ~= nil then
- Char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=367611643"
- else
- Instance.new("Pants",Char).PantsTemplate = "http://www.roblox.com/asset/?id=367611643"
- end
- for i,v in pairs(Char:GetChildren()) do
- if v.ClassName == "Hat" then
- v:Destroy()
- end
- end
- Human = Char.Humanoid
- Human.MaxHealth = 300
- wait(0.1)
- Human.Health = 300
- Sounds = {"rbxassetid://200632136","rbxassetid://154238035","rbxassetid://168586621","rbxassetid://137463716"}
- Head = Char.Head
- LA = Char:findFirstChild("Left Arm")
- RA = Char:findFirstChild("Right Arm")
- LL = Char:findFirstChild("Left Leg")
- RL = Char:findFirstChild("Right Leg")
- T = Char:findFirstChild("Torso")
- LS = T:findFirstChild("Left Shoulder")
- RS = T:findFirstChild("Right Shoulder")
- LH = T:findFirstChild("Left Hip")
- RH = T:findFirstChild("Right Hip")
- Neck = T:findFirstChild("Neck")
- HM = Char:findFirstChild("HumanoidRootPart")
- RJ = Char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
- local BCHat = Instance.new("Part",Char)
- BCHat.CanCollide = false
- BCHat.Name = "Handle"
- BCHat.TopSurface = 0
- BCHat.BottomSurface = 0
- BCHat.Size = Vector3.new(2,0.8,1.2)
- BCHat.BrickColor = BrickColor.new("Bright yellow")
- local BCHatMesh = Instance.new("SpecialMesh",BCHat)
- BCHatMesh.MeshId = "http://www.roblox.com/asset/?id=1073659"
- local BCHatWeld = Instance.new("Weld",BCHat)
- BCHatWeld.Part0 = Head
- BCHatWeld.Part1 = BCHat
- BCHatWeld.C0 = CFrame.new(0,0.8,-0.1)
- WLS = Instance.new("Weld", nil)
- WLS.C0 = CFrame.new(-1.5, 0.5, 0)
- WLS.C1 = CFrame.new(0, 0.5, 0)
- WLS.Part0 = T
- WLS.Part1 = LA
- WRS = Instance.new("Weld", nil)
- WRS.Part0 = T
- WRS.Part1 = RA
- WRS.C0 = CFrame.new(1.5, 0.5, 0)
- WRS.C1 = CFrame.new(0, 0.5, 0)
- WLH = LH
- WRH = RH
- WRH.Part0 = T
- WRH.Part1 = RL
- LSC0 = WLS.C0
- RSC0 = WRS.C0
- LHC0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- LHC1 = CFrame.new(-0.5, 1 ,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)
- WRJ = RJ
- RJC0 = WRJ.C0
- RJC1 = WRJ.C1
- NC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Run = game:GetService("RunService")
- hopbin = Instance.new("HopperBin",Player.Backpack)
- hopbin.Name = "Bob the builder's hammer"
- local Hammer = Instance.new("Part",Char)
- Hammer.Name = "Hammer"
- Hammer.Locked = true
- Hammer.CanCollide = false
- Hammer.TopSurface = 0
- Hammer.BottomSurface = 0
- Hammer.Size = Vector3.new(1.8,0.4,3.8)
- local HammerMesh = Instance.new("SpecialMesh",Hammer)
- HammerMesh.Scale = Vector3.new(1.8,1.8,1.8)
- HammerMesh.MeshId = "http://www.roblox.com/asset/?id=16198309"
- HammerMesh.TextureId = "http://www.roblox.com/asset/?id=16198294"
- physicalprop = PhysicalProperties.new(0,0.3,0.5,1,1)
- Hammer.CustomPhysicalProperties = physicalprop
- HW = Instance.new("Weld",T)
- HW.Part0 = Hammer
- HW.Part1 = RA
- HW.C0 = CFrame.new(1.15,0,0) *CFrame.Angles(0,math.pi,math.pi/2)
- hc0 = HW.C0
- Meshes={
- Blast="20329976",
- Crown="1323306",
- Ring="3270017",
- Claw="10681506",
- Crystal="9756362",
- Coil="9753878",
- Cloud="1095708",
- Skull="4770583",
- }
- function nooutlines(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- function getmesh(mesh)
- return "rbxassetid://"..mesh
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 60
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- local function Rwait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function effect(part,brickcolor,size,cframe,trans,transincrement,scaleby,loopwait,meshid,meshtype)
- local p = Instance.new("Part", part or workspace)
- p.Anchored = true
- p.CanCollide = false
- p.FormFactor = Enum.FormFactor.Custom
- p.Material = "SmoothPlastic"
- p.CFrame = cframe
- p.BrickColor = brickcolor
- p.Size = Vector3.new(1,1,1)
- p.Transparency = trans
- nooutlines(p)
- local m = Instance.new("SpecialMesh",p)
- if meshtype ~= nil and meshid == nil then
- m.MeshType = meshtype
- end
- if meshtype == nil and meshid ~= nil then
- m.MeshId = getmesh(meshid)
- end
- m.Scale = size
- coroutine.wrap(function()
- for i = 0,loopwait,0.1 do
- p.CFrame = p.CFrame
- p.Transparency = p.Transparency +transincrement
- m.Scale = m.Scale + scaleby
- wait(1/60)
- end
- p:Destroy()
- end)()
- return p
- end
- PlaySound = function(part,volume,pitch,id,looped)
- local Sound = Instance.new("Sound", part)
- Sound.SoundId = id
- Sound.Pitch = pitch
- Sound.Volume = volume
- coroutine.wrap(function()
- wait()
- Sound:Play()
- if looped == nil then
- game.Debris:AddItem(Sound,10)
- end
- end)()
- if looped == true then
- Sound.Looped = true
- ThisSound = Sound
- end
- end
- function GetDistance(Obj,Mag)
- for _,v in pairs(workspace:GetChildren()) do
- if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v ~= Char then
- local Mag2 = (v.Torso.Position - Obj.Position).magnitude
- if Mag2 < Mag then
- return v
- end
- end
- end
- end
- ShowDmg = function(totake)
- local modl = Instance.new("Model", workspace)
- modl.Name = tostring(totake)
- local prt = Instance.new("Part", modl)
- prt.CanCollide = false
- prt.BrickColor = BrickColor.Red()
- prt.Name = "Head"
- prt.CFrame = HM.CFrame *CFrame.new(0, 1.5, 0)
- prt.TopSurface = 0
- prt.BottomSurface = 0
- prt.FormFactor = 3
- prt.Size = Vector3.new(1, 0.2, 1)
- local bm = Instance.new("BlockMesh", prt)
- local hum = Instance.new("Humanoid", modl)
- hum.Health = 0
- hum.MaxHealth = 0
- hum.WalkSpeed = 0
- bodypos = Instance.new("BodyPosition", prt)
- bodypos.position = Head.Position +Vector3.new(0, 1, 0)
- bodypos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- game.Debris:AddItem(modl, 1)
- coroutine.resume(coroutine.create(function()
- for i = 1, 3 do
- bodypos.position = bodypos.position +Vector3.new(0, 0.5, 0)
- Rwait()
- end
- end))
- end
- function Damage(hit,mm,knockback)
- if hit ~= nil and hit.Parent ~= nil and damen == true and hit.Parent ~= Char and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health > 0 then
- if game.Players:FindFirstChild(hit.Parent) ~= nil and game.Players:FindFirstChild(hit.Parent).TeamColor == "Bright orange" then
- return
- end
- hit.Parent.Humanoid:TakeDamage(mm)
- if knockback ~= nil and knockback ~= 0 then
- local v = Instance.new("BodyVelocity",hit.Parent.Torso)
- v.maxForce = Vector3.new(1e4,0,1e4)
- v.P = 1e20
- v.velocity = HM.CFrame.lookVector *knockback
- game.Debris:AddItem(v,0.1)
- end
- coroutine.resume(coroutine.create(function()
- ShowDmg(mm)
- end))
- damen = false
- end
- end
- function MagDamage(magnitude,part,damg,knockback,ignoretime)
- if ignoretime == 0 or ignoretime == nil then
- ignoretime = 0.5
- end
- local Body = GetDistance(part,magnitude)
- if Body ~= nil and Body.Humanoid and Body ~= Char and not ignore[Body] then
- ignore[Body] = true
- Body.Humanoid:TakeDamage(damg)
- spawn(function()
- ShowDmg(damg)
- end)
- if knockback ~= nil and Body.Torso ~= nil then
- local v = Instance.new("BodyVelocity",Body.Torso)
- v.maxForce = Vector3.new(1e4,0,1e4)
- v.P = 1e15
- v.velocity = HM.CFrame.lookVector *knockback
- game.Debris:AddItem(v,0.3)
- end
- coroutine.resume(coroutine.create(function()
- wait(ignoretime)
- ignore[Body] = false
- end))
- end
- end
- function BobTheDancer()
- PlaySound(Hammer,1,1,Sounds[2],true)
- while dancing == true do
- lerp(WLS,WLS.C0,LSC0 *CFrame.new(0,0.5,0) *CFrame.Angles(math.pi/1.15,0,math.sin(armangle*0.5)*0.5),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.new(0,0.5,0) *CFrame.Angles(math.pi/1.15,0,math.sin(armangle*0.5)*0.5),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0,speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/10,0,-math.sin(angle*0.5)*0.9),speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- end
- function Slash1()
- for i = 1,17 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,-math.pi/3.5),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/1.1,0,math.pi/8),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/3.5),speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/3.5),speed)
- lerp(HW,HW.C0,hc0,speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- PlaySound(Hammer,1,1.04,Sounds[1])
- damen = true
- local Dmgbx = Hammer.Touched:connect(function(hit) Damage(hit,math.random(42,240)+extradamage,30) end)
- for i = 1,19 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/3.5),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/3,-math.pi/5,math.pi/5),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,-1,0) *CFrame.Angles(0,0,math.pi/3.5),speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/3.5),speed)
- lerp(HW,HW.C0,hc0,speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- Dmgbx:disconnect()
- damen = false
- end
- function Slash2()
- for i = 1,16 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/10),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi,0,0),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0,speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/3,0,0),speed)
- lerp(HW,HW.C0,hc0,speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- PlaySound(Hammer,1,1.2,Sounds[1])
- damen = true
- local Dmgbx = Hammer.Touched:connect(function(hit) Damage(hit,math.random(42,60)+extradamage,30) end)
- for i = 1,17 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/6),armspeed)
- lerp(WRS,WRS.C0,RSC0,armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0,speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/3,0,0),speed)
- lerp(HW,HW.C0,hc0,speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- Dmgbx:disconnect()
- damen = false
- end
- function Slash3()
- for i = 1,18 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/8,0,-math.pi/15),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.new(-1.5,0,-0.5) *CFrame.Angles(0,math.pi/1.5,math.pi/2),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,-1,0) *CFrame.Angles(0,0,math.pi/3),speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/3),speed)
- lerp(HW,HW.C0,hc0,speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- PlaySound(Hammer,1,1.2,Sounds[1])
- damen = true
- local Dmgbx = Hammer.Touched:connect(function(hit) Damage(hit,math.random(112,220)+extradamage,30) end)
- for i = 1,20 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/5,0,-math.pi/4),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/30,math.pi/2),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,-1,0) *CFrame.Angles(0,0,-math.pi/3),speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/3),speed)
- lerp(HW,HW.C0,hc0,speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- Dmgbx:disconnect()
- damen = false
- end
- function Slash4()
- for i = 1,15 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/5,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/5),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,1,0),speed)
- lerp(Neck,Neck.C0,NC0,speed)
- lerp(HW,HW.C0,hc0,speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- PlaySound(Hammer,1,1.4,Sounds[1])
- damen = true
- local Dmgbx = Hammer.Touched:connect(function(hit) Damage(hit,math.random(132,230)+extradamage,30) end)
- for i = 0,1.4,0.05 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/8,0,-math.pi/3),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,math.pi/2),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,1) *CFrame.Angles(0,-math.pi/2,-math.pi*i*2),speed)
- lerp(Neck,Neck.C0,NC0,speed)
- lerp(HW,HW.C0,hc0,speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- Dmgbx:disconnect()
- damen = false
- end
- function HammerSlam()
- for i = 1,20 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/4,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/1.02,0,0),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0,speed)
- lerp(Neck,Neck.C0,NC0,speed)
- lerp(HW,HW.C0,hc0,speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- PlaySound(Hammer,1,0.8,Sounds[1])
- damen = true
- for i = 1,20 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/4,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/30,0,0),armspeed/2)
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(-1,1.5,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,-math.pi/2),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-1.5),speed)
- lerp(Neck,Neck.C0,NC0,speed)
- lerp(HW,HW.C0,hc0,speed)
- effect(Char,BrickColor.new("Institutional white"),Vector3.new(0.5,0.5,0.5),Hammer.CFrame *CFrame.new(-0.5,0,Hammer.Size.Z/2) *CFrame.Angles(math.pi/2,0,math.pi),0,0.1,Vector3.new(0.05,0.05,0.05),1,Meshes.Blast,nil)
- if i == 16 then
- HammerTouched = Hammer.Touched:connect(function(Hit)
- if Hit ~= nil and Hit.Parent ~= Char then
- Damage(Hit,math.random(114,201)+extradamage,40)
- end
- end)
- end
- Rwait()
- end
- HammerTouched:disconnect()
- damen = false
- end
- function HammerSpin()
- for i = 1,17 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,-math.pi/3.5),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/1.5,math.pi/2),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/3.5),speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/3.5),speed)
- lerp(HW,HW.C0,hc0,speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- damen = true
- local spinun = 0
- coroutine.wrap(function()
- for i = 1,10 do
- PlaySound(Hammer,1,1.04,Sounds[1])
- Rwait(8.5)
- end
- end)()
- for i = 1,50 do
- HW.C1 = CFrame.new(0,-spinun-0.5,0)
- MagDamage(3,Hammer,math.random(25,210)+extradamage,30,0.3)
- spinun = spinun +0.5
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,-math.pi/2),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/3.5),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,-1,0) *CFrame.Angles(0,0,math.pi/3.5),speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/3.5),speed)
- lerp(HW,HW.C0,CFrame.new() *CFrame.Angles(math.pi/2,0,-spinun),speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- for i = 1,50 do
- HW.C1 = CFrame.new(0,-spinun-0.5,0)
- MagDamage(3,Hammer,math.random(52,120)+extradamage,30,0.3)
- spinun = spinun -0.5
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,-math.pi/2),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/3.5),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,-1,0) *CFrame.Angles(0,0,math.pi/3.5),speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/3.5),speed)
- lerp(HW,HW.C0,CFrame.new() *CFrame.Angles(math.pi/2,0,-spinun),speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- for i = 1,19 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,-math.pi/4),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/5),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,-1,0) *CFrame.Angles(0,0,math.pi/3.5),speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/3.5),speed)
- lerp(HW,HW.C0,CFrame.new() *CFrame.Angles(math.pi/2,0,-math.pi/5),speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- HW.C1 = CFrame.new()
- damen = false
- end
- function HammerWheelSpinner()
- for i = 1,15 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/5,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/5),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,1,0),speed)
- lerp(Neck,Neck.C0,NC0,speed)
- lerp(HW,HW.C0,hc0,speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- for i = 1,3 do
- PlaySound(Hammer,1,1.4,Sounds[1])
- damen = true
- for i = 0,1,0.05 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/8,0,-math.pi/3),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,math.pi/2),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,1) *CFrame.Angles(0,-math.pi/2,-math.pi*i*2),speed)
- lerp(Neck,Neck.C0,NC0,speed)
- lerp(HW,HW.C0,hc0,speed)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- if i >= 0.15 and i <= 0.2 then
- Dmgbx = Hammer.Touched:connect(function(hit) Damage(hit,math.random(72,141)+extradamage,520) end)
- end
- if i >= 0.9 and i <= 1 then
- damen = false
- Dmgbx:disconnect()
- end
- Rwait()
- end
- end
- end
- function GoldenHammerMode()
- for i = 1,85 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/4,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/1.1,0,math.pi/5),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0,speed)
- lerp(Neck,Neck.C0,NC0,speed)
- lerp(HW,HW.C0,hc0,speed)
- if i == 20 then
- PlaySound(Hammer,1,1.3,Sounds[4])
- effect(Char,BrickColor.new("Br. yellowish orange"),Vector3.new(0.5,0.5,0.5),Hammer.CFrame,0,0.1,Vector3.new(0.5,0.5,0.5),1,"16198309",nil)
- end
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- end
- Rwait()
- end
- coroutine.wrap(function()
- HammerMesh.TextureId = ""
- Hammer.BrickColor = BrickColor.new("Br. yellowish orange")
- Hammer.Reflectance = 0.3
- extradamage = 80
- wait(30)
- goldenmode = false
- PlaySound(Hammer,1,2.3,Sounds[4])
- effect(Char,BrickColor.new("Br. yellowish orange"),Vector3.new(0.5,0.5,0.5),Hammer.CFrame,0,0.1,Vector3.new(0.5,0.5,0.5),1,"16198309",nil)
- HammerMesh.TextureId = "http://www.roblox.com/asset/?id=16198294"
- Hammer.BrickColor = BrickColor.new("Medium stone grey")
- Hammer.Reflectance = 0
- extradamage = 0
- end)()
- end
- function Selected()
- click = mouse.Button1Down:connect(function()
- if on == false then return end
- coroutine.wrap(function()
- Rwait(400)
- if combo ~= 1 and enabled == true then
- combo = 1
- end
- end)()
- if on == false then return end
- if combo == 1 and enabled == true then
- enabled = false
- Slash1()
- enabled = true
- combo = 2
- elseif combo == 2 and enabled == true then
- enabled = false
- Slash2()
- enabled = true
- combo = 3
- elseif combo == 3 and enabled == true then
- enabled = false
- Slash3()
- enabled = true
- combo = 4
- elseif combo == 4 and enabled == true then
- enabled = false
- Slash4()
- enabled = true
- combo = 1
- end
- end)
- keys = mouse.KeyDown:connect(function(key)
- key = key:lower()
- if enabled == false then return end
- if key == "f" then
- on = not on
- if on == false then
- enabled = false
- for i = 1,10 do
- lerp(WLS,WLS.C0,LSC0,armspeed)
- lerp(WRS,WRS.C0,RSC0,armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0,speed)
- lerp(Neck,Neck.C0,NC0,speed)
- end
- WLS.Parent = nil
- WRS.Parent = nil
- WLH.Parent = nil
- WRH.Parent = nil
- WRJ.Parent = nil
- LSH.Parent = T
- RSH.Parent = T
- LHH.Parent = T
- RHH.Parent = T
- RJC.Parent = HM
- Neck.C0 = NC0
- Anim.Parent = Char
- Animate.Parent = Human
- HW.C0 = hc0
- Human.WalkSpeed = 16
- Human.JumpPower = 50
- wait(1)
- enabled = true
- end
- if on == true then
- enabled = false
- RJC = RJ:Clone()
- LSH = LS:Clone()
- RSH = RS:Clone()
- LHH = LH:Clone()
- RHH = RH:Clone()
- Anim = Char:FindFirstChild("Animate")
- if Anim ~= nil then
- Anim.Parent = nil
- end
- Animate = Human:FindFirstChild("Animator")
- if Animate ~= nil then
- Animate.Parent = nil
- end
- WLS.Parent = T
- WRS.Parent = T
- WLH.Parent = T
- WRH.Parent = T
- WRJ.Parent = T
- for i = 1,10 do
- lerp(WLS,WLS.C0,LSC0,armspeed)
- lerp(WRS,WRS.C0,RSC0,armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0,speed)
- lerp(Neck,Neck.C0,NC0,speed)
- end
- Human.WalkSpeed = 25
- Human.JumpPower = 100
- enabled = true
- end
- end
- if key == "q" and on == true then
- dancing = true
- if dancing == true then
- enabled = false
- coroutine.wrap(function()
- BobTheDancer()
- end)()
- end
- end
- if key == "z" and on == true and enabled == true then
- enabled = false
- HammerSlam()
- enabled = true
- end
- if key == "x" and on == true and enabled == true then
- enabled = false
- HammerSpin()
- enabled = true
- end
- if key == "c" and on == true and enabled == true then
- enabled = false
- HammerWheelSpinner()
- enabled = true
- end
- if key == "v" and on == true and enabled == true and goldenmode == false then
- enabled = false
- goldenmode = true
- GoldenHammerMode()
- enabled = true
- end
- end)
- keysup = mouse.KeyUp:connect(function(key2)
- if key2 == "q" and dancing == true then
- dancing = false
- enabled = true
- ThisSound:Destroy()
- end
- end)
- end
- function Deselected()
- click:disconnect()
- keys:disconnect()
- keysup:disconnect()
- end
- hopbin.Selected:connect(Selected)
- hopbin.Deselected:connect(Deselected)
- function Cast(Pos,Dir,Amp,IgnoreList)
- return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit*Amp), IgnoreList)
- end
- while true do
- surface = Cast(HM.Position,(CFrame.new(HM.Position,HM.Position - Vector3.new(0,1,0))).lookVector,4,Char)
- Human.Health = Human.Health +0.1
- if on == true then
- angle = (angle % 100) +anglespeed/10
- armangle = (armangle % 100) +armanglespeed/10
- legangle = (legangle % 100) +leganglespeed/10
- if action == "Idle" and enabled == true and surface ~= nil then
- lerp(WLS,WLS.C0,LSC0 *CFrame.new(0,0,0.5) *CFrame.Angles(math.pi/2,math.pi/5,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.new(0.1,-0.15,-0.7) *CFrame.Angles(math.pi/2,-math.pi/25+math.sin(armangle)*0.8,-math.pi/2),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0,speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.sin(angle*0.25/2)*0.25/5,0,0),speed)
- lerp(HW,HW.C0,hc0,speed)
- end
- if action == "Walk" and enabled == true and surface ~= nil then
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/5,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,-math.pi/4,0),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-HM.RotVelocity.Y/12),speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,HM.RotVelocity.Y/12),speed)
- lerp(HW,HW.C0,hc0,speed)
- end
- if HM.Velocity.Y >= 5 and enabled == true and surface == nil then
- action = "Jump"
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/5,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/5,0,0),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/10),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.5,0) *CFrame.Angles(0,0,-math.pi/8),legspeed)
- lerp(WRJ,WRJ.C0,RJC0,speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/8,0,0),speed)
- lerp(HW,HW.C0,hc0,speed)
- Rwait()
- end
- if HM.Velocity.Y <= -5 and enabled == true and surface == nil then
- action = "Fall"
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/3,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/3,0,0),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.pi/10),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/4),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(math.pi/8,0,0),speed)
- lerp(Neck,Neck.C0,NC0,speed)
- lerp(HW,HW.C0,hc0,speed)
- Rwait()
- end
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude <= 2 then
- action = "Idle"
- elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- action = "Walk"
- end
- end
- Rwait()
- end
- end)
- Ender.MouseButton1Down:connect(function()
- --lol why do you have this
- --anyway, this script is called ender
- --and its by yeox769
- --at least give some credit, will ya?
- musicOn = true
- Me = game.Players.LocalPlayer
- player = Me
- char = Me.Character
- chara = char
- larm = char["Left Arm"]
- rarm = char["Right Arm"]
- lleg = char["Left Leg"]
- rleg = char["Right Leg"]
- torso = char.Torso
- hed = char.Head
- mouse = player:GetMouse()
- lght = game.Lighting
- lichtact = false
- moosicact = false
- gotsagofest = true
- chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
- chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
- wait(2.5)
- chara.Humanoid.WalkSpeed = 10
- chara.Humanoid.JumpPower = 40
- local naeeym = Instance.new("BillboardGui",chara)
- naeeym.Size = UDim2.new(0,100,0,40)
- naeeym.StudsOffset = Vector3.new(0,2,0)
- naeeym.Adornee = chara.Head
- local tecks = Instance.new("TextLabel",naeeym)
- tecks.BackgroundTransparency = 1
- tecks.BorderSizePixel = 0
- tecks.Text = ""
- tecks.Font = "Bodoni"
- tecks.FontSize = "Size36"
- tecks.TextStrokeTransparency = 0.5
- tecks.TextColor3 = Color3.new(0,0,0)
- rrer = BrickColor.new("Really red")
- tecks.TextStrokeColor3 = rrer.Color
- tecks.Size = UDim2.new(1,0,0.5,0)
- local licht = Instance.new("PointLight",chara.Torso)
- licht.Color = tecks.TextStrokeColor3
- licht.Range = 60
- licht.Brightness = 1
- licht.Enabled = false
- ------------------------------- Player -------------------------------------------------------------------
- local z = Instance.new("Sound",char)
- z.Looped = true
- z.SoundId = "rbxassetid://167161785"
- z.Volume = 2.25
- if musicOn then
- z:Play()
- end
- Mouse = player:GetMouse()
- local l = Instance.new("ColorCorrectionEffect",game.Lighting)
- for i,v in pairs(chara:children()) do
- if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
- v:Destroy()
- end
- end
- char.Head.face:Destroy()
- char["Body Colors"].HeadColor, char["Body Colors"].LeftArmColor, char["Body Colors"].LeftLegColor, char["Body Colors"].RightArmColor, char["Body Colors"].RightLegColor, char["Body Colors"].TorsoColor = BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Really black")
- local Orbd = Instance.new("Part", char)
- Orbd.Name = "Orbd"
- Orbd.Shape = Enum.PartType.Ball
- Orbd.CanCollide = false
- Orbd.BrickColor = BrickColor.new("Really red")
- Orbd.Transparency = 0
- Orbd.Material = "Neon"
- Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
- Orbd.TopSurface = Enum.SurfaceType.Smooth
- Orbd.BottomSurface = Enum.SurfaceType.Smooth
- local Weld = Instance.new("Weld", Orbd)
- Weld.Part0 = char.Head
- Weld.Part1 = Orbd
- Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
- local glov = Instance.new("PointLight", Orbd)
- glov.Brightness = 0.25
- glov.Range = 20
- glov.Color = Color3.new(255, 0, 0)
- local Orbvc = Instance.new("Part", char)
- Orbvc.Name = "Orbvc"
- Orbvc.Shape = Enum.PartType.Ball
- Orbvc.CanCollide = false
- Orbvc.BrickColor = BrickColor.new("Really red")
- Orbvc.Transparency = 0
- Orbvc.Material = "Neon"
- Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
- Orbvc.TopSurface = Enum.SurfaceType.Smooth
- Orbvc.BottomSurface = Enum.SurfaceType.Smooth
- local Weld = Instance.new("Weld", Orbvc)
- Weld.Part0 = char.Head
- Weld.Part1 = Orbvc
- Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
- local glo = Instance.new("PointLight", Orbvc)
- glo.Brightness = 0.25
- glo.Range = 20
- glo.Color = Color3.new(255, 0, 0)
- local IsFreeFalling = false
- local SpinPart = Instance.new('Part')
- SpinPart.Transparency = 1
- SpinPart.Size = Vector3.new(25,1,25)
- SpinPart.CanCollide = false
- SpinPart.FormFactor = 'Custom'
- local FX = Instance.new('ParticleEmitter',SpinPart)
- FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Black").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://132883219",-0.1
- local FX = Instance.new('ParticleEmitter',SpinPart)
- FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Black").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://132883219",0.1
- do
- local tspin = Instance.new('BodyAngularVelocity')
- tspin.angularvelocity = Vector3.new(0,1,0)
- tspin.maxTorque =Vector3.new(math.huge,math.huge,math.huge)
- tspin.Parent = SpinPart
- end
- local SpinPos = Instance.new('BodyPosition')
- SpinPos.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- SpinPos.Parent = SpinPart
- function Equipped()
- IsEquipped = true
- local MyTorso = char.Torso
- if MyTorso then
- spawn(function()
- local startTime = tick()
- SpinPart.CFrame = CFrame.new(MyTorso.CFrame.p+Vector3.new(0,-2.8,0))
- SpinPart.Parent = MyTorso
- local fadeIn = true
- while IsEquipped do
- if not IsFreeFalling then
- SpinPos.position = MyTorso.CFrame.p+Vector3.new(0,-2.8,0)
- end
- wait()
- end
- SpinPart.Parent = nil
- end)
- end
- end
- wait(0.01)
- Equipped()
- function start()
- print("Darkness falls across the battlefield...")
- wait()
- print("----------------------------------------")
- wait()
- print(" - Ender booted up. -")
- wait()
- print("- Ender written by yeox769. -")
- i = 0
- while i<1 do
- wait()
- i = i + 0.01
- l.Contrast,l.Saturation,l.Brightness = l.Contrast + 0.02, l.Saturation - 0.0075, l.Brightness + 0.00375
- l.TintColor = Color3.new(1,1-i,1-i)
- end
- end
- delay(0,start)
- TC = chara.HumanoidRootPart.RootJoint
- HC = chara.Torso.Neck
- RAC = chara.Torso["Right Shoulder"]
- LAC = chara.Torso["Left Shoulder"]
- RLC = chara.Torso["Right Hip"]
- LLC = chara.Torso["Left Hip"]
- TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW = Instance.new("Weld",HC.Parent)
- RW.Part1 = HC.Parent
- RW.Part0 = chara["Right Arm"]
- RW.C0 = RWF
- LW = Instance.new("Weld",HC.Parent)
- LW.Part1 = HC.Parent
- LW.Part0 = chara["Left Arm"]
- LW.C0 = LWF
- RLW = nil
- LLW = nil
- function clerp(a,b,c)
- return a:lerp(b,c)
- end
- TC.C0 = TCF
- HC.C0 = HCF
- RW.C0 = RWF
- LW.C0 = LWF
- --Idle Clerp--
- ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(10))
- IHCF = HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-10))
- IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2))
- ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
- TC.C0 = ITCF
- HC.C0 = IHCF
- RW.C0 = IRWF
- LW.C0 = ILWF
- 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
- function ScatterEff(part)
- local eff1 = Instance.new("ParticleEmitter",part)
- eff1.Size = NumberSequence.new(.1)
- eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)})
- eff1.LightEmission = 1
- eff1.Lifetime = NumberRange.new(1)
- eff1.Speed = NumberRange.new(1)
- eff1.Rate = 100
- eff1.VelocitySpread = 10000
- eff1.Texture = "rbxassetid://347504241"
- eff1.Color = ColorSequence.new(Color3.new(1,0,0))
- local eff2 = Instance.new("ParticleEmitter",part)
- eff2.Size = NumberSequence.new(.1)
- eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)})
- eff2.LightEmission = 1
- eff2.Lifetime = NumberRange.new(1)
- eff2.Speed = NumberRange.new(1)
- eff2.Rate = 100
- eff2.VelocitySpread = 10000
- eff2.Texture = "rbxassetid://347504259"
- eff2.Color = ColorSequence.new(Color3.new(1,0,0))
- end
- function BurningEff(part)
- local eff1 = Instance.new("ParticleEmitter",part)
- eff1.Size = NumberSequence.new(.1)
- eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
- eff1.LightEmission = 1
- eff1.Lifetime = NumberRange.new(1)
- eff1.Speed = NumberRange.new(0)
- eff1.Rate = 100
- eff1.Texture = "rbxassetid://347504241"
- eff1.Acceleration = Vector3.new(0,10,0)
- eff1.Color = ColorSequence.new(Color3.new(1,0,0))
- local eff2 = Instance.new("ParticleEmitter",part)
- eff2.Size = NumberSequence.new(.1)
- eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
- eff2.LightEmission = 1
- eff2.Lifetime = NumberRange.new(1)
- eff2.Speed = NumberRange.new(0)
- eff2.Rate = 100
- eff2.Texture = "rbxassetid://347504259"
- eff2.Acceleration = Vector3.new(0,10,0)
- eff2.Color = ColorSequence.new(Color3.new(1,0,0))
- local eff3 = Instance.new("ParticleEmitter",part)
- eff3.Size = NumberSequence.new(1)
- eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
- eff3.LightEmission = 1
- eff3.Lifetime = NumberRange.new(1)
- eff3.Speed = NumberRange.new(0)
- eff3.Rate = 100
- eff3.Texture = "rbxasset://textures/particles/fire_main.dds"
- eff3.Acceleration = Vector3.new(0,10,0)
- eff3.Color = ColorSequence.new(Color3.new(1,0,0))
- end
- slashsnd = New("Sound",chara.Torso,"Slash",{SoundId = "rbxassetid://28144425",PlaybackSpeed = .7,Volume = 5})
- hitsnd = New("Sound",chara.Torso,"Hit",{SoundId = "rbxassetid://429400881",PlaybackSpeed = .7,Volume = 5})
- telesnd = New("Sound",chara.Torso,"Tele",{SoundId = "rbxassetid://2767090",PlaybackSpeed = .7,Volume = 5})
- burnsnd = New("Sound",chara.Torso,"Burn",{SoundId = "rbxassetid://32791565",PlaybackSpeed = .7,Volume = 5})
- music1 = New("Sound",chara.Torso,"Music1",{SoundId = "rbxassetid://151038517",PlaybackSpeed = .5,Volume = 10,Looped = true})
- music2 = New("Sound",chara.Torso,"Music2",{SoundId = "rbxassetid://11984351",PlaybackSpeed = .2,Volume = 5,Looped = true})
- deathmus = New("Sound",chara.Torso,"DeathMus",{SoundId = "rbxassetid://19094700",PlaybackSpeed = .5,Volume = 5,Looped = true})
- deathex = New("Sound",chara.Torso,"DeathEx",{SoundId = "rbxassetid://11984351",PlaybackSpeed = 1,Volume = 5})
- --Soul Steal--
- function SoulSteal(pos)
- local soulst = coroutine.wrap(function()
- local soul = Instance.new("Part",chara)
- soul.Size = Vector3.new(0,0,0)
- soul.CanCollide = false
- soul.Anchored = false
- soul.Position = pos
- soul.CFrame = CFrame.new(pos.X,pos.Y,pos.Z)
- soul.Transparency = 1
- local ptc = Instance.new("ParticleEmitter",soul)
- ptc.Texture = "http://www.roblox.com/asset/?id=413366101"
- ptc.Size = NumberSequence.new(.5)
- ptc.LockedToPart = true
- ptc.Speed = NumberRange.new(0)
- ptc.Lifetime = NumberRange.new(9999)
- local bodpos = Instance.new("BodyPosition",soul)
- bodpos.Position = pos
- wait(2)
- soul.Touched:connect(function(hit)
- if hit.Parent == chara then
- soul:Destroy()
- end
- end)
- while soul do
- wait(.1)
- bodpos.Position = chara.Torso.Position
- end
- end)
- soulst()
- end
- --Death of a Mortal--
- function KillMortal(hitdude)
- local torsy = nil
- if hitdude:FindFirstChild("Torso")~=nil then
- torsy = hitdude.Torso
- elseif hitdude:FindFirstChild("UpperTorso")~=nil then
- torsy = hitdude.UpperTorso
- end
- local val = Instance.new("ObjectValue",hitdude)
- val.Name = "HasBeenHit"
- hitdude:BreakJoints()
- hitdude.Humanoid:Destroy()
- SoulSteal(torsy.Position)
- local chi = hitdude:GetChildren()
- for i = 1, #chi do
- if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
- local bodpos = Instance.new("BodyPosition",chi[i])
- bodpos.Position = chi[i].Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- ScatterEff(chi[i])
- chi[i].BrickColor = BrickColor.new("Really black")
- end
- end
- for i = 1, 4 do
- for i = 1, #chi do
- if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
- chi[i].Transparency = chi[i].Transparency + .25
- wait(.01)
- end
- end
- end
- for i = 1, #chi do
- if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
- chi[i]:Destroy()
- end
- end
- end
- function Teleport(pos)
- telesnd:Play()
- local ch = chara:GetChildren()
- for i = 1, #ch do
- if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
- local trace = Instance.new("Part",game.Workspace)
- trace.Size = ch[i].Size
- trace.Material = "Neon"
- trace.BrickColor = BrickColor.new("Really black")
- trace.Transparency = .3
- trace.CanCollide = false
- trace.Anchored = true
- trace.CFrame = ch[i].CFrame
- if ch[i].Name == "Head" then
- mehs = Instance.new("CylinderMesh",trace)
- mehs.Scale = Vector3.new(1.25,1.25,1.25)
- end
- tracedisappear = coroutine.wrap(function()
- wait(1)
- for i = 1, 7 do
- wait(.1)
- trace.Transparency = trace.Transparency + .1
- end
- trace:Destroy()
- end)
- tracedisappear()
- end
- end
- chara.Torso.CFrame = CFrame.new(pos.X,pos.Y,pos.Z)
- end
- function Grab(mouse)
- local hit = mouse.Target
- if hit ~= nil then
- if hit.Parent:FindFirstChild("Humanoid")~=nil then
- local torsy = nil
- if hit.Parent:FindFirstChild("Torso")~=nil then
- torsy = hit.Parent.Torso
- elseif hit.Parent:FindFirstChild("UpperTorso")~=nil then
- torsy = hit.Parent.UpperTorso
- end
- local bodpos = Instance.new("BodyPosition",torsy)
- bodpos.Position = torsy.Position
- wait(1)
- burnsnd:Play()
- hit.Parent.Humanoid.MaxHealth = 100
- bodpos.Position = bodpos.Position + Vector3.new(0,4,0)
- for i = 1, 10 do
- wait(.1)
- BurningEff(torsy)
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
- end
- KillMortal(hit.Parent)
- end
- else end
- end
- function onKeyDown(key)
- if key == "z" then
- Teleport(Mouse.Hit.p + Vector3.new(0,2,0))
- elseif key == "x" then
- Grab(Mouse)
- end
- end
- --Mouse Functions--
- Mouse = player:GetMouse()
- if Mouse then
- Mouse.KeyDown:connect(onKeyDown)
- end
- while true do
- wait(.01)
- chance = math.random(0,100)
- if chance < 10 then
- sel = math.random(1,3)
- if sel == 1 then
- tecks.Text = "Demonic Crust"
- elseif sel == 2 then
- tecks.Text = "Defimic Chust"
- elseif sel == 3 then
- tecks.Text = "Deatgb Crtug"
- end
- else tecks.Text = "Annonymous"
- if chara.Humanoid.Health > 0 then
- chara.Humanoid.MaxHealth = math.huge
- chara.Humanoid.Health = math.huge
- end
- if game.Lighting:FindFirstChild("ColorCorrection") == nil then
- local l = Instance.new("ColorCorrectionEffect",game.Lighting)
- l.Contrast,l.Saturation,l.Brightness = 2, -0.75, 0.375
- l.TintColor = Color3.new(1,0,0)
- end
- tecks.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
- end
- end
- end)
- Claws.MouseButton1Down:connect(function()
- --[[ Leaked by CLarramore ]]--
- -- Ever since 3/10/2016 this script started to get popular in oxcool1's SB
- -- I am now spreading this on
- -- You can now make ur edits with this
- -- ENTIRELY OPEN SOURCED!!!! YAY!
- -- NightOwlAce dont kill me
- 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=1
- pathtrans=.7
- attackmode='none'
- local idle=0
- local Anim="Idle"
- local Effects={}
- local gun=false
- local shoot=false
- player=nil
- cloak=false
- lightcolor='Bright blue'
- local Color1=Torso.BrickColor
- local fengui=it("GuiMain")
- fengui.Parent=Player.PlayerGui
- fengui.Name="WeaponGUI"
- local fenframe=it("Frame")
- fenframe.Parent=fengui
- fenframe.BackgroundColor3=Color3.new(255,255,255)
- fenframe.BackgroundTransparency=1
- fenframe.BorderColor3=Color3.new(17,17,17)
- fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
- fenframe.Position=UDim2.new(0.4,0,0.1,0)
- local fenbarmana1=it("TextLabel")
- fenbarmana1.Parent=fenframe
- fenbarmana1.Text=" "
- fenbarmana1.BackgroundTransparency=0
- fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
- fenbarmana1.SizeConstraint="RelativeXY"
- fenbarmana1.TextXAlignment="Center"
- fenbarmana1.TextYAlignment="Center"
- fenbarmana1.Position=UDim2.new(0,0,0,0)
- fenbarmana1.Size=UDim2.new(4,0,0.2,0)
- local fenbarmana2=it("TextLabel")
- fenbarmana2.Parent=fenframe
- fenbarmana2.Text=" "
- fenbarmana2.BackgroundTransparency=0
- fenbarmana2.BackgroundColor3=Torso.Color
- fenbarmana2.SizeConstraint="RelativeXY"
- fenbarmana2.TextXAlignment="Center"
- fenbarmana2.TextYAlignment="Center"
- fenbarmana2.Position=UDim2.new(0,0,0,0)
- fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
- local fenbarmana3=it("TextLabel")
- fenbarmana3.Parent=fenframe
- fenbarmana3.Text=" "
- fenbarmana3.BackgroundTransparency=0
- fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
- fenbarmana3.SizeConstraint="RelativeXY"
- fenbarmana3.TextXAlignment="Center"
- fenbarmana3.TextYAlignment="Center"
- fenbarmana3.Position=UDim2.new(0,0,0,0)
- fenbarmana3.Size=UDim2.new(0,0,0.2,0)
- local fenbarmana4=it("TextLabel")
- fenbarmana4.Parent=fenframe
- fenbarmana4.Text="Energy("..mana..")"
- fenbarmana4.BackgroundTransparency=1
- fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
- fenbarmana4.SizeConstraint="RelativeXY"
- fenbarmana4.TextXAlignment="Center"
- fenbarmana4.TextYAlignment="Center"
- fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
- fenbarmana4.Size=UDim2.new(4,0,0.2,0)
- fenbarmana4.FontSize="Size9"
- fenbarmana4.TextStrokeTransparency=0
- fenbarmana4.TextColor=BrickColor.new("White")
- 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
- 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="Neon"
- 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
- 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,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- 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)
- for i=0,1,delay do
- wait()
- 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 MagicBlock2(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,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 MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*euler(x2,y2,z2)
- --"http://www.roblox.com/asset/?id=168892465"
- local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",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,0.03 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
- Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("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:FindFirstChild("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,TorsoColor)
- 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=5000
- bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodvol.Parent=hit
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- 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
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.5)
- elseif Type=="Up" then
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=vt(0,10,0)
- bodyVelocity.P=1000
- bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,1)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Snare" then
- bp=Instance.new("BodyPosition")
- bp.P=2000
- bp.D=100
- 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,1)
- 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(5)
- 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=false
- RocketTarget=nil
- targetgui.Parent=nil
- 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=false
- 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=TorsoColor
- c.Name="Head"
- c.TopSurface=0
- c.BottomSurface=0
- c.formFactor="Plate"
- c.Size=Vector3.new(1,.4,1)
- ms=Instance.new("CylinderMesh")
- ms.Scale=Vector3.new(.8,.8,.8)
- so("http://www.roblox.com/asset/?id=199149269",c,1,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=2000
- 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
- Player=game:GetService('Players').LocalPlayer
- Character=Player.Character
- Mouse=Player:GetMouse()
- m=Instance.new('Model',Character)
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- it=Instance.new
- function nooutline(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- function part(formfactor,parent,material,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.new(tostring(brickcolor))
- fp.Name=name
- fp.Size=size
- fp.Position=Character.Torso.Position
- nooutline(fp)
- fp.Material=material
- 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
- mesh.MeshId=meshid
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0,c1)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- weld.C1=c1
- return weld
- end
- local modelzorz=Instance.new("Model")
- modelzorz.Parent=Character
- modelzorz.Name="Claw1"
- Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
- Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963))
- mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
- Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086))
- mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- local modelzorz2=Instance.new("Model")
- modelzorz2.Parent=Character
- modelzorz2.Name="Claw2"
- Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
- Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559))
- mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329))
- Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
- Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636))
- mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835))
- local modelzorz3=Instance.new("Model")
- modelzorz3.Parent=Character
- modelzorz3.Name="Eye"
- handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
- handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0))
- mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
- Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
- Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752))
- Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
- Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
- Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
- Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
- Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537))
- local moosick = it("Sound",Character)
- moosick.SoundId = "rbxassetid://142653441"
- --142653441, 175067863
- moosick.Looped = true
- moosick.Pitch = 1
- moosick.Volume = 0
- moosick:Play()
- anim = Character:findFirstChild("Animate")
- if anim then
- anim:Destroy()
- end
- local particleemitter = Instance.new("ParticleEmitter", Handle)
- particleemitter.VelocitySpread = 180
- particleemitter.Lifetime = NumberRange.new(0.1)
- particleemitter.Speed = NumberRange.new(2)
- particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
- particleemitter.RotSpeed = NumberRange.new(-45, 45)
- particleemitter.Rate = 100
- particleemitter.Rotation = NumberRange.new(-45, 45)
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 0
- particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
- local particleemitter = Instance.new("ParticleEmitter", Handle2)
- particleemitter.VelocitySpread = 180
- particleemitter.Lifetime = NumberRange.new(0.1)
- particleemitter.Speed = NumberRange.new(2)
- particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
- particleemitter.RotSpeed = NumberRange.new(-45, 45)
- particleemitter.Rate = 100
- particleemitter.Rotation = NumberRange.new(-45, 45)
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 0
- particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
- local particleemitter = Instance.new("ParticleEmitter", handle)
- particleemitter.VelocitySpread = 180
- particleemitter.Lifetime = NumberRange.new(0.1)
- particleemitter.Speed = NumberRange.new(2)
- particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
- particleemitter.RotSpeed = NumberRange.new(-45, 45)
- particleemitter.Rate = 100
- particleemitter.Rotation = NumberRange.new(-45, 45)
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 0.8
- particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
- local light = Instance.new("PointLight", Character.Torso)
- light.Color = Color3.new(255,255,255)
- light.Brightness = 5
- light.Range = 15
- particleemitter.Enabled = true
- local Footsteps = it("Sound",Character.Torso)
- Footsteps.SoundId = "rbxassetid://142665235"
- Footsteps.Looped = true
- Footsteps.Pitch = 0.8
- Footsteps.Volume = 0.3
- local Footsteps2 = it("Sound",Character.Torso)
- Footsteps2.SoundId = "rbxassetid://142665235"
- Footsteps2.Looped = true
- Footsteps2.Pitch = 1
- Footsteps2.Volume = 0.4
- local cam = game.Workspace.CurrentCamera
- --cam.CameraSubject = Character
- for i,v in pairs(Head:children()) do
- if v:IsA("Sound") then
- v:Destroy()
- end
- end
- mouse.Button1Down:connect(function()
- if attack==false and attacktype==1 then
- attacktype=2
- attackone()
- elseif attack==false and attacktype==2 then
- attacktype=3
- attacktwo()
- elseif attack==false and attacktype==3 then
- attacktype=4
- attackthree()
- elseif attack==false and attacktype==4 then
- attacktype=1
- attackfour()
- end
- end)
- mouse.KeyDown:connect(function(k)
- k=k:lower()
- if k=='e' then
- if attack==false and mana>=20 then
- Push()
- end
- elseif k=='g' then
- if attack==false and mana>=50 then
- Twirl()
- end
- elseif k=='v' then
- if attack==false and mana>=25 then
- MagicJump()
- end
- elseif k=='q' then
- if attack==false then
- idle=1000
- end
- elseif k=='h' then
- if attack==false then
- mana=100
- end
- elseif k=='y' then
- if attack==false and mana>=100 then
- Shred()
- end
- elseif k=='f' then
- if attack==false and mana>=40 then
- Spin()
- end
- elseif k=='r' then
- if attack==false and mana>=20 then
- Clap()
- end
- elseif k=='t' then
- if attack==false then
- Hai()
- end
- elseif k=='0' then
- if attack==false then
- Humanoid.WalkSpeed=(56)
- end
- elseif k=='j' then
- if attack==false then
- Humanoid.Health = 100
- print("Congrats, you commited suicide.")
- end
- end
- 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
- TrailDeb = false
- function equipanim()
- attack=true
- Humanoid.WalkSpeed = 0
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- coroutine.wrap(function()
- local Old = Handle2.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle2.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
- for i=0,1,0.005 do
- swait()
- moosick.Volume = 0+1*i
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
- LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
- end
- for i=0,1,0.005 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
- LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
- end
- so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
- so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
- for i=0,1,0.005 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
- handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
- Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
- end
- for i=0,1,0.04 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
- end
- --dmgstop()
- attack=false
- Humanoid.WalkSpeed = 12
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function attackone()
- attack=true
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
- for i=0,1,0.08 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
- so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
- for i=0,1,0.1 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
- end
- --dmgstop()
- attack=false
- con1:disconnect()
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function attacktwo()
- attack=true
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle2.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle2.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
- for i=0,1,0.08 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
- so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
- for i=0,1,0.1 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
- end
- --dmgstop()
- attack=false
- con1:disconnect()
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function attackthree()
- attack=true
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end)
- for i=0,1,0.08 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
- so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
- for i=0,1,0.05 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),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)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
- end
- --dmgstop()
- attack=false
- con1:disconnect()
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function attackfour()
- attack=true
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle2.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle2.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
- con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
- for i=0,1,0.08 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
- end
- if anim then
- anim.Disabled=true
- end
- so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
- so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
- for i=0,1,0.04 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*50
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- end
- --dmgstop()
- attack=false
- con1:disconnect()
- con2:disconnect()
- if anim then
- anim.Disabled=false
- end
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
- local prt = part(3, workspace, "SmoothPlastic", 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=20329976", vt(0, 0, 0), vt(x1, y1, z1))
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.05 do
- wait()
- prt.Transparency = i
- msh.Scale = msh.Scale + vt(x2, y2, z2)
- end
- prt.Parent = nil
- end))
- end
- function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= magni and c.Name ~= Player.Name then
- Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
- end
- end
- end
- end
- end
- function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, workspace, "SmoothPlastic", 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
- swait()
- Part.CFrame = Part.CFrame
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end), prt, msh)
- end
- function MagicJump()
- if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
- attack=true
- mana=mana-25
- --[[ Humanoid.WalkSpeed = 0
- for i=0,1,0.01 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
- Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
- Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
- RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1)
- LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
- end]]--
- Humanoid.Jump = true
- Torso.Velocity = vt(0, 150, 0)
- Humanoid.WalkSpeed = 64
- so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
- so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
- for i=0,1,0.05 do
- swait()
- Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
- Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
- RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
- RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
- LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
- end
- for i=0,1,0.02 do
- swait()
- Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
- Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.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(0.1,0,-1),.3)
- LW.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.6,1.57,0)*euler(0,0,0),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
- end
- Humanoid.WalkSpeed = 0
- swait(8)
- so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
- so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
- local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
- if hit~=nil then
- swait(2)
- local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
- ref.Anchored=true
- ref.CFrame=cf(pos)
- game:GetService("Debris"):AddItem(ref,3)
- for i=1,10 do
- local Col=BrickColor.new("Really black")
- local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
- groundpart.Anchored=true
- groundpart.CanCollide=false
- groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- local Col2=TorsoColor
- local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
- groundpart2.Anchored=true
- groundpart2.CanCollide=false
- groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- game:GetService("Debris"):AddItem(groundpart,5)
- game:GetService("Debris"):AddItem(groundpart2,5)
- end
- BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
- BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
- MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
- MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
- for i=0,1,0.06 do
- swait()
- Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
- Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
- LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
- RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
- end
- end
- swait(20)
- Humanoid.WalkSpeed = 12
- --dmgstop()
- attack=false
- end
- end
- function Spin()
- attack=true
- mana=mana-40
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle2.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle2.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- Footsteps:Stop()
- Footsteps2:Stop()
- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
- con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
- so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
- for i=0,1,0.1 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- if anim then
- anim.Disabled=true
- end
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*100
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*100
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*100
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- --dmgstop()
- Humanoid.WalkSpeed=12
- attack=false
- con1:disconnect()
- con2:disconnect()
- if anim then
- anim.Disabled=false
- end
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function Twirl()
- mana=mana-50
- attack=true
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle2.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle2.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- Footsteps:Stop()
- Footsteps2:Stop()
- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
- con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
- so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
- for i=0,1,0.1 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- if anim then
- anim.Disabled=true
- end
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*80
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*80
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*80
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*80
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- --dmgstop()
- Humanoid.WalkSpeed=12
- attack=false
- con1:disconnect()
- con2:disconnect()
- if anim then
- anim.Disabled=false
- end
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function Shred()
- attack=true
- mana=mana-100
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle2.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle2.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- Footsteps:Stop()
- Footsteps2:Stop()
- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
- con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
- so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
- for i=0,1,0.1 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- if anim then
- anim.Disabled=true
- end
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*20
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*40
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*60
- so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
- so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
- so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
- so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
- so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
- for i=0,1,0.05 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*80
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- for i=0,1,0.005 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*100
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
- end
- --dmgstop()
- Humanoid.WalkSpeed=12
- attack=false
- con1:disconnect()
- con2:disconnect()
- if anim then
- anim.Disabled=false
- end
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function Push()
- attack=true
- mana=mana-20
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle2.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle2.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
- con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
- for i=0,1,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*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
- so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
- so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
- for i=0,1,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*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
- end
- --dmgstop()
- attack=false
- con1:disconnect()
- con2:disconnect()
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function Clap()
- attack=true
- mana=mana-20
- if TrailDeb == false then
- TrailDeb = true
- end
- coroutine.wrap(function()
- local Old = Handle2.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle2.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- coroutine.wrap(function()
- local Old = Handle.CFrame.p
- while wait()do
- if not TrailDeb then break end
- local New = Handle.CFrame.p
- local Mag =(Old -New).magnitude
- local Dis =(Old +New)/2
- local Trail = Instance.new("Part",Character)
- Trail.Material = "Neon"
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.BrickColor = TorsoColor
- Trail.Size = Vector3.new(0.2,Mag,0.2)
- Trail.TopSurface = 0
- Trail.BottomSurface = 0
- Trail.formFactor = "Custom"
- Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
- local ms = Instance.new("BlockMesh",Trail)
- ms.Scale = Vector3.new(1,1,1)
- local TM = Instance.new("CylinderMesh",Trail)
- TM.Scale = Vector3.new(1,1,1)
- Old = New
- coroutine.wrap(function()
- for i = 1,0,-0.1 do
- wait()
- TM.Scale = TM.Scale * Vector3.new(i,1,i)
- end
- Trail:remove()
- end)()
- coroutine.wrap(function()
- for i = 1,10 do
- wait()
- Trail.Transparency = Trail.Transparency +0.1
- end end)()end end)()
- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
- con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
- so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
- for i=0,1,0.08 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*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
- so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
- for i=0,1,0.08 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*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
- LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
- RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
- end
- --dmgstop()
- attack=false
- con1:disconnect()
- con2:disconnect()
- if TrailDeb == true then
- TrailDeb = false
- end
- end
- function Hai()
- attack=true
- Humanoid.WalkSpeed=0
- so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
- for i=0,1,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*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*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(170),math.rad(0),math.rad(0)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
- for i=0,1,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*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*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(170),math.rad(0),math.rad(50)),.5)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
- for i=0,1,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*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*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(170),math.rad(0),math.rad(0)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
- for i=0,1,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*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*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(170),math.rad(0),math.rad(50)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
- end
- so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
- for i=0,1,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*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*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(170),math.rad(0),math.rad(0)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
- end
- --dmgstop()
- Humanoid.WalkSpeed=12
- attack=false
- end
- function Die()
- attack=true
- Footsteps:Stop()
- Footsteps2:Stop()
- local Fire = it("Sound",Character.Torso)
- Fire.SoundId = "rbxassetid://192104941"
- Fire.Looped = true
- Fire.Pitch = 1
- Fire.Volume = 1
- local Fire2 = it("Sound",Handle2)
- Fire2.SoundId = "rbxassetid://192104941"
- Fire2.Looped = true
- Fire2.Pitch = 1
- Fire2.Volume = 1
- local Fire3 = it("Sound",Handle)
- Fire3.SoundId = "rbxassetid://192104941"
- Fire3.Looped = true
- Fire3.Pitch = 1
- Fire3.Volume = 1
- local Fire4 = it("Sound",handle)
- Fire4.SoundId = "rbxassetid://192104941"
- Fire4.Looped = true
- Fire4.Pitch = 1
- Fire4.Volume = 1
- local fire = Instance.new("ParticleEmitter", Character.Torso)
- fire.Lifetime = NumberRange.new(0.5)
- fire.Speed = NumberRange.new(1, 3)
- fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
- fire.Rate = 0
- fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
- fire.LightEmission = 0.6
- fire.Texture = "http://www.roblox.com/asset/?id=242911609"
- fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
- local fire2 = Instance.new("ParticleEmitter", Handle)
- fire2.Lifetime = NumberRange.new(0.5)
- fire2.Speed = NumberRange.new(1, 3)
- fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
- fire2.Rate = 0
- fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
- fire2.LightEmission = 0.6
- fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
- fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
- local fire3 = Instance.new("ParticleEmitter", Handle2)
- fire3.Lifetime = NumberRange.new(0.5)
- fire3.Speed = NumberRange.new(1, 3)
- fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
- fire3.Rate = 0
- fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
- fire3.LightEmission = 0.6
- fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
- fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
- local fire4 = Instance.new("ParticleEmitter", handle)
- fire4.Lifetime = NumberRange.new(0.5)
- fire4.Speed = NumberRange.new(1, 3)
- fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
- fire4.Rate = 0
- fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
- fire4.LightEmission = 0.6
- fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
- fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
- Humanoid.WalkSpeed = 0
- so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
- so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
- for i=0,1,0.08 do
- swait()
- Torso.Velocity=RootPart.CFrame.lookVector*-30
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
- end
- for i=0,1,0.005 do
- swait()
- moosick.Volume=1-2*i
- light.Range=15-10*i
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
- handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
- end
- light.Range=0
- for i=0,1,0.01 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
- handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
- end
- so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
- fire.Rate = 1000
- fire2.Rate = 1000
- fire3.Rate = 1000
- fire4.Rate = 1000
- Fire:Play()
- Fire2:Play()
- Fire3:Play()
- Fire4:Play()
- for i=0,1,0.005 do
- swait()
- Character.Head.face.Transparency = 0+1*i
- LeftArm.Transparency=0+1*i
- RightArm.Transparency=0+1*i
- LeftLeg.Transparency=0+1*i
- RightLeg.Transparency=0+1*i
- Head.Transparency=0+1*i
- Torso.Transparency=0+1*i
- for _,v in pairs(Character:children()) do
- if v:IsA("Hat") then
- v.Handle.Transparency = 0+1*i
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
- handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
- end
- end
- --dmgstop()
- end
- Humanoid.Health = 0
- end
- equipanim()
- local sine = 0
- local change = 1
- local val = 0
- local mananum=0
- 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 Anim=="Idle" and attack==false then
- idle=idle+1
- else
- idle=0
- end
- if Humanoid.Health <=20 then
- if attack == false then
- Humanoid.Health = math.huge
- Die()
- end
- end
- if idle>=1000 then
- if attack==false then
- --Sheath()
- end
- end
- if RootPart.Velocity.y > 1 and hitfloor==nil then
- Anim="Jump"
- if attack==false then
- Footsteps:Stop()
- Footsteps2:Stop()
- 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),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.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(-.25,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,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
- end
- elseif RootPart.Velocity.y < -1 and hitfloor==nil then
- Anim="Fall"
- if attack==false then
- Footsteps:Stop()
- Footsteps2:Stop()
- Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
- Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.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(0.1,0,-1),.3)
- LW.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.6,1.57,0)*euler(0,0,0),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
- end
- elseif torvel<1 and hitfloor~=nil then
- Anim="Idle"
- change=0.5
- if idle>=1000 then
- if attack==false then
- Footsteps:Stop()
- Footsteps2:Stop()
- Humanoid.WalkSpeed=12
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(50)),.1)
- Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-50)),.1)
- Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
- RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
- LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
- Handleweld.C0=clerp(Handleweld.C0,cf(-2,-1.5+1*math.cos(sine/50),6)*angles(math.rad(60),math.rad(-25),math.rad(-90)),.4)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1.5-0.5*math.cos(sine/50),-5)*angles(math.rad(-110),math.rad(25),math.rad(60)),.3)
- end
- else
- if attack==false then
- Footsteps:Stop()
- Footsteps2:Stop()
- Humanoid.WalkSpeed=12
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
- Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
- Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(16)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2)
- end
- end
- elseif torvel>2 and torvel<22 and hitfloor~=nil then
- Anim="Walk"
- if attack==false then
- change=0.8
- --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
- --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
- --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
- RH.C0=clerp(RH.C0,RHC0,.3)
- LH.C0=clerp(LH.C0,LHC0,.3)
- Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- ]]--
- Footsteps:Play()
- Footsteps2:Stop()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3)
- Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3)
- Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
- RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3)
- LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3)
- RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2)
- end
- elseif torvel>=22 and hitfloor~=nil then
- Anim="Run"
- change=1
- if attack==false then
- Footsteps:Stop()
- Footsteps2:Play()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3)
- Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
- Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2)
- Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2)
- end
- end
- end
- fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
- fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
- if mana>=100 then
- mana=100
- else
- if mananum<=8 then
- mananum=mananum+1
- else
- mananum=0
- mana=mana+1
- end
- end
- end
- -- ~CLarramore
- end)
- Bendy.MouseButton1Down:connect(function()
- Player = game:GetService("Players").LocalPlayer
- Character = Player.Character
- PlayerGui = Player.PlayerGui
- Backpack = Player.Backpack
- Torso = Character.Torso
- Head = Character.Head
- Humanoid = Character.Humanoid
- RootPart = Character.HumanoidRootPart
- RootJoint = RootPart.RootJoint
- 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"]
- Humanoid.MaxHealth = math.huge
- wait()
- Humanoid.Health = Humanoid.MaxHealth
- local BC = Character["Body Colors"]
- BC.HeadColor = BrickColor.new("Pastel brown")
- BC.LeftArmColor = BrickColor.new("Pastel brown")
- BC.LeftLegColor = BrickColor.new("Pastel brown")
- BC.RightArmColor = BrickColor.new("Pastel brown")
- BC.RightLegColor = BrickColor.new("Pastel brown")
- BC.TorsoColor = BrickColor.new("Pastel brown")
- for i,v in pairs(Character:children()) do
- if v:IsA("Shirt") then
- v:Destroy()
- end
- end
- --//Name Tag\\--
- CV="Maroon"
- Player = game.Players.LocalPlayer
- char = Player.Character
- local txt = Instance.new("BillboardGui", Character)
- txt.Adornee = Character .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(70,0,0)
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent=Player.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=1
- v.CFrame=Character.Torso.CFrame
- v.BrickColor=BrickColor.new(CV)
- v.Transparency=1
- text.TextColor3 = Color3.new(50,0,0)
- v.Shape="Block"
- text.Text = "Bendy (Not Done)"
- -----------------------------------------
- for i,v in pairs(Character:children()) do
- if v:IsA("Pants") then
- v:Destroy()
- end
- end
- shirt = Instance.new("Shirt", Character)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", Character)
- pants.Name = "Pants"
- Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=772824951"
- Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=772824951"
- sound = Instance.new("Sound", Character)
- sound.SoundId = "rbxassetid://537549688"
- sound.Volume = 0
- sound.EmitterSize = 25
- sound:Play()
- sound.Looped = true
- Face = Head.face
- Neck = Torso.Neck
- it = Instance.new
- vt = Vector3.new
- cf = CFrame.new
- rad = math.rad
- euler = CFrame.fromEulerAnglesXYZ
- angles = CFrame.Angles
- Mouse = Player:GetMouse()
- coroutine.resume(coroutine.create(function()
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "Fixed by PixelFir3 / Cortana#8155 Edited: Sawyerqqqqq";
- Color = Color3.new(0, 1, 1);
- Font = Enum.Font.Bodoni;
- FontSize = Enum.FontSize.Size24;
- })
- end))
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- frame = 0.016666666666667
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if frame <= tf then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end
- )
- local animationspeed = 2
- hbwait = function(number)
- if number == 0 or number == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, number do
- ArtificialHB.Event:wait()
- end
- end
- end
- local Stats = Instance.new("Folder", Character)
- Stats.Name = "Stats"
- local Defense = Instance.new("NumberValue", Stats)
- Defense.Name = "Defense"
- Defense.Value = 0.1
- local Movement = Instance.new("NumberValue", Stats)
- Movement.Name = "Movement"
- Movement.Value = 0.35
- local Damage = Instance.new("NumberValue", Stats)
- Damage.Name = "Damage"
- Damage.Value = 0
- local Mana = Instance.new("NumberValue", Stats)
- Mana.Name = "Mana"
- Mana.Value = 0
- local Rooted = Instance.new("BoolValue", Stats)
- Rooted.Name = "Rooted"
- Rooted.Value = false
- local BlockValue = Instance.new("BoolValue", Stats)
- BlockValue.Name = "BlockValue"
- BlockValue.Value = false
- local StaggerHitAnim = Instance.new("BoolValue", Stats)
- StaggerHitAnim.Name = "StaggerHitAnim"
- StaggerHitAnim.Value = false
- local StaggerAnim = Instance.new("BoolValue", Stats)
- StaggerAnim.Name = "StaggerAnim"
- StaggerAnim.Value = false
- local StunAnim = Instance.new("BoolValue", Stats)
- StunAnim.Name = "StunAnim"
- StunAnim.Value = false
- local StunValue = Instance.new("NumberValue", Stats)
- StunValue.Name = "StunValue"
- StunValue.Value = 0
- local CanCrit = Instance.new("BoolValue", Stats)
- CanCrit.Name = "CanCrit"
- CanCrit.Value = false
- local CritChance = Instance.new("NumberValue", Stats)
- CritChance.Name = "CritChance"
- CritChance.Value = 20
- local CanPenetrateArmor = Instance.new("BoolValue", Stats)
- CanPenetrateArmor.Name = "CanPenetrateArmor"
- CanPenetrateArmor.Value = false
- local AntiTeamKill = Instance.new("BoolValue", Stats)
- AntiTeamKill.Name = "AntiTeamKill"
- AntiTeamKill.Value = false
- necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RootCF = angles(rad(-90), 0, rad(180))
- local idle = 0
- local Anim = "Idle"
- local animtype = math.floor(math.random(1, 3))
- local attacktype = 1
- local attack = false
- local equipped = false
- local LastPoint = nil
- local staggerhitanim = false
- local staggeranim = false
- local stunanim = false
- local CritChanceNumber = 0
- local idlen = 0
- local donum = 0
- local sine = 0
- local change = 2 / animationspeed
- local walkinganim = false
- local handidle = false
- local walk = 0
- local stundelay = 0
- local manadelay = 0
- local robloxidleanimation = Instance.new("Animation", Torso)
- robloxidleanimation.Name = "robloxidleanimation"
- robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- local Animator = Humanoid:FindFirstChild("Animator")
- local Animate = Character:FindFirstChild("Animate")
- local HitPlayerSounds = {199149137, 199149186, 199149221, 199149235, 199149269, 199149297}
- local HitArmorSounds = {199149321, 199149338, 199149367, 199149409, 199149452}
- local HitWeaponSounds = {199148971, 199149025, 199149072, 199149109, 199149119}
- local HitBlockSounds = {199148933, 199148947}
- local cooldown1 = 0
- local cooldown2 = 0
- local cooldown3 = 0
- local cooldown4 = 0
- local scrn = Instance.new("ScreenGui", PlayerGui)
- local ud = UDim2.new
- local c3 = Color3.new
- local skillcolorscheme = c3(1, 1, 1)
- subtractmana = function(k)
- if k <= Mana.Value then
- Mana.Value = Mana.Value - k
- end
- end
- local co1 = 0
- local co2 = 0
- local co3 = 0
- local co4 = 0
- local maxmana = 0
- local maxstun = 1
- local recovermana = 0
- local losestun = 0
- local stunwait = 0
- local manawait = 0
- local skill1mana = 0
- local skill2mana = 0
- local skill3mana = 0
- local skill4mana = 0
- local menuupdatespeed = 0
- local constantupdate = false
- local showstats = false
- local allowstunbar = false
- local CustomColor = Torso.BrickColor
- local Colorpart1 = CustomColor.r
- local Colorpart2 = CustomColor.g
- local Colorpart3 = CustomColor.b
- local InverseColor = BrickColor.new(Color3.new(1 - Colorpart1, 1 - Colorpart2, 1 - Colorpart3))
- makeframe = function(par, trans, pos, size, color, name)
- local frame = Instance.new("Frame")
- frame.Parent = par
- frame.BackgroundTransparency = trans
- frame.BorderSizePixel = 2
- frame.Position = pos
- frame.Size = size
- frame.BackgroundColor3 = color
- frame.Name = name
- return frame
- end
- makelabel = function(par, text, trans, stroketrans, name)
- local label = Instance.new("TextLabel")
- label.Parent = par
- label.BackgroundTransparency = 1
- label.Size = ud(1, 0, 1, 0)
- label.Position = ud(0, 0, 0, 0)
- label.TextColor3 = c3(255, 255, 255)
- label.TextStrokeTransparency = stroketrans
- label.TextTransparency = trans
- label.FontSize = Enum.FontSize.Size32
- label.Font = Enum.Font.Legacy
- label.BorderSizePixel = 0
- label.TextScaled = true
- label.Text = text
- label.Name = name
- return label
- end
- framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 1")
- framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 2")
- framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 3")
- framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 4")
- bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 1")
- bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 2")
- bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 3")
- bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 4")
- text1 = makelabel(framesk1, "[C] Ability 3", 1, 1, "Text 1")
- text2 = makelabel(framesk2, "[V] Ability 4", 1, 1, "Text 2")
- text3 = makelabel(framesk3, "[X] Ability 2", 1, 1, "Text 3")
- text4 = makelabel(framesk4, "[Z] Ability 1", 1, 1, "Text 4")
- manabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Bar")
- manacover = makeframe(manabar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Cover")
- manatext = makelabel(manabar, "Mana", 1, 1, "Mana Text")
- healthbar = makeframe(scrn, 0.5, ud(0.5, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Bar")
- healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Cover")
- healthtext = makelabel(healthbar, "Health", 1, 1, "Health Text")
- if allowstunbar == true then
- stunframe = makeframe(scrn, 0.5, ud(0.5, 0, 0.78, 0), ud(0.26, 0, 0, 0), c3(1, 1, 0.19607843137255), "Stun Frame")
- stunbar = makeframe(stunframe, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 1, 0.19607843137255), "Stun Bar")
- stuntext = makelabel(stunframe, "Stun", 1, 1, "Stun Text")
- end
- if showstats == true then
- defenseframe = makeframe(scrn, 0.5, ud(0.23, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 0.3921568627451, 1), "Defense Frame")
- damageframe = makeframe(scrn, 0.5, ud(0.3225, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(1, 0.3921568627451, 0.3921568627451), "Damage Frame")
- movementframe = makeframe(scrn, 0.5, ud(0.415, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 1, 0.3921568627451), "Movement Frame")
- defensetext = makelabel(defenseframe, "Defense: " .. Defense.Value, 1, 1, "Defense Text")
- damagetext = makelabel(damageframe, "Damage: " .. Damage.Value, 1, 1, "Damage Text")
- movementtext = makelabel(movementframe, "Movement: " .. Movement.Value, 1, 1, "Movement Text")
- end
- NoOutline = function(Part)
- Part.TopSurface = 10
- end
- local weldBetween = function(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- nooutline = function(part)
- part.TopSurface = 10
- end
- part = function(formfactor, parent, material, 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.new(tostring(brickcolor))
- fp.Name = name
- fp.Size = size
- fp.Position = Character.Torso.Position
- nooutline(fp)
- fp.Material = material
- fp:BreakJoints()
- return fp
- end
- mesh = function(Mesh, part, meshtype, meshid, offset, scale)
- local mesh = it(Mesh)
- mesh.Parent = part
- if Mesh == "SpecialMesh" then
- mesh.MeshType = meshtype
- mesh.MeshId = meshid
- end
- mesh.Offset = offset
- mesh.Scale = scale
- return mesh
- end
- weld = function(parent, part0, part1, c0, c1)
- local weld = it("Motor")
- weld.Parent = parent
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C0 = c0
- weld.C1 = c1
- return weld
- end
- local WeaponName = "Russian Kick"
- local ClassName = "Russian Kick"
- local PlayerSize = 1
- local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
- local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
- if PlayerSize ~= 1 then
- RootPart.Size = RootPart.Size * PlayerSize
- Torso.Size = Torso.Size * PlayerSize
- Head.Size = Head.Size * PlayerSize
- RightArm.Size = RightArm.Size * PlayerSize
- LeftArm.Size = LeftArm.Size * PlayerSize
- RightLeg.Size = RightLeg.Size * PlayerSize
- LeftLeg.Size = LeftLeg.Size * PlayerSize
- RootJoint.Parent = RootPart
- Neck.Parent = Torso
- LS.Parent = Torso
- RS.Parent = Torso
- LH.Parent = Torso
- RH.Parent = Torso
- RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
- Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
- Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
- RS.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
- LS.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
- RS.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
- LS.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
- RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
- LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
- RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
- LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
- for _,v in pairs(Character:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Parent = nil
- v.Parent = Character
- v.Handle.Mesh.Scale = v.Handle.Mesh.Scale * PlayerSize
- for _,b in pairs(v.Handle:GetChildren()) do
- if b.ClassName == "Weld" or b.ClassName == "Motor" then
- local p1 = b.Part1
- b.Part1 = nil
- local c01, c02, c03, c04, c05, c06, c07, c08, c09, c010, c011, c012 = b.C0:components()
- local c11, c12, c13, c14, c15, c16, c17, c18, c19, c110, c111, c112 = b.C1:components()
- b.C0 = cf(c01 * PlayerSize, c02 * PlayerSize, c03 * PlayerSize, c04, c05, c06, c07, c08, c09, c010, c011, c012)
- b.C1 = cf(c11 * PlayerSize, c12 * PlayerSize, c13 * PlayerSize, c14, c15, c16, c17, c18, c19, c110, c111, c112)
- b.Part1 = p1
- end
- end
- end
- end
- end
- m = Instance.new("Model", Character)
- m.Name = WeaponName
- Effects = Instance.new("Folder", m)
- Effects.Name = "Effects"
- Humanoid.Died:connect(function()
- attack = true
- for _,v in pairs(Character:GetChildren()) do
- if v.ClassName == "Model" then
- v:Destroy()
- end
- end
- end
- )
- for i,v in pairs(Character:GetChildren()) do
- if v.ClassName == "Model" then
- for _,c in pairs(v:GetChildren()) do
- if c.ClassName == "Part" then
- c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
- end
- end
- end
- end
- print(ClassName .. " loaded.")
- clerp = function(a, b, t)
- return a:lerp(b, t)
- end
- positiveangle = function(number)
- if number > 0 then
- number = 0
- end
- return number
- end
- negativeangle = function(number)
- if number < 0 then
- number = 0
- end
- return number
- 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 = "http://roblox.com/asset/?id=" .. id
- hbwait()
- sou:play()
- game:GetService("Debris"):AddItem(sou, 10)
- end
- ))
- end
- GetDistance = function(Part1, Part2, magnitude)
- local target = Part1.Position - Part2.Position
- local mag = target.magnitude
- if mag <= magnitude then
- return true
- else
- return false
- end
- end
- rayCast = function(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- DamageStatLabel = function(labeltype, cframe, text, color)
- local c = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt(0, 0, 0))
- c.CFrame = cf(cframe.p + vt(0, 1.5, 0))
- game:GetService("Debris"):AddItem(c, 5)
- Instance.new("BodyGyro", c)
- local f = Instance.new("BodyPosition", c)
- f.P = 2000
- f.D = 100
- f.maxForce = vt(math.huge, math.huge, math.huge)
- if labeltype == "Normal" then
- f.position = c.Position + vt(math.random(-2, 2), 6, math.random(-2, 2))
- else
- if labeltype == "Debuff" then
- f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
- else
- if labeltype == "Interruption" then
- f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
- end
- end
- end
- game:GetService("Debris"):AddItem(c, 5)
- local bg = Instance.new("BillboardGui", c)
- bg.Adornee = c
- bg.Size = UDim2.new(2.5, 0, 2.5, 0)
- bg.StudsOffset = vt(-2, 2, 0)
- bg.AlwaysOnTop = false
- local tl = Instance.new("TextLabel", bg)
- tl.BackgroundTransparency = 1
- tl.Size = UDim2.new(2.5, 0, 2.5, 0)
- tl.Text = text
- tl.Font = Enum.Font.SourceSans
- tl.FontSize = Enum.FontSize.Size42
- tl.TextColor3 = color
- tl.TextScaled = false
- tl.TextStrokeTransparency = 0
- tl.TextScaled = true
- tl.TextWrapped = true
- f.Parent = c
- coroutine.resume(coroutine.create(function(Part, BodyPosition, TextLabel)
- wait(0.25)
- for i = 1, 5 do
- wait()
- BodyPosition.position = Part.Position - vt(0, 0.5, 0)
- end
- wait(1.25)
- for i = 1, 5 do
- wait()
- TextLabel.TextTransparency = TextLabel.TextTransparency + 0.2
- TextLabel.TextStrokeTransparency = TextLabel.TextStrokeTransparency + 0.2
- BodyPosition.position = Part.Position + vt(0, 0.5, 0)
- end
- Part.Parent = nil
- end
- ), c, f, tl)
- end
- IncreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
- -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
- -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
- if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
- Location.Stats[Stat].Value = Location.Stats[Stat].Value + Amount
- if ShowTheStat == true then
- if Stat == "Defense" then
- DamageStatLabel("Debuff", Location.Head.CFrame, "+Defense", c3(1, 1, 1))
- else
- if Stat == "Damage" then
- DamageStatLabel("Debuff", Location.Head.CFrame, "+Damage", c3(1, 1, 1))
- else
- if Stat == "Movement" then
- DamageStatLabel("Debuff", Location.Head.CFrame, "+Movement", c3(1, 1, 1))
- end
- end
- end
- end
- coroutine.resume(coroutine.create(function(CurrentDecrease)
- wait(Duration)
- CurrentDecrease.Value = CurrentDecrease.Value - Amount
- end
- ), Location.Stats[Stat])
- end
- DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
- end
- DecreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
- -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
- -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
- if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
- Location.Stats[Stat].Value = Location.Stats[Stat].Value - Amount
- if ShowTheStat == true then
- if Stat == "Defense" then
- DamageStatLabel("Debuff", Location.Head.CFrame, "-Defense", c3(1, 1, 1))
- else
- if Stat == "Damage" then
- DamageStatLabel("Debuff", Location.Head.CFrame, "-Damage", c3(1, 1, 1))
- else
- if Stat == "Movement" then
- DamageStatLabel("Debuff", Location.Head.CFrame, "-Movement", c3(1, 1, 1))
- end
- end
- end
- end
- coroutine.resume(coroutine.create(function(CurrentDecrease)
- wait(Duration)
- CurrentDecrease.Value = CurrentDecrease.Value + Amount
- end
- ), Location.Stats[Stat])
- end
- DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
- end
- Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, DecreaseTheStat, DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
- if hit.Parent == nil then
- return
- end
- h = hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:GetChildren()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if hit.Name == "Hitbox" and ranged ~= true and hit.Parent ~= m then
- StaggerHitAnim.Value = true
- so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hit, 1, 1)
- return
- end
- if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
- h = hit.Parent.Parent:FindFirstChild("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 and hit.Parent.DebounceHit.Value == true then
- return
- end
- if AntiTeamKill.Value == true and Player.Neutral == false and game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then
- return
- end
- if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health <= 0 then
- return
- end
- if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StunValue") ~= nil then
- hit.Parent.Stats:FindFirstChild("StunValue").Value = hit.Parent.Stats:FindFirstChild("StunValue").Value + incstun
- end
- if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StaggerAnim") ~= nil and stagger == true then
- hit.Parent.Stats:FindFirstChild("StaggerAnim").Value = true
- end
- if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue").Value == true then
- if hit.Parent.Stats:FindFirstChild("BlockDebounce") == nil then
- DamageStatLabel("Interruption", hit.Parent.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
- local BlockDebounce = Instance.new("BoolValue", hit.Parent.Stats)
- BlockDebounce.Name = "BlockDebounce"
- BlockDebounce.Value = true
- game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
- end
- do
- if ranged ~= true then
- do
- if hit.Parent.Stats:FindFirstChild("BlockDebounce2") == nil then
- local BlockDebounce2 = Instance.new("BoolValue", hit.Parent.Stats)
- BlockDebounce2.Name = "BlockDebounce2"
- BlockDebounce2.Value = true
- game:GetService("Debris"):AddItem(BlockDebounce2, 0.1)
- so(HitBlockSounds[math.random(1, #HitBlockSounds)], hit, 1, 1)
- end
- hit.Parent.Stats:FindFirstChild("BlockValue").Value = false
- StaggerAnim.Value = true
- do return end
- if DecreaseTheStat ~= nil and hit.Parent:FindFirstChild("Stats") ~= nil then
- if DecreaseTheStat == "Defense" then
- DecreaseStat(hit.Parent, "Defense", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
- else
- if DecreaseTheStat == "Damage" then
- DecreaseStat(hit.Parent, "Damage", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
- else
- if DecreaseTheStat == "Movement" then
- DecreaseStat(hit.Parent, "Movement", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
- end
- end
- end
- end
- local D = math.random(minim, maxim) * Damage.Value
- if hit.Parent:FindFirstChild("Stats") ~= nil then
- if hit.Parent.Stats:FindFirstChild("Defense") then
- if CanPenetrateArmor.Value == true then
- D = D / hit.Parent.Stats:FindFirstChild("Defense").Value
- -- DECOMPILER ERROR at PC377: Unhandled construct in 'MakeBoolean' P1
- if hit.Parent.Stats:FindFirstChild("Defense") ~= nil or CanCrit.Value == true then
- CritChanceNumber = math.random(1, CritChance.Value)
- if CritChanceNumber == CritChance.Value then
- D = D * 2
- end
- end
- D = math.floor(D)
- h.Health = h.Health - D
- if D <= 3 and staggerhit == true then
- if ranged ~= true then
- StaggerHitAnim.Value = true
- end
- if ranged ~= true then
- so(HitArmorSounds[math.random(1, #HitArmorSounds)], hit, 1, 1)
- end
- else
- if D > 3 and ranged ~= true then
- so(HitPlayerSounds[math.random(1, #HitPlayerSounds)], hit, 1, 1)
- end
- end
- if D > 3 and D < 20 then
- if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
- DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
- so("296102734", hit, 1, 1)
- else
- DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0.86274509803922, 0))
- end
- else
- if D >= 20 then
- if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
- DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
- so("296102734", hit, 1, 1)
- else
- DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0, 0))
- end
- else
- if D <= 3 then
- if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
- DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
- so("296102734", hit, 1, 1)
- else
- DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(0.88235294117647, 0.88235294117647, 0.88235294117647))
- end
- end
- end
- end
- do
- if Type == "Normal" then
- local vp = Instance.new("BodyVelocity")
- vp.P = 500
- vp.maxForce = vt(math.huge, 0, math.huge)
- if KnockbackType == 1 then
- vp.Velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
- else
- if KnockbackType == 2 then
- vp.Velocity = Property.CFrame.lookVector * knockback
- end
- end
- if knockback > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, 0.5)
- end
- local DebounceHit = Instance.new("BoolValue", hit.Parent)
- DebounceHit.Name = "DebounceHit"
- DebounceHit.Value = true
- game:GetService("Debris"):AddItem(DebounceHit, Delay)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- MagniDamage = function(Part, magni, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
- for _,c in pairs(workspace:GetChildren()) do
- local hum = (c:FindFirstChild("Humanoid"))
- local head = nil
- if hum ~= nil then
- head = c:FindFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= magni and c.Name ~= Player.Name then
- Damagefunc(head, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
- end
- end
- do
- for _,d in pairs(c:GetChildren()) do
- if d.ClassName == "Model" and ranged ~= true then
- head = d:FindFirstChild("Hitbox")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= magni and c.Name ~= Player.Name then
- local hitrefpart = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
- hitrefpart.Anchored = true
- hitrefpart.CFrame = cf(head.Position)
- so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hitrefpart, 1, 1)
- StaggerHitAnim.Value = true
- end
- end
- end
- end
- do
- -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- end
- MagniBufforDebuff = function(Part, Magni, Type, Stat, Amount, Duration, ShowTheBufforDebuff, ApplyToOthersInstead)
- if Player.Neutral == true then
- if Type == "Buff" then
- IncreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
- else
- if Type == "Debuff" then
- DecreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
- end
- end
- end
- for _,c in pairs(workspace:GetChildren()) do
- local hum = (c:FindFirstChild("Humanoid"))
- local head = nil
- if hum ~= nil then
- head = c:FindFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- -- DECOMPILER ERROR at PC83: Unhandled construct in 'MakeBoolean' P1
- if ApplyToOthersInstead == true and mag <= Magni and c.Name ~= Player.Name and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
- if Type == "Buff" then
- IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
- else
- if Type == "Debuff" then
- DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
- end
- end
- end
- end
- end
- if ApplyToOthersInstead == false and mag <= Magni and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
- if Type == "Buff" then
- IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
- else
- if Type == "Debuff" then
- DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
- end
- end
- end
- end
- end
- Lightning = function(p0, p1, tym, ofs, brickcolor, material, th, tra, last)
- local magz = p0 - p1.magnitude
- local curpos = p0
- local trz = {-ofs, ofs}
- for i = 1, tym do
- local li = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt(th, th, magz / tym))
- do
- li.Anchored = true
- local ofz = vt(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
- local trolpos = cf(curpos, p1) * cf(0, 0, magz / tym).p + ofz
- if tym == i then
- local magz2 = curpos - p1.magnitude
- li.Size = vt(th, th, magz2)
- li.CFrame = cf(curpos, p1) * cf(0, 0, -magz2 / 2)
- else
- do
- do
- li.CFrame = cf(curpos, trolpos) * cf(0, 0, magz / tym / 2)
- curpos = li.CFrame * cf(0, 0, magz / tym / 2).p
- game.Debris:AddItem(li, last)
- coroutine.resume(coroutine.create(function()
- while li.Transparency ~= 1 do
- for i = 0, 1, last do
- hbwait()
- li.Transparency = li.Transparency + 0.1 / last
- end
- end
- end
- ))
- end
- -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out DO_STMT
- end
- end
- end
- end
- end
- MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.CFrame = Part.CFrame
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, -0.1 * z1), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.CFrame = Part.CFrame
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicBlock = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- if rotate == true then
- Part.CFrame = Part.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- end
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicBlock2 = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- CF = prt.CFrame
- num = math.random(5, 20)
- coroutine.resume(coroutine.create(function(Part, Mesh, CF2, Num)
- for i = 0, 1, delay do
- hbwait()
- if rotate == true then
- Part.CFrame = CF2 * cf(0, i * Num, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- else
- Part.CFrame = CF2 * cf(0, i * Num, 0)
- end
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh, CF, num)
- end
- MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- 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, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicHead = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- BreakEffect = function(brickcolor, material, rotate, cframe, x1, y1, z1, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe * angles(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, 10)
- coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
- CF = Part.CFrame
- Numbb = 0
- randnumb = math.random() - math.random()
- for i = 0, 1, delay do
- hbwait()
- CF = CF * cf(0, 1, 0)
- if rotate == true then
- Part.CFrame = CF * angles(Numbb, 0, 0)
- else
- if rotate == false then
- Part.CFrame = CF
- end
- end
- Part.Transparency = i
- Numbb = Numbb + (randnumb)
- end
- Part.Parent = nil
- end
- ), prt, CF, Numbb, randnumb)
- end
- ElecEffect = function(brickcolor, material, cf, x, y, z, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cf
- xval = math.random()
- yval = math.random()
- zval = math.random()
- local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x, y, z))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh, xvaal, yvaal, zvaal)
- for i = 0, 1, delay do
- hbwait()
- Part.CFrame = Part.CFrame
- xvaal = xvaal - 0.1 * (delay * 10)
- yvaal = yvaal - 0.1 * (delay * 10)
- zvaal = zvaal - 0.1 * (delay * 10)
- Mesh.Scale = Mesh.Scale + vt(xvaal, yvaal, zvaal)
- Part.Transparency = i
- end
- Part.Parent = nil
- end
- ), prt, msh, xval, yval, zval)
- end
- TrailEffect = function(brickcolor, material, currentcf, oldcf, meshtype, reflectance, size, x, y, z, delay)
- local magnitudecframe = currentcf.p - oldcf.p.magnitude
- if magnitudecframe > 0.01 then
- local prt = part(3, Effects, material, reflectance, 0, brickcolor, "Effect", vt(1, magnitudecframe, 1))
- prt.Anchored = true
- prt.CFrame = cf((currentcf.p + oldcf.p) / 2, oldcf.p) * angles(rad(90), 0, 0)
- local TheMeshType = "BlockMesh"
- if meshtype == "Cylinder" then
- TheMeshType = "CylinderMesh"
- end
- local msh = mesh(TheMeshType, prt, "", "", vt(0, 0, 0), vt(0 + size, 1, 0 + size))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh, TheCurrentCFrame, TheLastCFrame)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x, y, z)
- end
- Part.Parent = nil
- end
- ), prt, msh, currentcf, oldcf)
- end
- end
- ClangEffect = function(brickcolor, material, cframe, angle, duration, size, power, reflectance, x, y, z, delay)
- local prt = part(3, Effects, material, 0, 1, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(0, 0, 0))
- game:GetService("Debris"):AddItem(prt, 10)
- local TheLastPoint = cframe
- coroutine.resume(coroutine.create(function(Part)
- for i = 1, duration do
- hbwait()
- Part.CFrame = Part.CFrame * angles(rad(angle), 0, 0) * cf(0, power, 0)
- TrailEffect(brickcolor, material, Part.CFrame, TheLastPoint, "Cylinder", reflectance, size, x, y, z, delay)
- TheLastPoint = Part.CFrame
- end
- Part.Parent = nil
- end
- ), prt)
- end
- MagicCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1778999", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicFlatCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1033714", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicSpikedCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1323306", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1078075", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- MagicSkull = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
- 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))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, delay do
- hbwait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
- end
- Part.Parent = nil
- end
- ), prt, msh)
- end
- local startequipped = true
- local startequippedwithequipanimation = false
- local disableanimator = true
- local disableanimate = true
- local alternatewalk = false
- local hidemenu = false
- local allowmenutofunction = false
- local allowabilitiestofunction = false
- local canunequiporequip = false
- local allowwalking = false
- local disablemovingarms = false
- local usemotorsinsteadofwelds = false
- local leftarm = false
- local rightarm = false
- local allowhopperbin = false
- local showstunbar = false
- local walkspeeddependsonmovementvalue = true
- local alternatemanaregensystem = false
- local showhealthmanaandstunnumbers = false
- local changebarcolorsifnotenoughmana = false
- local disablejump = false
- if hidemenu == true or allowmenutofunction == false then
- for _,v in pairs(scrn:GetChildren()) do
- if v.ClassName == "Frame" or v.ClassName == "TextLabel" then
- v.Visible = false
- v.BorderSizePixel = 0
- end
- end
- end
- do
- Humanoid.Changed:connect(function(Jump)
- if Jump == "Jump" and disablejump == true then
- Humanoid.Jump = false
- end
- end
- )
- if allowmenutofunction == true then
- for _,v in pairs(scrn:GetChildren()) do
- if v.ClassName == "Frame" then
- for _,b in pairs(v:GetChildren()) do
- if b.ClassName == "TextLabel" then
- coroutine.resume(coroutine.create(function(TheTextLabel)
- wait(menuupdatespeed)
- for i = 1, 0, -0.1 do
- hbwait()
- TheTextLabel.TextTransparency = i
- TheTextLabel.TextStrokeTransparency = i
- end
- TheTextLabel.TextTransparency = 0
- TheTextLabel.TextStrokeTransparency = 0
- end
- ), b)
- if showstats == true then
- coroutine.resume(coroutine.create(function(TheTextLabel)
- wait(menuupdatespeed)
- for i = 1, 0, -0.1 do
- hbwait()
- TheTextLabel.TextTransparency = i
- TheTextLabel.TextStrokeTransparency = i
- end
- TheTextLabel.TextTransparency = 0
- TheTextLabel.TextStrokeTransparency = 0
- end
- ), b)
- end
- if showstunbar == true then
- coroutine.resume(coroutine.create(function(TheTextLabel)
- wait(menuupdatespeed)
- for i = 1, 0, -0.1 do
- hbwait()
- TheTextLabel.TextTransparency = i
- TheTextLabel.TextStrokeTransparency = i
- end
- TheTextLabel.TextTransparency = 0
- TheTextLabel.TextStrokeTransparency = 0
- end
- ), b)
- end
- if allowabilitiestofunction == true then
- coroutine.resume(coroutine.create(function(TheTextLabel)
- wait(menuupdatespeed)
- for i = 1, 0, -0.1 do
- hbwait()
- TheTextLabel.TextTransparency = i
- TheTextLabel.TextStrokeTransparency = i
- end
- TheTextLabel.TextTransparency = 0
- TheTextLabel.TextStrokeTransparency = 0
- end
- ), b)
- end
- end
- end
- end
- end
- end
- do
- if allowhopperbin == true then
- if script.Parent.className ~= "HopperBin" then
- Tool = Instance.new("HopperBin")
- Tool.Parent = Backpack
- Tool.Name = WeaponName
- script.Parent = Tool
- end
- Bin = script.Parent
- end
- if disablemovingarms == true then
- RWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
- LWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
- RSH = nil
- if usemotorsinsteadofwelds == true then
- RW = Instance.new("Motor")
- LW = Instance.new("Motor")
- else
- RW = Instance.new("Weld")
- LW = Instance.new("Weld")
- end
- RW.Name = "Right Shoulder"
- LW.Name = "Left Shoulder"
- RSH = Torso["Right Shoulder"]
- LSH = Torso["Left Shoulder"]
- RSH.Parent = Torso
- LSH.Parent = Torso
- RW.Name = "Right Shoulder"
- RW.Part0 = Torso
- RW.C0 = cf(1.5, 0.5, 0)
- RW.C1 = cf(0, 0.5, 0)
- RW.Part1 = Character["Right Arm"]
- RW.Parent = nil
- LW.Name = "Left Shoulder"
- LW.Part0 = Torso
- LW.C0 = cf(-1.5, 0.5, 0)
- LW.C1 = cf(0, 0.5, 0)
- LW.Part1 = Character["Left Arm"]
- LW.Parent = nil
- else
- RW = Torso["Right Shoulder"]
- LW = Torso["Left Shoulder"]
- RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
- LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
- end
- equipanim = function()
- attack = true
- Movement.Value = Movement.Value - 0.1
- Defense.Value = Defense.Value + 0.4
- for i = 0, 1, 0.08 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed)
- LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed)
- RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- end
- attack = false
- end
- unequipanim = function()
- attack = true
- for i = 0, 1, 0.08 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)), 0.3 / animationspeed)
- RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed)
- LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed)
- if disablemovingarms == false then
- RW.C1 = clerp(RW.C1, angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
- LW.C1 = clerp(LW.C1, angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
- end
- RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- RH.C1 = clerp(RH.C1, angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
- LH.C1 = clerp(LH.C1, angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
- end
- RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
- Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
- Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
- RW.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
- LW.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
- if disablemovingarms == false then
- RW.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
- LW.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
- end
- RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
- LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
- RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
- LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
- Movement.Value = Movement.Value + 0.1
- Defense.Value = Defense.Value - 0.4
- attack = false
- end
- if startequipped == true then
- equipped = true
- if disableanimate == true then
- Animate.Disabled = true
- local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
- idleanimation:Play()
- end
- if disableanimator == true then
- Animator.Parent = nil
- end
- if disablemovingarms == true then
- RW.Parent = Torso
- LW.Parent = Torso
- RSH.Parent = nil
- LSH.Parent = nil
- end
- Movement.Value = Movement.Value - 0.1
- Defense.Value = Defense.Value + 0.4
- end
- if startequippedwithequipanimation == true then
- equipped = true
- if disableanimate == true then
- Animate.Disabled = true
- local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
- idleanimation:Play()
- end
- if disableanimator == true then
- Animator.Parent = nil
- end
- if disablemovingarms == true then
- RW.Parent = Torso
- LW.Parent = Torso
- RSH.Parent = nil
- LSH.Parent = nil
- end
- coroutine.resume(coroutine.create(function()
- hbwait()
- equipanim()
- end
- ))
- end
- StaggerHit = function()
- attack = true
- if Hitbox ~= nil then
- for i = 1, math.random(2, 4) do
- ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
- end
- end
- do
- for i = 0, 1, 0.1 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(-10), rad(0), rad(-30)), 0.3 / animationspeed)
- Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(30)) * angles(rad(5), rad(0), rad(0)), 0.3 / animationspeed)
- RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-30), rad(0), rad(60)) * angles(rad(0), rad(-30), rad(0)) * RWC0, 0.3 / animationspeed)
- LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(-20)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
- RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.9 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-10), rad(0), rad(-20)), 0.3 / animationspeed)
- LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-70), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
- if StaggerAnim.Value ~= true then
- do
- if StunAnim.Value == true then
- break
- end
- -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- attack = false
- end
- end
- Stagger = function()
- attack = true
- disablejump = true
- if Hitbox ~= nil then
- for i = 1, math.random(2, 4) do
- ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
- end
- end
- do
- attacktype = 1
- DamageStatLabel("Interruption", Head.CFrame, "Staggered!", Color3.new(1, 1, 0))
- local staggervelocity = Instance.new("BodyVelocity", Torso)
- staggervelocity.P = 500
- staggervelocity.maxForce = vt(math.huge, 0, math.huge)
- if Rooted.Value == false then
- staggervelocity.Velocity = RootPart.CFrame.lookVector * -25
- end
- for i = 0, 1, 0.35 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.1 * PlayerSize) * angles(rad(-20), rad(0), rad(-30)), 0.3 / animationspeed)
- Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
- LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
- RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
- LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
- end
- for i = 0, 1, 0.2 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.2 * PlayerSize) * angles(rad(-30), rad(0), rad(-30)), 0.3 / animationspeed)
- Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
- LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
- RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
- LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.9 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(30)), 0.3 / animationspeed)
- end
- staggervelocity:Destroy()
- for i = 0, 1, 0.015 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.8 * PlayerSize) * angles(rad(0), rad(0), rad(-20)) * angles(rad(-5), rad(-5), rad(0)), 0.3 / animationspeed)
- Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(20), rad(0), rad(20)) * angles(rad(0), rad(5), rad(0)), 0.3 / animationspeed)
- RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(20)) * angles(rad(0), rad(-20), rad(0)) * RWC0, 0.3 / animationspeed)
- LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-15), rad(0), rad(-10)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
- RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(80), rad(0)) * angles(rad(0), rad(0), rad(70)) * angles(rad(0), rad(30), rad(0)), 0.3 / animationspeed)
- LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, 0.4 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(-80), rad(0)) * angles(rad(-2.5), rad(0), rad(-10)), 0.3 / animationspeed)
- if StunAnim.Value == true then
- break
- end
- end
- do
- attacktype = 1
- disablejump = false
- attack = false
- end
- end
- end
- Stun = function()
- attack = true
- disablejump = true
- attacktype = 1
- DamageStatLabel("Interruption", Head.CFrame, "Stunned!", Color3.new(1, 1, 0))
- for i = 0, 1, 0.4 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(15), rad(0), rad(-160)), 0.3 / animationspeed)
- Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(10), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(15)) * RWC0, 0.3 / animationspeed)
- LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(-15)) * LWC0, 0.3 / animationspeed)
- RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
- LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
- end
- for i = 0, 1, 0.4 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.5 * PlayerSize) * angles(rad(45), rad(0), rad(-170)), 0.3 / animationspeed)
- Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(45)) * RWC0, 0.3 / animationspeed)
- LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(-45)) * LWC0, 0.3 / animationspeed)
- RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
- LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
- end
- for i = 0, 1, 0.4 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1 * PlayerSize) * angles(rad(75), rad(0), rad(-180)), 0.3 / animationspeed)
- Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-60)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(0), rad(75)) * RWC0, 0.3 / animationspeed)
- LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-45), rad(0), rad(-75)) * LWC0, 0.3 / animationspeed)
- RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
- LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-30)), 0.3 / animationspeed)
- end
- Humanoid.AutoRotate = false
- for i = 1, 70 * animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -2.5 * PlayerSize) * angles(rad(90), rad(0), rad(-180)), 0.3 / animationspeed)
- Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-90)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(-10), rad(90)) * RWC0, 0.3 / animationspeed)
- LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-90), rad(0), rad(-90)) * LWC0, 0.3 / animationspeed)
- RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0.2 * PlayerSize) * angles(rad(0), rad(70), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
- LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-100), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
- end
- for i = 0, 1, 0.15 / animationspeed do
- hbwait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.5 * PlayerSize) * angles(rad(20), rad(0), rad(100)), 0.3 / animationspeed)
- Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
- RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(30)) * RWC0, 0.3 / animationspeed)
- LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(20)) * LWC0, 0.3 / animationspeed)
- RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(60), rad(0)) * angles(rad(-5), rad(0), rad(70)), 0.3 / animationspeed)
- LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.25 * PlayerSize, -1 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-10), rad(0), rad(20)), 0.3 / animationspeed)
- end
- Humanoid.AutoRotate = true
- attacktype = 1
- disablejump = false
- attack = false
- end
- EAbility = function()
- attack = true
- attack = false
- end
- Attack1 = function()
- attack = true
- attack = false
- end
- Attack2 = function()
- attack = true
- attack = false
- end
- Attack3 = function()
- attack = true
- attack = false
- end
- Attack4 = function()
- attack = true
- attack = false
- end
- Move1 = function()
- attack = true
- attack = false
- end
- Move2 = function()
- attack = true
- attack = false
- end
- Move3 = function()
- attack = true
- attack = false
- end
- Move4 = function()
- attack = true
- attack = false
- end
- hold = false
- Mouse.Button1Down:connect(function()
- if attack == true or equipped == false then
- return
- end
- hold = true
- if attacktype == 1 then
- attacktype = 2
- Attack1()
- else
- if attacktype == 2 then
- attacktype = 3
- Attack2()
- else
- if attacktype == 3 then
- attacktype = 4
- Attack3()
- else
- if attacktype == 4 then
- attacktype = 1
- Attack4()
- end
- end
- end
- end
- coroutine.resume(coroutine.create(function()
- for i = 1, 50 do
- if attack == false then
- hbwait()
- end
- end
- if attack == false then
- attacktype = 1
- end
- end
- ))
- end
- )
- if allowhopperbin == true then
- ob1u = function(Mouse)
- hold = false
- end
- end
- Mouse.KeyDown:connect(function(key)
- if key == "f" and canunequiporequip == true and attack == false then
- if equipped == false then
- equipped = true
- if disableanimate == true then
- Animate.Disabled = true
- local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
- idleanimation:Play()
- end
- if disableanimator == true then
- Animator.Parent = nil
- end
- if disablemovingarms == true then
- RW.Parent = Torso
- LW.Parent = Torso
- RSH.Parent = nil
- LSH.Parent = nil
- end
- equipanim()
- elseif equipped == true then
- equipped = false
- unequipanim()
- hbwait()
- if disablemovingarms == true then
- RW.Parent = nil
- LW.Parent = nil
- RSH.Parent = Torso
- LSH.Parent = Torso
- end
- if disableanimator == true then
- Animator.Parent = Humanoid
- end
- if disableanimate == true then
- Animate.Disabled = false
- end
- end
- end
- if key == "e" and attack == false and equipped == true then
- if animtype < 3 then
- animtype = animtype + 1
- elseif animtype >= 3 then
- animtype = 1
- end
- end
- if key == "z" and attack == false and equipped == true and co1 <= cooldown1 and skill1mana <= Mana.Value then
- subtractmana(skill1mana)
- cooldown1 = 0
- Move1()
- end
- if key == "x" and attack == false and equipped == true and co2 <= cooldown2 and skill2mana <= Mana.Value then
- subtractmana(skill2mana)
- cooldown2 = 0
- Move2()
- end
- if key == "c" and attack == false and equipped == true and co3 <= cooldown3 and skill3mana <= Mana.Value then
- subtractmana(skill3mana)
- cooldown3 = 0
- Move3()
- end
- if key == "v" and attack == false and equipped == true and co4 <= cooldown4 and skill4mana <= Mana.Value then
- subtractmana(skill4mana)
- cooldown4 = 0
- Move4()
- end
- if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
- if key == "q" then
- Mana.Value = 100
- cooldown1 = co1
- cooldown2 = co2
- cooldown3 = co3
- cooldown4 = co4
- end
- if key == "p" then
- StaggerHitAnim.Value = true
- end
- if key == "[" then
- StaggerAnim.Value = true
- end
- if key == "]" then
- StunAnim.Value = true
- end
- end
- end
- )
- Mouse.KeyUp:connect(function(key2)
- end
- )
- if allowhopperbin == true then
- s = function(Mouse)
- Mouse.Button1Down:connect(function()
- ob1d(Mouse)
- end
- )
- Mouse.Button1Up:connect(function()
- ob1u(Mouse)
- end
- )
- Mouse.KeyDown:connect(key)
- Mouse.KeyUp:connect(key2)
- end
- end
- if allowhopperbin == true then
- ds = function(Mouse)
- end
- end
- if allowhopperbin == true then
- Bin.Selected:connect(s)
- Bin.Deselected:connect(ds)
- end
- updateskills = function()
- if allowabilitiestofunction == true then
- if cooldown1 <= co1 then
- cooldown1 = cooldown1 + 0.033333333333333
- if co1 <= cooldown1 then
- cooldown1 = co1
- end
- end
- if cooldown2 <= co2 then
- cooldown2 = cooldown2 + 0.033333333333333
- if co2 <= cooldown2 then
- cooldown2 = co2
- end
- end
- if cooldown3 <= co3 then
- cooldown3 = cooldown3 + 0.033333333333333
- if co3 <= cooldown3 then
- cooldown3 = co3
- end
- end
- if cooldown4 <= co4 then
- cooldown4 = cooldown4 + 0.033333333333333
- if co4 <= cooldown4 then
- cooldown4 = co4
- end
- end
- if changebarcolorsifnotenoughmana == true then
- if Mana.Value <= skill1mana then
- bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
- else
- bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- end
- if Mana.Value <= skill2mana then
- bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
- else
- bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- end
- if Mana.Value <= skill3mana then
- bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
- else
- bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- end
- if Mana.Value <= skill4mana then
- bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
- else
- bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- end
- else
- if changebarcolorsifnotenoughmana == false then
- bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
- end
- end
- end
- if alternatemanaregensystem == false then
- if Mana.Value <= maxmana then
- Mana.Value = Mana.Value + recovermana / 30
- else
- if maxmana <= Mana.Value then
- Mana.Value = maxmana
- end
- end
- else
- if alternatemanaregensystem == true then
- if maxmana <= Mana.Value then
- Mana.Value = maxmana
- else
- if manadelay <= manawait then
- manadelay = manadelay + 1
- else
- manadelay = 0
- Mana.Value = Mana.Value + 1
- end
- end
- end
- end
- if allowstunbar == true then
- if StunValue.Value <= 0 then
- StunValue.Value = 0
- else
- if stundelay <= stunwait then
- stundelay = stundelay + 1
- else
- stundelay = 0
- StunValue.Value = StunValue.Value - 1
- end
- end
- else
- if allowstunbar == false then
- StunValue.Value = 0
- end
- end
- end
- if allowmenutofunction == true then
- ArtificialHB.Event:connect(function()
- updateskills()
- if allowabilitiestofunction == true then
- framesk1:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- framesk2:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- framesk3:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- framesk4:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- end
- manabar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- manacover:TweenSize(ud(1 * (Mana.Value / maxmana), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- healthbar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- if allowstunbar == true and showstunbar == true and stunframe ~= nil then
- stunframe:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- stunbar:TweenSize(ud(1 * (StunValue.Value / maxstun), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- end
- if showhealthmanaandstunnumbers == true then
- manatext.Text = "Mana [" .. math.floor(Mana.Value) .. "]"
- healthtext.Text = "Health [" .. math.floor(Humanoid.Health) .. "]"
- if allowstunbar == true and showstunbar == true then
- stuntext.Text = "Stun [" .. math.floor(StunValue.Value) .. "]"
- end
- end
- if showstats == true then
- defenseframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- damageframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- movementframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
- defensetext.Text = "Defense: " .. Defense.Value * 100 .. "%"
- damagetext.Text = "Damage: " .. Damage.Value * 100 .. "%"
- if Rooted.Value == false then
- movementtext.Text = "Movement: " .. Movement.Value * 100 .. "%"
- else
- if Rooted.Value == true or Movement.Value <= 0 then
- movementtext.Text = "Movement: 0%"
- end
- end
- end
- end
- )
- end
- while 1 do
- hbwait()
- if Hitbox ~= nil then
- if attack == true then
- Hitbox.Name = "Hitbox"
- else
- if attack == false then
- Hitbox.Name = "NilHitbox"
- end
- end
- end
- if 0 < Humanoid.Health then
- if walkspeeddependsonmovementvalue == true then
- if Movement.Value < 0 or StaggerAnim.Value == true or StunAnim.Value == true or StaggerHitAnim.Value == true or Rooted.Value == true then
- Humanoid.WalkSpeed = 0
- else
- Humanoid.WalkSpeed = 16 * Movement.Value
- end
- end
- if maxstun <= StunValue.Value then
- StunValue.Value = 0
- StunAnim.Value = true
- end
- if StaggerAnim.Value == true and staggeranim == false then
- coroutine.resume(coroutine.create(function()
- staggeranim = true
- while attack == true do
- hbwait()
- end
- Stagger()
- StaggerAnim.Value = false
- staggeranim = false
- end
- ))
- end
- if StaggerHitAnim.Value == true and staggerhitanim == false then
- coroutine.resume(coroutine.create(function()
- staggerhitanim = true
- while attack == true do
- hbwait()
- end
- StaggerHit()
- StaggerHitAnim.Value = false
- staggerhitanim = false
- end
- ))
- end
- if (StunAnim.Value == true and stunanim == false) or 100 <= StunValue.Value then
- coroutine.resume(coroutine.create(function()
- StunValue.Value = 0
- stunanim = true
- while attack == true do
- hbwait()
- end
- Stun()
- StunAnim.Value = false
- stunanim = false
- end
- ))
- end
- sine = sine + change
- local torvel = (RootPart.Velocity * vt(1, 0, 1)).magnitude
- local velderp = RootPart.Velocity.y
- local lv = Torso.CFrame:pointToObjectSpace(Torso.Velocity + Torso.Position)
- hitfloor = rayCast(RootPart.Position, cf(RootPart.Position, RootPart.Position + vt(0, -1, 0)).lookVector, 4 * PlayerSize, Character)
- if 0.5 <= donum then
- handidle = true
- else
- if donum <= 0 then
- handidle = false
- end
- end
- if handidle == false then
- donum = donum + 0.003 / animationspeed
- else
- donum = donum - 0.003 / animationspeed
- end
- if equipped == true or equipped == false then
- if attack == false then
- idle = idle + 1
- else
- idle = 0
- end
- if leftarm == true then
- if Anim == "Walk" and equipped == true and attack == false then
- if alternatewalk == false then
- if walkinganim == true then
- LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- else
- LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- end
- else
- if walkinganim == true then
- LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- else
- LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- end
- end
- else
- -- DECOMPILER ERROR at PC2457: Unhandled construct in 'MakeBoolean' P3
- if (Anim ~= "Walk" and equipped == true) or leftarm == false then
- LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
- end
- end
- end
- if rightarm == true then
- if Anim == "Walk" and equipped == true and attack == false then
- if alternatewalk == false then
- if walkinganim == true then
- RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- else
- RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- end
- else
- if walkinganim == true then
- RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- else
- RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- end
- end
- else
- -- DECOMPILER ERROR at PC2648: Unhandled construct in 'MakeBoolean' P3
- if (Anim ~= "Walk" and equipped == true) or rightarm == false then
- RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
- end
- end
- end
- if allowwalking == true then
- if Anim == "Walk" and equipped == true then
- if alternatewalk == false then
- if walkinganim == true then
- RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- else
- RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- end
- else
- if walkinganim == true then
- RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- else
- RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
- end
- end
- else
- if Anim ~= "Walk" and equipped == true then
- RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
- LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
- end
- end
- end
- Anim = "Idle"
- if attack == false then
- if equipped == true then
- if animtype == 1 then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
- Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
- RW.C0 = clerp(RW.C0, cf(1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(100), rad(0), rad(-80)) * angles(rad(-5 * math.sin((sine) / 4)), rad(90), rad(0)) * (RWC0), 1 / animationspeed)
- LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(80), rad(0), rad(70)) * angles(rad(-5 * math.sin((sine) / 4)), rad(-90), rad(0)) * (LWC0), 1 / animationspeed)
- RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
- LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
- end
- if animtype == 2 then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(2.5 + 2.5 * math.cos((sine) / 4)), rad(0), rad(0)), 1 / animationspeed)
- Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(2.5 * math.sin((sine) / 4)), rad(0), rad(0)), 1 / animationspeed)
- RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(5), rad(10)) * angles(rad(60 * math.cos((sine) / 8)), rad(5), rad(0)) * (RWC0), 1 / animationspeed)
- LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-5), rad(-10)) * angles(rad(-60 * math.cos((sine) / 8)), rad(-5), rad(0)) * (LWC0), 1 / animationspeed)
- RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 5 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
- LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 5 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
- end
- end
- if animtype == 3 then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
- Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
- RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(0), rad(-20)) * angles(rad(0), rad(10), rad(0)) * (RWC0), 1 / animationspeed)
- LW.C0 = clerp(LW.C0, cf(-1.25 + 0.25 * math.sin((sine) / 8) * PlayerSize, 0.5 * PlayerSize, -0.25 - 0.25 * math.sin((sine) / 8) * PlayerSize) * angles(rad(80 - 30 * math.cos((sine) / 4)), rad(0), rad(60 * math.sin((sine) / 8))) * (LWC0), 1 / animationspeed)
- RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
- LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
- end
- end
- end
- end
- end
- end
- end
- end)
- Dex.MouseButton1Down:connect(function()
- loadstring(game:GetObjects('rbxassetid://418957341')[1].Source)()
- end)
- TopKek.MouseButton1Down:connect(function()
- --boobs lol
- local ScreenGui = Instance.new("ScreenGui")
- local Base = Instance.new("Frame")
- local Top = Instance.new("Frame")
- local First = Instance.new("TextLabel")
- local Second = Instance.new("TextLabel")
- local Location = Instance.new("TextLabel")
- local Exit = Instance.new("TextButton")
- local HomeContainer = Instance.new("Frame")
- local Players = Instance.new("Frame")
- local ImageLabel = Instance.new("ImageLabel")
- local TextLabel = Instance.new("TextLabel")
- local Mask = Instance.new("TextButton")
- local Server = Instance.new("Frame")
- local ImageLabel_2 = Instance.new("ImageLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local Mask_2 = Instance.new("TextButton")
- local LocalPlayer = Instance.new("Frame")
- local ImageLabel_3 = Instance.new("ImageLabel")
- local TextLabel_3 = Instance.new("TextLabel")
- local Mask_3 = Instance.new("TextButton")
- local Scripts = Instance.new("Frame")
- local ImageLabel_4 = Instance.new("ImageLabel")
- local TextLabel_4 = Instance.new("TextLabel")
- local Mask_4 = Instance.new("TextButton")
- local Miscellaneous = Instance.new("Frame")
- local ImageLabel_5 = Instance.new("ImageLabel")
- local TextLabel_5 = Instance.new("TextLabel")
- local Mask_5 = Instance.new("TextButton")
- local Settings = Instance.new("Frame")
- local ImageLabel_6 = Instance.new("ImageLabel")
- local TextLabel_6 = Instance.new("TextLabel")
- local Mask_6 = Instance.new("TextButton")
- local Navigator = Instance.new("ScrollingFrame")
- local Item = Instance.new("TextButton")
- local ServerContainer = Instance.new("ScrollingFrame")
- local dd = Instance.new("TextButton")
- local ImageLabel_7 = Instance.new("ImageLabel")
- local LocalPlayerContainer = Instance.new("ScrollingFrame")
- local PlayersContainer = Instance.new("ScrollingFrame")
- -- Properties
- local hist = game:GetService("LogService"):GetLogHistory()
- local eiss = false
- for i,v in pairs(hist) do
- if string.find(v["message"]:lower(), "eiss") then
- eiss = true
- warn("Detected EISS, Parenting to PlayerGui")
- end
- end
- if eiss then
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- game.StarterGui.ResetPlayerGuiOnSpawn = false
- else
- ScreenGui.Parent = script.Parent
- end
- Base.Name = "Base"
- Base.Parent = ScreenGui
- Base.Active = true
- Base.BackgroundColor3 = Color3.new(0.054902, 0.0901961, 0.113725)
- Base.BorderColor3 = Color3.new(0.0156863, 0.027451, 0.0352941)
- Base.BorderSizePixel = 2
- Base.Draggable = true
- Base.Position = UDim2.new(0, 50, 0, 250)
- Base.Selectable = true
- Base.Size = UDim2.new(0, 450, 0, 250)
- Top.Name = "Top"
- Top.Parent = Base
- Top.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
- Top.BackgroundTransparency = 0.5
- Top.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- Top.Position = UDim2.new(0, 10, 0, 7)
- Top.Size = UDim2.new(1, -20, 0, 20)
- First.Name = "First"
- First.Parent = Top
- First.BackgroundColor3 = Color3.new(1, 1, 1)
- First.BackgroundTransparency = 1
- First.BorderColor3 = Color3.new(0.32549, 0.313726, 0.313726)
- First.Size = UDim2.new(1, 0, 1, 0)
- First.Font = Enum.Font.SourceSans
- First.FontSize = Enum.FontSize.Size18
- First.Text = " T0PK3K 3.0"
- First.TextColor3 = Color3.new(0.721569, 0.027451, 0.211765)
- First.TextStrokeTransparency = 0
- First.TextXAlignment = Enum.TextXAlignment.Left
- Second.Name = "Second"
- Second.Parent = Top
- Second.BackgroundColor3 = Color3.new(1, 1, 1)
- Second.BackgroundTransparency = 1
- Second.BorderColor3 = Color3.new(0.32549, 0.313726, 0.313726)
- Second.Position = UDim2.new(1, -125, 0, 0)
- Second.Size = UDim2.new(0, 100, 1, 0)
- Second.Font = Enum.Font.SourceSans
- Second.FontSize = Enum.FontSize.Size18
- Second.Text = "Cerberus Edition"
- Second.TextColor3 = Color3.new(0.721569, 0.027451, 0.211765)
- Second.TextStrokeTransparency = 0
- Second.TextXAlignment = Enum.TextXAlignment.Left
- Location.Name = "Location"
- Location.Parent = Top
- Location.BackgroundColor3 = Color3.new(1, 1, 1)
- Location.BackgroundTransparency = 1
- Location.BorderColor3 = Color3.new(0.32549, 0.313726, 0.313726)
- Location.Position = UDim2.new(0, 90, 0, 0)
- Location.Size = UDim2.new(1, -200, 1, 0)
- Location.Font = Enum.Font.SourceSansBold
- Location.FontSize = Enum.FontSize.Size18
- Location.Text = "Home"
- Location.TextColor3 = Color3.new(0.588235, 0.0196078, 0.172549)
- Location.TextStrokeTransparency = 0
- Exit.Name = "Exit"
- Exit.Parent = Top
- Exit.BackgroundColor3 = Color3.new(0.588235, 0.0196078, 0.172549)
- Exit.BorderSizePixel = 0
- Exit.Position = UDim2.new(1, -18, 0, 2)
- Exit.Size = UDim2.new(0, 16, 0, 16)
- Exit.Font = Enum.Font.SourceSansBold
- Exit.FontSize = Enum.FontSize.Size14
- Exit.Text = "X"
- Exit.TextColor3 = Color3.new(1, 1, 1)
- Exit.MouseButton1Down:connect(function()
- Base.Parent = nil
- end)
- HomeContainer.Name = "HomeContainer"
- HomeContainer.Parent = Base
- HomeContainer.BackgroundColor3 = Color3.new(1, 1, 1)
- HomeContainer.BackgroundTransparency = 1
- HomeContainer.Position = UDim2.new(0, 10, 0, 50)
- HomeContainer.Size = UDim2.new(1, -20, 1, -65)
- Players.Name = "Players"
- Players.Parent = HomeContainer
- Players.BackgroundColor3 = Color3.new(1, 1, 1)
- Players.BackgroundTransparency = 1
- Players.Position = UDim2.new(0.666000009, 10, 0, 0)
- Players.Size = UDim2.new(0.333000004, -10, 0.5, -10)
- ImageLabel.Parent = Players
- ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel.BackgroundTransparency = 1
- ImageLabel.Position = UDim2.new(0.5, -25, 0, 0)
- ImageLabel.Size = UDim2.new(0, 50, 0, 50)
- ImageLabel.Image = "rbxassetid://573066980"
- ImageLabel.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
- TextLabel.Parent = Players
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0, 10, 1, -40)
- TextLabel.Size = UDim2.new(1, -20, 0, 20)
- TextLabel.Font = Enum.Font.SourceSansBold
- TextLabel.FontSize = Enum.FontSize.Size24
- TextLabel.Text = "Players"
- TextLabel.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
- Mask.Name = "Mask"
- Mask.Parent = Players
- Mask.BackgroundColor3 = Color3.new(1, 1, 1)
- Mask.BackgroundTransparency = 1
- Mask.Position = UDim2.new(0, 27, 0, 0)
- Mask.Size = UDim2.new(1, -56, 0, 65)
- Mask.Font = Enum.Font.SourceSans
- Mask.FontSize = Enum.FontSize.Size14
- Mask.Text = ""
- Server.Name = "Server"
- Server.Parent = HomeContainer
- Server.BackgroundColor3 = Color3.new(1, 1, 1)
- Server.BackgroundTransparency = 1
- Server.Size = UDim2.new(0.333000004, -10, 0.5, -10)
- ImageLabel_2.Parent = Server
- ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel_2.BackgroundTransparency = 1
- ImageLabel_2.Position = UDim2.new(0.5, -23, 0, 0)
- ImageLabel_2.Size = UDim2.new(0, 46, 0, 46)
- ImageLabel_2.Image = "rbxassetid://573084509"
- ImageLabel_2.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
- TextLabel_2.Parent = Server
- TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_2.BackgroundTransparency = 1
- TextLabel_2.Position = UDim2.new(0, 10, 1, -40)
- TextLabel_2.Size = UDim2.new(1, -20, 0, 20)
- TextLabel_2.Font = Enum.Font.SourceSansBold
- TextLabel_2.FontSize = Enum.FontSize.Size24
- TextLabel_2.Text = "Server"
- TextLabel_2.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
- Mask_2.Name = "Mask"
- Mask_2.Parent = Server
- Mask_2.BackgroundColor3 = Color3.new(1, 1, 1)
- Mask_2.BackgroundTransparency = 1
- Mask_2.Position = UDim2.new(0, 27, 0, 0)
- Mask_2.Size = UDim2.new(1, -56, 0, 65)
- Mask_2.Font = Enum.Font.SourceSans
- Mask_2.FontSize = Enum.FontSize.Size14
- Mask_2.Text = ""
- LocalPlayer.Name = "LocalPlayer"
- LocalPlayer.Parent = HomeContainer
- LocalPlayer.BackgroundColor3 = Color3.new(1, 1, 1)
- LocalPlayer.BackgroundTransparency = 1
- LocalPlayer.Position = UDim2.new(0.333000004, 10, 0, 0)
- LocalPlayer.Size = UDim2.new(0.333000004, -10, 0.5, -10)
- ImageLabel_3.Parent = LocalPlayer
- ImageLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel_3.BackgroundTransparency = 1
- ImageLabel_3.Position = UDim2.new(0.5, -25, 0, 0)
- ImageLabel_3.Size = UDim2.new(0, 50, 0, 50)
- ImageLabel_3.Image = "rbxassetid://573078228"
- ImageLabel_3.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
- TextLabel_3.Parent = LocalPlayer
- TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_3.BackgroundTransparency = 1
- TextLabel_3.Position = UDim2.new(0, 10, 1, -40)
- TextLabel_3.Size = UDim2.new(1, -20, 0, 20)
- TextLabel_3.Font = Enum.Font.SourceSansBold
- TextLabel_3.FontSize = Enum.FontSize.Size24
- TextLabel_3.Text = "LocalPlayer"
- TextLabel_3.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
- Mask_3.Name = "Mask"
- Mask_3.Parent = LocalPlayer
- Mask_3.BackgroundColor3 = Color3.new(1, 1, 1)
- Mask_3.BackgroundTransparency = 1
- Mask_3.Position = UDim2.new(0, 27, 0, 0)
- Mask_3.Size = UDim2.new(1, -56, 0, 65)
- Mask_3.Font = Enum.Font.SourceSans
- Mask_3.FontSize = Enum.FontSize.Size14
- Mask_3.Text = ""
- Scripts.Name = "Scripts"
- Scripts.Parent = HomeContainer
- Scripts.BackgroundColor3 = Color3.new(1, 1, 1)
- Scripts.BackgroundTransparency = 1
- Scripts.Position = UDim2.new(0, 0, 0.5, 0)
- Scripts.Size = UDim2.new(0.333000004, -10, 0.5, -10)
- ImageLabel_4.Parent = Scripts
- ImageLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel_4.BackgroundTransparency = 1
- ImageLabel_4.Position = UDim2.new(0.5, -25, 0, 0)
- ImageLabel_4.Size = UDim2.new(0, 50, 0, 50)
- ImageLabel_4.Image = "rbxassetid://573081437"
- ImageLabel_4.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
- TextLabel_4.Parent = Scripts
- TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_4.BackgroundTransparency = 1
- TextLabel_4.Position = UDim2.new(0, 10, 1, -40)
- TextLabel_4.Size = UDim2.new(1, -20, 0, 20)
- TextLabel_4.Font = Enum.Font.SourceSansBold
- TextLabel_4.FontSize = Enum.FontSize.Size24
- TextLabel_4.Text = "Scripts"
- TextLabel_4.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
- Mask_4.Name = "Mask"
- Mask_4.Parent = Scripts
- Mask_4.BackgroundColor3 = Color3.new(1, 1, 1)
- Mask_4.BackgroundTransparency = 1
- Mask_4.Position = UDim2.new(0, 27, 0, 0)
- Mask_4.Size = UDim2.new(1, -56, 0, 65)
- Mask_4.Font = Enum.Font.SourceSans
- Mask_4.FontSize = Enum.FontSize.Size14
- Mask_4.Text = ""
- Miscellaneous.Name = "Miscellaneous"
- Miscellaneous.Parent = HomeContainer
- Miscellaneous.BackgroundColor3 = Color3.new(1, 1, 1)
- Miscellaneous.BackgroundTransparency = 1
- Miscellaneous.Position = UDim2.new(0.333000004, 10, 0.5, 0)
- Miscellaneous.Size = UDim2.new(0.333000004, -10, 0.5, -10)
- ImageLabel_5.Parent = Miscellaneous
- ImageLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel_5.BackgroundTransparency = 1
- ImageLabel_5.Position = UDim2.new(0.5, -23, 0, 0)
- ImageLabel_5.Size = UDim2.new(0, 46, 0, 46)
- ImageLabel_5.Image = "rbxassetid://573087376"
- ImageLabel_5.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
- TextLabel_5.Parent = Miscellaneous
- TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_5.BackgroundTransparency = 1
- TextLabel_5.Position = UDim2.new(0, 10, 1, -40)
- TextLabel_5.Size = UDim2.new(1, -20, 0, 20)
- TextLabel_5.Font = Enum.Font.SourceSansBold
- TextLabel_5.FontSize = Enum.FontSize.Size24
- TextLabel_5.Text = "Miscellaneous"
- TextLabel_5.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
- Mask_5.Name = "Mask"
- Mask_5.Parent = Miscellaneous
- Mask_5.BackgroundColor3 = Color3.new(1, 1, 1)
- Mask_5.BackgroundTransparency = 1
- Mask_5.Position = UDim2.new(0, 27, 0, 0)
- Mask_5.Size = UDim2.new(1, -56, 0, 65)
- Mask_5.Font = Enum.Font.SourceSans
- Mask_5.FontSize = Enum.FontSize.Size14
- Mask_5.Text = ""
- Settings.Name = "Settings"
- Settings.Parent = HomeContainer
- Settings.BackgroundColor3 = Color3.new(1, 1, 1)
- Settings.BackgroundTransparency = 1
- Settings.Position = UDim2.new(0.666000009, 10, 0.5, 0)
- Settings.Size = UDim2.new(0.333000004, -10, 0.5, -10)
- ImageLabel_6.Parent = Settings
- ImageLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel_6.BackgroundTransparency = 1
- ImageLabel_6.Position = UDim2.new(0.5, -23, 0, 0)
- ImageLabel_6.Size = UDim2.new(0, 46, 0, 46)
- ImageLabel_6.Image = "rbxassetid://573090294"
- ImageLabel_6.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
- TextLabel_6.Parent = Settings
- TextLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_6.BackgroundTransparency = 1
- TextLabel_6.Position = UDim2.new(0, 10, 1, -40)
- TextLabel_6.Size = UDim2.new(1, -20, 0, 20)
- TextLabel_6.Font = Enum.Font.SourceSansBold
- TextLabel_6.FontSize = Enum.FontSize.Size24
- TextLabel_6.Text = "Settings"
- TextLabel_6.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
- Mask_6.Name = "Mask"
- Mask_6.Parent = Settings
- Mask_6.BackgroundColor3 = Color3.new(1, 1, 1)
- Mask_6.BackgroundTransparency = 1
- Mask_6.Position = UDim2.new(0, 27, 0, 0)
- Mask_6.Size = UDim2.new(1, -56, 0, 65)
- Mask_6.Font = Enum.Font.SourceSans
- Mask_6.FontSize = Enum.FontSize.Size14
- Mask_6.Text = ""
- Navigator.Name = "Navigator"
- Navigator.Parent = Base
- Navigator.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
- Navigator.BackgroundTransparency = 0.5
- Navigator.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- Navigator.Position = UDim2.new(0, 10, 0, 35)
- Navigator.Size = UDim2.new(0, 125, 1, -45)
- Navigator.Visible = false
- Navigator.BottomImage = "rbxassetid://573102620"
- Navigator.MidImage = "rbxassetid://573102620"
- Navigator.ScrollBarThickness = 5
- Navigator.TopImage = "rbxassetid://573102620"
- Item.Name = "Item"
- Item.Parent = Navigator
- Item.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
- Item.BackgroundTransparency = 0.5
- Item.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- Item.Position = UDim2.new(0, 5, 0, 5)
- Item.Size = UDim2.new(1, -15, 0, 20)
- Item.Selected = true
- Item.Font = Enum.Font.SourceSans
- Item.FontSize = Enum.FontSize.Size14
- Item.Text = "NavItem"
- Item.TextColor3 = Color3.new(0.721569, 0.721569, 0.721569)
- ServerContainer.Name = "ServerContainer"
- ServerContainer.Parent = Base
- ServerContainer.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
- ServerContainer.BackgroundTransparency = 0.5
- ServerContainer.Position = UDim2.new(0, 140, 0, 35)
- ServerContainer.Size = UDim2.new(1, -150, 1, -45)
- ServerContainer.Visible = false
- ServerContainer.BottomImage = "rbxassetid://573102620"
- ServerContainer.MidImage = "rbxassetid://573102620"
- ServerContainer.ScrollBarThickness = 5
- ServerContainer.TopImage = "rbxassetid://573102620"
- dd.Name = "dd"
- dd.Parent = ServerContainer
- dd.BackgroundColor3 = Color3.new(0.0196078, 0.0313726, 0.0431373)
- dd.Position = UDim2.new(0, 6, 0, 6)
- dd.Size = UDim2.new(0.5, -10, 0, 20)
- dd.Visible = false
- dd.Font = Enum.Font.SourceSans
- dd.FontSize = Enum.FontSize.Size14
- dd.Text = "Troll Spam"
- dd.TextColor3 = Color3.new(0.780392, 0.780392, 0.780392)
- dd.TextStrokeTransparency = 0.5
- ImageLabel_7.Parent = dd
- ImageLabel_7.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel_7.BackgroundTransparency = 1
- ImageLabel_7.Position = UDim2.new(0, 2, 0, 0)
- ImageLabel_7.Size = UDim2.new(0, 20, 0, 20)
- ImageLabel_7.Image = "rbxassetid://133293265"
- LocalPlayerContainer.Name = "LocalPlayerContainer"
- LocalPlayerContainer.Parent = Base
- LocalPlayerContainer.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
- LocalPlayerContainer.BackgroundTransparency = 0.5
- LocalPlayerContainer.Position = UDim2.new(0, 140, 0, 35)
- LocalPlayerContainer.Size = UDim2.new(1, -150, 1, -45)
- LocalPlayerContainer.Visible = false
- LocalPlayerContainer.BottomImage = "rbxassetid://573102620"
- LocalPlayerContainer.MidImage = "rbxassetid://573102620"
- LocalPlayerContainer.ScrollBarThickness = 5
- LocalPlayerContainer.TopImage = "rbxassetid://573102620"
- PlayersContainer.Name = "PlayersContainer"
- PlayersContainer.Parent = Base
- PlayersContainer.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
- PlayersContainer.BackgroundTransparency = 0.5
- PlayersContainer.Position = UDim2.new(0, 140, 0, 35)
- PlayersContainer.Size = UDim2.new(1, -150, 1, -45)
- PlayersContainer.Visible = false
- PlayersContainer.BottomImage = "rbxassetid://573102620"
- PlayersContainer.MidImage = "rbxassetid://573102620"
- PlayersContainer.ScrollBarThickness = 5
- PlayersContainer.TopImage = "rbxassetid://573102620"
- function MakeContainer(n)
- local cont = PlayersContainer:Clone()
- cont.Name = n .. 'Container'
- cont.Parent = Base
- return cont
- end
- local ScriptsContainer = MakeContainer('Scripts')
- local MiscContainer = MakeContainer('Miscellaneous')
- local topkek = {}
- topkek.store = {}
- topkek.cache = {}
- topkek.libgui = {}
- topkek.libsettings = {}
- topkek.libutil = {}
- topkek.libwindows = {}
- topkek.libcmd = {}
- --[[ gay ass dropdown lib i made a while ago ]]--
- dropdown = {}
- dropdown.new = function(gui, items, placeholder)
- local self = {}
- self.value = placeholder
- self.items = items
- self.gui = gui
- if self.gui:FindFirstChild("__DROPDOWN") then
- self.gui["__DROPDOWN"]:Destroy()
- end
- self.debug = false
- self.gui.Text = placeholder
- self.gui.BorderSizePixel = 0
- self.gui.ZIndex = 1
- self.textcolor = self.gui.TextColor3
- function self.make()
- if self.gui:FindFirstChild("__DROPDOWN") then
- self.gui["__DROPDOWN"]:Destroy()
- end
- self.selectgui = Instance.new("ScrollingFrame")
- self.selectgui.Parent = self.gui
- self.selectgui.Name = "__DROPDOWN"
- self.selectgui.Size = UDim2.new(1, 0, 0, 100)
- self.selectgui.Position = UDim2.new(0, 0, 0, self.gui.AbsoluteSize.Y)
- self.selectgui.BorderSizePixel = 0
- self.selectgui.ZIndex = 2
- self.selectgui.BackgroundTransparency = self.gui.BackgroundTransparency
- self.selectgui.BackgroundColor3 = self.gui.BackgroundColor3
- self.selectgui.Visible = false
- self.selectgui.CanvasSize = UDim2.new(0, 0, 0, (#self.items-1) * 20)
- self.selectgui.ScrollBarThickness = 5
- if #self.items < 4 then
- self.selectgui.CanvasSize = UDim2.new(0, 0, 0, 0)
- self.selectgui.Size = UDim2.new(1, 0, 0, (#self.items-1) * 20)
- end
- self.item = Instance.new("TextButton")
- self.item.Size = UDim2.new(1, 0, 0, 20)
- self.item.Position = UDim2.new(0, 0, 0, 0)
- self.item.BackgroundTransparency = self.gui.BackgroundTransparency - 0.1
- self.item.BackgroundColor3 = self.gui.BackgroundColor3
- self.item.BorderSizePixel = 0
- self.item.ZIndex = 2
- self.item.TextColor3 = self.gui.TextColor3
- self.item.Font = Enum.Font.SourceSans
- self.item.FontSize = Enum.FontSize.Size14
- self.curitem = nil
- for i, v in pairs(self.items) do
- if not (v == self.value) then
- local ti = self.item:Clone()
- ti.Parent = self.selectgui
- if i == 1 then i = 2 end
- ti.Position = UDim2.new(0, 0, 0, (i - 2) * 20)
- ti.Text = v
- ti.MouseButton1Down:connect(function()
- self.value = v
- self.open = false
- self.selectgui.Visible = false
- self.gui.Text = v
- self.make()
- end)
- end
- end
- end
- self.getvalue = function()
- return self.value
- end
- self.update = function(itms)
- self.items = itms
- self.make()
- end
- self.open = false
- self.gui.MouseButton1Down:connect(function()
- if self.open == false then
- self.selectgui.CanvasPosition = Vector2.new(0, 0)
- self.selectgui.Visible = true
- self.open = true
- else
- self.selectgui.Visible = false
- self.open = false
- end
- end)
- self.make()
- return self
- end
- --[[ libsettings lole ]]--
- topkek.libsettings.store = {}
- function topkek.libsettings:getSetting(k)
- return topkek.libsettings.store[k]
- end
- function topkek.libsettings:setSetting(k,v)
- topkek.libsettings.store[k]=v
- end
- -- [[ libutil ]] --
- function topkek.libutil:createObject(o, p)
- local a, b = pcall(function()
- Instance.new(o)
- end)
- if not a then
- return
- end
- local obj = Instance.new(o)
- for prop, val in pairs(p) do
- pcall(function()
- obj[prop] = val
- end)
- end
- return obj
- end
- function topkek.libutil:Color3(r,g,b)
- return Color3.new(r/255,g/255,b/255)
- end; color3 = function(r,g,b) return topkek.libutil:Color3(r,g,b) end
- function topkek.libutil:recurseDecal(img)--topkek2.0 code tbh
- img = 'rbxassetid://' .. img
- local function skybox(x)
- local sky = Instance.new("Sky",game.Lighting)
- local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
- for i,v in pairs(fcs) do
- sky["Skybox"..v]=x
- end
- end
- local function particle(p, b)
- local a = Instance.new("ParticleEmitter", p)
- a.Rate = 500
- a.Lifetime = NumberRange.new(20, 30)
- a.VelocitySpread = 200
- a.Texture = b
- end
- local function decal(p, b)
- local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
- for i, v in pairs(sides) do
- local a = Instance.new("Decal", p)
- a.Texture = b
- a.Face = v
- end
- end
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function() -- 'error occured, no output from Lua' LOLE
- if v:IsA("BasePart") then
- particle(v, img)
- decal(v, img)
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(game)
- skybox(img)
- end
- function topkek.libutil:recurseRemove(type_)
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function()
- if v:IsA(type_) then
- v:Destroy()
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(game)
- end
- function topkek.libutil:recurseSet(type_,prop,val)
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function()
- if v:IsA(type_) then
- v[prop]=val
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(game)
- end
- function topkek.libutil:recurseSetObj(obj,type_,prop,val)
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function()
- if v:IsA(type_) then
- v[prop]=val
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(obj)
- end
- function topkek.libutil:recurseFunc(type_,func)
- local function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- pcall(function()
- if v:IsA(type_) then
- func(v)
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end)
- end
- end
- recurse(game)
- end
- function topkek.libutil:Play(id)
- local mu = Instance.new("Sound", game.Workspace)
- mu.Volume = 1
- mu.Looped = true
- mu.Pitch = 1
- mu.SoundId = "rbxassetid://"..tostring(id)
- mu:Play()
- end
- function topkek.libutil:GetPlayerList()
- local list = {'Everybody'}
- for i, v in pairs(game:service'Players':GetPlayers()) do
- table.insert(list, v.Name)
- end
- return list
- end
- function topkek.libutil:doPlayers(drop, func)
- local str = drop.getvalue()
- local plrs = {}
- if str == 'Everybody' then
- plrs = game:GetService('Players'):GetPlayers()
- else
- plrs = {game:GetService('Players'):FindFirstChild(str)}
- end
- for i, v in pairs(plrs) do
- func(v)
- end
- end
- function topkek.libutil:insert(id)
- if topkek.cache[id] then return topkek.cache[id] end -- moist
- local obj = game:service'InsertService':LoadAsset(id):GetChildren()[1]
- topkek.cache[id] = obj:Clone()
- return obj
- end; insert = function(id) return topkek.libutil:insert(id) end
- function topkek.libutil:getTorso(plr) --r15 compatibility lole
- if plr.Character then
- if plr.Character:FindFirstChild('UpperTorso') then
- return plr.Character.UpperTorso
- else
- return plr.Character.Torso
- end
- end
- end
- function topkek.libutil:weiner(plr)
- plr=plr.Character
- Shaft=Instance.new("Part", plr)
- Shaft.Name='Shaft'
- Shaft.Size=Vector3.new(1, 2.5, 1)
- Shaft.TopSurface=0
- Shaft.BottomSurface=0
- Shaft.CanCollide=true
- Cyln=Instance.new("CylinderMesh", Shaft)
- Cyln.Scale=Vector3.new(0.5,0.7,0.5)
- Instance.new("Weld", plr)
- plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
- plr.Weld.Part1=plr.Shaft
- plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
- Shaft.BrickColor=BrickColor.new("Pastel brown")
- Tip=Instance.new("Part", plr)
- Tip.Name='Tip'
- Tip.TopSurface=0
- Tip.BottomSurface=0
- Tip.Size=Vector3.new(1, 1, 1)
- Tip.CanCollide=true
- Tip.Touched:connect(function(prt) if prt.Parent~=player then spawn(function() for i=1, 5 do local pert=Instance.new("Part", player) pert.CFrame=CFrame.new(prt.Position) pert.CanCollide=true local mesh=Instance.new("BlockMesh", pert) mesh.Scale=Vector3.new(0.2,0.2,0.2) pert.BrickColor=BrickColor.new("White") end end) end end)
- Cyln2=Instance.new("SpecialMesh", Tip)
- Cyln2.MeshType='Sphere'
- Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
- Instance.new("Weld", plr).Name='Weld2'
- plr.Weld2.Part0=plr.Shaft
- plr.Weld2.Part1=plr.Tip
- plr.Weld2.C0=CFrame.new(0,-.9,0)
- Tip.BrickColor=BrickColor.new("Pink")
- -----
- Ball1=Instance.new("Part", plr)
- Ball1.Name='Ball1'
- Ball1.Size=Vector3.new(1, 1, 1)
- Ball1.TopSurface=0
- Ball1.BottomSurface=0
- Cyln3=Instance.new("SpecialMesh", Ball1)
- Cyln3.MeshType='Sphere'
- Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
- Instance.new("Weld", plr).Name='Weld3'
- plr.Weld3.Part0=plr.Shaft
- plr.Weld3.Part1=plr.Ball1
- plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
- Ball1.BrickColor=BrickColor.new("Pastel brown")
- -----
- Ball2=Instance.new("Part", plr)
- Ball2.Name='Ball2'
- Ball2.Size=Vector3.new(1, 1, 1)
- Ball2.TopSurface=0
- Ball2.BottomSurface=0
- Cyln3=Instance.new("SpecialMesh", Ball2)
- Cyln3.MeshType='Sphere'
- Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
- Instance.new("Weld", plr).Name='Weld4'
- plr.Weld4.Part0=plr.Shaft
- plr.Weld4.Part1=plr.Ball2
- plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
- Ball2.BrickColor=BrickColor.new("Pastel brown")
- end
- function topkek.libutil:scalePlayer(plr, sz)
- local pchar = plr.Character
- if pchar:FindFirstChild("UpperTorso") then
- warn("Player [" ..plr.Name.. "] is R15.")
- return
- end
- local function scale(chr,scl)
- for _,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") then
- v:Clone()
- v.Parent = game.Lighting
- end
- end
- local Head = chr['Head']
- local Torso = chr['Torso']
- local LA = chr['Left Arm']
- local RA = chr['Right Arm']
- local LL = chr['Left Leg']
- local RL = chr['Right Leg']
- local HRP = chr['HumanoidRootPart']
- wait(0.1)
- Head.formFactor = 3
- Torso.formFactor = 3
- LA.formFactor = 3
- RA.formFactor = 3
- LL.formFactor = 3
- RL.formFactor = 3
- HRP.formFactor = 3
- Head.Size = Vector3.new(scl * 2, scl, scl)
- Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
- LA.Size = Vector3.new(scl, scl * 2, scl)
- RA.Size = Vector3.new(scl, scl * 2, scl)
- LL.Size = Vector3.new(scl, scl * 2, scl)
- RL.Size = Vector3.new(scl, scl * 2, scl)
- HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
- local Motor1 = Instance.new('Motor6D', Torso)
- Motor1.Part0 = Torso
- Motor1.Part1 = Head
- Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
- Motor1.Name = "Neck"
- local Motor2 = Instance.new('Motor6D', Torso)
- Motor2.Part0 = Torso
- Motor2.Part1 = LA
- Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor2.Name = "Left Shoulder"
- local Motor3 = Instance.new('Motor6D', Torso)
- Motor3.Part0 = Torso
- Motor3.Part1 = RA
- Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor3.Name = "Right Shoulder"
- local Motor4 = Instance.new('Motor6D', Torso)
- Motor4.Part0 = Torso
- Motor4.Part1 = LL
- Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
- Motor4.Name = "Left Hip"
- local Motor5 = Instance.new('Motor6D', Torso)
- Motor5.Part0 = Torso
- Motor5.Part1 = RL
- Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
- Motor5.Name = "Right Hip"
- local Motor6 = Instance.new('Motor6D', HRP)
- Motor6.Part0 = HRP
- Motor6.Part1 = Torso
- Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
- end
- scale(pchar, sz)
- for _,v in pairs(game.Lighting:GetChildren()) do
- if v:IsA("Hat") then
- v.Parent = pchar
- end
- end
- end
- function topkek.libutil:dickShooter()
- Player = game:GetService("Players").LocalPlayer
- Character = Player.Character
- PlayerGui = Player.PlayerGui
- Backpack = Player.Backpack
- Torso = Character.Torso
- Head = Character.Head
- 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"]
- Tool = Instance.new("HopperBin")
- Tool.Parent = Backpack
- Tool.Name = "Painis"
- Bin = Tool
- 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
- wait()
- sou:play()
- wait(6)
- sou:Remove()
- end
- ))
- end
- ob1d = function(mouse)
- size = 0.5
- mode = 1
- color = BrickColor.new(Color3.new(math.random(), math.random(), math.random()))
- mo = Instance.new("Model")
- mo.Name = "EEEEUGH HA HA HAAAAA"
- mo.Parent = workspace
- game.Debris:AddItem(mo, 10)
- p = Instance.new("Seat")
- p.Name = "Torso"
- p.Size = Vector3.new(14, 50, 14) * size
- p.BrickColor = color
- m = Instance.new("SpecialMesh")
- m.Parent = p
- p.Name = "Torso"
- p.Parent = mo
- p = Instance.new("Seat")
- p.Shape = "Ball"
- p.Size = Vector3.new(24, 24, 24) * size
- p.BrickColor = color
- p.Name = "Legball"
- for i = 1, 10 do
- lol = Instance.new("Seat")
- lol.BrickColor = BrickColor:Black()
- lol.Name = "SEE?"
- lol.Parent = mo
- lol.Size = Vector3.new(1, math.random(30, 40), 1) * size
- w = Instance.new("Weld")
- w.Part0 = p
- w.Part1 = lol
- w.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
- w.Parent = w.Part0
- end
- p.Parent = mo
- w = Instance.new("Weld")
- w.Part0 = mo.Torso
- w.Part1 = p
- w.C0 = CFrame.new(16 * (size / 2), -48 * (size / 2), 0)
- w.Parent = w.Part0
- p = Instance.new("Seat")
- p.Shape = "Ball"
- p.Size = Vector3.new(24, 24, 24) * size
- p.BrickColor = color
- p.Name = "Legball"
- for i = 1, 10 do
- lol = Instance.new("Seat")
- lol.BrickColor = BrickColor:Black()
- lol.Name = "SEE?"
- lol.Parent = mo
- lol.Size = Vector3.new(1, math.random(30, 40), 1) * size
- w = Instance.new("Weld")
- w.Part0 = p
- w.Part1 = lol
- w.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
- w.Parent = w.Part0
- end
- p.Parent = mo
- w = Instance.new("Weld")
- w.Part0 = mo.Torso
- w.Part1 = p
- w.C0 = CFrame.new(-16 * (size / 2), -48 * (size / 2), 0)
- w.Parent = w.Part0
- p = Instance.new("Seat")
- p.Shape = "Ball"
- p.Size = Vector3.new(21, 15, 21) * size
- p.BrickColor = color
- p.Name = "Legball"
- for i = 1, 10 do
- lol = Instance.new("Seat")
- lol.BrickColor = BrickColor:Black()
- lol.Name = "SEE?"
- lol.Parent = mo
- lol.Size = Vector3.new(1, math.random(30, 40), 1) * size
- w = Instance.new("Weld")
- w.Part0 = p
- w.Part1 = lol
- w.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
- w.Parent = w.Part0
- end
- p.Parent = mo
- w = Instance.new("Weld")
- w.Part0 = mo.Torso
- w.Part1 = p
- w.C0 = CFrame.new(0, 60 * (size / 2), 0)
- m = Instance.new("SpecialMesh")
- m.Parent = p
- p.Name = "Head"
- w.Parent = w.Part0
- s = Instance.new("Sound")
- s.Parent = mo.Torso
- s.Volume = 100
- s.Pitch = 1
- s.SoundId = "http://www.roblox.com/asset/?id=149779810"
- s.Looped = true
- s:play()
- coroutine.resume(coroutine.create(function(Part)
- while Part.Parent ~= nil do
- wait(math.random())
- so("http://www.roblox.com/asset/?id=148636758", Part, 100, 1)
- end
- end
- ), mo.Torso)
- mo.Torso.CFrame = mo.Torso.CFrame * Torso.CFrame * CFrame.new(0, 0, -50 * size) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
- mo.Torso.Velocity = mouse.Hit.lookVector * 400
- coroutine.resume(coroutine.create(function(Part)
- while 1 do
- wait(math.random(0, 1) + math.random())
- Part.RotVelocity = Vector3.new(math.random(-40, 40), math.random(-40, 40), math.random(-40, 40))
- end
- end
- ), mo.Torso)
- end
- ob1u = function(mouse)
- end
- buttonhold = false
- key = function(key, mouse)
- end
- key2 = function(key, mouse)
- end
- s = function(mouse)
- mouse.Button1Down:connect(function()
- ob1d(mouse)
- end
- )
- mouse.Button1Up:connect(function()
- ob1u(mouse)
- end
- )
- mouse.KeyDown:connect(key)
- mouse.KeyUp:connect(key2)
- end
- ds = function(mouse)
- end
- Bin.Selected:connect(s)
- Bin.Deselected:connect(ds)
- end
- --[[ libgui xd ]]--
- topkek.libgui.seperation = 12
- function topkek.libgui:addLeftIcon(parent, img, sz)
- topkek.libutil:createObject('ImageLabel', {
- Parent = parent;
- BackgroundTransparency = 1;
- Position = UDim2.new(0, 2, 0, 0);
- Size = UDim2.new(0, sz, 0, sz);
- Image = img;
- })
- end
- function topkek.libgui:hookContainer(o, sepr, stt)
- if not o:IsA("ScrollingFrame") then
- return nil
- end
- local self = {}
- self.main = o
- self.drawX = 0
- self.drawY = stt or topkek.libgui.seperation/2
- self.drawHeight = 0
- self.sepr = sepr or topkek.libgui.seperation
- function self:drawButton(sz, txt, func, ysz, cbgd)
- local xposOffset = 0
- local xposScale = self.drawX
- local xszOffset = 0
- local xszScale = sz
- if not (self.drawX == 0) then
- xszOffset = -4
- if sz + self.drawX > 0.998 then
- xszOffset = -11
- end
- elseif sz == 1 then
- xszOffset = -(self.sepr) - 5
- xposOffset = self.sepr/2
- else
- xszOffset = -4 + -(self.sepr/2)
- xposOffset = self.sepr/2
- end
- if not ysz then ysz = 20 end
- local obj = topkek.libutil:createObject("TextButton", {
- Parent = self.main;
- BackgroundColor3 = cbgd or color3(15, 23, 30);
- BorderColor3 = color3(27, 42, 53);
- Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
- Size = UDim2.new(xszScale, xszOffset, 0, ysz);
- Font = 'SourceSans';
- FontSize = 'Size14';
- Text = txt;
- TextSize = 14;
- TextColor3 = color3(199, 199, 199);
- TextStrokeTransparency = 0.5;
- })
- obj.MouseButton1Down:connect(function()
- func()
- end)
- if ysz > self.drawHeight then
- self.drawHeight = ysz
- end
- self.drawX = self.drawX + sz
- if self.drawX > 0.998 then
- self.drawY = self.drawY + 3 + self.drawHeight
- self.drawX = 0
- self.drawHeight = 0
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- end
- return obj
- end
- function self:GetChildren()
- return self.main:GetChildren()
- end
- function self:getDrawY()
- return self.drawY
- end
- function self:setDrawY(y)
- self.drawY = y
- end
- function self:drawTextBox(sz, txt, ysz, cbgd)
- local xposOffset = 0
- local xposScale = self.drawX
- local xszOffset = 0
- local xszScale = sz
- if not (self.drawX == 0) then
- xszOffset = -4
- if sz + self.drawX > 0.998 then
- xszOffset = -11
- end
- elseif sz == 1 then
- xszOffset = -(self.sepr) - 5
- xposOffset = self.sepr/2
- else
- xszOffset = -4 + -(self.sepr/2)
- xposOffset = self.sepr/2
- end
- if not ysz then ysz = 20 end
- local obj = topkek.libutil:createObject("TextBox", {
- Parent = self.main;
- BackgroundColor3 = cbgd or color3(5, 8, 11);
- BorderColor3 = color3(27, 42, 53);
- Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
- Size = UDim2.new(xszScale, xszOffset, 0, ysz);
- Font = 'SourceSans';
- FontSize = 'Size14';
- Text = txt;
- TextSize = 14;
- TextColor3 = color3(199, 199, 199);
- })
- if ysz > self.drawHeight then
- self.drawHeight = ysz
- end
- self.drawX = self.drawX + sz
- if self.drawX > 0.998 then
- self.drawY = self.drawY + 3 + self.drawHeight
- self.drawX = 0
- self.drawHeight = 0
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- end
- return obj
- end
- function self:drawScrollingContainer(ysz)
- local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
- local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
- local obj = topkek.libutil:createObject("ScrollingFrame", {
- Parent = self.main;
- BackgroundColor3 = color3(7, 11, 15);
- BorderColor3 = color3(27, 42, 53);
- Position = pos;
- Size = sz;
- BottomImage = 'rbxassetid://573102620';
- MidImage = 'rbxassetid://573102620';
- TopImage = 'rbxassetid://573102620';
- ScrollBarThickness = 5;
- })
- self.drawY = self.drawY + 5 + ysz
- self.drawX = 0
- self.drawHeight = 0
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- return topkek.libgui:hookContainer(obj, 12, 5)
- end
- function self:drawContainer(xsz, ysz)
- local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
- local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
- local obj = topkek.libutil:createObject("ScrollingFrame", {
- Parent = self.main;
- BackgroundTransparency = 1;
- Position = pos;
- Size = sz;
- })
- self.drawY = self.drawY + 5 + ysz
- self.drawX = 0
- self.drawHeight = 0
- self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
- return topkek.libgui:hookContainer(obj, 12, 5)
- end
- function self:addSpacing()
- self.drawY = self.drawY + 3
- end
- function self:center()
- local a,c,b=
- self.main.Position.X.Scale,
- self.main.Position.X.Offset,self.main.Size.Y.Offset
- self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
- end
- return self
- end
- --[[ windows ]]--
- topkek.libwindows.windows = {}
- function topkek.libwindows:registerWindow(w)
- table.insert(topkek.libwindows.windows, w)
- end
- function topkek.libwindows:switchWindow(w, x)
- for _, k in pairs(topkek.libwindows.windows) do
- if k.Name == w then
- k.Visible = true
- else
- k.Visible = false
- end
- end
- if w == 'HomeContainer' then
- base.Navigator.Visible = false
- else
- base.Navigator.Visible = true
- end
- base.Top.Location.Text = x
- end
- function topkek.libwindows:initiateNavigator()
- local nav = base.Navigator
- local template = nav.Item:Clone(); nav.Item:Destroy();
- local wins = topkek.libsettings:getSetting('windows')
- local y = 5
- for _, k in pairs(wins) do
- local o = template:Clone()
- o.Parent = nav
- o.Position = UDim2.new(0, 5, 0, y)
- o.Text = k
- o.MouseButton1Down:connect(function()
- topkek.libwindows:switchWindow(k .. 'Container', k)
- end)
- y = y + 25
- end
- nav.CanvasSize = UDim2.new(0, 0, 0, y)
- end
- function topkek.libwindows:initiateHome()
- local home = base.HomeContainer
- home.LocalPlayer.Mask.MouseButton1Down:connect(function()
- topkek.libwindows:switchWindow('LocalPlayerContainer', 'LocalPlayer')
- end)
- home.Server.Mask.MouseButton1Down:connect(function()
- topkek.libwindows:switchWindow('ServerContainer', 'Server')
- end)
- home.Scripts.Mask.MouseButton1Down:connect(function()
- topkek.libwindows:switchWindow('ScriptsContainer', 'Scripts')
- end)
- home.Miscellaneous.Mask.MouseButton1Down:connect(function()
- topkek.libwindows:switchWindow('MiscellaneousContainer', 'Miscellaneous')
- end)
- home.Players.Mask.MouseButton1Down:connect(function()
- topkek.libwindows:switchWindow('PlayersContainer', 'Players')
- end)
- home.Settings.Mask.MouseButton1Down:connect(function()
- topkek.libwindows:switchWindow('SettingsContainer', 'Settings')
- end)
- end
- --[[ defines ]]--
- topkek.libsettings:setSetting('version', '1.0.0')
- topkek.libsettings:setSetting('bans', {})
- topkek.libsettings:setSetting('admins', {})
- topkek.libsettings:setSetting('windows', {
- 'Home';
- 'Server';
- 'LocalPlayer';
- 'Players';
- 'Scripts';
- 'Miscellaneous';
- 'Settings';
- 'Explorer';
- 'Gear';
- 'Hats';
- 'Music';
- 'Effects';
- 'Filtering';
- 'Commands';
- })
- topkek.libsettings:setSetting('misc', {
- 'Explorer';
- 'Gear';
- 'Hats';
- 'Music';
- 'Effects';
- 'Filtering';
- 'Commands';
- })
- topkek.store.gui = ScreenGui; gui = topkek.store.gui -- change later
- topkek.store.base = topkek.store.gui['Base']; base = topkek.store.base
- -- [[ server ]] --
- --sz, txt, func, ysz, cbgd
- local servwin = topkek.libgui:hookContainer(base['ServerContainer'])
- local decalList, decalImp = servwin:drawScrollingContainer(100)
- local decalAct = servwin:drawButton(2/3,'Spam Decal',function()
- topkek.libutil:recurseDecal(decalImp.Text)end)
- decalImp = servwin:drawTextBox(1/3,'573896613')
- servwin:drawButton(1,'Rollback Spam',function()
- topkek.libutil:recurseRemove('ParticleEmitter')
- topkek.libutil:recurseRemove('Decal')
- end)
- local decs = {
- {'Cerberus', '573896613'},
- {'Rain', '574772793'},
- {'Robbie', '574773630'},
- {'Pepe', '244905904'},
- {'Troll Face', '48308661'},
- {'Jeff', '109129888'},
- {'Shrek', '170539018'},
- {'Doge', '133720697'},
- {'Dat Boi', '409578848'},
- }
- for _, v in pairs(decs) do
- local b = decalList:drawButton(1, v[1], function()decalImp.Text=v[2]end,20,color3(5,8,11))
- topkek.libgui:addLeftIcon(b,'rbxassetid://'..v[2],20)
- end
- servwin:addSpacing()
- -- [[lighting]] --
- -- <<time>> --
- local timeInp
- servwin:drawButton(2/3,'Set Time',function()
- game:GetService('Lighting').TimeOfDay = timeImp.Text .. ":00:00"
- end)
- timeImp = servwin:drawTextBox(1/3,'14')
- -- <<fog> --
- local fogInp
- servwin:drawButton(2/3,'Set FogEnd',function()
- if not tonumber(fogInp.Text) then return end
- game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
- end)
- fogInp = servwin:drawTextBox(1/3,'100000')
- -- <<brightness>> --
- local brightInp
- servwin:drawButton(2/3,'Set Brightness',function()
- if not tonumber(brightInp.Text) then return end
- game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
- end)
- brightInp = servwin:drawTextBox(1/3,'1')
- -- <<reset>> --
- servwin:drawButton(1,'Reset Lighting',function()
- local l = game:service'Lighting'
- l.Ambient = Color3.new(0, 0, 0)
- l.Brightness = 1
- l.GlobalShadows = true
- l.Outlines = true
- l.FogEnd = 100000
- l.FogStart = 0
- l:SetMinutesAfterMidnight(12*60)
- end)
- -- [[ fixing ]] --
- servwin:addSpacing()
- servwin:drawButton(1/2,'Clear Server',function()
- for i,v in pairs(game:service'Workspace':GetChildren()) do
- if (not v:IsA("Terrain"))and(v.Name~="Camera") then
- v:Destroy()
- end
- end
- end)
- servwin:drawButton(1/2,'Shutdown',function()
- for i,v in pairs(game:GetService('Players')) do
- v.Parent = nil
- end
- end)
- servwin:drawButton(1/2,'Remove Sound',function()
- topkek.libutil:recurseRemove('Sound')
- end)
- servwin:drawButton(1/2,'Baseplate',function()
- for X = -2500, 2500, 512 do
- for Z = -2500, 2500, 512 do
- local P = Instance.new("Part")
- P.Anchored = true
- P.Locked = true
- P.Size = Vector3.new(512,3,512)
- P.CFrame = CFrame.new(X,0,Z)
- P.BrickColor = BrickColor.Green()
- P.Parent = game:service'Workspace'
- end
- end
- end)
- --[[ destruction ]]--
- servwin:addSpacing()
- servwin:drawButton(1/2,'Clear Terrain',function()
- game:service'Workspace'.Terrain:Clear()
- end)
- servwin:drawButton(1/2,'Flood',function()
- game:service'Workspace'.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")
- end)
- servwin:drawButton(1/2,'Reflectancy',function()
- topkek.libutil:recurseSet('BasePart','Reflectance',1)
- end)
- servwin:drawButton(1/2,'Transparency',function()
- topkek.libutil:recurseSet('BasePart','Transparency',1)
- end)
- servwin:drawButton(1/2,'666',function()
- for i,v in next,workspace:children''do
- if(v:IsA'BasePart')then
- me=v;
- bbg=Instance.new('BillboardGui',me);
- bbg.Name='stuf';
- bbg.Adornee=me;
- bbg.Size=UDim2.new(2.5,0,2.5,0)
- --bbg.StudsOffset=Vector3.new(0,2,0)
- tlb=Instance.new'TextLabel';
- tlb.Text='666 666 666 666 666 666';
- tlb.Font='SourceSansBold';
- tlb.FontSize='Size48';
- tlb.TextColor3=Color3.new(1,0,0);
- tlb.Size=UDim2.new(1.25,0,1.25,0);
- tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
- tlb.BackgroundTransparency=1;
- tlb.Parent=bbg;
- end;end;
- --coroutine.wrap(function()while wait''do
- s=Instance.new'Sound';
- s.Parent=workspace;
- s.SoundId='rbxassetid://152840862';
- s.Pitch=1;
- s.Volume=1;
- s.Looped=true;
- s:play();
- --end;end)();
- function xds(dd)
- for i,v in next,dd:children''do
- if(v:IsA'BasePart')then
- v.BrickColor=BrickColor.new'Really black';
- v.TopSurface='Smooth';
- v.BottomSurface='Smooth';
- s=Instance.new('SelectionBox',v);
- s.Adornee=v;
- s.Color=BrickColor.new'Really red';
- a=Instance.new('PointLight',v);
- a.Color=Color3.new(1,0,0);
- a.Range=15;
- a.Brightness=5;
- f=Instance.new('Fire',v);
- f.Size=19;
- f.Heat=22;
- end;
- game.Lighting.TimeOfDay=0;
- game.Lighting.Brightness=0;
- game.Lighting.ShadowColor=Color3.new(0,0,0);
- game.Lighting.Ambient=Color3.new(1,0,0);
- game.Lighting.FogEnd=200;
- game.Lighting.FogColor=Color3.new(0,0,0);
- local dec = 'http://www.roblox.com/asset/?id=19399245';
- local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
- --coroutine.wrap(function()
- --for _,__ in pairs(fac) do
- --local ddec = Instance.new("Decal", v)
- --ddec.Face = __
- --ddec.Texture = dec
- --end end)()
- if #(v:GetChildren())>0 then
- xds(v)
- end
- end
- end
- xds(game.Workspace)
- end)
- servwin:drawButton(1/2,'Troll',function()
- topkek.libutil:recurseDecal('48308661')
- topkek.libutil:Play(154664102)
- end)
- servwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
- local materiallist =
- {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
- Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
- Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
- Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
- Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
- local function r(where)
- for _,v in pairs (where:GetChildren()) do
- if v:IsA("BasePart") then
- spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace)
- end)
- servwin:drawButton(1/2,'Materialize',function()
- local function r(where)
- for _,v in pairs (where:GetChildren()) do
- if v:IsA("BasePart") then
- spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace)
- end)
- servwin:drawButton(1/2,'Meshify',function()
- local enums={
- Enum.MeshType.Head;
- Enum.MeshType.Torso;
- Enum.MeshType.Wedge;
- Enum.MeshType.Brick;
- Enum.MeshType.Sphere;
- Enum.MeshType.Cylinder;
- }
- topkek.libutil:recurseFunc('BasePart',function(o)
- local mesh = Instance.new('SpecialMesh', o)
- mesh.MeshType = enums[math.random(1,#enums)]
- end)
- end)
- servwin:drawButton(1/2,'Loop-Meshify',function()
- coroutine.wrap(function()
- while true do
- local enums={
- Enum.MeshType.Head;
- Enum.MeshType.Torso;
- Enum.MeshType.Wedge;
- Enum.MeshType.Brick;
- Enum.MeshType.Sphere;
- Enum.MeshType.Cylinder;
- }
- topkek.libutil:recurseFunc('BasePart',function(o)
- if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
- local mesh = Instance.new('SpecialMesh', o)
- mesh.MeshType = enums[math.random(1,#enums)]
- end)
- wait(0.5)
- end
- end)()
- end)
- --<<<< END OF SERVER MENU >>>>--
- plrwin = topkek.libgui:hookContainer(base['PlayersContainer'])
- local plrDrop = plrwin:drawButton(1,'test-dropdown',function()end)
- plrDrop = dropdown.new(plrDrop,topkek.libutil:GetPlayerList(),'Everybody')
- game:GetService('Players').PlayerAdded:connect(function()
- plrDrop.update(topkek.libutil:GetPlayerList())
- end)
- game:GetService('Players').PlayerRemoving:connect(function()
- plrDrop.update(topkek.libutil:GetPlayerList())
- end)
- plrwin:addSpacing()
- local actions = plrwin --plrwin:drawScrollingContainer(163) [[lole]]
- actions:drawButton(1/3, 'Kill', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character:FindFirstChild('Humanoid') then
- z.Character.Humanoid.Health = 0
- end
- end)
- end)
- actions:drawButton(1/3, 'Freeze', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character:FindFirstChild('Humanoid') then
- topkek.libutil:getTorso(z).Anchored = true
- end
- end)
- end)
- actions:drawButton(1/3, 'Thaw', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character:FindFirstChild('Humanoid') then
- topkek.libutil:getTorso(z).Anchored = false
- end
- end)
- end)
- actions:drawButton(1/3, 'Fire', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- Instance.new("Fire", topkek.libutil:getTorso(z))
- end
- end)
- end)
- actions:drawButton(1/3, 'Sparkles', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- Instance.new("Sparkles", topkek.libutil:getTorso(z))
- end
- end)
- end)
- actions:drawButton(1/3, 'Smoke', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- Instance.new("Smoke", topkek.libutil:getTorso(z))
- end
- end)
- end)
- actions:drawButton(1/3, 'BTools', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- local a = Instance.new("HopperBin")
- a.BinType = "GameTool"
- a.Parent = z.Backpack
- local a = Instance.new("HopperBin")
- a.BinType = "Clone"
- a.Parent = z.Backpack
- local a = Instance.new("HopperBin")
- a.BinType = "Hammer"
- a.Parent = z.Backpack
- end)
- end)
- actions:drawButton(1/3, 'Kick', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- local function doKick()
- if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
- z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
- local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
- spawn(function()
- repeat wait()
- if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
- SP.Position = z.Character.HumanoidRootPart.Position
- end
- until not game:GetService('Players'):FindFirstChild(z.Name)
- end)
- z.Character.Torso.Anchored = true
- end
- end
- repeat
- doKick()
- wait()
- until not z
- end)
- end)
- actions:drawButton(1/3, 'Nil', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- z.Parent = nil
- end)
- end)
- actions:drawButton(1/3, 'Bring', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- z.Character.HumanoidRootPart.CFrame =
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
- end
- end)
- end)
- actions:drawButton(1/3, 'Goto', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
- z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
- end
- end)
- end)
- actions:drawButton(1/3, 'Freefall', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- z.Character.HumanoidRootPart.CFrame = z.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)
- end
- end)
- end)
- actions:drawButton(1/3, 'Sword', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- insert(125013769).Parent = z.Backpack
- end)
- end)
- actions:drawButton(1/3, 'Guns', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- insert(130113146).Parent = z.Backpack
- insert(67747912).Parent = z.Backpack
- insert(95354288).Parent = z.Backpack
- end)
- end)
- actions:drawButton(1/3, 'Knife', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- insert(170897263).Parent = z.Backpack
- end)
- end)
- actions:drawButton(1/3, 'Stun', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if not z.Character:FindFirstChild('UpperTorso') then
- z.Character.Torso.CFrame = z.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
- end
- z.Character.Humanoid.PlatformStand = true
- end)
- end)
- actions:drawButton(1/3, 'Invisible', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Transparency', 1)
- topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Transparency', 1)
- end
- end)
- end)
- actions:drawButton(1/3, 'Visible', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Transparency', 0)
- topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Transparency', 1)
- end
- end)
- end)
- actions:drawButton(1/3, 'God', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character:FindFirstChild('Humanoid') then
- z.Character.Humanoid.MaxHealth = math.huge
- z.Character.Humanoid.Health = math.huge
- end
- end)
- end)
- actions:drawButton(1/3, 'Semigod', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character:FindFirstChild('Humanoid') then
- z.Character.Humanoid.MaxHealth = 9999999999
- z.Character.Humanoid.Health = 9999999999
- end
- end)
- end)
- actions:drawButton(1/3, 'Nuke', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- local torso = topkek.libutil:getTorso(z)
- local nuke = Instance.new("Part", game.Workspace)
- local opos = torso.CFrame
- nuke.BrickColor = BrickColor.new("Bright yellow")
- nuke.TopSurface = Enum.SurfaceType.Smooth
- nuke.BottomSurface = Enum.SurfaceType.Smooth
- nuke.Anchored = true
- nuke.CanCollide = false
- nuke.Shape = "Ball"
- nuke.Transparency = 0.5
- nuke.CFrame = torso.CFrame
- nuke.Size = Vector3.new(1, 1, 1)
- nuke.Touched:connect(function(p)
- local expl = Instance.new("Explosion", p)
- expl.BlastPressure = 50000
- expl.BlastRadius = 50
- expl.Position = p.Position
- p.Material = Enum.Material.CorrodedMetal
- p:BreakJoints()
- end)
- for i = 1, 150 do
- nuke.Size = Vector3.new(i, i, i)
- nuke.CFrame = opos
- wait(0.08)
- end
- nuke:Destroy()
- end)
- end)
- actions:drawButton(1/3, 'Confuse', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character:FindFirstChild('Humanoid') then
- z.Character.Humanoid.WalkSpeed = -16
- end
- end)
- end)
- actions:drawButton(1/3, 'Goldify', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Material', 'Marble')
- topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Material', 'Marble')
- topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
- topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
- end
- end)
- end)
- actions:drawButton(1/3, 'Neon', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Material', 'Neon')
- topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Material', 'Neon')
- end
- end)
- end)
- actions:drawButton(1/3, 'Insane', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- for i,v in pairs(topkek.libutil:getTorso(z):GetChildren()) do
- if v:IsA("Motor6D") then
- coroutine.wrap(function()
- while v do
- v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- wait()
- end
- end)()
- end
- end
- end
- end)
- end)
- actions:drawButton(1/3, 'Quicksand', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- if z.Character:FindFirstChild('Humanoid') then
- local tor = topkek.libutil:getTorso(z)
- local hole = Instance.new("Part", z.Character)
- hole.Anchored = true
- hole.Name = "Hole"
- hole.FormFactor = Enum.FormFactor.Custom
- hole.Size = Vector3.new(7, 1, 7)
- hole.CanCollide = false
- hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
- hole.BrickColor = BrickColor.new("Cool yellow")
- hole.Material = Enum.Material.Sand
- local hm = Instance.new("CylinderMesh", hole)
- tor.Anchored = true
- if z.Character:FindFirstChild("Humanoid") then
- z.Character.Humanoid.Jump = true
- end
- for x,m in pairs(z.Character:GetChildren()) do
- if m:IsA("BasePart") or m:IsA("MeshPart") then
- m.CanCollide = false
- end
- end
- for i=1,75 do
- tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
- wait(0.06)
- end
- tor.CFrame=tor.CFrame*CFrame.new(0,
- -500,0
- )
- z.Character.Humanoid.Health = 0
- end
- end
- end)
- end)
- actions:drawButton(1/3, 'Duck', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- local pchar = z.Character
- -- for i,v in pairs(pchar.Torso:GetChildren()) do
- -- if v:IsA("Decal") then
- -- v:Destroy()
- -- end
- -- end
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") or v:IsA("Accessory") then
- v:Destroy()
- end
- end
- local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
- duck.MeshType = "FileMesh"
- duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
- duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
- duck.Scale = Vector3.new(5, 5, 5)
- topkek.libutil:recurseSetObj(z.Character, 'Instance', 'Transparency', 1)
- z.Character.HumanoidRootPart.Transparency = 0
- end
- end)
- end)
- actions:drawButton(1/3, 'Shrek', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- local pchar = z.Character
- for i,v in pairs(pchar:GetChildren()) do
- if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar.Head:GetChildren()) do
- if v:IsA("Decal") or v:IsA("SpecialMesh") then
- v:Destroy()
- end
- end
- local mesh = Instance.new("SpecialMesh", pchar.Head)
- mesh.MeshType = "FileMesh"
- pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
- pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
- pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
- local Shirt = Instance.new("Shirt", z.Character)
- local Pants = Instance.new("Pants", z.Character)
- Shirt.ShirtTemplate = "rbxassetid://133078194"
- Pants.PantsTemplate = "rbxassetid://133078204"
- end
- end)
- end)
- actions:drawButton(1/3, 'Bighead', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- if z.Character:FindFirstChild('Head') then
- z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
- end
- end
- end)
- end)
- actions:drawButton(1/3, 'Hotdog', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- if z.Character:FindFirstChild('Head') then
- topkek.libutil:weiner(z)
- end
- end
- end)
- end)
- actions:drawButton(1/3, 'Dwarf [R6]', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- topkek.libutil:scalePlayer(z, 0.5)
- end
- end)
- end)
- actions:drawButton(1/3, 'Giant [R6]', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- topkek.libutil:scalePlayer(z, 5)
- end
- end)
- end)
- actions:drawButton(1/3, 'Giraffe [R6]', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- local char=z.Character
- local h=char.Head
- local tor=char:FindFirstChild("Torso")
- if not tor then return end
- tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
- local fn=Instance.new("Part",char)
- fn.Size=Vector3.new(1,5.5,1)
- fn.Name="FakeNeck"
- fn.Anchored=false
- fn.CanCollide=false
- if char:FindFirstChild("Body Colors") then
- fn.BrickColor=char["Body Colors"].HeadColor
- end
- local cm=Instance.new("CylinderMesh",fn)
- local we=Instance.new("Weld",h)
- we.Part0=h
- we.Part1=fn
- we.C1=we.C1*CFrame.new(0,2.6,0)
- end
- end)
- end)
- actions:drawButton(1/3, 'Select', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- Instance.new("SelectionBox", z.Character).Adornee = z.Character
- end
- end)
- end)
- actions:drawButton(1/3, 'Sphere', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- Instance.new("SelectionSphere", z.Character).Adornee = z.Character
- end
- end)
- end)
- actions:drawButton(1/3, 'Sit', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character:FindFirstChild("Humanoid") then
- z.Character.Humanoid.Sit = true
- end
- end)
- end)
- actions:drawButton(1/3, 'Jump', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character:FindFirstChild("Humanoid") then
- z.Character.Humanoid.Jump = true
- end
- end)
- end)
- actions:drawButton(1/3, 'No Tools', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- for _, t in pairs(z.Backpack:GetChildren()) do
- t:Destroy()
- end
- end)
- end)
- actions:drawButton(1/3, 'Take Tools', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- for _, t in pairs(z.Backpack:GetChildren()) do
- t.Parent = game:service'Players'.LocalPlayer.Backpack
- end
- end)
- end)
- actions:drawButton(1/3, 'Disable', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character:FindFirstChild("Humanoid") then
- z.Character.Humanoid.Parent = nil
- end
- end)
- end)
- actions:drawButton(1/3, 'Fast', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character:FindFirstChild("Humanoid") then
- z.Character.Humanoid.WalkSpeed = 50
- end
- end)
- end)
- actions:drawButton(1/3, 'Slow', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character:FindFirstChild("Humanoid") then
- z.Character.Humanoid.WalkSpeed = 8
- end
- end)
- end)
- actions:drawButton(1/3,'Explode', function()
- topkek.libtil:doPlayers(plrDrop, function(z)
- local explosion = Instance.new("Explosion")
- explosion.Position = topkek.libutil:getTorso(z).Position
- explosion.Parent = game.Workspace
- end)
- end)
- local Follow
- actions:drawButton(1/3,'Annoy', function()
- if Follow == true then
- Follow = false; return
- else Follow = true end
- topkek.libutil:doPlayers(plrDrop, function(z)
- while Follow == true do
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
- z.Character.HumanoidRootPart.CFrame
- wait()
- end
- end)
- end)
- actions:drawButton(1/3,'ForceField', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character then
- Instance.new("ForceField", z.Character)
- end
- end)
- end)
- actions:drawButton(1/3,'Friendlag', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- for i = 1, 10 do
- spawn(function()
- while wait() do
- game.Players.LocalPlayer:RequestFriendship(z)
- game.Players.LocalPlayer:RevokeFriendship(z)
- end
- end)
- end
- end)
- end)
- actions:drawButton(1/3,'Force Follow', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- game:GetService("RunService"):BindToRenderStep("_", 0, function()
- z.Character.Humanoid:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
- end)
- end)
- end)
- actions:drawButton(1/3,'Dab', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character and z.Character:FindFirstChild("Torso") then
- local chr = z.Character
- chr.Animate.Disabled = true
- chr.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.699999988, 0, 0.939692616, 0, -0.342020124, -0.330366075, -0.258819044, -0.907673359, -0.0885213241, 0.965925813, -0.243210346)
- chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.600000024, 0.5, -0.200000003, 0.664462984, 0.241844743, 0.707106769, -0.664462984, -0.241844788, 0.707106769, 0.342020154, -0.939692616, -3.09086197e-008)
- chr.Torso["Neck"].C1 = CFrame.new(0, -0.600000024, 0, -0.866025388, 0.5, 0, -0.171010137, -0.29619807, 0.939692616, 0.469846278, 0.813797653, 0.342020124)
- end
- end)
- end)
- actions:addSpacing()
- local chatInp
- actions:drawButton(1/2, 'Make Chat', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- game:GetService('Chat'):Chat(z.Character, chatInp.Text)
- end)
- end)
- chatInp = actions:drawTextBox(1/2, '')
- local insertInp
- actions:drawButton(1/2, 'Insert Into', function()
- if not tonumber(insertInp.Text) then return end
- local item = insert(insertInp.Text)
- if not item then return end
- topkek.libutil:doPlayers(plrDrop, function(z)
- item:Clone().Parent = z.Backpack
- end)
- end)
- insertInp = actions:drawTextBox(1/2, '')
- local speedInp
- actions:drawButton(1/2, 'Set Speed', function()
- if not tonumber(speedInp.Text) then return end
- topkek.libutil:doPlayers(plrDrop, function(z)
- if z.Character:FindFirstChild('Humanoid') then
- z.Character.Humanoid.WalkSpeed = tonumber(speedInp.Text)
- end
- end)
- end)
- speedInp = actions:drawTextBox(1/2, '')
- local nameInp
- actions:drawButton(1/2, 'Set Name', function()
- topkek.libutil:doPlayers(plrDrop, function(z)
- local Character = z.Character
- local newName = Instance.new("Model", z.Character)
- newName.Name = nameInp.Text
- local cl = Character:WaitForChild("Head"):Clone()
- cl.Parent = newName
- cl:WaitForChild("face"):Destroy()
- local hum = Instance.new("Humanoid", newName)
- hum.Name = "NameTag"
- hum.MaxHealth = 0
- hum.Health = 0
- local weld = Instance.new("Weld", cl)
- weld.Part0 = cl
- weld.Part1 = Character:WaitForChild("Head")
- Character:WaitForChild("Head").Transparency = 1
- Wait(.5)
- cl.BrickColor = Character:WaitForChild("Head").BrickColo
- end)
- end)
- nameInp = actions:drawTextBox(1/2, '')
- --[[ localplayer ]]--
- local lp = game:GetService('Players').LocalPlayer
- local localwin = topkek.libgui:hookContainer(base['LocalPlayerContainer'])
- local appearInp
- localwin:drawButton(1/2, 'Set Appearance', function()
- local id = 0
- if not tonumber(appearInp.Text) then
- id = tonumber(appearInp.Text)
- else
- id = game:GetService('Players'):GetUserIdFromNameAsync(appearInp.Text)
- end
- lp.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
- end)
- appearInp = localwin:drawTextBox(1/2, '')
- localwin:drawButton(1/2, 'Set TeamColor', function()
- if teamInp.Text == 'Neutral' then
- lp.Neutral = true
- return
- end
- local clr = BrickColor.new(teamInp.Text)
- lp.TeamColor = clr
- end)
- teamInp = localwin:drawTextBox(1/2, 'Neutral')
- localwin:drawButton(1, 'Reset Camera', function()
- game.Workspace.CurrentCamera:remove()
- wait(.1)
- game.Workspace.CurrentCamera.CameraSubject = lp.Character.Humanoid or
- game.Workspace[lp.Name].Humanoid
- game.Workspace.CurrentCamera.CameraType = "Custom"
- end)
- localwin:drawButton(1, 'Respawn', function()
- local a1 = Instance.new("Model", game:service'Workspace')
- local a2 = Instance.new("Part", game:service'Workspace')
- a2.CanCollide = true
- a2.Anchored = true
- a2.CFrame = CFrame.new(10000, 10000, 10000)
- a2.Name = "Torso"
- local a3 = Instance.new("Humanoid", a1)
- a3.MaxHealth=100;a3.Health=100
- lp.Character = a1
- a3.Health=0
- end)
- localwin:addSpacing()
- local Lev, Clip, Fly
- localwin:drawButton(1/2, 'Levitate', function()
- if Lev == true then
- Lev = false
- return
- end
- Lev = true
- repeat
- lp.Character.Humanoid:ChangeState(10)
- wait(0)
- until Lev == false
- end)
- localwin:drawButton(1/2, 'Noclip', function()
- if Clip == true then
- Clip = false
- return
- end
- Clip = true
- game:GetService("RunService").Stepped:connect(function()
- topkek.libutil:getTorso(lp).CanCollide = not Clip
- lp.Character.Head.CanCollide = not Clip
- lp.Character.HumanoidRootPart.CanCollide = not Clip
- if lp.Character.UpperTorso then
- lp.Character.LowerTorso.CanCollide = not Clip
- end
- end)
- lp.Character.HumanoidRootPart.Changed:connect(function()
- topkek.libutil:getTorso(lp).CanCollide = not Clip
- lp.Character.Head.CanCollide = not Clip
- lp.Character.HumanoidRootPart.CanCollide = not Clip
- if lp.Character.UpperTorso then
- lp.Character.LowerTorso.CanCollide = not Clip
- end
- end)
- end)
- localwin:drawButton(1/2, 'Fly', function()
- if Fly == true then
- Fly = false
- return
- end
- Fly = true
- local mouse=game.Players.LocalPlayer:GetMouse''
- localplayer=game.Players.LocalPlayer
- game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
- local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
- local speed=0
- local keys={a=false,d=false,w=false,s=false}
- local e1
- local e2
- local function start()
- local pos = Instance.new("BodyPosition",torso)
- local gyro = Instance.new("BodyGyro",torso)
- pos.Name="EPIXPOS"
- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- pos.position = torso.Position
- gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- gyro.cframe = torso.CFrame
- repeat
- wait()
- localplayer.Character.Humanoid.PlatformStand=true
- local new=gyro.cframe - gyro.cframe.p + pos.position
- if not keys.w and not keys.s and not keys.a and not keys.d then
- speed=1
- end
- if keys.w then
- new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
- speed=speed+0.01
- end
- if keys.s then
- new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
- speed=speed+0.01
- end
- if keys.d then
- new = new * CFrame.new(speed,0,0)
- speed=speed+0.01
- end
- if keys.a then
- new = new * CFrame.new(-speed,0,0)
- speed=speed+0.01
- end
- if speed>5 then
- speed=5
- end
- pos.position=new.p
- if keys.w then
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
- elseif keys.s then
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
- else
- gyro.cframe = workspace.CurrentCamera.CoordinateFrame
- end
- until not Fly
- if gyro then gyro:Destroy() end
- if pos then pos:Destroy() end
- flying=false
- localplayer.Character.Humanoid.PlatformStand=false
- speed=0
- end
- e1=mouse.KeyDown:connect(function(key)
- if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
- if key=="w" then
- keys.w=true
- elseif key=="s" then
- keys.s=true
- elseif key=="a" then
- keys.a=true
- elseif key=="d" then
- keys.d=true
- end
- end)
- e2=mouse.KeyUp:connect(function(key)
- if key=="w" then
- keys.w=false
- elseif key=="s" then
- keys.s=false
- elseif key=="a" then
- keys.a=false
- elseif key=="d" then
- keys.d=false
- end
- end)
- start()
- end)
- localwin:drawButton(1/2, 'Highjump', function()
- local thrust = Instance.new("BodyVelocity")
- game:GetService('UserInputService').InputBegan:connect(function(i, b)
- if i.KeyCode == Enum.KeyCode.Space then
- print("Got jump")
- coroutine.resume(coroutine.create(function()
- thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
- thrust.velocity = Vector3.new(0,50,0)
- thrust.maxForce = Vector3.new(0,4e+050,0)
- wait(0.2)
- thrust.Parent = nil
- end))
- end
- end)
- end)
- localwin:addSpacing()
- localwin:drawButton(1/2, 'Freecam', function()
- local cam = game.Workspace.CurrentCamera
- cam.CameraType = "Fixed"
- cam.CameraSubject = nil
- lp.Character = nil
- end)
- localwin:drawButton(1/2, 'Nil Orb', function()
- game.Players.LocalPlayer.Character = nil
- --lp:Destroy()
- local cam = game.Workspace.CurrentCamera
- local m = Instance.new("Model", game.Workspace)
- m.Name = game.Players.LocalPlayer.Name
- local hum = Instance.new("Humanoid", m)
- hum.Health = 0
- hum.MaxHealth = 0
- local orb = Instance.new("Part", m)
- orb.Size = Vector3.new(1, 1, 1)
- orb.Shape = "Ball"
- orb.Name = "Head"
- orb.Anchored = true
- orb.CanCollide = true
- orb.BottomSurface = Enum.SurfaceType.Smooth
- orb.TopSurface = Enum.SurfaceType.Smooth
- orb.Transparency = 0
- cam.CameraSubject = orb
- cam.CameraType = Enum.CameraType.Fixed
- game:GetService("RunService").RenderStepped:connect(function()
- orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
- end)
- game.Players.LocalPlayer.Chatted:connect(function(a)
- game:GetService("Chat"):Chat(orb, a)
- end)
- end)
- localwin:drawButton(1/2, 'God', function()
- lp.Character.Humanoid.MaxHealth = math.huge
- lp.Character.Humanoid.Health = math.huge
- end)
- localwin:drawButton(1/2, 'NoGrav', function()
- if lp.Character then
- for x,m in pairs(lp.Character:GetChildren()) do
- if m:IsA("BasePart") then
- local bf = Instance.new("BodyForce", m)
- bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
- end
- if m:IsA("Hat") or m:IsA("Accessory") then
- if m:findFirstChild("Handle") then
- local bf = Instance.new("BodyForce", m.Handle)
- bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
- end
- end
- end
- end
- end)
- localwin:drawButton(1/2, 'Rainbow Name', function()
- lp.Neutral = false
- repeat
- wait()
- lp.TeamColor = BrickColor.Random()
- until not lp.Character.Humanoid
- end)
- localwin:drawButton(1/2, 'Random Fedora', function()
- local hats={
- 98346834,
- 215751161,
- 119916949,
- 72082328,
- 147180077,
- 100929604,
- 63043890,
- 1285307,
- 1029025,
- 334663683,
- 259423244
- }
- game:GetService("InsertService"):LoadAsset(hats[math.random(1,#hats)]):GetChildren()[1].Parent = lp.Character
- end)
- localwin:drawButton(1/2, 'Clear Appearance', function()
- lp:ClearCharacterAppearance()
- end)
- localwin:drawButton(1/2, 'Disguise', function()
- local p = lp.Character
- if p:FindFirstChild("topkek") then
- p.topkek:Destroy()
- end
- p.Name = ""
- p.Head.Transparency = 1
- local mo = Instance.new("Model", p)
- mo.Name = ""
- local hu = Instance.new("Humanoid", mo)
- hu.Name = "distag"
- hu.Health = 100
- hu.MaxHealth = 100
- local fh = p.Head:Clone()
- fh.Parent = mo
- fh.Transparency = 0
- local we = Instance.new("Weld", fh)
- we.Part0 = p.Head
- we.Part1 = mo
- lp:ClearCharacterAppearance()
- pcall(function() p["Body Colors"]:Destroy() end)
- Instance.new("BodyColors", p)
- end)
- localwin:drawButton(1, 'Dick Shooter', function()
- topkek.libutil:dickShooter()
- end)
- localwin:addSpacing()
- local hackerInp
- localwin:drawButton(1/2, 'Set Tag', function()
- local len = 10
- local bb = Instance.new("BillboardGui")
- bb.Parent = lp.Character.Head
- bb.Adornee = lp.Character.Head
- bb.AlwaysOnTop = true
- bb.Enabled = true
- bb.Size = UDim2.new(len, 0, 1.5, 0)
- bb.Name = "tag"
- bb.StudsOffset = Vector3.new(0, 3, 0)
- --local fr = Instance.new("Frame")
- --fr.Parent = bb
- --fr.Size = UDim2.new(1, 0, 1, 0)
- --fr.Style = Enum.FrameStyle.RobloxRound
- local tl = Instance.new("TextLabel")
- tl.Parent = bb
- tl.Font = Enum.Font.Code
- tl.BackgroundTransparency = 1
- tl.TextScaled = true
- tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
- tl.Size = UDim2.new(1, 0, 1, 0)
- tl.Text = hackerInp.Text
- tl.Name = "trutag"
- tl.Visible = true
- tl.ZIndex = 2
- end)
- hackerInp = localwin:drawTextBox(1/2, 'Hacker')
- --[[ scripts ]]--
- -- excuse my disgusting code :v
- local scriptwin = topkek.libgui:hookContainer(base['ScriptsContainer'])
- local search = scriptwin:drawTextBox(1,'')
- local origy = scriptwin:getDrawY()
- scriptwin:addSpacing()
- scriptwin:addSpacing()
- local a = Instance.new("LocalScript");a.Name='script 1'
- local b = Instance.new("LocalScript");b.Name='script 2'
- local c = Instance.new("LocalScript");c.Name='script 3'
- local scripts = {a,b,c}
- local container = {}
- function MakeList(condition)
- for i,v in pairs(scriptwin:GetChildren()) do
- if v.Name == "Script" then
- v:Destroy()
- end
- end
- scriptwin:setDrawY(origy)
- for i, v in pairs(scripts) do
- if string.find(v.Name, condition) or (condition == "") or (condition == " ") then
- local scr = scriptwin:drawButton(1, v.Name, function()
- print('no loadstring lol')
- end, 25)
- scr.Name = 'Script'
- end
- end
- end
- game:GetService("UserInputService").InputChanged:connect(function(inp)
- if inp.UserInputType == Enum.UserInputType.TextInput then
- if search:IsFocused() then
- MakeList(search.Text)
- end
- end
- end)
- MakeList('')
- --[[ misc main ]]--
- local miscwin = topkek.libgui:hookContainer(base['MiscellaneousContainer'])
- local scroll = miscwin:drawScrollingContainer(165)
- scroll:center()
- for i, v in pairs(topkek.libsettings:getSetting("misc")) do
- scroll:drawButton(1, v, function()
- topkek.libwindows:switchWindow(v .. 'Container', v)
- end)
- end
- scroll.main.CanvasSize = scroll.main.CanvasSize - UDim2.new(0, 0, 0, 3)
- --[[ initiation ]]--
- topkek.libwindows:registerWindow(base['HomeContainer'])
- topkek.libwindows:registerWindow(base['ServerContainer'])
- topkek.libwindows:registerWindow(base['PlayersContainer'])
- topkek.libwindows:registerWindow(base['LocalPlayerContainer'])
- topkek.libwindows:registerWindow(base['ScriptsContainer'])
- topkek.libwindows:registerWindow(base['MiscellaneousContainer'])
- topkek.libwindows:initiateNavigator()
- topkek.libwindows:initiateHome()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement