SHOW:
|
|
- or go back to the newest paste.
| 1 | local ArtificialHB = Instance.new("BindableEvent", script)
| |
| 2 | ArtificialHB.Name = "Heartbeat" | |
| 3 | script:WaitForChild("Heartbeat")
| |
| 4 | script.Name = "BBHakumen" | |
| 5 | local Player = game.Players.LocalPlayer | |
| 6 | local Character = Player.Character | |
| 7 | local Mouse = Player:GetMouse() | |
| 8 | local LeftArm = Character:WaitForChild("Left Arm")
| |
| 9 | local RightArm = Character:WaitForChild("Right Arm")
| |
| 10 | local LeftLeg = Character:WaitForChild("Left Leg")
| |
| 11 | local RightLeg = Character:WaitForChild("Right Leg")
| |
| 12 | local Head = Character:WaitForChild("Head")
| |
| 13 | local Torso = Character:WaitForChild("Torso")
| |
| 14 | local RootPart = Character:WaitForChild("HumanoidRootPart")
| |
| 15 | local Humanoid = Character:WaitForChild("Humanoid")
| |
| 16 | local LeftShoulder = Torso:WaitForChild("Left Shoulder")
| |
| 17 | local RightShoulder = Torso:WaitForChild("Right Shoulder")
| |
| 18 | local LeftHip = Torso:WaitForChild("Left Hip")
| |
| 19 | local RightHip = Torso:WaitForChild("Right Hip")
| |
| 20 | local Neck = Torso:WaitForChild("Neck")
| |
| 21 | local RootJoint = RootPart:WaitForChild("RootJoint")
| |
| 22 | local Camera = workspace.CurrentCamera | |
| 23 | local FLeftShoulder, FRightShoulder = Instance.new("Weld", Torso), Instance.new("Weld", Torso)
| |
| 24 | FLeftShoulder.Name = "LS" | |
| 25 | FRightShoulder.Name = "RS" | |
| 26 | local FLeftHip, FRightHip = Instance.new("Weld", Torso), Instance.new("Weld", Torso)
| |
| 27 | FLeftHip.Name = "LH" | |
| 28 | FRightHip.Name = "RH" | |
| 29 | local FRootJoint = Instance.new("Weld", RootPart)
| |
| 30 | FRootJoint.Name = "RJ" | |
| 31 | local F1, F2, F3 = Instance.new("Folder", Character), Instance.new("Folder"), Instance.new("Folder")
| |
| 32 | F1.Name = "Parts Folder" | |
| 33 | F2.Parent = F1 | |
| 34 | F2.Name = "Effects" | |
| 35 | F3.Parent = F1 | |
| 36 | F3.Name = "Extra Parts" | |
| 37 | local Drag_To_Part = Instance.new("Part", F3)
| |
| 38 | Drag_To_Part.Transparency = 1 | |
| 39 | Drag_To_Part.Name = "Drag-to-part" | |
| 40 | Drag_To_Part.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 41 | Drag_To_Part.Anchored = false | |
| 42 | Drag_To_Part.CanCollide = false | |
| 43 | Drag_To_Part.Locked = true | |
| 44 | local DTPWeld = Instance.new("Weld", Drag_To_Part)
| |
| 45 | DTPWeld.Part0 = RootPart | |
| 46 | DTPWeld.Part1 = Drag_To_Part | |
| 47 | local WepWeld, WepWeld2, WepWeld3, SheWeld = nil, nil, nil, nil | |
| 48 | local NLSC0 = LeftShoulder.C0 | |
| 49 | local NLSC1 = LeftShoulder.C1 | |
| 50 | local NRSC0 = RightShoulder.C0 | |
| 51 | local NRSC1 = RightShoulder.C1 | |
| 52 | local NLHC0 = LeftHip.C0 | |
| 53 | local NLHC1 = LeftHip.C1 | |
| 54 | local NRHC0 = RightHip.C0 | |
| 55 | local NRHC1 = RightHip.C1 | |
| 56 | local NNC0 = Neck.C0 | |
| 57 | local NNC1 = Neck.C1 | |
| 58 | local NRJC0 = RootJoint.C0 | |
| 59 | local NRJC1 = RootJoint.C1 | |
| 60 | local Handle, Hit_Box, Handle2, Hit_Box2, TEHandle, TESHandle, TEHit_Box, CEP = nil, nil, nil, nil, nil, nil, nil, nil | |
| 61 | local chatServ = game:GetService("Chat")
| |
| 62 | local runServ = game:GetService("RunService")
| |
| 63 | local debServ = game:GetService("Debris")
| |
| 64 | local CurrentSpeed = 16 | |
| 65 | local Current_Anim = "Idle" | |
| 66 | local Attack_Num = 1 | |
| 67 | local Damage_Buff = 0 | |
| 68 | local Max_Health = 400 | |
| 69 | local Last_Health = Max_Health | |
| 70 | local idle = 1 | |
| 71 | local idlenum = 1 | |
| 72 | local idlenum2 = 1 | |
| 73 | local walk = 1 | |
| 74 | local walknum = 1 | |
| 75 | local walknum2 = 1 | |
| 76 | local Effects = {}
| |
| 77 | local DragTable = {}
| |
| 78 | local InputTable = {}
| |
| 79 | local InputFrameTable = {}
| |
| 80 | local TEBladeP = {}
| |
| 81 | local TEBEffect, c1, c2 = nil, nil, nil | |
| 82 | local RGyro = Instance.new("BodyGyro")
| |
| 83 | RGyro.MaxTorque = Vector3.new(0, 0, 0) | |
| 84 | RGyro.P = 2000 | |
| 85 | local LLCF = CFrame.new() | |
| 86 | local SWP = Instance.new("BoolValue")
| |
| 87 | local ControlScript = Player.PlayerScripts:WaitForChild("ControlScript")
| |
| 88 | local Z_Pressed = false | |
| 89 | local Debounces = {Equipped = false, Equipping = false, HasWep = false, DuelWielding = false, Attacking = false, Locked_On = false, Can_Double_Jump = false, AnimOverride = false, Guarding = false, Crouching = false, JumpAnim = false, DoubleJumpAnim = false, KeyStrokeEnabled = false, Successful_KeyStroke = false, KeyStroke_CoolDown = false, UIAction = false, ZeroGravity = false, DoubleJumping = false, Charging_Erupt = false, Guarding = false, Transformed = false, DisableJump = false, Dashing = false, Hovering = false, TEWield = false, TESWield = false, CanGuard = true, SpedUp = false, HurrSlash = false, Stompped = false}
| |
| 90 | local rad = math.rad | |
| 91 | local huge = math.huge | |
| 92 | local rand = math.random | |
| 93 | local Vec = Vector3.new | |
| 94 | local Cf = CFrame.new | |
| 95 | local Euler = CFrame.fromEulerAnglesXYZ | |
| 96 | local BC = BrickColor.new | |
| 97 | local Col3 = Color3.new | |
| 98 | local Inst = Instance.new | |
| 99 | local Ud2 = UDim2.new | |
| 100 | local FONT = "SourceSansLight" | |
| 101 | local DecName = "MadeBy" .. Player.Name .. "" | |
| 102 | local GodMode = true | |
| 103 | local OP_HEALTH = runServ.RenderStepped:connect(function() | |
| 104 | ||
| 105 | if GodMode and RootJoint.Parent ~= nil then | |
| 106 | Humanoid.MaxHealth = huge | |
| 107 | Humanoid.Health = huge | |
| 108 | Humanoid.MaxHealth = huge | |
| 109 | Humanoid.Health = huge | |
| 110 | wait() | |
| 111 | Humanoid.MaxHealth = huge | |
| 112 | Humanoid.Health = huge | |
| 113 | Humanoid.MaxHealth = huge | |
| 114 | Humanoid.Health = huge | |
| 115 | end | |
| 116 | end | |
| 117 | ) | |
| 118 | local Colour1 = BC("Bright red")
| |
| 119 | local Colour2 = BC("Really black")
| |
| 120 | local Colour3 = BC("Smoky grey")
| |
| 121 | local Chaos_UI = Inst("ScreenGui", Player.PlayerGui)
| |
| 122 | Chaos_UI.Name = "Chaos UI" | |
| 123 | local ColMain, KP, Moves, OM = Inst("Frame", Chaos_UI), Inst("Frame", Chaos_UI), Inst("ScrollingFrame", Chaos_UI), Inst("TextButton", Chaos_UI)
| |
| 124 | ColMain.Name = "ColorUI" | |
| 125 | ColMain.Position = Ud2(0.85, 0, 0.5, 0) | |
| 126 | ColMain.Size = Ud2(0.15, 0, 0.5, 0) | |
| 127 | ColMain.Style = "DropShadow" | |
| 128 | local col1, Done = Inst("Frame", ColMain), Inst("TextButton", ColMain)
| |
| 129 | local ccol1, cc1 = Inst("TextBox", col1), Inst("TextLabel", col1)
| |
| 130 | col1.BackgroundTransparency = 1 | |
| 131 | col1.Name = "Col1" | |
| 132 | col1.Size = Ud2(1, 0, 0.2, 0) | |
| 133 | ccol1.BackgroundTransparency = 1 | |
| 134 | ccol1.Name = "Colour" | |
| 135 | ccol1.Position = Ud2(0.3, 0, 0, 0) | |
| 136 | ccol1.Size = Ud2(0.7, 0, 1, 0) | |
| 137 | ccol1.Font = FONT | |
| 138 | ccol1.Text = "Really red" | |
| 139 | ccol1.TextColor3 = Col3(1, 1, 1) | |
| 140 | ccol1.TextScaled = true | |
| 141 | cc1.BackgroundTransparency = 1 | |
| 142 | cc1.Name = "Col" | |
| 143 | cc1.Size = Ud2(0.3, 0, 1, 0) | |
| 144 | cc1.Font = FONT | |
| 145 | cc1.Text = "Colour 1:" | |
| 146 | cc1.TextColor3 = Col3(1, 1, 1) | |
| 147 | cc1.TextScaled = true | |
| 148 | local col2 = col1:Clone() | |
| 149 | col2.Parent = ColMain | |
| 150 | col2.Name = "Col2" | |
| 151 | col2.Position = Ud2(0, 0, 0.3, 0) | |
| 152 | col2:WaitForChild("Colour").Text = "Really black"
| |
| 153 | col2:WaitForChild("Col").Text = "Colour 2:"
| |
| 154 | local col3 = col1:Clone() | |
| 155 | col3.Parent = ColMain | |
| 156 | col3.Name = "Col3" | |
| 157 | col3.Position = Ud2(0, 0, 0.6, 0) | |
| 158 | col3:WaitForChild("Colour").Text = "Fawn brown"
| |
| 159 | col3:WaitForChild("Col").Text = "Colour 3:"
| |
| 160 | Done.BackgroundColor3 = Col3(0, 1, 0) | |
| 161 | Done.BorderSizePixel = 0 | |
| 162 | Done.Name = "Done" | |
| 163 | Done.Position = Ud2(0.08, 0, 0.8, 0) | |
| 164 | Done.Size = Ud2(0.85, 0, 0.15, 0) | |
| 165 | Done.Font = FONT | |
| 166 | Done.Text = "Done!" | |
| 167 | Done.TextColor3 = Col3(1, 1, 1) | |
| 168 | Done.TextScaled = true | |
| 169 | KP.Name = "KeysPressed" | |
| 170 | KP.Position = Ud2(0, 0, 0.9, 0) | |
| 171 | KP.Size = Ud2(0.25, 0, 0.1, 0) | |
| 172 | KP.Style = "DropShadow" | |
| 173 | local KPTemplate = Inst("TextLabel", KP)
| |
| 174 | KPTemplate.BackgroundTransparency = 1 | |
| 175 | KPTemplate.Name = "Template" | |
| 176 | KPTemplate.Size = Ud2(0.125, 0, 1, 0) | |
| 177 | KPTemplate.Font = FONT | |
| 178 | KPTemplate.Text = ">" | |
| 179 | KPTemplate.TextColor3 = Col3(1, 1, 1) | |
| 180 | KPTemplate.TextScaled = true | |
| 181 | Moves.BackgroundColor3 = Col3(0.28235294117647, 0.28235294117647, 0.28235294117647) | |
| 182 | Moves.BackgroundTransparency = 0.8 | |
| 183 | Moves.BorderSizePixel = 0 | |
| 184 | Moves.Name = "Moves" | |
| 185 | Moves.Position = Ud2(-0.2, 0, 0.4, 0) | |
| 186 | Moves.Size = Ud2(0.2, 0, 0.5, 0) | |
| 187 | Moves.ScrollBarThickness = 8 | |
| 188 | OM.Name = "VML" | |
| 189 | OM.Position = Ud2(0.002, 0, 0.83, 0) | |
| 190 | OM.Size = Ud2(0.05, 0, 0.08, 0) | |
| 191 | OM.Visible = false | |
| 192 | OM.Style = "RobloxRoundButton" | |
| 193 | OM.Font = FONT | |
| 194 | OM.Text = "View Move List" | |
| 195 | OM.TextColor3 = Col3(1, 1, 1) | |
| 196 | OM.TextScaled = true | |
| 197 | local Title = Inst("TextLabel", Moves)
| |
| 198 | Title.BackgroundTransparency = 1 | |
| 199 | Title.Name = "Title" | |
| 200 | Title.Size = Ud2(1, 0, 0.014, 0) | |
| 201 | Title.Font = FONT | |
| 202 | Title.Text = "Move List" | |
| 203 | Title.TextColor3 = Col3(1, 1, 1) | |
| 204 | Title.TextScaled = true | |
| 205 | Title.TextStrokeTransparency = 0 | |
| 206 | CreateWeaponPart = function(className, parent, Brickcolor, Material, Transparency, Reflectance, Name, Position, Rotation, Size, MeshClass, MeshScale, MeshId, MeshType) | |
| 207 | ||
| 208 | local Part = Instance.new(className, parent) | |
| 209 | Part.BrickColor = BrickColor.new(Brickcolor) | |
| 210 | Part.Transparency = Transparency | |
| 211 | Part.Reflectance = Reflectance | |
| 212 | Part.Material = Material | |
| 213 | Part.Name = Name | |
| 214 | Part.Anchored = true | |
| 215 | Part.CanCollide = false | |
| 216 | Part.Locked = true | |
| 217 | Part.Size = Size | |
| 218 | Part.Position = Position | |
| 219 | Part.Rotation = Rotation | |
| 220 | Part.TopSurface = "SmoothNoOutlines" | |
| 221 | Part.BottomSurface = "SmoothNoOutlines" | |
| 222 | Part.FrontSurface = "SmoothNoOutlines" | |
| 223 | Part.BackSurface = "SmoothNoOutlines" | |
| 224 | Part.RightSurface = "SmoothNoOutlines" | |
| 225 | Part.LeftSurface = "SmoothNoOutlines" | |
| 226 | local Mesh = Instance.new(MeshClass, Part) | |
| 227 | Mesh.Scale = MeshScale | |
| 228 | if MeshClass == "SpecialMesh" then | |
| 229 | Mesh.MeshId = MeshId | |
| 230 | Mesh.MeshType = MeshType | |
| 231 | end | |
| 232 | return Part | |
| 233 | end | |
| 234 | ||
| 235 | local Denial = Inst("Model", Character)
| |
| 236 | Denial.Name = "Denial" | |
| 237 | local Despair = Inst("Model")
| |
| 238 | Despair.Name = "Despair" | |
| 239 | local The_End = Inst("Model")
| |
| 240 | The_End.Name = "The End" | |
| 241 | local The_End_Sheath = Inst("Model")
| |
| 242 | The_End_Sheath.Name = "The End\'s Sheath" | |
| 243 | local CArmour = Inst("Model")
| |
| 244 | CArmour.Name = "ChaosArmour" | |
| 245 | CreateWeapon = function() | |
| 246 | ||
| 247 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeCorner", Vec(0, 7.2, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "SpecialMesh", Vec(0.625, 0.625, 1.25), "", "Sphere")
| |
| 248 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeCorner", Vec(1.4, 8.4, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "SpecialMesh", Vec(0.625, 0.625, 1.25), "", "Sphere")
| |
| 249 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeEdge", Vec(1.4, 5.3, -272.2), Vec(0, 0, 0), Vec(0.4, 6.2, 0.2), "CylinderMesh", Vec(1.25, 1, 1.25), "", "")
| |
| 250 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeEdge", Vec(0, 4.7, -272.2), Vec(0, 0, 0), Vec(0.4, 5, 0.2), "CylinderMesh", Vec(1.25, 1, 1.25), "", "")
| |
| 251 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.3, 5.5, -272.2), Vec(0, 0, 0), Vec(0.2, 1, 0.2), "BlockMesh", Vec(1, 1, 1.25), "", "")
| |
| 252 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.4, 5, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "BlockMesh", Vec(0.4, 0.5, 1.25), "", "")
| |
| 253 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.3, 5.1, -272.2), Vec(0, 0, 0), Vec(0.6, 0.2, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
| |
| 254 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.1, 5.1, -272.2), Vec(0, 0, 0), Vec(0.6, 0.2, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
| |
| 255 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.1, 5.5, -272.2), Vec(0, 0, 0), Vec(0.2, 1, 0.2), "BlockMesh", Vec(1, 1, 1.25), "", "")
| |
| 256 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.3, 5.8, -272.2), Vec(0, 0, 0), Vec(0.6, 0.4, 0.2), "BlockMesh", Vec(0.2, 0.35, 1.25), "", "")
| |
| 257 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.2, 5.5, -272.2), Vec(0, 0, 0), Vec(0.4, 0.6, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
| |
| 258 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.3, 5.9, -272.2), Vec(0, 0, 0), Vec(0.6, 0.2, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
| |
| 259 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.7, 5, -272.2), Vec(0, 0, 0), Vec(1.4, 0.4, 0.2), "BlockMesh", Vec(1, 0.4, 1.25), "", "")
| |
| 260 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.1, 5.8, -272.2), Vec(0, 0, 0), Vec(0.6, 0.4, 0.2), "BlockMesh", Vec(0.2, 0.35, 1.25), "", "")
| |
| 261 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.1, 5.9, -272.2), Vec(0, 0, 0), Vec(0.6, 0.2, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
| |
| 262 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1, 6, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "BlockMesh", Vec(0.4, 0.5, 1.25), "", "")
| |
| 263 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.4, 6, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "BlockMesh", Vec(0.4, 0.5, 1.25), "", "")
| |
| 264 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.7, 7.8, -272.2), Vec(0, 90, 0), Vec(0.2, 1.2, 1.4), "SpecialMesh", Vec(1.25, 1, 1), "", "Wedge")
| |
| 265 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.7, 3.6, -272.2), Vec(0, 0, 0), Vec(1.4, 2.8, 0.2), "BlockMesh", Vec(1, 1, 1.25), "", "")
| |
| 266 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.7, 6.6, -272.2), Vec(0, 0, 0), Vec(1.4, 1.2, 0.2), "BlockMesh", Vec(1, 1, 1.25), "", "")
| |
| 267 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1, 5, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "BlockMesh", Vec(0.4, 0.5, 1.25), "", "")
| |
| 268 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.1, 5.2, -272.2), Vec(0, 0, 0), Vec(0.6, 0.4, 0.2), "BlockMesh", Vec(0.2, 0.35, 1.25), "", "")
| |
| 269 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.3, 5.2, -272.2), Vec(0, 0, 0), Vec(0.6, 0.4, 0.2), "BlockMesh", Vec(0.2, 0.35, 1.25), "", "")
| |
| 270 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.7, 6, -272.2), Vec(0, 0, 0), Vec(1.4, 0.4, 0.2), "BlockMesh", Vec(1, 0.4, 1.25), "", "")
| |
| 271 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.2, 5.5, -272.2), Vec(0, 0, 0), Vec(0.4, 0.6, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
| |
| 272 | CreateWeaponPart("Part", Denial, Colour1, "SmoothPlastic", 0, 0, "BladeRing", Vec(0.7, 5.5, -272.2), Vec(0, 0, 0), Vec(0.2, 0.2, 0.2), "SpecialMesh", Vec(0.9, 0.9, 2), "http://www.roblox.com/asset/?id=3270017", "FileMesh")
| |
| 273 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeTop", Vec(0.683, 7.786, -272.2), Vec(180, 0, 49.399), Vec(0.4, 1.8, 0.2), "CylinderMesh", Vec(1.25, 1, 1.25), "", "")
| |
| 274 | CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(1.4, 2.1, -272.2), Vec(0, 0, 0), Vec(0.4, 0.2, 0.2), "CylinderMesh", Vec(1.3, 1, 1.3), "", "")
| |
| 275 | CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(0, 2.1, -272.2), Vec(0, 0, 0), Vec(0.4, 0.2, 0.2), "CylinderMesh", Vec(1.3, 1, 1.3), "", "")
| |
| 276 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.8, -272.2), Vec(-90, 0, 0), Vec(0.6, 0.2, 0.8), "CylinderMesh", Vec(1.1, 1.28, 1.1), "", "")
| |
| 277 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.5, -272.2), Vec(0, 0, 0), Vec(0.6, 0.6, 0.2), "BlockMesh", Vec(1.1, 1, 1.28), "", "")
| |
| 278 | CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(0.7, 2.1, -272.2), Vec(0, 0, 0), Vec(1.4, 0.2, 0.2), "BlockMesh", Vec(1, 1, 1.3), "", "")
| |
| 279 | CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(0.7, 2.5, -272.2), Vec(0, 0, 0), Vec(0.6, 0.6, 0.2), "BlockMesh", Vec(1, 1, 1.3), "", "")
| |
| 280 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.2, -272.2), Vec(0, 0, 0), Vec(1.4, 0.4, 0.2), "BlockMesh", Vec(1, 0.15, 1.28), "", "")
| |
| 281 | CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(0.7, 2.8, -272.2), Vec(-90, 0, 0), Vec(0.6, 0.2, 0.8), "CylinderMesh", Vec(1, 1.3, 1), "", "")
| |
| 282 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.6, -272.2), Vec(-90, 0, 0), Vec(0.6, 0.2, 0.8), "CylinderMesh", Vec(0.2, 1.34, 0.2), "", "")
| |
| 283 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.8, -272.2), Vec(-90, 0, 0), Vec(0.6, 0.2, 0.8), "CylinderMesh", Vec(0.2, 1.34, 0.2), "", "")
| |
| 284 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.4, -272.2), Vec(-90, 0, 0), Vec(0.6, 0.2, 0.8), "CylinderMesh", Vec(0.2, 1.34, 0.2), "", "")
| |
| 285 | Handle = CreateWeaponPart("Part", Denial, "White", "SmoothPlastic", 1, 0, "Handle", Vec(0.7, 1, -272.2), Vec(0, 90, 0), Vec(0.6, 0.2, 0.6), "BlockMesh", Vec(1, 1, 1), "", "")
| |
| 286 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 1.9, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
| |
| 287 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 0.1, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
| |
| 288 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 1.7, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
| |
| 289 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 1.5, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
| |
| 290 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 1.3, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
| |
| 291 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 1.1, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
| |
| 292 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 0.9, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
| |
| 293 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 0.7, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
| |
| 294 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 0.5, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
| |
| 295 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 0.3, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
| |
| 296 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "HandleNeon", Vec(0.7, 1, -272.2), Vec(0, 0, 0), Vec(1, 2, 0.2), "CylinderMesh", Vec(0.85, 0.9, 0.85), "", "")
| |
| 297 | CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "HandlePart", Vec(0.7, 0, -272.2), Vec(0, 0, 0), Vec(1, 0.4, 0.2), "CylinderMesh", Vec(1.15, 0.3, 1.15), "", "")
| |
| 298 | CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "HandlePart", Vec(0.7, 2, -272.2), Vec(0, 0, 0), Vec(1, 0.4, 0.2), "CylinderMesh", Vec(1.15, 0.3, 1.15), "", "")
| |
| 299 | Hit_Box = CreateWeaponPart("Part", Denial, "White", "SmoothPlastic", 1, 0, "Hitbox", Vec(0.7, 5.4, -272.2), Vec(0, 0, 0), Vec(2.2, 6.8, 0.6), "BlockMesh", Vec(0, 0, 0), "", "")
| |
| 300 | for _,K in pairs(Denial:GetChildren()) do | |
| 301 | if K:IsA("BasePart") then
| |
| 302 | K:BreakJoints() | |
| 303 | end | |
| 304 | end | |
| 305 | for _,Part in pairs(Denial:GetChildren()) do | |
| 306 | -- DECOMPILER ERROR at PC1728: Unhandled construct in 'MakeBoolean' P1 | |
| 307 | ||
| 308 | if Part:IsA("Part") and Part.Name ~= "Handle" then
| |
| 309 | local x = Handle | |
| 310 | local y = Part | |
| 311 | local W = Instance.new("Weld")
| |
| 312 | W.Part0 = x | |
| 313 | W.Part1 = y | |
| 314 | local CJ = CFrame.new(x.Position) | |
| 315 | local C0 = x.CFrame:inverse() * CJ | |
| 316 | local C1 = y.CFrame:inverse() * CJ | |
| 317 | W.C0 = C0 | |
| 318 | W.C1 = C1 | |
| 319 | W.Parent = x | |
| 320 | x.Anchored = false | |
| 321 | y.Anchored = false | |
| 322 | end | |
| 323 | do | |
| 324 | do | |
| 325 | Part.Anchored = false | |
| 326 | -- DECOMPILER ERROR at PC1753: LeaveBlock: unexpected jumping out DO_STMT | |
| 327 | ||
| 328 | end | |
| 329 | end | |
| 330 | end | |
| 331 | Handle.Anchored = true | |
| 332 | end | |
| 333 | ||
| 334 | local d = false | |
| 335 | Done.MouseButton1Click:connect(function() | |
| 336 | ||
| 337 | if not d then | |
| 338 | d = true | |
| 339 | Colour1 = col1:WaitForChild("Colour").Text
| |
| 340 | Colour2 = col2:WaitForChild("Colour").Text
| |
| 341 | Colour3 = col3:WaitForChild("Colour").Text
| |
| 342 | debServ:AddItem(ColMain, 0) | |
| 343 | OM.Visible = true | |
| 344 | CreateWeapon() | |
| 345 | GodMode = false | |
| 346 | Handle.Anchored = false | |
| 347 | WepWeld = Inst("Motor6D", Handle)
| |
| 348 | WepWeld.Name = "Handle Joint" | |
| 349 | WepWeld.Part0 = Torso | |
| 350 | WepWeld.Part1 = Handle | |
| 351 | WepWeld.C0 = Cf(1.5, -1, 0.6) * Euler(rad(-90), rad(0), rad(90)) | |
| 352 | Humanoid.MaxHealth = Max_Health | |
| 353 | wait(0.1) | |
| 354 | Humanoid.Health = Max_Health | |
| 355 | end | |
| 356 | end | |
| 357 | ) | |
| 358 | Create_Moves_In_List = function() | |
| 359 | ||
| 360 | local ah = 0.012 | |
| 361 | local am = 0.012 | |
| 362 | local move = Title:Clone() | |
| 363 | move.Parent = Moves | |
| 364 | move.Name = "A Move" | |
| 365 | move.Text = "CTRL - Enable/Disable Keystrokes" | |
| 366 | move.Position = Ud2(0, 0, ah, 0) | |
| 367 | move.TextXAlignment = "Left" | |
| 368 | ah = ah + am | |
| 369 | move = Title:Clone() | |
| 370 | move.Parent = Moves | |
| 371 | move.Name = "A Move" | |
| 372 | move.Text = "R - Corrupt Guard(Cannont be duelwielding)" | |
| 373 | move.Position = Ud2(0, 0, ah, 0) | |
| 374 | move.TextXAlignment = "Left" | |
| 375 | ah = ah + am | |
| 376 | move = Title:Clone() | |
| 377 | move.Parent = Moves | |
| 378 | move.Name = "A Move" | |
| 379 | move.Text = "F - Equip/Unequip" | |
| 380 | move.Position = Ud2(0, 0, ah, 0) | |
| 381 | move.TextXAlignment = "Left" | |
| 382 | ah = ah + am | |
| 383 | move = Title:Clone() | |
| 384 | move.Parent = Moves | |
| 385 | move.Name = "A Move" | |
| 386 | move.Text = "G - Equip/Unequip Denial" | |
| 387 | move.Position = Ud2(0, 0, ah, 0) | |
| 388 | move.TextXAlignment = "Left" | |
| 389 | ah = ah + am | |
| 390 | move = Title:Clone() | |
| 391 | move.Parent = Moves | |
| 392 | move.Name = "A Move" | |
| 393 | move.Text = "E - Disrupt" | |
| 394 | move.Position = Ud2(0, 0, ah, 0) | |
| 395 | move.TextXAlignment = "Left" | |
| 396 | ah = ah + am | |
| 397 | move = Title:Clone() | |
| 398 | move.Parent = Moves | |
| 399 | move.Name = "A Move" | |
| 400 | move.Text = "Z - Fatal Blow(Denial unequipped)/Hate Wave(Denial equipped)" | |
| 401 | move.Position = Ud2(0, 0, ah, 0) | |
| 402 | move.TextXAlignment = "Left" | |
| 403 | ah = ah + am | |
| 404 | move = Title:Clone() | |
| 405 | move.Parent = Moves | |
| 406 | move.Name = "A Move" | |
| 407 | move.Text = "X - Axel" | |
| 408 | move.Position = Ud2(0, 0, ah, 0) | |
| 409 | move.TextXAlignment = "Left" | |
| 410 | ah = ah + am | |
| 411 | move = Title:Clone() | |
| 412 | move.Parent = Moves | |
| 413 | move.Name = "A Move" | |
| 414 | move.Text = "C - /Dark Eruption(Denial equipped)" | |
| 415 | move.Position = Ud2(0, 0, ah, 0) | |
| 416 | move.TextXAlignment = "Left" | |
| 417 | ah = ah + am | |
| 418 | move = Title:Clone() | |
| 419 | move.Parent = Moves | |
| 420 | move.Name = "A Space" | |
| 421 | move.Text = " " | |
| 422 | move.Position = Ud2(0, 0, ah, 0) | |
| 423 | ah = ah + am | |
| 424 | move = Title:Clone() | |
| 425 | move.Parent = Moves | |
| 426 | move.Name = "A Move" | |
| 427 | move.Text = "---KeyStrokes---" | |
| 428 | move.Position = Ud2(0, 0, ah, 0) | |
| 429 | ah = ah + am | |
| 430 | move = Title:Clone() | |
| 431 | move.Parent = Moves | |
| 432 | move.Name = "A Move" | |
| 433 | - | move.Text = "ASDEA - Kogeki Sokudo Kojo" |
| 433 | + | move.Text = "as - Kogeki Sokudo Kojo" |
| 434 | move.Position = Ud2(0, 0, ah, 0) | |
| 435 | move.TextXAlignment = "Left" | |
| 436 | ah = ah + am | |
| 437 | move = Title:Clone() | |
| 438 | move.Parent = Moves | |
| 439 | move.Name = "A Move" | |
| 440 | - | move.Text = "ASDDC - Awaken" |
| 440 | + | move.Text = "qw - Awaken" |
| 441 | move.Position = Ud2(0, 0, ah, 0) | |
| 442 | move.TextXAlignment = "Left" | |
| 443 | ah = ah + am | |
| 444 | move = Title:Clone() | |
| 445 | move.Parent = Moves | |
| 446 | move.Name = "A Move" | |
| 447 | move.Text = "XWW - Hurricane Slash (Must have The End equipped.)" | |
| 448 | move.Position = Ud2(0, 0, ah, 0) | |
| 449 | move.TextXAlignment = "Left" | |
| 450 | ah = ah + am | |
| 451 | move = Title:Clone() | |
| 452 | move.Parent = Moves | |
| 453 | move.Name = "A Move" | |
| 454 | move.Text = "SSZ - Stomp (Must be Awakened.)" | |
| 455 | move.Position = Ud2(0, 0, ah, 0) | |
| 456 | move.TextXAlignment = "Left" | |
| 457 | ah = ah + am | |
| 458 | end | |
| 459 | ||
| 460 | Create_Moves_In_List() | |
| 461 | local mopen = false | |
| 462 | OM.MouseButton1Click:connect(function() | |
| 463 | ||
| 464 | if not Debounces.UIAction and not mopen then | |
| 465 | Debounces.UIAction = true | |
| 466 | OM.Text = "Hide Move List" | |
| 467 | mopen = true | |
| 468 | Moves:TweenPosition(Ud2(0.002, 0, 0.4, 0), _, "Bounce", 0.6, true) | |
| 469 | OM:TweenPosition(Ud2(0.202, 0, 0.83, 0), _, "Bounce", 0.6, true) | |
| 470 | wait(0.3) | |
| 471 | Debounces.UIAction = false | |
| 472 | else | |
| 473 | if not Debounces.UIAction and mopen then | |
| 474 | Debounces.UIAction = true | |
| 475 | OM.Text = "View Move List" | |
| 476 | mopen = false | |
| 477 | Moves:TweenPosition(Ud2(-0.2, 0, 0.4, 0), _, "Bounce", 0.6, true) | |
| 478 | OM:TweenPosition(Ud2(0.002, 0, 0.83, 0), _, "Bounce", 0.6, true) | |
| 479 | wait(0.3) | |
| 480 | Debounces.UIAction = false | |
| 481 | end | |
| 482 | end | |
| 483 | end | |
| 484 | ) | |
| 485 | local Holder = CreateWeaponPart("Part", F3, "Bright blue", "SmoothPlastic", 1, 0, "GripPart", Vec(0.7, 1, -272.2), Vec(0, 90, 0), Vec(0.6, 0.2, 0.6), "BlockMesh", Vec(1, 1, 1), "", "")
| |
| 486 | Holder.Anchored = false | |
| 487 | local HWeld = Inst("Motor6D", RightArm)
| |
| 488 | HWeld.Name = "Grip Joint" | |
| 489 | HWeld.Part0 = RightArm | |
| 490 | HWeld.Part1 = Holder | |
| 491 | HWeld.C0 = Cf(0, -1, 0) | |
| 492 | local Holder2 = CreateWeaponPart("Part", F3, "Bright red", "SmoothPlastic", 1, 0, "GripPart", Vec(0.7, 1, -272.2), Vec(0, 90, 0), Vec(0.6, 0.2, 0.6), "BlockMesh", Vec(1, 1, 1), "", "")
| |
| 493 | Holder2.Anchored = false | |
| 494 | local HWeld2 = Inst("Motor6D", LeftArm)
| |
| 495 | HWeld2.Name = "Grip Joint" | |
| 496 | HWeld2.Part0 = LeftArm | |
| 497 | HWeld2.Part1 = Holder2 | |
| 498 | HWeld2.C0 = Cf(0, -1, 0) | |
| 499 | local DED = false | |
| 500 | Humanoid.Changed:connect(function() | |
| 501 | ||
| 502 | if Humanoid.Health < 0.01 or Humanoid.Parent == nil then | |
| 503 | wait() | |
| 504 | if (Humanoid.Health == 0 and not DED) or Humanoid.Parent == nil and not DED then | |
| 505 | print("ded")
| |
| 506 | DED = true | |
| 507 | if Hit_Box then | |
| 508 | Hit_Box.CanCollide = true | |
| 509 | end | |
| 510 | debServ:AddItem(Denial, 36) | |
| 511 | Denial.Parent = workspace | |
| 512 | end | |
| 513 | end | |
| 514 | if Humanoid.Jump and Debounces.DisableJump then | |
| 515 | Humanoid.Jump = false | |
| 516 | end | |
| 517 | end | |
| 518 | ) | |
| 519 | Player.CharacterRemoving:connect(function() | |
| 520 | if not DED then | |
| 521 | print("ur just gone fam")
| |
| 522 | DED = true | |
| 523 | if Hit_Box then | |
| 524 | Hit_Box.CanCollide = true | |
| 525 | end | |
| 526 | debServ:AddItem(Denial, 36) | |
| 527 | Denial.Parent = workspace | |
| 528 | end | |
| 529 | end | |
| 530 | ) | |
| 531 | repeat | |
| 532 | repeat | |
| 533 | runServ.Stepped:wait() | |
| 534 | until Handle | |
| 535 | until Hit_Box | |
| 536 | print("Handle and Hitbox created")
| |
| 537 | CreatePart = function(className, parent, Brickcolor, Material, Transparency, Reflectance, Name, Size, Position, Rotation, MeshClass, MeshScale, MeshId, MeshType) | |
| 538 | ||
| 539 | local Part = Instance.new(className, parent) | |
| 540 | Part.BrickColor = BrickColor.new(Brickcolor) | |
| 541 | Part.Transparency = Transparency | |
| 542 | Part.Reflectance = Reflectance | |
| 543 | Part.Material = Material | |
| 544 | Part.Name = Name | |
| 545 | Part.Anchored = true | |
| 546 | Part.CanCollide = false | |
| 547 | Part.Locked = true | |
| 548 | Part.Size = Size | |
| 549 | Part.Position = Position | |
| 550 | Part.Rotation = Rotation | |
| 551 | Part.TopSurface = "SmoothNoOutlines" | |
| 552 | Part.BottomSurface = "SmoothNoOutlines" | |
| 553 | Part.FrontSurface = "SmoothNoOutlines" | |
| 554 | Part.BackSurface = "SmoothNoOutlines" | |
| 555 | Part.RightSurface = "SmoothNoOutlines" | |
| 556 | Part.LeftSurface = "SmoothNoOutlines" | |
| 557 | local Mesh = Instance.new(MeshClass, Part) | |
| 558 | Mesh.Scale = MeshScale | |
| 559 | if MeshClass == "SpecialMesh" then | |
| 560 | Mesh.MeshId = MeshId | |
| 561 | Mesh.MeshType = MeshType | |
| 562 | end | |
| 563 | return Part | |
| 564 | end | |
| 565 | ||
| 566 | Protector = function(object) | |
| 567 | ||
| 568 | if object:IsA("BasePart") or object:IsA("BodyMover") or object:IsA("JointInstance") or object:IsA("Light") then
| |
| 569 | game:GetService("RunService").Stepped:wait()
| |
| 570 | if object.Name ~= DecName then | |
| 571 | debServ:AddItem(object, 0) | |
| 572 | if object:IsA("BodyMover") then
| |
| 573 | RootPart.Velocity = Vec(0, 0, 0) | |
| 574 | coroutine.resume(coroutine.create(function() | |
| 575 | ||
| 576 | wait() | |
| 577 | RootPart.Velocity = Vec(0, 0, 0) | |
| 578 | end | |
| 579 | )) | |
| 580 | end | |
| 581 | end | |
| 582 | end | |
| 583 | end | |
| 584 | ||
| 585 | Momentum_Cancel = function(partfam) | |
| 586 | ||
| 587 | if partfam ~= nil then | |
| 588 | local MC = function() | |
| 589 | ||
| 590 | if Humanoid.WalkSpeed + 50 < partfam.Velocity.Magnitude and not Debounces.Attacking and not Debounces.DoubleJumping then | |
| 591 | local stopper = Inst("BodyVelocity", partfam)
| |
| 592 | stopper.Name = DecName | |
| 593 | stopper.MaxForce = Vec(huge, huge, huge) | |
| 594 | stopper.Velocity = Vec(1, 1, 1) | |
| 595 | debServ:AddItem(stopper, 0.05) | |
| 596 | end | |
| 597 | end | |
| 598 | ||
| 599 | partfam.Changed:connect(MC) | |
| 600 | end | |
| 601 | end | |
| 602 | ||
| 603 | for _,child in pairs(Character:GetChildren()) do | |
| 604 | if child:IsA("BasePart") then
| |
| 605 | child.ChildAdded:connect(Protector) | |
| 606 | child.DescendantAdded:connect(Protector) | |
| 607 | Momentum_Cancel(child) | |
| 608 | end | |
| 609 | end | |
| 610 | for _,child in pairs(Denial:GetChildren()) do | |
| 611 | if child:IsA("BasePart") then
| |
| 612 | child.ChildAdded:connect(Protector) | |
| 613 | child.DescendantAdded:connect(Protector) | |
| 614 | end | |
| 615 | end | |
| 616 | local FrameRate = 0.033333333333333 | |
| 617 | local TimeFrame = 0 | |
| 618 | local allowframeloss = false | |
| 619 | local tossremainder = false | |
| 620 | local lastframe = tick() | |
| 621 | ArtificialHB:Fire() | |
| 622 | runServ.Heartbeat:connect(function(s, p) | |
| 623 | ||
| 624 | TimeFrame = TimeFrame + s | |
| 625 | if FrameRate <= TimeFrame then | |
| 626 | if allowframeloss then | |
| 627 | ArtificialHB:Fire() | |
| 628 | lastframe = tick() | |
| 629 | else | |
| 630 | for i = 1, math.floor(TimeFrame / FrameRate) do | |
| 631 | ArtificialHB:Fire() | |
| 632 | end | |
| 633 | lastframe = tick() | |
| 634 | end | |
| 635 | if tossremainder then | |
| 636 | TimeFrame = 0 | |
| 637 | else | |
| 638 | TimeFrame = TimeFrame - FrameRate * math.floor(TimeFrame / FrameRate) | |
| 639 | end | |
| 640 | end | |
| 641 | end | |
| 642 | ) | |
| 643 | swait = function(num) | |
| 644 | ||
| 645 | if num == 0 or num == nil then | |
| 646 | ArtificialHB.Event:wait() | |
| 647 | else | |
| 648 | for i = 0, num do | |
| 649 | ArtificialHB.Event:wait() | |
| 650 | end | |
| 651 | end | |
| 652 | end | |
| 653 | ||
| 654 | MakeText = function(text, font, duration, tcr, tcg, tcb, scr, scg, scb, cFrame) | |
| 655 | local tpart = Instance.new("Part")
| |
| 656 | tpart.Parent = F2 | |
| 657 | tpart.Transparency = 1 | |
| 658 | tpart.Name = "hoi hoi" | |
| 659 | tpart.Anchored = true | |
| 660 | tpart.CanCollide = false | |
| 661 | tpart.Locked = true | |
| 662 | tpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 663 | tpart.CFrame = cFrame * CFrame.new(math.random(-2, 2), 0, math.random(-2, 2)) | |
| 664 | local bill = Instance.new("BillboardGui")
| |
| 665 | bill.Parent = tpart | |
| 666 | bill.AlwaysOnTop = true | |
| 667 | bill.Name = "HUHHHHHNAAAA" | |
| 668 | bill.Size = UDim2.new(4, 0, 4, 0) | |
| 669 | bill.StudsOffset = Vector3.new(0, 1, 0) | |
| 670 | local counter = 0 | |
| 671 | local textl = Instance.new("TextLabel")
| |
| 672 | textl.Parent = bill | |
| 673 | textl.Name = "WHYYYYYYYY" | |
| 674 | textl.BackgroundTransparency = 1 | |
| 675 | textl.Size = UDim2.new(1, 0, 1, 0) | |
| 676 | textl.Font = font | |
| 677 | textl.Text = text | |
| 678 | textl.TextColor3 = Color3.new(tcr / 255, tcg / 255, tcb / 255) | |
| 679 | textl.TextScaled = true | |
| 680 | textl.TextStrokeColor3 = Color3.new(scr / 255, scg / 255, scb / 255) | |
| 681 | textl.TextStrokeTransparency = 0 | |
| 682 | coroutine.resume(coroutine.create(function() | |
| 683 | while textl.TextTransparency < 1 do | |
| 684 | swait() | |
| 685 | if bill.StudsOffset.Y >= 5 then | |
| 686 | if duration <= counter then | |
| 687 | textl.TextTransparency = textl.TextTransparency + 0.15 | |
| 688 | textl.TextStrokeTransparency = textl.TextStrokeTransparency + 0.15 | |
| 689 | end | |
| 690 | end | |
| 691 | counter = counter + 0.1 | |
| 692 | bill.StudsOffset = Vec(0, bill.StudsOffset.Y + 0.15, 0) | |
| 693 | end | |
| 694 | debServ:AddItem(bill, 0) | |
| 695 | debServ:AddItem(textl, 0) | |
| 696 | debServ:AddItem(tpart, 0) | |
| 697 | end)) | |
| 698 | end | |
| 699 | ||
| 700 | Apply_Buff = function(amount, duration) | |
| 701 | ||
| 702 | coroutine.resume(coroutine.create(function() | |
| 703 | ||
| 704 | if amount > 0 and duration > 0 then | |
| 705 | Damage_Buff = Damage_Buff + amount | |
| 706 | MakeText("+" .. amount .. " Damage", FONT, 0.3, 255, 0, 0, 0, 0, 0, RootPart.CFrame)
| |
| 707 | wait(duration) | |
| 708 | Damage_Buff = Damage_Buff - amount | |
| 709 | MakeText("-" .. amount .. " Damage", FONT, 0.3, 255, 0, 0, 0, 0, 0, RootPart.CFrame)
| |
| 710 | end | |
| 711 | end | |
| 712 | )) | |
| 713 | end | |
| 714 | ||
| 715 | Apply_Health_Buff = function(amount, duration) | |
| 716 | ||
| 717 | coroutine.resume(coroutine.create(function() | |
| 718 | ||
| 719 | if amount > 0 and duration > 0 then | |
| 720 | Max_Health = Max_Health + amount | |
| 721 | coroutine.resume(coroutine.create(function() | |
| 722 | ||
| 723 | wait() | |
| 724 | Humanoid.Health = Humanoid.Health + amount | |
| 725 | end | |
| 726 | )) | |
| 727 | MakeText("+" .. amount .. " Max Health", FONT, 0.3, 255, 170, 0, 0, 0, 0, RootPart.CFrame)
| |
| 728 | wait(duration) | |
| 729 | Max_Health = Max_Health - amount | |
| 730 | MakeText("-" .. amount .. " Max Health", FONT, 0.3, 255, 170, 0, 0, 0, 0, RootPart.CFrame)
| |
| 731 | end | |
| 732 | end | |
| 733 | )) | |
| 734 | end | |
| 735 | ||
| 736 | function clerp(a,b,t) | |
| 737 | local qa = {QuaternionFromCFrame(a)}
| |
| 738 | local qb = {QuaternionFromCFrame(b)}
| |
| 739 | local ax, ay, az = a.x, a.y, a.z | |
| 740 | local bx, by, bz = b.x, b.y, b.z | |
| 741 | local _t = 1-t | |
| 742 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 743 | end | |
| 744 | ||
| 745 | function QuaternionFromCFrame(cf) | |
| 746 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 747 | local trace = m00 + m11 + m22 | |
| 748 | if trace > 0 then | |
| 749 | local s = math.sqrt(1 + trace) | |
| 750 | local recip = 0.5/s | |
| 751 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 752 | else | |
| 753 | local i = 0 | |
| 754 | if m11 > m00 then | |
| 755 | i = 1 | |
| 756 | end | |
| 757 | if m22 > (i == 0 and m00 or m11) then | |
| 758 | i = 2 | |
| 759 | end | |
| 760 | if i == 0 then | |
| 761 | local s = math.sqrt(m00-m11-m22+1) | |
| 762 | local recip = 0.5/s | |
| 763 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 764 | elseif i == 1 then | |
| 765 | local s = math.sqrt(m11-m22-m00+1) | |
| 766 | local recip = 0.5/s | |
| 767 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 768 | elseif i == 2 then | |
| 769 | local s = math.sqrt(m22-m00-m11+1) | |
| 770 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 771 | end | |
| 772 | end | |
| 773 | end | |
| 774 | ||
| 775 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 776 | local xs, ys, zs = x + x, y + y, z + z | |
| 777 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 778 | local xx = x*xs | |
| 779 | local xy = x*ys | |
| 780 | local xz = x*zs | |
| 781 | local yy = y*ys | |
| 782 | local yz = y*zs | |
| 783 | local zz = z*zs | |
| 784 | 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)) | |
| 785 | end | |
| 786 | ||
| 787 | function QuaternionSlerp(a, b, t) | |
| 788 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 789 | local startInterp, finishInterp; | |
| 790 | if cosTheta >= 0.0001 then | |
| 791 | if (1 - cosTheta) > 0.0001 then | |
| 792 | local theta = math.acos(cosTheta) | |
| 793 | local invSinTheta = 1/math.sin(theta) | |
| 794 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 795 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 796 | else | |
| 797 | startInterp = 1-t | |
| 798 | finishInterp = t | |
| 799 | end | |
| 800 | else | |
| 801 | if (1+cosTheta) > 0.0001 then | |
| 802 | local theta = math.acos(-cosTheta) | |
| 803 | local invSinTheta = 1/math.sin(theta) | |
| 804 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 805 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 806 | else | |
| 807 | startInterp = t-1 | |
| 808 | finishInterp = t | |
| 809 | end | |
| 810 | end | |
| 811 | 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 | |
| 812 | end | |
| 813 | ||
| 814 | FindHum = function(parent) | |
| 815 | ||
| 816 | local hm = nil | |
| 817 | for _,HM in pairs(parent:GetChildren()) do | |
| 818 | if HM:IsA("Humanoid") then
| |
| 819 | hm = HM | |
| 820 | end | |
| 821 | end | |
| 822 | return hm | |
| 823 | end | |
| 824 | ||
| 825 | Sound = function(parent, ID, Volume, Pitch, Looped) | |
| 826 | ||
| 827 | local sound = Inst("Sound", parent)
| |
| 828 | sound.SoundId = ID | |
| 829 | sound.Volume = Volume | |
| 830 | sound.Pitch = Pitch | |
| 831 | sound.Looped = Looped | |
| 832 | sound:Play() | |
| 833 | return sound | |
| 834 | end | |
| 835 | ||
| 836 | local DamageFunction = function(Hit, IsRan, MinDam, MaxDam, HKB, Knockback, DamType, Property, Duration, HDrag, DragDuration, SoEff, SoID, SoPit, SoVol) | |
| 837 | ||
| 838 | local humanoid = FindHum(Hit.Parent) | |
| 839 | if humanoid and humanoid ~= Humanoid then | |
| 840 | local IsSafe = true | |
| 841 | local Deb = humanoid:FindFirstChild("ChaosDebounce")
| |
| 842 | if Deb then | |
| 843 | local Cre = Deb:FindFirstChild("Creator")
| |
| 844 | if Cre and Cre.Value == Player.UserId then | |
| 845 | IsSafe = false | |
| 846 | end | |
| 847 | end | |
| 848 | if IsSafe then | |
| 849 | local deb = Inst("BoolValue", humanoid)
| |
| 850 | deb.Name = "ChaosDebounce" | |
| 851 | local cre = Inst("NumberValue", deb)
| |
| 852 | cre.Name = "Creator" | |
| 853 | cre.Value = Player.UserId | |
| 854 | debServ:AddItem(deb, Duration) | |
| 855 | debServ:AddItem(cre, Duration) | |
| 856 | local Damage = 1 | |
| 857 | if IsRan then | |
| 858 | Damage = rand(MinDam, MaxDam) | |
| 859 | else | |
| 860 | Damage = MaxDam | |
| 861 | end | |
| 862 | local this_nigga_had_op_health = false | |
| 863 | if SoEff then | |
| 864 | local HitSound = Sound(Hit, "http://roblox.com/asset/?id=" .. SoID .. "", SoVol, SoPit, false) | |
| 865 | debServ:AddItem(HitSound, 6) | |
| 866 | end | |
| 867 | -- DECOMPILER ERROR at PC100: Unhandled construct in 'MakeBoolean' P1 | |
| 868 | ||
| 869 | if (DamType == "Compensate" or string.sub(DamType, 1, 10) == "Compensate") and (humanoid.MaxHealth >= 100000 or humanoid.MaxHealth == 0) then | |
| 870 | if humanoid.MaxHealth >= 1000000000 or humanoid.MaxHealth == 0 then | |
| 871 | humanoid.MaxHealth = 100 | |
| 872 | this_nigga_had_op_health = true | |
| 873 | end | |
| 874 | Damage = Damage * (humanoid.MaxHealth / 100) | |
| 875 | end | |
| 876 | if humanoid.MaxHealth >= 100000000 or humanoid.MaxHealth == 0 then | |
| 877 | this_nigga_had_op_health = true | |
| 878 | humanoid.MaxHealth = 100 | |
| 879 | end | |
| 880 | if Damage_Buff > 0 then | |
| 881 | Damage = Damage * Damage_Buff | |
| 882 | end | |
| 883 | humanoid.Health = humanoid.Health - Damage | |
| 884 | if humanoid.MaxHealth / 4 <= Damage then | |
| 885 | MakeText("-" .. Damage .. "", "SourceSansBold", 0.3, 170, 0, 0, 255, 85, 0, Hit.CFrame)
| |
| 886 | else | |
| 887 | local mtc = BC(Colour1).Color | |
| 888 | MakeText("-" .. Damage .. "", FONT, 0.3, mtc.r * 255, mtc.g * 255, mtc.b * 255, 0, 0, 0, Hit.CFrame)
| |
| 889 | end | |
| 890 | do | |
| 891 | if HKB and (DamType ~= "SkyRocket" or DamType ~= "Compensate-SkyRocket") then | |
| 892 | if Property.Name ~= "Point" then | |
| 893 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
| 894 | local KBCF = Cf(Hit.Position, Property.Position) | |
| 895 | Hit.Velocity = KBCF.lookVector * -Knockback | |
| 896 | else | |
| 897 | do | |
| 898 | Hit.Velocity = Property.CFrame.lookVector * Knockback | |
| 899 | if (DamType == "Normal" and DamType == "Stun") or DamType == "Compensate-Stun" then | |
| 900 | MakeText("Stunned", FONT, 0.3, 255, 255, 0, 0, 0, 0, Hit.CFrame)
| |
| 901 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
| 902 | local pos = Inst("BodyPosition", Hit)
| |
| 903 | pos.MaxForce = Vec(huge, huge, huge) | |
| 904 | pos.Position = Hit.Position | |
| 905 | debServ:AddItem(pos, Duration * 10) | |
| 906 | else | |
| 907 | do | |
| 908 | if DamType == "LifeSteal" or DamType == "Compensate-LifeSteal" then | |
| 909 | Humanoid.Health = Humanoid.Health + Damage / 2 | |
| 910 | MakeText("+" .. Damage / 2, FONT, 0.4, 0, 0, 0, 0, 255, 0, RootPart.CFrame)
| |
| 911 | else | |
| 912 | if DamType == "MomentumStopper" or DamType == "Compensate-MomentumStopper" then | |
| 913 | local vel = Inst("BodyVelocity", Hit)
| |
| 914 | vel.Name = "MomentumStopper" | |
| 915 | vel.MaxForce = Vec(huge, huge, huge) | |
| 916 | vel.Velocity = Vec(0, 0, 0) | |
| 917 | debServ:AddItem(vel, 3) | |
| 918 | else | |
| 919 | do | |
| 920 | if DamType == "Knockdown" or DamType == "Compensate-Knockdown" then | |
| 921 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
| 922 | else | |
| 923 | if DamType == "SkyRocket" or DamType == "Compensate-SkyRocket" then | |
| 924 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
| 925 | Hit.Velocity = Vec(0, Knockback, 0) | |
| 926 | if rand(1, 4) == 1 then | |
| 927 | local Twista = Inst("BodyAngularVelocity", Hit)
| |
| 928 | Twista.MaxTorque = Vec(1000000, 1000000, 1000000) | |
| 929 | Twista.AngularVelocity = Vec(rand(-2, 2) * (Knockback / 2), rand(-2, 2) * (Knockback / 2), rand(-2, 2) * (Knockback / 2)) | |
| 930 | debServ:AddItem(Twista, 0.01) | |
| 931 | end | |
| 932 | else | |
| 933 | do | |
| 934 | if DamType == "FreezeStun" or DamType == "Compensate-FreezeStun" then | |
| 935 | MakeText("Stunned", FONT, 0.3, 0, 0, 0, 255, 170, 0, Hit.CFrame)
| |
| 936 | coroutine.resume(coroutine.create(function() | |
| 937 | ||
| 938 | local ti = 0 | |
| 939 | local hHead = Hit.Parent:FindFirstChild("Head")
| |
| 940 | if hHead then | |
| 941 | hHead = Hit | |
| 942 | local h = Inst("Part", F2)
| |
| 943 | h.Size = Vec(0.2, 0.2, 0.2) | |
| 944 | h.CanCollide = false | |
| 945 | h.Transparency = 1 | |
| 946 | h.Position = hHead.Position | |
| 947 | local hWELD = Inst("Weld", h)
| |
| 948 | hWELD.Part0 = hHead | |
| 949 | hWELD.Part1 = h | |
| 950 | hWELD.C0 = Cf(0, -4, 0) | |
| 951 | repeat | |
| 952 | ti = ti + 0.1 | |
| 953 | for _,p in pairs(humanoid.Parent:GetChildren()) do | |
| 954 | if p:IsA("BasePart") then
| |
| 955 | p.Anchored = true | |
| 956 | end | |
| 957 | end | |
| 958 | swait() | |
| 959 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
| 960 | local p1 = hHead.Position + Vec(rand(-200, 200) / 100, -(hHead.Size.y * 1.5), rand(-200, 200) / 100) | |
| 961 | local p0 = h.Position | |
| 962 | Lightning(p0, p1, 5, 3, Colour1, "Neon", 0.1, 0.2, 0.2) | |
| 963 | until Duration * 12 <= ti | |
| 964 | for _,p in pairs(humanoid.Parent:GetChildren()) do | |
| 965 | if p:IsA("BasePart") then
| |
| 966 | p.Anchored = false | |
| 967 | end | |
| 968 | end | |
| 969 | debServ:AddItem(h, 0) | |
| 970 | end | |
| 971 | end | |
| 972 | )) | |
| 973 | else | |
| 974 | if DamType == "KnockDownFreezeStun" or DamType == "Compensate-KnockDownFreezeStun" then | |
| 975 | MakeText("Stunned", FONT, 0.3, 0, 0, 0, 255, 64, 0, Hit.CFrame)
| |
| 976 | coroutine.resume(coroutine.create(function() | |
| 977 | ||
| 978 | local ti = 0 | |
| 979 | local scf = nil | |
| 980 | local h = Inst("Part", F2)
| |
| 981 | h.Size = Vec(0.2, 0.2, 0.2) | |
| 982 | h.CanCollide = false | |
| 983 | h.Anchored = true | |
| 984 | h.Transparency = 1 | |
| 985 | h.Position = Hit.Position | |
| 986 | h.CFrame = h.CFrame * Euler(rad(-90), 0, 0) | |
| 987 | local IL = {Character, Hit.Parent}
| |
| 988 | local Ground, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(h.Position, h.CFrame.lookVector.Unit * 999), IL, true, true) | |
| 989 | if Ground then | |
| 990 | Hit.CFrame = Cf(Pos) * Euler(rad(-90), 0, 0) | |
| 991 | scf = Cf(Pos) * Euler(rad(-90), 0, 0) | |
| 992 | end | |
| 993 | repeat | |
| 994 | ti = ti + 0.1 | |
| 995 | for _,p in pairs(humanoid.Parent:GetChildren()) do | |
| 996 | if p:IsA("BasePart") then
| |
| 997 | p.Anchored = true | |
| 998 | end | |
| 999 | end | |
| 1000 | Hit.CFrame = scf | |
| 1001 | swait() | |
| 1002 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
| 1003 | until Duration * 7 <= ti | |
| 1004 | for _,p in pairs(humanoid.Parent:GetChildren()) do | |
| 1005 | if p:IsA("BasePart") then
| |
| 1006 | p.Anchored = false | |
| 1007 | end | |
| 1008 | end | |
| 1009 | debServ:AddItem(h, 0) | |
| 1010 | end | |
| 1011 | )) | |
| 1012 | end | |
| 1013 | end | |
| 1014 | if HDrag then | |
| 1015 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
| 1016 | local pos = Inst("BodyPosition", Hit)
| |
| 1017 | pos.MaxForce = Vec(huge, huge, huge) | |
| 1018 | pos.Position = Drag_To_Part.Position | |
| 1019 | local d = Inst("NumberValue", pos)
| |
| 1020 | d.Name = "Duration" | |
| 1021 | d.Value = DragDuration | |
| 1022 | table.insert(DragTable, pos) | |
| 1023 | end | |
| 1024 | do | |
| 1025 | if this_nigga_had_op_health then | |
| 1026 | coroutine.resume(coroutine.create(function() | |
| 1027 | ||
| 1028 | swait() | |
| 1029 | Damage = Damage * 2 | |
| 1030 | humanoid.Health = humanoid.Health - Damage | |
| 1031 | MakeText("-" .. Damage .. "", FONT, 0.4, 0, 0, 0, 0, 0, 91, Hit.CFrame)
| |
| 1032 | end | |
| 1033 | )) | |
| 1034 | end | |
| 1035 | end | |
| 1036 | end | |
| 1037 | end | |
| 1038 | end | |
| 1039 | end | |
| 1040 | end | |
| 1041 | end | |
| 1042 | end | |
| 1043 | end | |
| 1044 | end | |
| 1045 | end | |
| 1046 | end | |
| 1047 | end | |
| 1048 | end | |
| 1049 | end | |
| 1050 | end | |
| 1051 | ||
| 1052 | MagniDamage = function(Part, range, isRan, mindam, maxdam, hkb, knock, DType, dur, hd, dd, soe, soid, sopit, sovol) | |
| 1053 | ||
| 1054 | for _,c in pairs(workspace:GetChildren()) do | |
| 1055 | local hum = FindHum(c) | |
| 1056 | if hum and hum ~= Humanoid then | |
| 1057 | local head = c:FindFirstChild("Head")
| |
| 1058 | local tor = c:FindFirstChild("Torso")
| |
| 1059 | local larm = c:FindFirstChild("Left Arm")
| |
| 1060 | local rarm = c:FindFirstChild("Right Arm")
| |
| 1061 | local lleg = c:FindFirstChild("Left Leg")
| |
| 1062 | local rleg = c:FindFirstChild("Right Leg")
| |
| 1063 | local Dis = range | |
| 1064 | local Par = nil | |
| 1065 | if head then | |
| 1066 | local Mag = (head.Position - Part.Position).magnitude | |
| 1067 | if Mag <= Dis then | |
| 1068 | Dis = Mag | |
| 1069 | Par = head | |
| 1070 | end | |
| 1071 | end | |
| 1072 | if tor then | |
| 1073 | local Mag = (tor.Position - Part.Position).magnitude | |
| 1074 | if Mag <= Dis then | |
| 1075 | Dis = Mag | |
| 1076 | Par = tor | |
| 1077 | end | |
| 1078 | end | |
| 1079 | if rarm then | |
| 1080 | local Mag = (rarm.Position - Part.Position).magnitude | |
| 1081 | if Mag <= Dis then | |
| 1082 | Dis = Mag | |
| 1083 | Par = rarm | |
| 1084 | end | |
| 1085 | end | |
| 1086 | if larm then | |
| 1087 | local Mag = (larm.Position - Part.Position).magnitude | |
| 1088 | if Mag <= Dis then | |
| 1089 | Dis = Mag | |
| 1090 | Par = larm | |
| 1091 | end | |
| 1092 | end | |
| 1093 | if rleg then | |
| 1094 | local Mag = (rleg.Position - Part.Position).magnitude | |
| 1095 | if Mag <= Dis then | |
| 1096 | Dis = Mag | |
| 1097 | Par = rleg | |
| 1098 | end | |
| 1099 | end | |
| 1100 | if lleg then | |
| 1101 | local Mag = (lleg.Position - Part.Position).magnitude | |
| 1102 | if Mag <= Dis then | |
| 1103 | Dis = Mag | |
| 1104 | Par = lleg | |
| 1105 | end | |
| 1106 | end | |
| 1107 | if Par then | |
| 1108 | DamageFunction(Par, isRan, mindam, maxdam, hkb, knock, DType, Part, dur, hd, dd, soe, soid, sopit, sovol) | |
| 1109 | end | |
| 1110 | -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT | |
| 1111 | ||
| 1112 | -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT | |
| 1113 | ||
| 1114 | -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT | |
| 1115 | ||
| 1116 | -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT | |
| 1117 | ||
| 1118 | -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT | |
| 1119 | ||
| 1120 | -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT | |
| 1121 | ||
| 1122 | -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 1123 | ||
| 1124 | -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out IF_STMT | |
| 1125 | ||
| 1126 | end | |
| 1127 | end | |
| 1128 | end | |
| 1129 | ||
| 1130 | rayCast = function(Pos, Dir, Max, Ignore) | |
| 1131 | ||
| 1132 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 1133 | end | |
| 1134 | ||
| 1135 | local Point = Torso.CFrame * Cf(0, Torso.Size.Y, 0) | |
| 1136 | LastPoint = Point | |
| 1137 | effect = function(Color, Ref, LP, P1, returnn) | |
| 1138 | ||
| 1139 | local effectsmsh = Instance.new("CylinderMesh")
| |
| 1140 | effectsmsh.Scale = Vector3.new(0.2, 1, 0.2) | |
| 1141 | effectsmsh.Name = "Mesh" | |
| 1142 | local effectsg = Instance.new("Part")
| |
| 1143 | effectsg.formFactor = 3 | |
| 1144 | effectsg.CanCollide = false | |
| 1145 | effectsg.Name = "Eff" | |
| 1146 | effectsg.Locked = true | |
| 1147 | effectsg.Anchored = true | |
| 1148 | effectsg.Size = Vector3.new(0.5, 1, 0.5) | |
| 1149 | effectsg.Parent = F2 | |
| 1150 | effectsmsh.Parent = effectsg | |
| 1151 | effectsg.BrickColor = BrickColor.new(Color) | |
| 1152 | effectsg.Reflectance = Ref | |
| 1153 | local point1 = P1 | |
| 1154 | local mg = (LP.p - point1.p).magnitude | |
| 1155 | effectsg.Size = Vector3.new(0.5, mg, 0.5) | |
| 1156 | effectsg.CFrame = Cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0) | |
| 1157 | effectsmsh.Scale = Vector3.new(0.2, 1, 0.2) | |
| 1158 | game:GetService("Debris"):AddItem(effectsg, 2)
| |
| 1159 | if returnn then | |
| 1160 | return effectsg | |
| 1161 | end | |
| 1162 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1163 | ||
| 1164 | if not returnn then | |
| 1165 | for i = 0, 1, 0.05 do | |
| 1166 | swait() | |
| 1167 | Part.Transparency = 1 * i | |
| 1168 | Mesh.Scale = Vector3.new(0.5 - 0.5 * i, 1, 0.5 - 0.5 * i) | |
| 1169 | end | |
| 1170 | Part.Parent = nil | |
| 1171 | end | |
| 1172 | end | |
| 1173 | ), effectsg, effectsmsh) | |
| 1174 | end | |
| 1175 | ||
| 1176 | local CFrameFromTopBack = function(at, top, back) | |
| 1177 | ||
| 1178 | local right = top:Cross(back) | |
| 1179 | return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
| 1180 | end | |
| 1181 | ||
| 1182 | NoOutline = function(Part) | |
| 1183 | ||
| 1184 | Part.TopSurface = 10 | |
| 1185 | end | |
| 1186 | ||
| 1187 | part = function(parent, reflectance, transparency, brickcolor, name, size, material) | |
| 1188 | ||
| 1189 | local fp = Inst("Part")
| |
| 1190 | fp.Parent = parent | |
| 1191 | fp.Reflectance = reflectance | |
| 1192 | fp.Transparency = transparency | |
| 1193 | fp.CanCollide = false | |
| 1194 | fp.Locked = true | |
| 1195 | fp.BrickColor = brickcolor | |
| 1196 | fp.Name = name | |
| 1197 | fp.Size = size | |
| 1198 | fp.Position = Torso.Position | |
| 1199 | NoOutline(fp) | |
| 1200 | fp.Material = material | |
| 1201 | fp:BreakJoints() | |
| 1202 | return fp | |
| 1203 | end | |
| 1204 | ||
| 1205 | mesh = function(Mesh, part, meshtype, meshid, offset, scale) | |
| 1206 | ||
| 1207 | local mesh = Inst(Mesh) | |
| 1208 | mesh.Parent = part | |
| 1209 | if Mesh == "SpecialMesh" then | |
| 1210 | mesh.MeshType = meshtype | |
| 1211 | mesh.MeshId = meshid | |
| 1212 | end | |
| 1213 | mesh.Offset = offset | |
| 1214 | mesh.Scale = scale | |
| 1215 | return mesh | |
| 1216 | end | |
| 1217 | ||
| 1218 | MagicBlock = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay) | |
| 1219 | ||
| 1220 | local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material) | |
| 1221 | prt.Anchored = true | |
| 1222 | prt.CFrame = cframe | |
| 1223 | local msh = mesh("BlockMesh", prt, "", "", Vec(0, 0, 0), Vec(x1, y1, z1))
| |
| 1224 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1225 | table.insert(Effects, {prt, "Block1", Delay, x3, y3, z3})
| |
| 1226 | end | |
| 1227 | ||
| 1228 | MagicBlock2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay) | |
| 1229 | ||
| 1230 | local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material) | |
| 1231 | prt.Anchored = true | |
| 1232 | prt.CFrame = cframe | |
| 1233 | local msh = mesh("BlockMesh", prt, "", "", Vec(0, 0, 0), Vec(x1, y1, z1))
| |
| 1234 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1235 | table.insert(Effects, {prt, "Disappear", Delay, x3, y3, z3})
| |
| 1236 | end | |
| 1237 | ||
| 1238 | MagicSpikeBall = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay) | |
| 1239 | ||
| 1240 | local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material) | |
| 1241 | prt.Anchored = true | |
| 1242 | prt.CFrame = cframe | |
| 1243 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/Asset/?id=9982590", Vec(0, 0, 0), Vec(x1, y1, z1))
| |
| 1244 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1245 | table.insert(Effects, {prt, "Block1", Delay, x3, y3, z3})
| |
| 1246 | end | |
| 1247 | ||
| 1248 | MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay) | |
| 1249 | ||
| 1250 | local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material) | |
| 1251 | prt.Anchored = true | |
| 1252 | prt.CFrame = cframe | |
| 1253 | local msh = mesh("SpecialMesh", prt, "Sphere", "", Vec(0, 0, 0), Vec(x1, y1, z1))
| |
| 1254 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1255 | table.insert(Effects, {prt, "Cylinder", Delay, x3, y3, z3})
| |
| 1256 | end | |
| 1257 | ||
| 1258 | MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay) | |
| 1259 | ||
| 1260 | local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material) | |
| 1261 | prt.Anchored = true | |
| 1262 | prt.CFrame = cframe | |
| 1263 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", Vec(0, 0, 0), Vec(x1, y1, z1))
| |
| 1264 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1265 | table.insert(Effects, {prt, "Cylinder", Delay, x3, y3, z3})
| |
| 1266 | end | |
| 1267 | ||
| 1268 | MagicWave2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay) | |
| 1269 | ||
| 1270 | local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material) | |
| 1271 | prt.Anchored = true | |
| 1272 | prt.CFrame = cframe | |
| 1273 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", Vec(0, 0, 0), Vec(x1, y1, z1))
| |
| 1274 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1275 | table.insert(Effects, {prt, "Wave", Delay, x3, y3, z3})
| |
| 1276 | end | |
| 1277 | ||
| 1278 | MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay) | |
| 1279 | ||
| 1280 | local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(0.2, 0.2, 0.2), material) | |
| 1281 | prt.Anchored = true | |
| 1282 | prt.CFrame = cframe | |
| 1283 | local msh = mesh("SpecialMesh", prt, "Head", "", Vec(0, 0, 0), Vec(x1, y1, z1))
| |
| 1284 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1285 | Effects[#Effects + 1] = {prt, "Cylinder", Delay, x3, y3, z3}
| |
| 1286 | end | |
| 1287 | ||
| 1288 | MagicCylinder2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay) | |
| 1289 | ||
| 1290 | local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(0.2, 0.2, 0.2), material) | |
| 1291 | prt.Anchored = true | |
| 1292 | prt.CFrame = cframe | |
| 1293 | local msh = mesh("CylinderMesh", prt, "", "", Vec(0, 0, 0), Vec(x1, y1, z1))
| |
| 1294 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1295 | Effects[#Effects + 1] = {prt, "Cylinder", Delay, x3, y3, z3}
| |
| 1296 | end | |
| 1297 | ||
| 1298 | MagicBlood = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay) | |
| 1299 | ||
| 1300 | local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material) | |
| 1301 | prt.Anchored = true | |
| 1302 | prt.CFrame = cframe | |
| 1303 | local msh = mesh("SpecialMesh", prt, "Sphere", "", Vec(0, 0, 0), Vec(x1, y1, z1))
| |
| 1304 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1305 | table.insert(Effects, {prt, "Blood", Delay, x3, y3, z3})
| |
| 1306 | end | |
| 1307 | ||
| 1308 | MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay) | |
| 1309 | ||
| 1310 | local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material) | |
| 1311 | prt.Anchored = true | |
| 1312 | prt.CFrame = cframe | |
| 1313 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vec(0, 0, 0), Vec(x1, y1, z1))
| |
| 1314 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1315 | table.insert(Effects, {prt, "Cylinder", Delay, x3, y3, z3})
| |
| 1316 | end | |
| 1317 | ||
| 1318 | MagicRing2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay) | |
| 1319 | ||
| 1320 | local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material) | |
| 1321 | prt.Anchored = true | |
| 1322 | prt.CFrame = cframe | |
| 1323 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vec(0, 0, 0), Vec(x1, y1, z1))
| |
| 1324 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1325 | table.insert(Effects, {prt, "Blood", Delay, x3, y3, z3})
| |
| 1326 | end | |
| 1327 | ||
| 1328 | ElecEffect = function(brickCol, Mat, cff, x, y, z) | |
| 1329 | ||
| 1330 | local prt = part(F2, 0, 0, brickCol, "Part", Vec(1, 1, 1), Mat) | |
| 1331 | prt.Anchored = true | |
| 1332 | prt.CFrame = cff * Cf(rand(-x, x), rand(-y, y), rand(-z, z)) | |
| 1333 | prt.CFrame = Cf(prt.Position) | |
| 1334 | debServ:AddItem(prt, 2) | |
| 1335 | local xval = math.random() / 2 | |
| 1336 | local yval = math.random() / 2 | |
| 1337 | local zval = math.random() / 2 | |
| 1338 | local msh = mesh("BlockMesh", prt, "", "", Vec(0, 0, 0), Vec(xval, yval, zval))
| |
| 1339 | Effects[#Effects + 1] = {prt, "Elec", 0.1, x, y, z, xval, yval, zval}
| |
| 1340 | end | |
| 1341 | ||
| 1342 | Lightning = function(p0, p1, tym, ofs, col, mat, th, tra, last) | |
| 1343 | ||
| 1344 | local magz = (p0 - p1).magnitude | |
| 1345 | local curpos = p0 | |
| 1346 | local trz = {-ofs, ofs}
| |
| 1347 | for i = 1, tym do | |
| 1348 | local li = Instance.new("Part", F2)
| |
| 1349 | li.TopSurface = 0 | |
| 1350 | li.BottomSurface = 0 | |
| 1351 | li.Anchored = true | |
| 1352 | li.Transparency = tra or 0.4 | |
| 1353 | li.BrickColor = BrickColor.new(col) | |
| 1354 | li.Material = mat | |
| 1355 | li.Material = "Neon" | |
| 1356 | li.formFactor = "Custom" | |
| 1357 | li.CanCollide = false | |
| 1358 | li.Size = Vector3.new(th, th, magz / tym) | |
| 1359 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
| 1360 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
| 1361 | if tym == i then | |
| 1362 | local magz2 = (curpos - p1).magnitude | |
| 1363 | li.Size = Vector3.new(th, th, magz2) | |
| 1364 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
| 1365 | game:GetService("Debris"):AddItem(li, last)
| |
| 1366 | else | |
| 1367 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
| 1368 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
| 1369 | game:GetService("Debris"):AddItem(li, last)
| |
| 1370 | end | |
| 1371 | end | |
| 1372 | end | |
| 1373 | ||
| 1374 | Triangle = function(a, b, c, tcol, tmat) | |
| 1375 | ||
| 1376 | local edg1 = (c-a):Dot((b-a).unit) | |
| 1377 | local edg2 = (a-b):Dot((c-b).unit) | |
| 1378 | local edg3 = (b-c):Dot((a-c).unit) | |
| 1379 | if edg1 <= (b - a).magnitude and edg1 >= 0 then | |
| 1380 | a = a | |
| 1381 | elseif edg2 <= (c - b).magnitude and edg2 >= 0 then | |
| 1382 | a = b | |
| 1383 | elseif edg3 <= (a - c).magnitude and edg3 >= 0 then | |
| 1384 | a = c | |
| 1385 | else | |
| 1386 | return | |
| 1387 | end | |
| 1388 | local len1 = (c-a):Dot((b-a).unit) | |
| 1389 | local len2 = (b-a).magnitude - len1 | |
| 1390 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 1391 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 1392 | local list = {}
| |
| 1393 | if len1 > 0.01 then | |
| 1394 | local w1 = Inst("WedgePart", F2)
| |
| 1395 | w1.Material = tmat | |
| 1396 | w1.BrickColor = BC(tcol) | |
| 1397 | w1.Transparency = 0 | |
| 1398 | w1.Reflectance = 0 | |
| 1399 | w1.CanCollide = false | |
| 1400 | NoOutline(w1) | |
| 1401 | local sz = Vec(0.2, width, len1) | |
| 1402 | w1.Size = sz | |
| 1403 | local sp = Inst("SpecialMesh", w1)
| |
| 1404 | sp.MeshType = "Wedge" | |
| 1405 | sp.Scale = Vec(0, 1, 1) * sz / w1.Size | |
| 1406 | w1:BreakJoints() | |
| 1407 | w1.Anchored = true | |
| 1408 | w1.Transparency = 0.7 | |
| 1409 | debServ:AddItem(w1, 25) | |
| 1410 | table.insert(Effects, {w1, "Disappear", 0.045})
| |
| 1411 | w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2) | |
| 1412 | table.insert(list, w1) | |
| 1413 | end | |
| 1414 | if len2 > 0.01 then | |
| 1415 | local w2 = Inst("WedgePart", F2)
| |
| 1416 | w2.Material = tmat | |
| 1417 | w2.BrickColor = BC(tcol) | |
| 1418 | w2.Transparency = 0 | |
| 1419 | w2.Reflectance = 0 | |
| 1420 | w2.CanCollide = false | |
| 1421 | NoOutline(w2) | |
| 1422 | local sz = Vec(0.2, width, len2) | |
| 1423 | w2.Size = sz | |
| 1424 | local sp = Inst("SpecialMesh", w2)
| |
| 1425 | sp.MeshType = "Wedge" | |
| 1426 | sp.Scale = Vec(0, 1, 1) * sz / w2.Size | |
| 1427 | w2:BreakJoints() | |
| 1428 | w2.Anchored = true | |
| 1429 | w2.Transparency = 0.7 | |
| 1430 | debServ:AddItem(w2, 25) | |
| 1431 | table.insert(Effects, {w2, "Disappear", 0.045})
| |
| 1432 | w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2) | |
| 1433 | table.insert(list, w2) | |
| 1434 | end | |
| 1435 | return unpack(list) | |
| 1436 | end | |
| 1437 | ||
| 1438 | Bringer = function() | |
| 1439 | ||
| 1440 | for i,d in pairs(DragTable) do | |
| 1441 | if d and d:IsA("BodyPosition") then
| |
| 1442 | local tem = d:FindFirstChild("Time")
| |
| 1443 | if not tem then | |
| 1444 | tem = Inst("NumberValue", d)
| |
| 1445 | tem.Name = "Time" | |
| 1446 | tem.Value = 0 | |
| 1447 | end | |
| 1448 | local Dur = d:FindFirstChild("Duration")
| |
| 1449 | if not Dur then | |
| 1450 | Dur = Inst("NumberValue", d)
| |
| 1451 | Dur.Name = "Duration" | |
| 1452 | Dur.Value = 1.5 | |
| 1453 | end | |
| 1454 | if tem.Value < Dur.Value then | |
| 1455 | tem.Value = tem.Value + 0.1 | |
| 1456 | d.P = 20000 | |
| 1457 | d.Position = Drag_To_Part.Position | |
| 1458 | else | |
| 1459 | debServ:AddItem(tem, 0) | |
| 1460 | debServ:AddItem(Dur, 0) | |
| 1461 | debServ:AddItem(d, 0) | |
| 1462 | table.remove(DragTable, i) | |
| 1463 | end | |
| 1464 | end | |
| 1465 | end | |
| 1466 | end | |
| 1467 | ||
| 1468 | MakeHitBox = function(size, part, customcf, c0, c1) | |
| 1469 | ||
| 1470 | local hbox = Inst("Part", F2)
| |
| 1471 | hbox.Transparency = 1 | |
| 1472 | hbox.Anchored = false | |
| 1473 | hbox.CanCollide = false | |
| 1474 | hbox.Locked = true | |
| 1475 | hbox.CFrame = part.CFrame | |
| 1476 | hbox.Size = size | |
| 1477 | hbox:BreakJoints() | |
| 1478 | local hbw = Inst("Weld", hbox)
| |
| 1479 | hbw.Part0 = part | |
| 1480 | hbw.Part1 = hbox | |
| 1481 | if customcf then | |
| 1482 | hbw.C0 = c0 | |
| 1483 | hbw.C1 = c1 | |
| 1484 | else | |
| 1485 | hbw.C0 = Cf(0, -(part.Size.y / 4 + size.y / 4), 0) | |
| 1486 | end | |
| 1487 | return hbox | |
| 1488 | end | |
| 1489 | ||
| 1490 | HTEB = function() | |
| 1491 | ||
| 1492 | coroutine.resume(coroutine.create(function() | |
| 1493 | ||
| 1494 | if #TEBladeP > 0 and TEBEffect ~= nil then | |
| 1495 | TEBEffect.Enabled = false | |
| 1496 | for _,b in pairs(TEBladeP) do | |
| 1497 | if b:IsA("BasePart") then
| |
| 1498 | b.Transparency = 1 | |
| 1499 | end | |
| 1500 | end | |
| 1501 | end | |
| 1502 | end | |
| 1503 | )) | |
| 1504 | end | |
| 1505 | ||
| 1506 | FITEB = function(Rate) | |
| 1507 | ||
| 1508 | coroutine.resume(coroutine.create(function() | |
| 1509 | ||
| 1510 | if #TEBladeP > 0 and TEBEffect ~= nil then | |
| 1511 | TEBEffect.Enabled = true | |
| 1512 | for _,b in pairs(TEBladeP) do | |
| 1513 | if b:IsA("BasePart") then
| |
| 1514 | b.Transparency = 1 | |
| 1515 | end | |
| 1516 | end | |
| 1517 | for i = 1, 0, -(0.1 * (Rate / 100)) do | |
| 1518 | swait() | |
| 1519 | for _,b in pairs(TEBladeP) do | |
| 1520 | if b:IsA("BasePart") then
| |
| 1521 | b.Transparency = i | |
| 1522 | end | |
| 1523 | end | |
| 1524 | end | |
| 1525 | for _,b in pairs(TEBladeP) do | |
| 1526 | if b:IsA("BasePart") then
| |
| 1527 | b.Transparency = 0 | |
| 1528 | end | |
| 1529 | end | |
| 1530 | TEBEffect.Enabled = false | |
| 1531 | end | |
| 1532 | end | |
| 1533 | )) | |
| 1534 | end | |
| 1535 | ||
| 1536 | AssumeNormalJoints = function() | |
| 1537 | ||
| 1538 | for i = 0, 1, 0.1 do | |
| 1539 | swait() | |
| 1540 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, rad(90), 0), 0.3) | |
| 1541 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(90), 0), 0.3) | |
| 1542 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, rad(-90), 0), 0.3) | |
| 1543 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-90), 0), 0.3) | |
| 1544 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), 0.3) | |
| 1545 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3) | |
| 1546 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-90), 0, 0), 0.3) | |
| 1547 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(rad(-90), 0, 0), 0.3) | |
| 1548 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), 0.3) | |
| 1549 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3) | |
| 1550 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), 0.3) | |
| 1551 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3) | |
| 1552 | end | |
| 1553 | LeftShoulder.Part0 = Torso | |
| 1554 | LeftShoulder.Part1 = LeftArm | |
| 1555 | RightShoulder.Part0 = Torso | |
| 1556 | RightShoulder.Part1 = RightArm | |
| 1557 | FLeftShoulder.Part0 = nil | |
| 1558 | FLeftShoulder.Part1 = nil | |
| 1559 | FRightShoulder.Part0 = nil | |
| 1560 | FRightShoulder.Part1 = nil | |
| 1561 | LeftHip.Part0 = Torso | |
| 1562 | LeftHip.Part1 = LeftLeg | |
| 1563 | RightHip.Part0 = Torso | |
| 1564 | RightHip.Part1 = RightLeg | |
| 1565 | FLeftHip.Part0 = nil | |
| 1566 | FLeftHip.Part1 = nil | |
| 1567 | FRightHip.Part0 = nil | |
| 1568 | FRightHip.Part1 = nil | |
| 1569 | RootJoint.Part0 = RootPart | |
| 1570 | RootJoint.Part1 = Torso | |
| 1571 | FRootJoint.Part0 = nil | |
| 1572 | FRootJoint.Part1 = nil | |
| 1573 | end | |
| 1574 | ||
| 1575 | ClickCombo = function() | |
| 1576 | Debounces.Attacking = true | |
| 1577 | if not Debounces.HasWep and Debounces.Transformed and Debounces.TEWield and not Debounces.TESWield then | |
| 1578 | if Attack_Num == 1 then | |
| 1579 | Attack_Num = 2 | |
| 1580 | for i = 0, 1, 0.1 do | |
| 1581 | swait() | |
| 1582 | local SwingSpeed = 0.4 | |
| 1583 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(160), 0, 0), SwingSpeed) | |
| 1584 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1585 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 1586 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 1587 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.6, 0.5, -1) * Euler(0, 0, rad(90)), SwingSpeed) | |
| 1588 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-150), rad(-50), 0), SwingSpeed) | |
| 1589 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-25)), SwingSpeed) | |
| 1590 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1591 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed) | |
| 1592 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 1593 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 1594 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1595 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 1596 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 1597 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 1598 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 1599 | end | |
| 1600 | LeftHip.Part0 = nil | |
| 1601 | LeftHip.Part1 = nil | |
| 1602 | RightHip.Part0 = nil | |
| 1603 | RightHip.Part1 = nil | |
| 1604 | FLeftHip.Part0 = Torso | |
| 1605 | FLeftHip.Part1 = LeftLeg | |
| 1606 | FLeftHip.C0 = LeftHip.C0 | |
| 1607 | FLeftHip.C1 = LeftHip.C1 | |
| 1608 | FRightHip.Part0 = Torso | |
| 1609 | FRightHip.Part1 = RightLeg | |
| 1610 | FRightHip.C0 = RightHip.C0 | |
| 1611 | FRightHip.C1 = RightHip.C1 | |
| 1612 | RootPart.Velocity = RootPart.CFrame.lookVector * 52 | |
| 1613 | local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445073", 1, 1.8, false) | |
| 1614 | debServ:AddItem(SlashS, 2) | |
| 1615 | c1 = nil | |
| 1616 | c2 = nil | |
| 1617 | local hit = TEHit_Box.Touched:connect(function(part) | |
| 1618 | DamageFunction(part, false, 0, 600, true, 30, "Compensate", RootPart, 0.2, false, _, true, 153092227, 1.4, 0.4) | |
| 1619 | end | |
| 1620 | ) | |
| 1621 | for i = 0, 0.6, 0.1 do | |
| 1622 | swait() | |
| 1623 | local x = TEHit_Box | |
| 1624 | c2 = x.CFrame * Cf(0, 0.5, 0) | |
| 1625 | if c1 and (x.Position - c1.p).magnitude > 0.1 then | |
| 1626 | local h = 6 | |
| 1627 | local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon") | |
| 1628 | if a then | |
| 1629 | debServ:AddItem(a, 1) | |
| 1630 | end | |
| 1631 | if b then | |
| 1632 | debServ:AddItem(b, 1) | |
| 1633 | end | |
| 1634 | local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon") | |
| 1635 | if c then | |
| 1636 | debServ:AddItem(c, 1) | |
| 1637 | end | |
| 1638 | if d then | |
| 1639 | debServ:AddItem(d, 1) | |
| 1640 | end | |
| 1641 | c1 = c2 | |
| 1642 | else | |
| 1643 | if not c1 then | |
| 1644 | c1 = c2 | |
| 1645 | end | |
| 1646 | end | |
| 1647 | local SwingSpeed = 0.5 | |
| 1648 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.96, 0.5) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 1649 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1650 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 1651 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 1652 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(60)), SwingSpeed) | |
| 1653 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1654 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(80), 0, rad(-30)), SwingSpeed) | |
| 1655 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1656 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 1657 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-30), 0), SwingSpeed) | |
| 1658 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.5, 0) * Euler(0, rad(-3), 0), SwingSpeed) | |
| 1659 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1660 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.8, 0.1) * Euler(rad(-20), 0, 0), SwingSpeed) | |
| 1661 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1662 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.6, -0.4) * Euler(rad(-5), 0, 0), SwingSpeed) | |
| 1663 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1664 | -- DECOMPILER ERROR at PC844: LeaveBlock: unexpected jumping out DO_STMT | |
| 1665 | ||
| 1666 | -- DECOMPILER ERROR at PC844: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 1667 | ||
| 1668 | -- DECOMPILER ERROR at PC844: LeaveBlock: unexpected jumping out IF_STMT | |
| 1669 | ||
| 1670 | end | |
| 1671 | hit:disconnect() | |
| 1672 | LeftHip.Part0 = Torso | |
| 1673 | LeftHip.Part1 = LeftLeg | |
| 1674 | RightHip.Part0 = Torso | |
| 1675 | RightHip.Part1 = RightLeg | |
| 1676 | FLeftHip.Part0 = nil | |
| 1677 | FLeftHip.Part1 = nil | |
| 1678 | LeftHip.C0 = FLeftHip.C0 | |
| 1679 | LeftHip.C1 = FLeftHip.C1 | |
| 1680 | FRightHip.Part0 = nil | |
| 1681 | FRightHip.Part1 = nil | |
| 1682 | RightHip.C0 = FRightHip.C0 | |
| 1683 | RightHip.C1 = FRightHip.C1 | |
| 1684 | elseif Attack_Num == 2 then | |
| 1685 | Attack_Num = 3 | |
| 1686 | for i = 0, 1, 0.1 do | |
| 1687 | swait() | |
| 1688 | local SwingSpeed = 0.4 | |
| 1689 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.95, 0.5) * Euler(rad(180), 0, 0), SwingSpeed) | |
| 1690 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1691 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 1692 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1693 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.4) * Euler(rad(170), 0, 0), SwingSpeed) | |
| 1694 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 1695 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.45, 0.8, -0.95) * Euler(rad(150), 0, rad(40)), SwingSpeed) | |
| 1696 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1697 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed) | |
| 1698 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-40), 0), SwingSpeed) | |
| 1699 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-40), 0), SwingSpeed) | |
| 1700 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1701 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 1702 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 1703 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 1704 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 1705 | end | |
| 1706 | LeftHip.Part0 = nil | |
| 1707 | LeftHip.Part1 = nil | |
| 1708 | RightHip.Part0 = nil | |
| 1709 | RightHip.Part1 = nil | |
| 1710 | FLeftHip.Part0 = Torso | |
| 1711 | FLeftHip.Part1 = LeftLeg | |
| 1712 | FLeftHip.C0 = LeftHip.C0 | |
| 1713 | FLeftHip.C1 = LeftHip.C1 | |
| 1714 | FRightHip.Part0 = Torso | |
| 1715 | FRightHip.Part1 = RightLeg | |
| 1716 | FRightHip.C0 = RightHip.C0 | |
| 1717 | FRightHip.C1 = RightHip.C1 | |
| 1718 | local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445092", 1, 1, false) | |
| 1719 | debServ:AddItem(SlashS, 2) | |
| 1720 | c1 = nil | |
| 1721 | c2 = nil | |
| 1722 | local hit = TEHit_Box.Touched:connect(function(part) | |
| 1723 | DamageFunction(part, false, 0, 1000, true, 30, "Compensate", RootPart, 0.2, false, _, true, 153092227, 1.4, 0.4) | |
| 1724 | end | |
| 1725 | ) | |
| 1726 | for i = 0, 0.9, 0.1 do | |
| 1727 | swait() | |
| 1728 | local x = TEHit_Box | |
| 1729 | c2 = x.CFrame * Cf(0, 0.5, 0) | |
| 1730 | if c1 and (x.Position - c1.p).magnitude > 0.1 then | |
| 1731 | local h = 6 | |
| 1732 | local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon") | |
| 1733 | if a then | |
| 1734 | debServ:AddItem(a, 1) | |
| 1735 | end | |
| 1736 | if b then | |
| 1737 | debServ:AddItem(b, 1) | |
| 1738 | end | |
| 1739 | local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon") | |
| 1740 | if c then | |
| 1741 | debServ:AddItem(c, 1) | |
| 1742 | end | |
| 1743 | if d then | |
| 1744 | debServ:AddItem(d, 1) | |
| 1745 | end | |
| 1746 | c1 = c2 | |
| 1747 | elseif not c1 then | |
| 1748 | c1 = c2 | |
| 1749 | end | |
| 1750 | local SwingSpeed = 0.5 | |
| 1751 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.8, 0.6) * Euler(rad(146), 0, rad(-40)), SwingSpeed) | |
| 1752 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, rad(-5), 0), SwingSpeed) | |
| 1753 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 1754 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 1755 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.3) * Euler(0, rad(-65), rad(-40)), SwingSpeed) | |
| 1756 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-20), 0, 0), SwingSpeed) | |
| 1757 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -0.5) * Euler(rad(20), 0, rad(60)), SwingSpeed) | |
| 1758 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(65), 0), SwingSpeed) | |
| 1759 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed) | |
| 1760 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(20), rad(60), 0), SwingSpeed) | |
| 1761 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -2.2, 0) * Euler(0, rad(60), 0), SwingSpeed) | |
| 1762 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1763 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1.3, 0.1) * Euler(rad(-80), 0, 0), SwingSpeed) | |
| 1764 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1765 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.1, -0.6) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 1766 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1767 | -- DECOMPILER ERROR at PC1710: LeaveBlock: unexpected jumping out DO_STMT | |
| 1768 | ||
| 1769 | -- DECOMPILER ERROR at PC1710: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 1770 | ||
| 1771 | -- DECOMPILER ERROR at PC1710: LeaveBlock: unexpected jumping out IF_STMT | |
| 1772 | ||
| 1773 | end | |
| 1774 | hit:disconnect() | |
| 1775 | LeftHip.Part0 = Torso | |
| 1776 | LeftHip.Part1 = LeftLeg | |
| 1777 | RightHip.Part0 = Torso | |
| 1778 | RightHip.Part1 = RightLeg | |
| 1779 | FLeftHip.Part0 = nil | |
| 1780 | FLeftHip.Part1 = nil | |
| 1781 | LeftHip.C0 = FLeftHip.C0 | |
| 1782 | LeftHip.C1 = FLeftHip.C1 | |
| 1783 | FRightHip.Part0 = nil | |
| 1784 | FRightHip.Part1 = nil | |
| 1785 | RightHip.C0 = FRightHip.C0 | |
| 1786 | RightHip.C1 = FRightHip.C1 | |
| 1787 | elseif Attack_Num == 3 then | |
| 1788 | Attack_Num = 1 | |
| 1789 | for i = 0, 1, 0.1 do | |
| 1790 | swait() | |
| 1791 | local SwingSpeed = 0.2 | |
| 1792 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(90), rad(180), 0), SwingSpeed) | |
| 1793 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1794 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1795 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1796 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(90)), SwingSpeed) | |
| 1797 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1798 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(80), 0, rad(-60)), SwingSpeed) | |
| 1799 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1800 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 1801 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-60), 0), SwingSpeed) | |
| 1802 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.4, 0) * Euler(0, rad(-60), 0), SwingSpeed) | |
| 1803 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1804 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.6, 0) * Euler(rad(-4), rad(80), 0), SwingSpeed) | |
| 1805 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 1806 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.6, 0.14) * Euler(rad(-6), rad(-75), 0), SwingSpeed) | |
| 1807 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 1808 | end | |
| 1809 | RootPart.Velocity = RootPart.CFrame.lookVector * 50 | |
| 1810 | local hit = TEHit_Box.Touched:connect(function(part) | |
| 1811 | DamageFunction(part, false, 0, 500, true, 50, "Compensate", RootPart, 0.2, false, _, true, 153092227, 1.4, 0.4) | |
| 1812 | end | |
| 1813 | ) | |
| 1814 | local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445073", 1, 1, false) | |
| 1815 | debServ:AddItem(SlashS, 2) | |
| 1816 | c1 = nil | |
| 1817 | c2 = nil | |
| 1818 | for i = 0, 0.9, 0.1 do | |
| 1819 | swait() | |
| 1820 | local x = TEHit_Box | |
| 1821 | c2 = x.CFrame * Cf(0, 0.5, 0) | |
| 1822 | if c1 and (x.Position - c1.p).magnitude > 0.1 then | |
| 1823 | local h = 6 | |
| 1824 | local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon") | |
| 1825 | if a then | |
| 1826 | debServ:AddItem(a, 1) | |
| 1827 | end | |
| 1828 | if b then | |
| 1829 | debServ:AddItem(b, 1) | |
| 1830 | end | |
| 1831 | local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon") | |
| 1832 | if c then | |
| 1833 | debServ:AddItem(c, 1) | |
| 1834 | end | |
| 1835 | if d then | |
| 1836 | debServ:AddItem(d, 1) | |
| 1837 | end | |
| 1838 | c1 = c2 | |
| 1839 | elseif not c1 then | |
| 1840 | c1 = c2 | |
| 1841 | end | |
| 1842 | local SwingSpeed = 0.5 | |
| 1843 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(90), rad(180), 0), SwingSpeed) | |
| 1844 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1845 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1846 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1847 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1, 0.5, -0.7) * Euler(0, rad(150), rad(90)), SwingSpeed) | |
| 1848 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1849 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-5), 0, rad(-10)), SwingSpeed) | |
| 1850 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1851 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 1852 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 1853 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.4, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 1854 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1855 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.6, 0) * Euler(rad(-4), rad(80), 0), SwingSpeed) | |
| 1856 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 1857 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.6, 0.14) * Euler(rad(-6), rad(-75), 0), SwingSpeed) | |
| 1858 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 1859 | -- DECOMPILER ERROR at PC2548: LeaveBlock: unexpected jumping out DO_STMT | |
| 1860 | ||
| 1861 | -- DECOMPILER ERROR at PC2548: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 1862 | ||
| 1863 | -- DECOMPILER ERROR at PC2548: LeaveBlock: unexpected jumping out IF_STMT | |
| 1864 | ||
| 1865 | end | |
| 1866 | ||
| 1867 | hit:disconnect() | |
| 1868 | end | |
| 1869 | end | |
| 1870 | if Debounces.Transformed and not Debounces.TEWield and Debounces.TESWield then | |
| 1871 | if Attack_Num == 1 then | |
| 1872 | for i = 0, 0.3, 0.1 do | |
| 1873 | swait() | |
| 1874 | local SwingSpeed = 0.6 | |
| 1875 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1) | |
| 1876 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1) | |
| 1877 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 1878 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1879 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1880 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1881 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(90), 0, rad(6)), SwingSpeed) | |
| 1882 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1883 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-8), 0, rad(-60)), SwingSpeed) | |
| 1884 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1885 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(25), 0), SwingSpeed) | |
| 1886 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1887 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed) | |
| 1888 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1889 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 1890 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 1891 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 1892 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 1893 | end | |
| 1894 | RootPart.Velocity = RootPart.CFrame.lookVector * 60 | |
| 1895 | for i = 0, 0.2, 0.1 do | |
| 1896 | swait() | |
| 1897 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1) | |
| 1898 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1) | |
| 1899 | MagniDamage(Holder, 7, false, 0, 8, true, rand(-1, 1) * 60, "Compensate-SkyRocket", 0.1, false, 0, true, "386946017", rand(0.8, 1.2), 0.4) | |
| 1900 | local SwingSpeed = 0.7 | |
| 1901 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 1902 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1903 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1904 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1905 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(90), 0, rad(60)), SwingSpeed) | |
| 1906 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1907 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-8), 0, rad(-10)), SwingSpeed) | |
| 1908 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1909 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-55), 0), SwingSpeed) | |
| 1910 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1911 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(60), 0), SwingSpeed) | |
| 1912 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1913 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 1914 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 1915 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 1916 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 1917 | end | |
| 1918 | Attack_Num = 2 | |
| 1919 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame * Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, 0.07) | |
| 1920 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame * Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, 0.07) | |
| 1921 | elseif Attack_Num == 2 then | |
| 1922 | Attack_Num = 3 | |
| 1923 | LeftHip.Part0 = nil | |
| 1924 | LeftHip.Part1 = nil | |
| 1925 | RightHip.Part0 = nil | |
| 1926 | RightHip.Part1 = nil | |
| 1927 | FLeftHip.Part0 = Torso | |
| 1928 | FLeftHip.Part1 = LeftLeg | |
| 1929 | FLeftHip.C0 = LeftHip.C0 | |
| 1930 | FLeftHip.C1 = LeftHip.C1 | |
| 1931 | FRightHip.Part0 = Torso | |
| 1932 | FRightHip.Part1 = RightLeg | |
| 1933 | FRightHip.C0 = RightHip.C0 | |
| 1934 | FRightHip.C1 = RightHip.C1 | |
| 1935 | for i = 0, 0.3, 0.1 do | |
| 1936 | swait() | |
| 1937 | local SwingSpeed = 0.6 | |
| 1938 | MagicCircle(BC(Colour2), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, 0.1) | |
| 1939 | MagicBlock(BC(Colour1), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, 0.1) | |
| 1940 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 1941 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1942 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1943 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1944 | MagniDamage(LeftLeg, 10, false, 0, 2, true, -20, "Compensate", 0.1, false, 0, false, _, "", "") | |
| 1945 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-10), 0, rad(6)), SwingSpeed) | |
| 1946 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1947 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-10)), SwingSpeed) | |
| 1948 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1949 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1950 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1951 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-30), 0, 0), SwingSpeed) | |
| 1952 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1953 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(30), rad(90), 0), SwingSpeed) | |
| 1954 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 1955 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(-40), rad(-90), 0), SwingSpeed) | |
| 1956 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 1957 | end | |
| 1958 | RootPart.Velocity = RootPart.CFrame.lookVector * 60 | |
| 1959 | for i = 0, 0.4, 0.1 do | |
| 1960 | swait() | |
| 1961 | local SwingSpeed = 0.5 | |
| 1962 | MagicCircle(BC(Colour2), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, 0.1) | |
| 1963 | MagicBlock(BC(Colour1), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, 0.1) | |
| 1964 | MagniDamage(LeftLeg, 7, false, 0, 8, true, 90, "Compensate-SkyRocket", 0.1, false, 0, false, _, "", "") | |
| 1965 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(96), 0, 0), SwingSpeed) | |
| 1966 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1967 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1968 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1969 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-10), 0, rad(6)), SwingSpeed) | |
| 1970 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1971 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-20), 0, rad(-12)), SwingSpeed) | |
| 1972 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1973 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1974 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1975 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(20), 0, 0), SwingSpeed) | |
| 1976 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 1977 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-20), rad(90), 0), SwingSpeed) | |
| 1978 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 1979 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(80), rad(-90), 0), SwingSpeed) | |
| 1980 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 1981 | end | |
| 1982 | MagicCircle(BC(Colour2), "Neon", LeftLeg.CFrame, 0, 0, 0, 7, 7, 7, 0.1) | |
| 1983 | MagicBlock(BC(Colour1), "Neon", LeftLeg.CFrame, 0, 0, 0, 7, 7, 7, 0.1) | |
| 1984 | MagniDamage(LeftLeg, 12, false, 0, 12, true, 30, "Compensate", 0.1, false, 0, false, _, "", "") | |
| 1985 | LeftHip.Part0 = Torso | |
| 1986 | LeftHip.Part1 = LeftLeg | |
| 1987 | RightHip.Part0 = Torso | |
| 1988 | RightHip.Part1 = RightLeg | |
| 1989 | FLeftHip.Part0 = nil | |
| 1990 | FLeftHip.Part1 = nil | |
| 1991 | LeftHip.C0 = FLeftHip.C0 | |
| 1992 | LeftHip.C1 = FLeftHip.C1 | |
| 1993 | FRightHip.Part0 = nil | |
| 1994 | FRightHip.Part1 = nil | |
| 1995 | RightHip.C0 = FRightHip.C0 | |
| 1996 | RightHip.C1 = FRightHip.C1 | |
| 1997 | elseif Attack_Num == 3 then | |
| 1998 | Attack_Num = 1 | |
| 1999 | LeftHip.Part0 = nil | |
| 2000 | LeftHip.Part1 = nil | |
| 2001 | RightHip.Part0 = nil | |
| 2002 | RightHip.Part1 = nil | |
| 2003 | FLeftHip.Part0 = Torso | |
| 2004 | FLeftHip.Part1 = LeftLeg | |
| 2005 | FLeftHip.C0 = LeftHip.C0 | |
| 2006 | FLeftHip.C1 = LeftHip.C1 | |
| 2007 | FRightHip.Part0 = Torso | |
| 2008 | FRightHip.Part1 = RightLeg | |
| 2009 | FRightHip.C0 = RightHip.C0 | |
| 2010 | FRightHip.C1 = RightHip.C1 | |
| 2011 | Humanoid.WalkSpeed = 3 | |
| 2012 | for i = 0, 1.2, 0.1 do | |
| 2013 | swait() | |
| 2014 | local SwingSpeed = 0.2 | |
| 2015 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed) | |
| 2016 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2017 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2018 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2019 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.1, 0.325, -1.27) * Euler(rad(60), 0, rad(-25)), SwingSpeed) | |
| 2020 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2021 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.6, 0.5, -0.4) * Euler(rad(8), rad(-50), 0), SwingSpeed) | |
| 2022 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2023 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(13), rad(-60), 0), SwingSpeed) | |
| 2024 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2025 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.6, 0) * Euler(rad(-17), rad(70), 0), SwingSpeed) | |
| 2026 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2027 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, 0, -0.4) * Euler(rad(-6), 0, rad(17)), SwingSpeed) | |
| 2028 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2029 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.95, 0.1) * Euler(rad(-40), 0, rad(14)), SwingSpeed) | |
| 2030 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2031 | end | |
| 2032 | WepWeld3.Parent = nil | |
| 2033 | WepWeld3.Part0 = Holder | |
| 2034 | WepWeld3.Part1 = TEHandle | |
| 2035 | WepWeld3.C0 = Holder.CFrame:inverse() * Cf(Holder.Position) | |
| 2036 | WepWeld3.C1 = TEHandle.CFrame:inverse() * Cf(Holder.Position) | |
| 2037 | WepWeld3.Parent = TEHandle | |
| 2038 | FITEB(800) | |
| 2039 | Debounces.DisableJump = true | |
| 2040 | local SlashS = Sound(TEHandle, "http://www.roblox.com/asset/?id=161006195", 1, 1.5, false) | |
| 2041 | debServ:AddItem(SlashS, 6) | |
| 2042 | local hit = (TEHit_Box.Touched:connect(function(part) | |
| 2043 | ||
| 2044 | DamageFunction(part, false, 0, 333, true, 10, "Compensate-FreezeStun", RootPart, 0.4, false, _, false, _, "", "") | |
| 2045 | end | |
| 2046 | )) | |
| 2047 | c1 = nil | |
| 2048 | c2 = nil | |
| 2049 | for i = 0, 1.5, 0.1 do | |
| 2050 | swait() | |
| 2051 | local x = TEHit_Box | |
| 2052 | c2 = x.CFrame * Cf(0, 0.5, 0) | |
| 2053 | if c1 and (x.Position - c1.p).magnitude > 0.1 then | |
| 2054 | local h = 6 | |
| 2055 | local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon") | |
| 2056 | if a then | |
| 2057 | debServ:AddItem(a, 1) | |
| 2058 | end | |
| 2059 | if b then | |
| 2060 | debServ:AddItem(b, 1) | |
| 2061 | end | |
| 2062 | local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon") | |
| 2063 | if c then | |
| 2064 | debServ:AddItem(c, 1) | |
| 2065 | end | |
| 2066 | if d then | |
| 2067 | debServ:AddItem(d, 1) | |
| 2068 | end | |
| 2069 | c1 = c2 | |
| 2070 | elseif not c1 then | |
| 2071 | c1 = c2 | |
| 2072 | local SwingSpeed = 0.5 | |
| 2073 | if i < 0.5 then | |
| 2074 | RootPart.Velocity = RootPart.CFrame.lookVector * 220 | |
| 2075 | else | |
| 2076 | RootPart.Velocity = Vec(0, 0, 0) | |
| 2077 | Humanoid.WalkSpeed = 0 | |
| 2078 | end | |
| 2079 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, 0, 0) * Euler(rad(-90), 0, 0), SwingSpeed) | |
| 2080 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2081 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed) | |
| 2082 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2083 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2084 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2085 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(90)), SwingSpeed) | |
| 2086 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(40), rad(12), 0), SwingSpeed) | |
| 2087 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.6, 0.6, 0) * Euler(rad(-10), 0, rad(-15)), SwingSpeed) | |
| 2088 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2089 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(30), 0), SwingSpeed) | |
| 2090 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2091 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.3, 0) * Euler(rad(-15), rad(-30), 0), SwingSpeed) | |
| 2092 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2093 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.7, 0) * Euler(rad(-20), rad(-10), 0), SwingSpeed) | |
| 2094 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2095 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.7, 0.2) * Euler(rad(10), rad(30), rad(-3)), SwingSpeed) | |
| 2096 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2097 | -- DECOMPILER ERROR at PC5148: LeaveBlock: unexpected jumping out DO_STMT | |
| 2098 | ||
| 2099 | -- DECOMPILER ERROR at PC5148: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 2100 | ||
| 2101 | -- DECOMPILER ERROR at PC5148: LeaveBlock: unexpected jumping out IF_STMT | |
| 2102 | ||
| 2103 | end | |
| 2104 | end | |
| 2105 | HTEB() | |
| 2106 | for i = 0, 0.3, 0.1 do | |
| 2107 | swait() | |
| 2108 | local SwingSpeed = 0.6 | |
| 2109 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 2110 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2111 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed) | |
| 2112 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2113 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2114 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2115 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.1, 0.325, -1.27) * Euler(rad(60), 0, rad(-25)), SwingSpeed) | |
| 2116 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2117 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.6, 0.5, -0.4) * Euler(rad(8), rad(-50), 0), SwingSpeed) | |
| 2118 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2119 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(13), rad(-60), 0), SwingSpeed) | |
| 2120 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2121 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.6, 0) * Euler(rad(-17), rad(70), 0), SwingSpeed) | |
| 2122 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2123 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, 0, -0.4) * Euler(rad(-6), 0, rad(17)), SwingSpeed) | |
| 2124 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2125 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.95, 0.1) * Euler(rad(-40), 0, rad(14)), SwingSpeed) | |
| 2126 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2127 | end | |
| 2128 | local Sheath = Sound(TESHandle, "rbxasset://sounds\\unsheath.wav", 1, 1, false) | |
| 2129 | debServ:AddItem(Sheath, 6) | |
| 2130 | hit:disconnect() | |
| 2131 | Debounces.DisableJump = false | |
| 2132 | Humanoid.WalkSpeed = CurrentSpeed | |
| 2133 | WepWeld3.Part0 = TESHandle | |
| 2134 | WepWeld3.Part1 = TEHandle | |
| 2135 | WepWeld3.C0 = Cf(0, 0, 0) | |
| 2136 | WepWeld3.C1 = Cf(0, 3, 0) * Euler(0, rad(180), 0) | |
| 2137 | LeftHip.Part0 = Torso | |
| 2138 | LeftHip.Part1 = LeftLeg | |
| 2139 | RightHip.Part0 = Torso | |
| 2140 | RightHip.Part1 = RightLeg | |
| 2141 | FLeftHip.Part0 = nil | |
| 2142 | FLeftHip.Part1 = nil | |
| 2143 | LeftHip.C0 = FLeftHip.C0 | |
| 2144 | LeftHip.C1 = FLeftHip.C1 | |
| 2145 | FRightHip.Part0 = nil | |
| 2146 | FRightHip.Part1 = nil | |
| 2147 | RightHip.C0 = FRightHip.C0 | |
| 2148 | RightHip.C1 = FRightHip.C1 | |
| 2149 | end | |
| 2150 | end | |
| 2151 | if Debounces.Transformed and not Debounces.TEWield and not Debounces.TESWield then | |
| 2152 | for i = 0, 0.15, 0.1 do | |
| 2153 | swait() | |
| 2154 | local SwingSpeed = 0.8 | |
| 2155 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1) | |
| 2156 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1) | |
| 2157 | MagniDamage(Holder, 3, false, 0, 3, false, 0, "Compensate", 0, false, 0, false, _, "", "") | |
| 2158 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(90), 0, rad(6)), SwingSpeed) | |
| 2159 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2160 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-8), 0, rad(-60)), SwingSpeed) | |
| 2161 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2162 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(25), 0), SwingSpeed) | |
| 2163 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2164 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed) | |
| 2165 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2166 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2167 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2168 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2169 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2170 | end | |
| 2171 | RootPart.Velocity = RootPart.CFrame.lookVector * 60 | |
| 2172 | for i = 0, 0.15, 0.1 do | |
| 2173 | swait() | |
| 2174 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1) | |
| 2175 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1) | |
| 2176 | MagniDamage(Holder, 8, false, 0, 10, true, rand(-1, 1) * 30, "Compensate-SkyRocket", 0.1, false, 0, true, "153092296", 1, 1) | |
| 2177 | local SwingSpeed = 0.8 | |
| 2178 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(90), 0, rad(60)), SwingSpeed) | |
| 2179 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2180 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-8), 0, rad(-10)), SwingSpeed) | |
| 2181 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2182 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-55), 0), SwingSpeed) | |
| 2183 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2184 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(60), 0), SwingSpeed) | |
| 2185 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2186 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2187 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2188 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2189 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2190 | end | |
| 2191 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame * Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, 0.07) | |
| 2192 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame * Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, 0.07) | |
| 2193 | end | |
| 2194 | if not Debounces.HasWep and not Debounces.Transformed then | |
| 2195 | if Attack_Num == 1 then | |
| 2196 | Attack_Num = 2 | |
| 2197 | local HBox = MakeHitBox(Vec(1.6, 1.6, 1.6), RightArm, false, "", "") | |
| 2198 | local hit = HBox.Touched:connect(function(part) | |
| 2199 | DamageFunction(part, true, 6, 7, true, 5, "Normal", RootPart, 0.8, false, _, false, _, "", "") | |
| 2200 | end | |
| 2201 | ) | |
| 2202 | for i = 0, 0.4, 0.1 do | |
| 2203 | swait() | |
| 2204 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.85, 0.45, -1) * Euler(rad(60), 0, rad(-80)), 0.3) | |
| 2205 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), 0.3) | |
| 2206 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.3, -0.3) * Euler(rad(90), 0, rad(-80)), 0.3) | |
| 2207 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), 0.3) | |
| 2208 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), rad(80), 0), 0.3) | |
| 2209 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1) * Euler(0, 0, 0), 0.3) | |
| 2210 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-80), 0), 0.3) | |
| 2211 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3) | |
| 2212 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), 0.3) | |
| 2213 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3) | |
| 2214 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), 0.3) | |
| 2215 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3) | |
| 2216 | end | |
| 2217 | for i = 0, 0.7, 0.1 do | |
| 2218 | swait() | |
| 2219 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(90), 0, rad(80)), 0.5) | |
| 2220 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), 0.5) | |
| 2221 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.5, 0.3, -0.8) * Euler(rad(90), 0, rad(80)), 0.5) | |
| 2222 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), 0.5) | |
| 2223 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(0), rad(-80), 0), 0.5) | |
| 2224 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1) * Euler(0, 0, 0), 0.5) | |
| 2225 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(80), 0), 0.5) | |
| 2226 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.5) | |
| 2227 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), 0.5) | |
| 2228 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.5) | |
| 2229 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), 0.5) | |
| 2230 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.5) | |
| 2231 | end | |
| 2232 | debServ:AddItem(HBox, 0) | |
| 2233 | hit:disconnect() | |
| 2234 | elseif Attack_Num == 2 then | |
| 2235 | Attack_Num = 3 | |
| 2236 | local HBox = MakeHitBox(Vec(1.6, 1.6, 1.6), LeftArm, false, "", "") | |
| 2237 | local hit = HBox.Touched:connect(function(part) | |
| 2238 | ||
| 2239 | DamageFunction(part, true, 6, 7, true, 5, "Normal", RootPart, 0.8, false, _, false, _, "", "") | |
| 2240 | end | |
| 2241 | ) | |
| 2242 | for i = 0, 0.4, 0.1 do | |
| 2243 | swait() | |
| 2244 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(90), 0, rad(80)), 0.3) | |
| 2245 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), 0.3) | |
| 2246 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.5, 0.3, -0.8) * Euler(rad(90), 0, rad(80)), 0.3) | |
| 2247 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), 0.3) | |
| 2248 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(0), rad(-80), 0), 0.3) | |
| 2249 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1) * Euler(0, 0, 0), 0.3) | |
| 2250 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(80), 0), 0.3) | |
| 2251 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3) | |
| 2252 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), 0.3) | |
| 2253 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3) | |
| 2254 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), 0.3) | |
| 2255 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3) | |
| 2256 | end | |
| 2257 | for i = 0, 0.7, 0.1 do | |
| 2258 | swait() | |
| 2259 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.85, 0.45, -1) * Euler(rad(60), 0, rad(-80)), 0.5) | |
| 2260 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), 0.5) | |
| 2261 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.3, -0.3) * Euler(rad(90), 0, rad(-80)), 0.5) | |
| 2262 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), 0.5) | |
| 2263 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), rad(80), 0), 0.5) | |
| 2264 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1) * Euler(0, 0, 0), 0.5) | |
| 2265 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-80), 0), 0.5) | |
| 2266 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.5) | |
| 2267 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), 0.5) | |
| 2268 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.5) | |
| 2269 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), 0.5) | |
| 2270 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.5) | |
| 2271 | end | |
| 2272 | debServ:AddItem(HBox, 0) | |
| 2273 | hit:disconnect() | |
| 2274 | elseif Attack_Num == 3 then | |
| 2275 | Attack_Num = 4 | |
| 2276 | local HBox = MakeHitBox(Vec(2, 2, 2), LeftLeg, false, "", "") | |
| 2277 | local hit = HBox.Touched:connect(function(part) | |
| 2278 | ||
| 2279 | DamageFunction(part, true, 9, 10, false, 70, "SkyRocket", RootPart, 0.8, false, _, false, _, "", "") | |
| 2280 | end | |
| 2281 | ) | |
| 2282 | LeftHip.Part0 = nil | |
| 2283 | LeftHip.Part1 = nil | |
| 2284 | RightHip.Part0 = nil | |
| 2285 | RightHip.Part1 = nil | |
| 2286 | FLeftHip.Part0 = Torso | |
| 2287 | FLeftHip.Part1 = LeftLeg | |
| 2288 | FLeftHip.C0 = LeftHip.C0 | |
| 2289 | FLeftHip.C1 = LeftHip.C1 | |
| 2290 | FRightHip.Part0 = Torso | |
| 2291 | FRightHip.Part1 = RightLeg | |
| 2292 | FRightHip.C0 = RightHip.C0 | |
| 2293 | FRightHip.C1 = RightHip.C1 | |
| 2294 | for i = 0, 0.8, 0.1 do | |
| 2295 | swait() | |
| 2296 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-60), 0, rad(8)), 0.3) | |
| 2297 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3) | |
| 2298 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-60), 0, rad(-8)), 0.3) | |
| 2299 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3) | |
| 2300 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), 0.3) | |
| 2301 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3) | |
| 2302 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-30), 0, 0), 0.3) | |
| 2303 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3) | |
| 2304 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(30), rad(90), 0), 0.3) | |
| 2305 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3) | |
| 2306 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(-40), rad(-90), 0), 0.3) | |
| 2307 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3) | |
| 2308 | end | |
| 2309 | RootPart.Velocity = RootPart.CFrame.lookVector * 60 | |
| 2310 | for i = 0, 1.4, 0.1 do | |
| 2311 | swait() | |
| 2312 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(0), 0, rad(14)), 0.3) | |
| 2313 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3) | |
| 2314 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), 0.4) | |
| 2315 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3) | |
| 2316 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), 0, 0), 0.3) | |
| 2317 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3) | |
| 2318 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(20), 0, 0), 0.3) | |
| 2319 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3) | |
| 2320 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-20), rad(90), 0), 0.3) | |
| 2321 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3) | |
| 2322 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(80), rad(-90), 0), 0.3) | |
| 2323 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3) | |
| 2324 | end | |
| 2325 | LeftHip.Part0 = Torso | |
| 2326 | LeftHip.Part1 = LeftLeg | |
| 2327 | RightHip.Part0 = Torso | |
| 2328 | RightHip.Part1 = RightLeg | |
| 2329 | FLeftHip.Part0 = nil | |
| 2330 | FLeftHip.Part1 = nil | |
| 2331 | LeftHip.C0 = FLeftHip.C0 | |
| 2332 | LeftHip.C1 = FLeftHip.C1 | |
| 2333 | FRightHip.Part0 = nil | |
| 2334 | FRightHip.Part1 = nil | |
| 2335 | RightHip.C0 = FRightHip.C0 | |
| 2336 | RightHip.C1 = FRightHip.C1 | |
| 2337 | debServ:AddItem(HBox, 0) | |
| 2338 | hit:disconnect() | |
| 2339 | elseif Attack_Num == 4 then | |
| 2340 | Attack_Num = 1 | |
| 2341 | local HBox = MakeHitBox(Vec(2.4, 2.4, 2.4), RightLeg, false, "", "") | |
| 2342 | local hit = HBox.Touched:connect(function(part) | |
| 2343 | ||
| 2344 | DamageFunction(part, true, 11, 12, true, 50, "Knockdown", RootPart, 1.5, false, _, false, _, "", "") | |
| 2345 | end | |
| 2346 | ) | |
| 2347 | LeftHip.Part0 = nil | |
| 2348 | LeftHip.Part1 = nil | |
| 2349 | RightHip.Part0 = nil | |
| 2350 | RightHip.Part1 = nil | |
| 2351 | FLeftHip.Part0 = Torso | |
| 2352 | FLeftHip.Part1 = LeftLeg | |
| 2353 | FLeftHip.C0 = LeftHip.C0 | |
| 2354 | FLeftHip.C1 = LeftHip.C1 | |
| 2355 | FRightHip.Part0 = Torso | |
| 2356 | FRightHip.Part1 = RightLeg | |
| 2357 | FRightHip.C0 = RightHip.C0 | |
| 2358 | FRightHip.C1 = RightHip.C1 | |
| 2359 | for i = 0, 0.5, 0.1 do | |
| 2360 | swait() | |
| 2361 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.85, 0.45, -1) * Euler(rad(60), 0, rad(-80)), 0.3) | |
| 2362 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), 0.3) | |
| 2363 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.3, -0.2) * Euler(rad(120), 0, rad(-80)), 0.3) | |
| 2364 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), 0.3) | |
| 2365 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), rad(60), 0), 0.3) | |
| 2366 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1) * Euler(0, 0, 0), 0.3) | |
| 2367 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-80), 0), 0.3) | |
| 2368 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3) | |
| 2369 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, -0.6) * Euler(0, rad(120), 0), 0.3) | |
| 2370 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(rad(10), rad(90), 0), 0.3) | |
| 2371 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0.4) * Euler(0, rad(-50), 0), 0.3) | |
| 2372 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(rad(10), rad(-90), 0), 0.3) | |
| 2373 | end | |
| 2374 | Humanoid.WalkSpeed = 0 | |
| 2375 | RootPart.Velocity = RootPart.CFrame.lookVector * 100 | |
| 2376 | for i = 0, 1.6, 0.1 do | |
| 2377 | swait() | |
| 2378 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(60), 0, rad(16)), 0.3) | |
| 2379 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3) | |
| 2380 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(30), 0, rad(-60)), 0.4) | |
| 2381 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(30), 0), 0.3) | |
| 2382 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-60), 0), 0.3) | |
| 2383 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3) | |
| 2384 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -0.6, 0) * Euler(rad(60), rad(-250), 0), 0.3) | |
| 2385 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3) | |
| 2386 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.4, -0.6, 0) * Euler(rad(10), rad(0), rad(30)), 0.3) | |
| 2387 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(0), 0), 0.3) | |
| 2388 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1, -0.4, 0) * Euler(rad(30), 0, rad(-60)), 0.3) | |
| 2389 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(20), 0), 0.3) | |
| 2390 | end | |
| 2391 | Humanoid.WalkSpeed = CurrentSpeed | |
| 2392 | LeftHip.Part0 = Torso | |
| 2393 | LeftHip.Part1 = LeftLeg | |
| 2394 | RightHip.Part0 = Torso | |
| 2395 | RightHip.Part1 = RightLeg | |
| 2396 | FLeftHip.Part0 = nil | |
| 2397 | FLeftHip.Part1 = nil | |
| 2398 | LeftHip.C0 = FLeftHip.C0 | |
| 2399 | LeftHip.C1 = FLeftHip.C1 | |
| 2400 | FRightHip.Part0 = nil | |
| 2401 | FRightHip.Part1 = nil | |
| 2402 | RightHip.C0 = FRightHip.C0 | |
| 2403 | RightHip.C1 = FRightHip.C1 | |
| 2404 | debServ:AddItem(HBox, 0) | |
| 2405 | hit:disconnect() | |
| 2406 | end | |
| 2407 | end | |
| 2408 | if Debounces.HasWep and not Debounces.Transformed and not Debounces.DuelWielding then | |
| 2409 | if Attack_Num == 1 then | |
| 2410 | Attack_Num = 2 | |
| 2411 | for i = 0, 0.2, 0.1 do | |
| 2412 | swait() | |
| 2413 | local SwingSpeed = 0.6 | |
| 2414 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.96, 0.5) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 2415 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2416 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 2417 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed) | |
| 2418 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(80)), SwingSpeed) | |
| 2419 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2420 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), SwingSpeed) | |
| 2421 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2422 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 2423 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-40), 0), SwingSpeed) | |
| 2424 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-40), 0), SwingSpeed) | |
| 2425 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2426 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2427 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2428 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2429 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2430 | end | |
| 2431 | local hit = (Hit_Box.Touched:connect(function(part) | |
| 2432 | ||
| 2433 | DamageFunction(part, true, 7, 8, true, 10, "Compensate", RootPart, 0.12, false, _, false, _, "", "") | |
| 2434 | end | |
| 2435 | )) | |
| 2436 | c1 = nil | |
| 2437 | c2 = nil | |
| 2438 | for i = 0, 0.5, 0.1 do | |
| 2439 | swait() | |
| 2440 | local x = Hit_Box | |
| 2441 | c2 = x.CFrame * Cf(0, 0.5, 0) | |
| 2442 | if c1 and (x.Position - c1.p).magnitude > 0.1 then | |
| 2443 | local h = 5 | |
| 2444 | local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon") | |
| 2445 | if a then | |
| 2446 | debServ:AddItem(a, 1) | |
| 2447 | end | |
| 2448 | if b then | |
| 2449 | debServ:AddItem(b, 1) | |
| 2450 | end | |
| 2451 | local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon") | |
| 2452 | if c then | |
| 2453 | debServ:AddItem(c, 1) | |
| 2454 | end | |
| 2455 | if d then | |
| 2456 | debServ:AddItem(d, 1) | |
| 2457 | end | |
| 2458 | c1 = c2 | |
| 2459 | elseif not c1 then | |
| 2460 | c1 = c2 | |
| 2461 | end | |
| 2462 | local SwingSpeed = 0.4 | |
| 2463 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.98, -0.4) * Euler(rad(20), 0, 0), SwingSpeed) | |
| 2464 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2465 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 2466 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed) | |
| 2467 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.6, 0.5, -1) * Euler(0, 0, rad(90)), SwingSpeed) | |
| 2468 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-160), 0, 0), SwingSpeed) | |
| 2469 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-25)), SwingSpeed) | |
| 2470 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2471 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(rad(-17), 0, 0), SwingSpeed) | |
| 2472 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(30), 0), SwingSpeed) | |
| 2473 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(30), 0), SwingSpeed) | |
| 2474 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2475 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2476 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2477 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2478 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2479 | -- DECOMPILER ERROR at PC9336: LeaveBlock: unexpected jumping out DO_STMT | |
| 2480 | ||
| 2481 | -- DECOMPILER ERROR at PC9336: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 2482 | ||
| 2483 | -- DECOMPILER ERROR at PC9336: LeaveBlock: unexpected jumping out IF_STMT | |
| 2484 | ||
| 2485 | end | |
| 2486 | hit:disconnect() | |
| 2487 | elseif Attack_Num == 2 then | |
| 2488 | Attack_Num = 3 | |
| 2489 | for i = 0, 0.6, 0.1 do | |
| 2490 | swait() | |
| 2491 | local SwingSpeed = 0.5 | |
| 2492 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(160), 0, 0), SwingSpeed) | |
| 2493 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2494 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 2495 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 2496 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.6, 0.5, -1) * Euler(0, 0, rad(90)), SwingSpeed) | |
| 2497 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-150), rad(-50), 0), SwingSpeed) | |
| 2498 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-25)), SwingSpeed) | |
| 2499 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2500 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed) | |
| 2501 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 2502 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 2503 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2504 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2505 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2506 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2507 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2508 | end | |
| 2509 | local hit = (Hit_Box.Touched:connect(function(part) | |
| 2510 | ||
| 2511 | DamageFunction(part, true, 10, 11, true, 10, "Compensate", RootPart, 0.12, false, _, false, _, "", "") | |
| 2512 | end | |
| 2513 | )) | |
| 2514 | c1 = nil | |
| 2515 | c2 = nil | |
| 2516 | for i = 0, 0.5, 0.1 do | |
| 2517 | swait() | |
| 2518 | local x = Hit_Box | |
| 2519 | c2 = x.CFrame * Cf(0, 0.5, 0) | |
| 2520 | if c1 and (x.Position - c1.p).magnitude > 0.1 then | |
| 2521 | local h = 5 | |
| 2522 | local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon") | |
| 2523 | if a then | |
| 2524 | debServ:AddItem(a, 1) | |
| 2525 | end | |
| 2526 | if b then | |
| 2527 | debServ:AddItem(b, 1) | |
| 2528 | end | |
| 2529 | local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon") | |
| 2530 | if c then | |
| 2531 | debServ:AddItem(c, 1) | |
| 2532 | end | |
| 2533 | if d then | |
| 2534 | debServ:AddItem(d, 1) | |
| 2535 | end | |
| 2536 | c1 = c2 | |
| 2537 | elseif not c1 then | |
| 2538 | c1 = c2 | |
| 2539 | end | |
| 2540 | local SwingSpeed = 0.4 | |
| 2541 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.96, 0.5) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 2542 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2543 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 2544 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 2545 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(60)), SwingSpeed) | |
| 2546 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2547 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(80), 0, rad(-30)), SwingSpeed) | |
| 2548 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2549 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 2550 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-30), 0), SwingSpeed) | |
| 2551 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed) | |
| 2552 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2553 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2554 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2555 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2556 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2557 | -- DECOMPILER ERROR at PC10116: LeaveBlock: unexpected jumping out DO_STMT | |
| 2558 | ||
| 2559 | -- DECOMPILER ERROR at PC10116: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 2560 | ||
| 2561 | -- DECOMPILER ERROR at PC10116: LeaveBlock: unexpected jumping out IF_STMT | |
| 2562 | ||
| 2563 | end | |
| 2564 | hit:disconnect() | |
| 2565 | elseif Attack_Num == 3 then | |
| 2566 | Attack_Num = 1 | |
| 2567 | for i = 0, 0.7, 0.1 do | |
| 2568 | swait() | |
| 2569 | local SwingSpeed = 0.5 | |
| 2570 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.9, 0.6) * Euler(rad(160), 0, 0), SwingSpeed) | |
| 2571 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2572 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 2573 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 2574 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.4) * Euler(rad(160), 0, 0), SwingSpeed) | |
| 2575 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 2576 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.6, 0.8, -0.95) * Euler(rad(120), 0, rad(60)), SwingSpeed) | |
| 2577 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2578 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed) | |
| 2579 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-40), 0), SwingSpeed) | |
| 2580 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-40), 0), SwingSpeed) | |
| 2581 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2582 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2583 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2584 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2585 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2586 | end | |
| 2587 | c1 = nil | |
| 2588 | c2 = nil | |
| 2589 | local hit2 = Hit_Box.Touched:connect(function(part) | |
| 2590 | ||
| 2591 | DamageFunction(part, true, 11, 12, true, 10, "Compensate", RootPart, 0.2, false, _, false, _, "", "") | |
| 2592 | end | |
| 2593 | ) | |
| 2594 | for i = 0, 1, 0.1 do | |
| 2595 | swait() | |
| 2596 | local x = Hit_Box | |
| 2597 | c2 = x.CFrame * Cf(0, 0.5, 0) | |
| 2598 | if c1 and (x.Position - c1.p).magnitude > 0.1 then | |
| 2599 | local h = 5 | |
| 2600 | local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon") | |
| 2601 | if a then | |
| 2602 | debServ:AddItem(a, 1) | |
| 2603 | end | |
| 2604 | if b then | |
| 2605 | debServ:AddItem(b, 1) | |
| 2606 | end | |
| 2607 | local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon") | |
| 2608 | if c then | |
| 2609 | debServ:AddItem(c, 1) | |
| 2610 | end | |
| 2611 | if d then | |
| 2612 | debServ:AddItem(d, 1) | |
| 2613 | end | |
| 2614 | c1 = c2 | |
| 2615 | elseif not c1 then | |
| 2616 | c1 = c2 | |
| 2617 | end | |
| 2618 | local SwingSpeed = 0.5 | |
| 2619 | Humanoid.WalkSpeed = 5 | |
| 2620 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.8, 0.6) * Euler(rad(146), 0, rad(-40)), SwingSpeed) | |
| 2621 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, rad(-5), 0), SwingSpeed) | |
| 2622 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 2623 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 2624 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.3) * Euler(0, rad(-65), rad(-40)), SwingSpeed) | |
| 2625 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-20), 0, 0), SwingSpeed) | |
| 2626 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -0.5) * Euler(rad(20), 0, rad(60)), SwingSpeed) | |
| 2627 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(65), 0), SwingSpeed) | |
| 2628 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed) | |
| 2629 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(20), rad(60), 0), SwingSpeed) | |
| 2630 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(60), 0), SwingSpeed) | |
| 2631 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 2632 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2633 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 2634 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2635 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 2636 | -- DECOMPILER ERROR at PC10906: LeaveBlock: unexpected jumping out DO_STMT | |
| 2637 | ||
| 2638 | -- DECOMPILER ERROR at PC10906: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 2639 | ||
| 2640 | -- DECOMPILER ERROR at PC10906: LeaveBlock: unexpected jumping out IF_STMT | |
| 2641 | ||
| 2642 | end | |
| 2643 | hit2:disconnect() | |
| 2644 | end | |
| 2645 | end | |
| 2646 | Humanoid.WalkSpeed = CurrentSpeed | |
| 2647 | Debounces.Attacking = false | |
| 2648 | end | |
| 2649 | --fixed by kent911t | |
| 2650 | Disrupt = function() | |
| 2651 | ||
| 2652 | Debounces.Attacking = true | |
| 2653 | LeftHip.Part0 = nil | |
| 2654 | LeftHip.Part1 = nil | |
| 2655 | RightHip.Part0 = nil | |
| 2656 | RightHip.Part1 = nil | |
| 2657 | FLeftHip.Part0 = Torso | |
| 2658 | FLeftHip.Part1 = LeftLeg | |
| 2659 | FLeftHip.C0 = LeftHip.C0 | |
| 2660 | FLeftHip.C1 = LeftHip.C1 | |
| 2661 | FRightHip.Part0 = Torso | |
| 2662 | FRightHip.Part1 = RightLeg | |
| 2663 | FRightHip.C0 = RightHip.C0 | |
| 2664 | FRightHip.C1 = RightHip.C1 | |
| 2665 | local BV = Inst("BodyVelocity", RootPart)
| |
| 2666 | BV.Name = DecName | |
| 2667 | BV.MaxForce = Vec(huge, huge, huge) | |
| 2668 | BV.Velocity = RootPart.CFrame.lookVector * 150 | |
| 2669 | local hbox = MakeHitBox(Vec(8, 8, 16), RootPart, true, Cf(0, 0, 4), Cf()) | |
| 2670 | DTPWeld.C0 = Cf(0, 0, -2) * Euler(rad(90), 0, 0) | |
| 2671 | Humanoid.WalkSpeed = 0 | |
| 2672 | local hit = hbox.Touched:connect(function(part) | |
| 2673 | ||
| 2674 | DamageFunction(part, true, 29, 30, false, 0, "LifeSteal", RootPart, 0.1, true, 2, false, _, "", "") | |
| 2675 | end | |
| 2676 | ) | |
| 2677 | for i = 0, 1, 0.1 do | |
| 2678 | swait() | |
| 2679 | if Debounces.HasWep then | |
| 2680 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3) | |
| 2681 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3) | |
| 2682 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), 0.3) | |
| 2683 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), 0.3) | |
| 2684 | end | |
| 2685 | MagicBlock(BrickColor.new(Colour2), "Neon", Drag_To_Part:GetRenderCFrame() * Cf(0, 0, 0), 8, 8, 8, 16, 16, 16, 0.1) | |
| 2686 | MagicCircle(BrickColor.new(Colour1), "Neon", Drag_To_Part:GetRenderCFrame() * Cf(0, 0, 0), 5, 0.1, 5, 15, 0.2, 15, 0.1) | |
| 2687 | MagicWave2(BrickColor.new(Colour1), "Neon", Drag_To_Part:GetRenderCFrame() * Cf(0, 0, 0), 1, 3, 1, 3, 6, 3, 0.1) | |
| 2688 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-40), 0, rad(10)), 0.3) | |
| 2689 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3) | |
| 2690 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-40), 0, rad(-10)), 0.3) | |
| 2691 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3) | |
| 2692 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0.2) * Euler(rad(50), 0, 0), 0.3) | |
| 2693 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3) | |
| 2694 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-60), 0, 0), 0.3) | |
| 2695 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3) | |
| 2696 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-12), rad(90), 0), 0.3) | |
| 2697 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3) | |
| 2698 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-30), rad(-90), 0), 0.3) | |
| 2699 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3) | |
| 2700 | end | |
| 2701 | Humanoid.WalkSpeed = CurrentSpeed | |
| 2702 | debServ:AddItem(hbox, 0) | |
| 2703 | debServ:AddItem(BV, 0) | |
| 2704 | LeftHip.Part0 = Torso | |
| 2705 | LeftHip.Part1 = LeftLeg | |
| 2706 | RightHip.Part0 = Torso | |
| 2707 | RightHip.Part1 = RightLeg | |
| 2708 | FLeftHip.Part0 = nil | |
| 2709 | FLeftHip.Part1 = nil | |
| 2710 | LeftHip.C0 = FLeftHip.C0 | |
| 2711 | LeftHip.C1 = FLeftHip.C1 | |
| 2712 | FRightHip.Part0 = nil | |
| 2713 | FRightHip.Part1 = nil | |
| 2714 | RightHip.C0 = FRightHip.C0 | |
| 2715 | RightHip.C1 = FRightHip.C1 | |
| 2716 | Debounces.Attacking = false | |
| 2717 | DTPWeld.C0 = Cf(0, 0, 0) | |
| 2718 | hit:disconnect() | |
| 2719 | end | |
| 2720 | ||
| 2721 | local GH = 5000 | |
| 2722 | local VHealth = Inst("DoubleConstrainedValue")
| |
| 2723 | VHealth.MaxValue = GH * 4 | |
| 2724 | VHealth.MinValue = 0 | |
| 2725 | VHealth.Value = GH * 4 | |
| 2726 | Corrupt_Guard = function() | |
| 2727 | ||
| 2728 | Debounces.Attacking = true | |
| 2729 | Debounces.CanGuard = false | |
| 2730 | Humanoid.WalkSpeed = 0 | |
| 2731 | local LHealth = Humanoid.Health | |
| 2732 | GodMode = true | |
| 2733 | local MakeGuard = function() | |
| 2734 | ||
| 2735 | local guard = Inst("Part", workspace)
| |
| 2736 | guard.BrickColor = BC(Colour1) | |
| 2737 | guard.Material = "SmoothPlastic" | |
| 2738 | guard.Transparency = 0.3 | |
| 2739 | guard.Anchored = true | |
| 2740 | guard.Name = "Guard" | |
| 2741 | guard.Anchored = true | |
| 2742 | guard.CanCollide = false | |
| 2743 | guard.Locked = true | |
| 2744 | guard.Size = Vec(5.6, 5.6, 1.6) | |
| 2745 | local gm = Inst("SpecialMesh", guard)
| |
| 2746 | gm.MeshId = "http://www.roblox.com/asset/?id=1185246" | |
| 2747 | gm.Scale = Vec(12, 12, 5) | |
| 2748 | gm.TextureId = "http://www.roblox.com/asset/?id=74697410" | |
| 2749 | local vc = BC(Colour1).Color | |
| 2750 | gm.VertexColor = Vec(vc.r, vc.g, vc.b) | |
| 2751 | guard.CFrame = RootPart.CFrame * Cf(0, 0, -2.2) | |
| 2752 | local DBModel = Inst("Model", workspace)
| |
| 2753 | DBModel.Name = "DamageBox" | |
| 2754 | local gdb = Inst("Part", DBModel)
| |
| 2755 | gdb.Transparency = 1 | |
| 2756 | gdb.Anchored = true | |
| 2757 | gdb.CanCollide = true | |
| 2758 | gdb.Locked = true | |
| 2759 | gdb.Size = Vec(8, 8, 6) | |
| 2760 | gdb.CFrame = guard.CFrame * Cf(0, 0, -3.2) | |
| 2761 | gdb.Name = "Head" | |
| 2762 | local gdt = Inst("Part", DBModel)
| |
| 2763 | gdt.Transparency = 1 | |
| 2764 | gdt.Anchored = true | |
| 2765 | gdt.CanCollide = true | |
| 2766 | gdt.Locked = true | |
| 2767 | gdt.Size = Vec(8, 8, 6) | |
| 2768 | gdt.CFrame = guard.CFrame * Cf(0, 0, -3.2) | |
| 2769 | gdt.Name = "Torso" | |
| 2770 | local kthen = Inst("Weld", gdb)
| |
| 2771 | kthen.Part0 = gdb | |
| 2772 | kthen.Part1 = gdt | |
| 2773 | local GHealth = Inst("Humanoid", DBModel)
| |
| 2774 | GHealth.MaxHealth = GH | |
| 2775 | coroutine.resume(coroutine.create(function() | |
| 2776 | ||
| 2777 | runServ.Stepped:wait() | |
| 2778 | GHealth.Health = GHealth.MaxHealth | |
| 2779 | end | |
| 2780 | )) | |
| 2781 | return guard, GHealth, gdb, gdt, DBModel | |
| 2782 | end | |
| 2783 | ||
| 2784 | local Guard, GuardHealth, GDB, GDT, DBM = MakeGuard() | |
| 2785 | local Projectiles = {}
| |
| 2786 | local Ignore = {Character}
| |
| 2787 | local DontHeal = false | |
| 2788 | local Check = function(pro) | |
| 2789 | ||
| 2790 | local isSafe = false | |
| 2791 | for _,g in pairs(Projectiles) do | |
| 2792 | if g[1] ~= pro then | |
| 2793 | isSafe = true | |
| 2794 | end | |
| 2795 | end | |
| 2796 | return isSafe | |
| 2797 | end | |
| 2798 | --fixed by kent911t | |
| 2799 | runServ.Stepped:wait() | |
| 2800 | repeat | |
| 2801 | Humanoid.WalkSpeed = 0 | |
| 2802 | Humanoid.MaxHealth = huge | |
| 2803 | runServ.Stepped:wait() | |
| 2804 | Humanoid.Health = huge | |
| 2805 | RootPart.Velocity = Vec(0, 0, 0) | |
| 2806 | if Guard and GuardHealth and GDB and GDT and DBM and not DontHeal and Guard.Parent ~= nil and GuardHealth.Parent ~= nil and GDB.Parent ~= nil and GDT.Parent ~= nil and DBM.Parent ~= nil and GuardHealth.Health ~= 0 then | |
| 2807 | GuardHealth.MaxHealth = GH | |
| 2808 | Guard.CFrame = RootPart:GetRenderCFrame() * Cf(0, 0, -2.2) | |
| 2809 | GDB.CFrame = Guard:GetRenderCFrame() * Cf(0, 0, -3.2) | |
| 2810 | GDT.CFrame = Guard:GetRenderCFrame() * Cf(0, 0, -3.2) | |
| 2811 | if GuardHealth.Health ~= GuardHealth.MaxHealth then | |
| 2812 | local HealthLost = GuardHealth.MaxHealth - GuardHealth.Health | |
| 2813 | LHealth = LHealth + HealthLost / 2 | |
| 2814 | VHealth.Value = VHealth.Value - HealthLost | |
| 2815 | Apply_Buff(HealthLost / (GH / (GH / 160)), 25) | |
| 2816 | MakeText("+" .. HealthLost / 2 .. "", FONT, 0.4, 0, 170, 0, 0, 255, 0, RootPart.CFrame)
| |
| 2817 | GuardHealth.Health = GuardHealth.MaxHealth | |
| 2818 | RootPart.Velocity = RootPart.CFrame.lookVector * -(30 + HealthLost / (GH / 50)) | |
| 2819 | end | |
| 2820 | else | |
| 2821 | do | |
| 2822 | debServ:AddItem(Guard, 0) | |
| 2823 | debServ:AddItem(GuardHealth, 0) | |
| 2824 | debServ:AddItem(GDB, 0) | |
| 2825 | debServ:AddItem(DBM, 0) | |
| 2826 | Guard = MakeGuard() | |
| 2827 | do | |
| 2828 | local s1 = Sound(RootPart, "http://roblox.com/asset/?id=233091161", 1, 1.4, false) | |
| 2829 | debServ:AddItem(s1, 3) | |
| 2830 | MagicRing(BrickColor.new(Colour1), "Neon", RootPart:GetRenderCFrame() * Cf(0, 0, 0) * Euler(rad(90), 0, 0), 2, 2, 4, 8, 8, 16, 0.05) | |
| 2831 | DBM.Parent = F2 | |
| 2832 | Apply_Buff(10, 120) | |
| 2833 | MagniDamage(RootPart, 40, false, 0, 1e+19, true, 9e+15, "Compensate", 0.01, false, 0, false, _, "", "") | |
| 2834 | DBM.Parent = workspace | |
| 2835 | repeat | |
| 2836 | repeat | |
| 2837 | repeat | |
| 2838 | repeat | |
| 2839 | runServ.Stepped:wait() | |
| 2840 | until Guard | |
| 2841 | until GuardHealth | |
| 2842 | until GDB | |
| 2843 | until DBM | |
| 2844 | local GuardSpeed = 0.5 | |
| 2845 | if Debounces.HasWep then | |
| 2846 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), GuardSpeed) | |
| 2847 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), GuardSpeed) | |
| 2848 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), GuardSpeed) | |
| 2849 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), GuardSpeed) | |
| 2850 | end | |
| 2851 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.51, 0.53, 0.2) * Euler(0, 0, rad(12)), GuardSpeed) | |
| 2852 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(40), 0), GuardSpeed) | |
| 2853 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.4, -0.5) * Euler(rad(-210), 0, 0), GuardSpeed) | |
| 2854 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-50), 0), GuardSpeed) | |
| 2855 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(rad(-12), 0, 0), GuardSpeed) | |
| 2856 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-50), 0), GuardSpeed) | |
| 2857 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0.5, -1, 0) * Euler(0, rad(-50), 0), GuardSpeed) | |
| 2858 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), GuardSpeed) | |
| 2859 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0.15) * Euler(0, rad(90), 0), GuardSpeed) | |
| 2860 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(105), 0), GuardSpeed) | |
| 2861 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0.3) * Euler(0, rad(-90), 0), GuardSpeed) | |
| 2862 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-120), 0), GuardSpeed) | |
| 2863 | end | |
| 2864 | end | |
| 2865 | end | |
| 2866 | until not Debounces.Guarding or Humanoid.Health < 0.01 or VHealth.Value == VHealth.MinValue | |
| 2867 | do | |
| 2868 | debServ:AddItem(Guard, 0) | |
| 2869 | debServ:AddItem(GuardHealth, 0) | |
| 2870 | debServ:AddItem(GDB, 0) | |
| 2871 | debServ:AddItem(DBM, 0) | |
| 2872 | GodMode = false | |
| 2873 | Humanoid.MaxHealth = Max_Health | |
| 2874 | Humanoid.WalkSpeed = CurrentSpeed | |
| 2875 | Debounces.Attacking = false | |
| 2876 | wait(0.15) | |
| 2877 | Humanoid.Health = LHealth | |
| 2878 | coroutine.resume(coroutine.create(function() | |
| 2879 | ||
| 2880 | wait(1) | |
| 2881 | Debounces.CanGuard = true | |
| 2882 | end | |
| 2883 | )) | |
| 2884 | end | |
| 2885 | end | |
| 2886 | ||
| 2887 | Fatal_Blow = function() | |
| 2888 | ||
| 2889 | Debounces.Attacking = true | |
| 2890 | local PlusSize = 0 | |
| 2891 | local Del = 0 | |
| 2892 | local Continue = false | |
| 2893 | local K = Mouse.KeyUp:connect(function(key) | |
| 2894 | ||
| 2895 | if key == "z" and Z_Pressed then | |
| 2896 | Continue = true | |
| 2897 | Z_Pressed = false | |
| 2898 | end | |
| 2899 | end | |
| 2900 | ) | |
| 2901 | local psm = 1 | |
| 2902 | local gy = Inst("BodyGyro", RootPart)
| |
| 2903 | gy.Name = DecName | |
| 2904 | gy.MaxTorque = Vec(0, 3000, 0) | |
| 2905 | repeat | |
| 2906 | gy.CFrame = Cf(RootPart.Position, Mouse.Hit.p) | |
| 2907 | if Del >= 3 then | |
| 2908 | PlusSize = PlusSize + 0.15 * psm | |
| 2909 | else | |
| 2910 | Del = Del + 0.1 | |
| 2911 | end | |
| 2912 | if 15 * psm - 0.15 <= PlusSize then | |
| 2913 | psm = psm + 0.1 | |
| 2914 | end | |
| 2915 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.35, 0) * Euler(rad(-25), 0, rad(4)), 0.4) | |
| 2916 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4) | |
| 2917 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), 0.4) | |
| 2918 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4) | |
| 2919 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(60), 0), 0.4) | |
| 2920 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.4) | |
| 2921 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-60), 0), 0.4) | |
| 2922 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.4) | |
| 2923 | RightHip.C0 = clerp(RightHip.C0, Cf(0.5, -1, 0) * Euler(0, rad(90), 0), 0.4) | |
| 2924 | RightHip.C1 = clerp(RightHip.C1, Cf(0, 1, 0) * Euler(0, rad(90), 0), 0.4) | |
| 2925 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-0.5, -1, 0) * Euler(0, rad(-90), 0), 0.4) | |
| 2926 | LeftHip.C1 = clerp(LeftHip.C1, Cf(0, 1, 0) * Euler(0, rad(-90), 0), 0.4) | |
| 2927 | MagicBlood(BrickColor.new(Colour1), "Neon", LeftArm:GetRenderCFrame() * Cf(0, -0.5, 0) * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))), 0.1, 2, 0.1, 0.1, 2, 0.1, 0.05) | |
| 2928 | swait() | |
| 2929 | until Continue or PlusSize >= 5000 | |
| 2930 | debServ:AddItem(gy, 0) | |
| 2931 | K:disconnect() | |
| 2932 | local FB = coroutine.create(function() | |
| 2933 | ||
| 2934 | MagicRing(BrickColor.new(Colour2), "Neon", LeftArm:GetRenderCFrame() * Cf(0, -0.5, 0) * Euler(rad(90), 0, 0), 0.1, 0.1, 0.1, 1, 1, 0.1, 0.05) | |
| 2935 | MagicRing(BrickColor.new(Colour1), "Neon", LeftArm:GetRenderCFrame() * Cf(0, -0.5, 0) * Euler(rad(90), 0, 0), 0.1, 0.1, 0.1, 0.6, 0.6, 0.1, 0.05) | |
| 2936 | MagicRing(BrickColor.new(Colour1), "Neon", LeftArm:GetRenderCFrame() * Cf(0, -0.5, 0) * Euler(rad(90), 0, 0), 0.1, 0.1, 0.1, 0.3, 0.3, 0.1, 0.05) | |
| 2937 | RootPart.Velocity = RootPart.CFrame.lookVector * -60 | |
| 2938 | local s = Sound(LeftArm, "http://roblox.com/asset/?id=231917750", 1, 1.6, false) | |
| 2939 | debServ:AddItem(s, 2) | |
| 2940 | local Orb = Inst("Part", F2)
| |
| 2941 | Orb.Material = "Neon" | |
| 2942 | Orb.BrickColor = BC(Colour1) | |
| 2943 | Orb.Transparency = 0.5 | |
| 2944 | Orb.Name = "Orb" | |
| 2945 | Orb.Anchored = false | |
| 2946 | Orb.CanCollide = false | |
| 2947 | Orb.Locked = true | |
| 2948 | Orb.Size = Vec(1.4, 1.4, 1.4) | |
| 2949 | local OrbM = Inst("SpecialMesh", Orb)
| |
| 2950 | OrbM.MeshType = "Sphere" | |
| 2951 | local Ring1 = Inst("Part", F2)
| |
| 2952 | Ring1.Transparency = 0.5 | |
| 2953 | Ring1.BrickColor = BC(Colour1) | |
| 2954 | Ring1.Name = "Ring" | |
| 2955 | Ring1.Anchored = false | |
| 2956 | Ring1.CanCollide = false | |
| 2957 | Ring1.Locked = true | |
| 2958 | Ring1.Size = Vec(0.2, 0.2, 0.2) | |
| 2959 | local Ring1M = Inst("SpecialMesh", Ring1)
| |
| 2960 | Ring1M.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2961 | Ring1M.Scale = Vec(2, 2, 2) | |
| 2962 | local Ring2 = Inst("Part", F2)
| |
| 2963 | Ring2.Transparency = 0.5 | |
| 2964 | Ring2.BrickColor = BC(Colour1) | |
| 2965 | Ring2.Name = "Ring" | |
| 2966 | Ring2.Anchored = false | |
| 2967 | Ring2.CanCollide = false | |
| 2968 | Ring2.Locked = true | |
| 2969 | Ring2.Size = Vec(0.2, 0.2, 0.2) | |
| 2970 | local Ring2M = Inst("SpecialMesh", Ring2)
| |
| 2971 | Ring2M.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2972 | Ring2M.Scale = Vec(2, 2, 2) | |
| 2973 | local Rm1 = Inst("Motor", Ring1)
| |
| 2974 | Rm1.Part0 = Orb | |
| 2975 | Rm1.Part1 = Ring1 | |
| 2976 | Rm1.DesiredAngle = 1e+28 | |
| 2977 | Rm1.MaxVelocity = rad(6) | |
| 2978 | Rm1.C0 = Cf() * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))) | |
| 2979 | Rm1.C1 = Cf() * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))) | |
| 2980 | local Rm2 = Inst("Motor", Ring2)
| |
| 2981 | Rm2.Part0 = Orb | |
| 2982 | Rm2.Part1 = Ring2 | |
| 2983 | Rm2.DesiredAngle = 1e+28 | |
| 2984 | Rm2.MaxVelocity = rad(6) | |
| 2985 | Rm2.C0 = Cf() * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))) | |
| 2986 | Rm2.C1 = Cf() * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))) | |
| 2987 | Orb.CFrame = LeftArm.CFrame * Cf(0, -(0.5 + Orb.Size.Y / 2), 0) | |
| 2988 | local dir = CFrame.new(LeftArm.Position, Mouse.Hit.p) | |
| 2989 | local Vel = Inst("BodyVelocity", Orb)
| |
| 2990 | Vel.MaxForce = Vec(huge, huge, huge) | |
| 2991 | Vel.Velocity = dir.lookVector * (190 + PlusSize / 12) | |
| 2992 | debServ:AddItem(Orb, 40 + PlusSize / 2) | |
| 2993 | debServ:AddItem(Ring1, 40 + PlusSize / 2) | |
| 2994 | debServ:AddItem(Ring2, 40 + PlusSize / 2) | |
| 2995 | local hit = Orb.Touched:connect(function(part) | |
| 2996 | ||
| 2997 | local hum = FindHum(part.Parent) | |
| 2998 | if (hum and hum ~= Humanoid and Orb.Anchored == false) or part.Anchored == true and Orb.Anchored == false and part.Name ~= "OrbBlast" and part.Name ~= "hoi hoi" and part.Name ~= "Effect" then | |
| 2999 | Orb.Anchored = true | |
| 3000 | Orb.Transparency = 1 | |
| 3001 | local s = Sound(Orb, "http://roblox.com/asset/?id=233856079", 1, 1, false) | |
| 3002 | debServ:AddItem(s, 2) | |
| 3003 | debServ:AddItem(Ring1, 0) | |
| 3004 | debServ:AddItem(Vel, 0) | |
| 3005 | debServ:AddItem(Ring2, 0) | |
| 3006 | DamageFunction(part, false, 0, 8 + PlusSize * 2, false, 0, "Compensate-Stun", RootPart, 0.2, true, 2, false, _, "", "") | |
| 3007 | local Blast = Inst("Part", F2)
| |
| 3008 | Blast.BrickColor = BC(Colour2) | |
| 3009 | Blast.Material = "Neon" | |
| 3010 | Blast.Transparency = 1 | |
| 3011 | Blast.Name = "OrbBlast" | |
| 3012 | Blast.Anchored = true | |
| 3013 | Blast.CanCollide = false | |
| 3014 | Blast.Locked = true | |
| 3015 | Blast.Size = Vec(0.2, 0.2, 0.2) | |
| 3016 | Blast.CFrame = Orb.CFrame | |
| 3017 | local Bm = Inst("SpecialMesh", Blast)
| |
| 3018 | Bm.MeshType = "Sphere" | |
| 3019 | Bm.Scale = Vec(0, 0, 0) | |
| 3020 | local Range = 0 | |
| 3021 | MagicCircle(BrickColor.new(Colour1), "Neon", Blast:GetRenderCFrame(), 0, 0, 0, 20 + PlusSize * 2.5, 20 + PlusSize * 2.5, 20 + PlusSize * 2.5, 0.05) | |
| 3022 | MagicRing(BrickColor.new(Colour1), "Neon", Blast:GetRenderCFrame() * Euler(rad(90), rad(90), 0), 0, 0, 0, 5 + PlusSize * 2.5, 5 + PlusSize * 2.5, 4 + PlusSize * 2.5, 0.05) | |
| 3023 | MagicRing(BrickColor.new(Colour1), "Neon", Blast:GetRenderCFrame() * Euler(rad(22.5), 0, 0), 0, 0, 0, 10 + PlusSize * 2.5, 10 + PlusSize * 2.5, 4 + PlusSize * 2.5, 0.05) | |
| 3024 | MagicRing(BrickColor.new(Colour1), "Neon", Blast:GetRenderCFrame() * Euler(rad(-22.5), 0, 0), 0, 0, 0, 15 + PlusSize * 2.5, 15 + PlusSize * 2.5, 4 + PlusSize * 2.5, 0.05) | |
| 3025 | for t = 0, 1, 0.18 do | |
| 3026 | swait() | |
| 3027 | Range = t * (10 + PlusSize * 1.5) | |
| 3028 | Blast.Transparency = (-2 + t) * -1 / 2 | |
| 3029 | Bm.Scale = Vec(t * (120 + PlusSize * 6), t * (120 + PlusSize * 6), t * (120 + PlusSize * 6)) | |
| 3030 | MagniDamage(Blast, Range, true, 6 + PlusSize / 10, 7 + PlusSize / 10, false, 0, "Compensate-Normal", 0.01, false, 0, false, _, "", "") | |
| 3031 | end | |
| 3032 | for t = 0, 2, 0.08 do | |
| 3033 | swait() | |
| 3034 | MagniDamage(Blast, Range, true, 4 + PlusSize / 10, 5 + PlusSize / 10, false, 0, "Compensate-LifeSteal", 0.2, false, 0, false, _, "", "") | |
| 3035 | end | |
| 3036 | for t = 1, 0, -0.22 do | |
| 3037 | swait() | |
| 3038 | Range = t * (10 + PlusSize * 1.5) | |
| 3039 | Blast.Transparency = (-2 + t) * -1 / 2 | |
| 3040 | Bm.Scale = Vec(t * (120 + PlusSize * 6), t * (120 + PlusSize * 6), t * (120 + PlusSize * 6)) | |
| 3041 | MagniDamage(Blast, Range, true, 6 + PlusSize / 10, 7 + PlusSize / 10, false, 0, "Compensate-Normal", 0.01, false, 0, false, _, "", "") | |
| 3042 | end | |
| 3043 | debServ:AddItem(Blast, 0) | |
| 3044 | debServ:AddItem(Orb, 0) | |
| 3045 | end | |
| 3046 | end | |
| 3047 | ) | |
| 3048 | repeat | |
| 3049 | swait() | |
| 3050 | until Orb.Parent == nil | |
| 3051 | debServ:AddItem(Orb, 0) | |
| 3052 | hit:disconnect() | |
| 3053 | end | |
| 3054 | ) | |
| 3055 | for i = 0, 0.4, 0.1 do | |
| 3056 | swait() | |
| 3057 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.35, 0) * Euler(rad(-25), 0, rad(8)), 0.4) | |
| 3058 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4) | |
| 3059 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(90), 0, rad(-70)), 0.4) | |
| 3060 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4) | |
| 3061 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(60), 0), 0.4) | |
| 3062 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.4) | |
| 3063 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-70), 0), 0.4) | |
| 3064 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.4) | |
| 3065 | RightHip.C0 = clerp(RightHip.C0, Cf(0.5, -1, 0) * Euler(0, rad(90), 0), 0.4) | |
| 3066 | RightHip.C1 = clerp(RightHip.C1, Cf(0, 1, 0) * Euler(0, rad(90), 0), 0.4) | |
| 3067 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-0.5, -1, 0) * Euler(0, rad(-90), 0), 0.4) | |
| 3068 | LeftHip.C1 = clerp(LeftHip.C1, Cf(0, 1, 0) * Euler(0, rad(-90), 0), 0.4) | |
| 3069 | end | |
| 3070 | coroutine.resume(FB) | |
| 3071 | Debounces.Attacking = false | |
| 3072 | end | |
| 3073 | ||
| 3074 | local WaveNum = 1 | |
| 3075 | Hate_Wave = function() | |
| 3076 | Debounces.Attacking = true | |
| 3077 | local MakeWave = function() | |
| 3078 | ||
| 3079 | local Wave = Inst("Model", F2)
| |
| 3080 | Wave.Name = "Wave" | |
| 3081 | local WM = Inst("Part", Wave)
| |
| 3082 | WM.BrickColor = BC(Colour1) | |
| 3083 | WM.Material = "Neon" | |
| 3084 | WM.Name = "WavePart" | |
| 3085 | WM.Position = Vec(10.3, 7.6, -239.4) | |
| 3086 | WM.Rotation = Vec(-180, 0, -180) | |
| 3087 | WM.Anchored = true | |
| 3088 | WM.CanCollide = false | |
| 3089 | WM.Locked = true | |
| 3090 | WM.Size = Vec(1, 2.4, 1) | |
| 3091 | local W1 = Inst("Part", Wave)
| |
| 3092 | W1.BrickColor = BC(Colour1) | |
| 3093 | W1.Material = "Neon" | |
| 3094 | W1.Name = "WavePart" | |
| 3095 | W1.Position = Vec(10.3, 9.648, -239.664) | |
| 3096 | W1.Rotation = Vec(165, 0, -180) | |
| 3097 | W1.Anchored = true | |
| 3098 | W1.CanCollide = false | |
| 3099 | W1.Locked = true | |
| 3100 | W1.Size = Vec(1, 2.1, 1) | |
| 3101 | local W2 = Inst("Part", Wave)
| |
| 3102 | W2.BrickColor = BC(Colour1) | |
| 3103 | W2.Material = "Neon" | |
| 3104 | W2.Name = "WavePart" | |
| 3105 | W2.Position = Vec(10.3, 11.4, -240.4) | |
| 3106 | W2.Rotation = Vec(150, 0, -180) | |
| 3107 | W2.Anchored = true | |
| 3108 | W2.CanCollide = false | |
| 3109 | W2.Locked = true | |
| 3110 | W2.Size = Vec(1, 2, 1) | |
| 3111 | local W3 = Inst("Part", Wave)
| |
| 3112 | W3.BrickColor = BC(Colour1) | |
| 3113 | W3.Material = "Neon" | |
| 3114 | W3.Name = "WavePart" | |
| 3115 | W3.Position = Vec(10.3, 5.552, -239.663) | |
| 3116 | W3.Rotation = Vec(-165, 0, -180) | |
| 3117 | W3.Anchored = true | |
| 3118 | W3.CanCollide = false | |
| 3119 | W3.Locked = true | |
| 3120 | W3.Size = Vec(1, 2.1, 1) | |
| 3121 | local W4 = Inst("Part", Wave)
| |
| 3122 | W4.BrickColor = BC(Colour1) | |
| 3123 | W4.Material = "Neon" | |
| 3124 | W4.Name = "WavePart" | |
| 3125 | W4.Position = Vec(10.3, 3.8, -240.4) | |
| 3126 | W4.Rotation = Vec(-150, 0, -180) | |
| 3127 | W4.Anchored = true | |
| 3128 | W4.CanCollide = false | |
| 3129 | W4.Locked = true | |
| 3130 | W4.Size = Vec(1, 2, 1) | |
| 3131 | local WH = Inst("Part", Wave)
| |
| 3132 | WH.Transparency = 1 | |
| 3133 | WH.Name = "WaveHitbox" | |
| 3134 | WH.Position = Vec(10.3, 7.6, -240.2) | |
| 3135 | WH.Rotation = Vec(-180, 0, -180) | |
| 3136 | WH.Anchored = true | |
| 3137 | WH.CanCollide = false | |
| 3138 | WH.Locked = true | |
| 3139 | WH.Size = Vec(5, 12, 8) | |
| 3140 | for _,w in pairs(Wave:GetChildren()) do | |
| 3141 | if w:IsA("BasePart") and w ~= WH then
| |
| 3142 | local W = Inst("Weld", WH)
| |
| 3143 | W.Part0 = WH | |
| 3144 | W.Part1 = w | |
| 3145 | W.C0 = WH.CFrame:inverse() * Cf(WH.Position) | |
| 3146 | W.C1 = w.CFrame:inverse() * Cf(WH.Position) | |
| 3147 | local M = Inst("BlockMesh", w)
| |
| 3148 | M.Scale = Vec(0, 1, 1) | |
| 3149 | end | |
| 3150 | end | |
| 3151 | local SiP = {NumberSequenceKeypoint.new(0, 1, 0), NumberSequenceKeypoint.new(1, 0.188, 0)}
| |
| 3152 | local TrP = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)}
| |
| 3153 | local PE = Inst("ParticleEmitter", WH)
| |
| 3154 | PE.Color = ColorSequence.new(BC(Colour1).Color) | |
| 3155 | PE.LightEmission = 1 | |
| 3156 | PE.Size = NumberSequence.new(SiP) | |
| 3157 | PE.Transparency = NumberSequence.new(TrP) | |
| 3158 | PE.EmissionDirection = "Back" | |
| 3159 | PE.Lifetime = NumberRange.new(0.2, 0.8) | |
| 3160 | PE.Rate = 500 | |
| 3161 | PE.Rotation = NumberRange.new(60, 120) | |
| 3162 | PE.RotSpeed = NumberRange.new(120, 360) | |
| 3163 | PE.Speed = NumberRange.new(30) | |
| 3164 | return Wave, WH | |
| 3165 | end | |
| 3166 | ||
| 3167 | if WaveNum == 1 then | |
| 3168 | WaveNum = 2 | |
| 3169 | for i = 0, 0.3, 0.1 do | |
| 3170 | swait() | |
| 3171 | local SwingSpeed = 0.7 | |
| 3172 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.96, 0.5) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 3173 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3174 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 3175 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed) | |
| 3176 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(80)), SwingSpeed) | |
| 3177 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3178 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), SwingSpeed) | |
| 3179 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3180 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 3181 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-40), 0), SwingSpeed) | |
| 3182 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-40), 0), SwingSpeed) | |
| 3183 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3184 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3185 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3186 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3187 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3188 | end | |
| 3189 | for i = 0, 0.2, 0.1 do | |
| 3190 | swait() | |
| 3191 | local SwingSpeed = 0.7 | |
| 3192 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.98, -0.4) * Euler(rad(20), 0, 0), SwingSpeed) | |
| 3193 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3194 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 3195 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed) | |
| 3196 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.6, 0.5, -1) * Euler(0, 0, rad(90)), SwingSpeed) | |
| 3197 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-160), 0, 0), SwingSpeed) | |
| 3198 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-25)), SwingSpeed) | |
| 3199 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3200 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(rad(-17), 0, 0), SwingSpeed) | |
| 3201 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(30), 0), SwingSpeed) | |
| 3202 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(30), 0), SwingSpeed) | |
| 3203 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3204 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3205 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3206 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3207 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3208 | end | |
| 3209 | local Wave, WHB = MakeWave() | |
| 3210 | for _,p in pairs(Wave:GetChildren()) do | |
| 3211 | if p:IsA("BasePart") then
| |
| 3212 | p.Anchored = false | |
| 3213 | end | |
| 3214 | end | |
| 3215 | WHB.CFrame = RootPart.CFrame * Euler(0, 0, rad(90)) | |
| 3216 | local Vel = Inst("BodyVelocity", WHB)
| |
| 3217 | Vel.MaxForce = Vec(huge, huge, huge) | |
| 3218 | Vel.Velocity = WHB.CFrame.lookVector * 220 | |
| 3219 | local Gyr = Inst("BodyGyro", WHB)
| |
| 3220 | Gyr.CFrame = WHB.CFrame | |
| 3221 | Gyr.MaxTorque = Vec(huge, huge, huge) | |
| 3222 | local s = Sound(WHB, "http://roblox.com/asset/?id=233091183", 1, 1.6, false) | |
| 3223 | debServ:AddItem(s, 2) | |
| 3224 | coroutine.resume(coroutine.create(function() | |
| 3225 | ||
| 3226 | debServ:AddItem(Wave, 2) | |
| 3227 | local hit = WHB.Touched:connect(function(part) | |
| 3228 | ||
| 3229 | DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, 0.2, false, 0, false, _, "", "") | |
| 3230 | end | |
| 3231 | ) | |
| 3232 | repeat | |
| 3233 | swait() | |
| 3234 | until Wave.Parent == nil | |
| 3235 | hit:disconnect() | |
| 3236 | end | |
| 3237 | )) | |
| 3238 | elseif WaveNum == 2 then | |
| 3239 | WaveNum = 3 | |
| 3240 | for i = 0, 0.3, 0.1 do | |
| 3241 | swait() | |
| 3242 | local SwingSpeed = 0.7 | |
| 3243 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(160), 0, 0), SwingSpeed) | |
| 3244 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3245 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 3246 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 3247 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.6, 0.5, -1) * Euler(0, 0, rad(45)), SwingSpeed) | |
| 3248 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-150), rad(0), 0), SwingSpeed) | |
| 3249 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-25)), SwingSpeed) | |
| 3250 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3251 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed) | |
| 3252 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 3253 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 3254 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3255 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3256 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3257 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3258 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3259 | end | |
| 3260 | for i = 0, 0.2, 0.1 do | |
| 3261 | swait() | |
| 3262 | local SwingSpeed = 0.7 | |
| 3263 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.96, 0.5) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 3264 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3265 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 3266 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 3267 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(45)), SwingSpeed) | |
| 3268 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3269 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(80), 0, rad(-30)), SwingSpeed) | |
| 3270 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3271 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 3272 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-30), 0), SwingSpeed) | |
| 3273 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed) | |
| 3274 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3275 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3276 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3277 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3278 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3279 | end | |
| 3280 | local Wave, WHB = MakeWave() | |
| 3281 | for _,p in pairs(Wave:GetChildren()) do | |
| 3282 | if p:IsA("BasePart") then
| |
| 3283 | p.Anchored = false | |
| 3284 | end | |
| 3285 | end | |
| 3286 | WHB.CFrame = RootPart.CFrame * Euler(0, 0, rad(45)) | |
| 3287 | local Vel = Inst("BodyVelocity", WHB)
| |
| 3288 | Vel.MaxForce = Vec(huge, huge, huge) | |
| 3289 | Vel.Velocity = WHB.CFrame.lookVector * 220 | |
| 3290 | local Gyr = Inst("BodyGyro", WHB)
| |
| 3291 | Gyr.CFrame = WHB.CFrame | |
| 3292 | Gyr.MaxTorque = Vec(huge, huge, huge) | |
| 3293 | local s = Sound(WHB, "http://roblox.com/asset/?id=233091183", 1, 1.6, false) | |
| 3294 | debServ:AddItem(s, 2) | |
| 3295 | coroutine.resume(coroutine.create(function() | |
| 3296 | ||
| 3297 | debServ:AddItem(Wave, 2) | |
| 3298 | local hit = WHB.Touched:connect(function(part) | |
| 3299 | ||
| 3300 | DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, 0.2, false, 0, false, _, "", "") | |
| 3301 | end | |
| 3302 | ) | |
| 3303 | repeat | |
| 3304 | swait() | |
| 3305 | until Wave.Parent == nil | |
| 3306 | hit:disconnect() | |
| 3307 | end | |
| 3308 | )) | |
| 3309 | elseif WaveNum == 3 then | |
| 3310 | WaveNum = 4 | |
| 3311 | for i = 0, 0.3, 0.1 do | |
| 3312 | swait() | |
| 3313 | local SwingSpeed = 0.7 | |
| 3314 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(0), 0, 0), SwingSpeed) | |
| 3315 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3316 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(-90), 0, 0), SwingSpeed) | |
| 3317 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 3318 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(135), 0, 0), SwingSpeed) | |
| 3319 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(45), rad(-45)), SwingSpeed) | |
| 3320 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(80), 0, rad(-40)), SwingSpeed) | |
| 3321 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3322 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 3323 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-40), 0), SwingSpeed) | |
| 3324 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-40), 0), SwingSpeed) | |
| 3325 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3326 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3327 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3328 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3329 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3330 | end--fixed by kent911t | |
| 3331 | for i = 0, 0.2, 0.1 do | |
| 3332 | swait() | |
| 3333 | local SwingSpeed = 0.7 | |
| 3334 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(0), 0, 0), SwingSpeed) | |
| 3335 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3336 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(-90), 0, 0), SwingSpeed) | |
| 3337 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 3338 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-25), 0, rad(0)), SwingSpeed) | |
| 3339 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(60), rad(-10)), SwingSpeed) | |
| 3340 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-20), 0, rad(-25)), SwingSpeed) | |
| 3341 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3342 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed) | |
| 3343 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(82), 0), SwingSpeed) | |
| 3344 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(100), 0), SwingSpeed) | |
| 3345 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3346 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3347 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3348 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3349 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3350 | end | |
| 3351 | local Wave, WHB = MakeWave() | |
| 3352 | for _,p in pairs(Wave:GetChildren()) do | |
| 3353 | if p:IsA("BasePart") then
| |
| 3354 | p.Anchored = false | |
| 3355 | end | |
| 3356 | end | |
| 3357 | WHB.CFrame = RootPart.CFrame * Euler(0, 0, rad(-45)) | |
| 3358 | local Vel = Inst("BodyVelocity", WHB)
| |
| 3359 | Vel.MaxForce = Vec(huge, huge, huge) | |
| 3360 | Vel.Velocity = WHB.CFrame.lookVector * 220 | |
| 3361 | local Gyr = Inst("BodyGyro", WHB)
| |
| 3362 | Gyr.CFrame = WHB.CFrame | |
| 3363 | Gyr.MaxTorque = Vec(huge, huge, huge) | |
| 3364 | local s = Sound(WHB, "http://roblox.com/asset/?id=233091183", 1, 1.6, false) | |
| 3365 | debServ:AddItem(s, 2) | |
| 3366 | coroutine.resume(coroutine.create(function() | |
| 3367 | ||
| 3368 | debServ:AddItem(Wave, 2) | |
| 3369 | local hit = WHB.Touched:connect(function(part) | |
| 3370 | ||
| 3371 | DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, 0.2, false, 0, false, _, "", "") | |
| 3372 | end | |
| 3373 | ) | |
| 3374 | repeat | |
| 3375 | swait() | |
| 3376 | until Wave.Parent == nil | |
| 3377 | hit:disconnect() | |
| 3378 | end | |
| 3379 | )) | |
| 3380 | elseif WaveNum == 4 then | |
| 3381 | WaveNum = 1 | |
| 3382 | for i = 0, 0.3, 0.1 do | |
| 3383 | swait() | |
| 3384 | local SwingSpeed = 0.7 | |
| 3385 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.9, 0.6) * Euler(rad(160), 0, 0), SwingSpeed) | |
| 3386 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3387 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 3388 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 3389 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.4) * Euler(rad(160), 0, 0), SwingSpeed) | |
| 3390 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 3391 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.6, 0.8, -0.95) * Euler(rad(120), 0, rad(60)), SwingSpeed) | |
| 3392 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3393 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed) | |
| 3394 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-40), 0), SwingSpeed) | |
| 3395 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-40), 0), SwingSpeed) | |
| 3396 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3397 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3398 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3399 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3400 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3401 | end | |
| 3402 | for i = 0, 0.2, 0.1 do | |
| 3403 | swait() | |
| 3404 | local SwingSpeed = 0.7 | |
| 3405 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.8, 0.6) * Euler(rad(146), 0, rad(-40)), SwingSpeed) | |
| 3406 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, rad(-5), 0), SwingSpeed) | |
| 3407 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 3408 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 3409 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.3) * Euler(0, rad(-65), rad(-40)), SwingSpeed) | |
| 3410 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-20), 0, 0), SwingSpeed) | |
| 3411 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -0.5) * Euler(rad(20), 0, rad(60)), SwingSpeed) | |
| 3412 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(65), 0), SwingSpeed) | |
| 3413 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed) | |
| 3414 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(20), rad(60), 0), SwingSpeed) | |
| 3415 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(60), 0), SwingSpeed) | |
| 3416 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3417 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3418 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3419 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3420 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3421 | end | |
| 3422 | local Wave, WHB = MakeWave() | |
| 3423 | for _,p in pairs(Wave:GetChildren()) do | |
| 3424 | if p:IsA("BasePart") then
| |
| 3425 | p.Anchored = false | |
| 3426 | end | |
| 3427 | end | |
| 3428 | WHB.CFrame = RootPart.CFrame | |
| 3429 | local Vel = Inst("BodyVelocity", WHB)
| |
| 3430 | Vel.MaxForce = Vec(huge, huge, huge) | |
| 3431 | Vel.Velocity = WHB.CFrame.lookVector * 220 | |
| 3432 | local Gyr = Inst("BodyGyro", WHB)
| |
| 3433 | Gyr.CFrame = WHB.CFrame | |
| 3434 | Gyr.MaxTorque = Vec(huge, huge, huge) | |
| 3435 | local s = Sound(WHB, "http://roblox.com/asset/?id=233091183", 1, 1.6, false) | |
| 3436 | debServ:AddItem(s, 2) | |
| 3437 | coroutine.resume(coroutine.create(function() | |
| 3438 | ||
| 3439 | debServ:AddItem(Wave, 2) | |
| 3440 | local hit = WHB.Touched:connect(function(part) | |
| 3441 | ||
| 3442 | DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, 0.2, false, 0, false, _, "", "") | |
| 3443 | end | |
| 3444 | ) | |
| 3445 | repeat | |
| 3446 | swait() | |
| 3447 | until Wave.Parent == nil | |
| 3448 | hit:disconnect() | |
| 3449 | end | |
| 3450 | )) | |
| 3451 | end | |
| 3452 | Debounces.Attacking = false | |
| 3453 | end | |
| 3454 | ||
| 3455 | Dark_Eruption = function() | |
| 3456 | ||
| 3457 | Debounces.Attacking = true | |
| 3458 | local EPower = 0 | |
| 3459 | local BuffDelay = 0 | |
| 3460 | repeat | |
| 3461 | if BuffDelay < 3.9 then | |
| 3462 | BuffDelay = BuffDelay + 0.1 | |
| 3463 | else | |
| 3464 | EPower = EPower + 0.25 | |
| 3465 | end | |
| 3466 | MagicBlock(BrickColor.new(Colour1), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05) | |
| 3467 | MagicBlock(BrickColor.new(Colour1), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05) | |
| 3468 | MagicBlock(BrickColor.new(Colour2), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05) | |
| 3469 | MagicBlock(BrickColor.new(Colour2), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05) | |
| 3470 | Humanoid.WalkSpeed = 5 | |
| 3471 | local SwingSpeed = 0.5 | |
| 3472 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.95, 0.5) * Euler(rad(180), 0, 0), SwingSpeed) | |
| 3473 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3474 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 3475 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 3476 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.4) * Euler(rad(170), 0, 0), SwingSpeed) | |
| 3477 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 3478 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.45, 0.8, -0.95) * Euler(rad(150), 0, rad(40)), SwingSpeed) | |
| 3479 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3480 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed) | |
| 3481 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-40), 0), SwingSpeed) | |
| 3482 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-40), 0), SwingSpeed) | |
| 3483 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3484 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3485 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 3486 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3487 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 3488 | wait() | |
| 3489 | until not Debounces.Charging_Erupt | |
| 3490 | Debounces.DisableJump = true | |
| 3491 | LeftHip.Part0 = nil | |
| 3492 | LeftHip.Part1 = nil | |
| 3493 | RightHip.Part0 = nil | |
| 3494 | RightHip.Part1 = nil | |
| 3495 | FLeftHip.Part0 = Torso | |
| 3496 | FLeftHip.Part1 = LeftLeg | |
| 3497 | FLeftHip.C0 = LeftHip.C0 | |
| 3498 | FLeftHip.C1 = LeftHip.C1 | |
| 3499 | FRightHip.Part0 = Torso | |
| 3500 | FRightHip.Part1 = RightLeg | |
| 3501 | FRightHip.C0 = RightHip.C0 | |
| 3502 | FRightHip.C1 = RightHip.C1 | |
| 3503 | local hit = Hit_Box.Touched:connect(function(part) | |
| 3504 | ||
| 3505 | DamageFunction(part, false, 0, 20 + EPower / 4, true, 40, "Compensate-Knockdown", Hit_Box, 0.2, false, 0, false, _, "", "") | |
| 3506 | end | |
| 3507 | ) | |
| 3508 | for i = 0, 0.4, 0.1 do | |
| 3509 | swait() | |
| 3510 | local SwingSpeed = 0.55 | |
| 3511 | Humanoid.WalkSpeed = 0 | |
| 3512 | MagicBlock(BrickColor.new(Colour1), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05) | |
| 3513 | MagicBlock(BrickColor.new(Colour1), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05) | |
| 3514 | MagicBlock(BrickColor.new(Colour2), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05) | |
| 3515 | MagicBlock(BrickColor.new(Colour2), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05) | |
| 3516 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.8, 0.6) * Euler(rad(146), 0, rad(-40)), SwingSpeed) | |
| 3517 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, rad(-5), 0), SwingSpeed) | |
| 3518 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 3519 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 3520 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.3) * Euler(0, rad(-65), rad(-40)), SwingSpeed) | |
| 3521 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-20), 0, 0), SwingSpeed) | |
| 3522 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -0.5) * Euler(rad(20), 0, rad(60)), SwingSpeed) | |
| 3523 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(65), 0), SwingSpeed) | |
| 3524 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed) | |
| 3525 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(20), rad(60), 0), SwingSpeed) | |
| 3526 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -2.2, 0) * Euler(0, rad(60), 0), SwingSpeed) | |
| 3527 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3528 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1.3, 0.1) * Euler(rad(-80), 0, 0), SwingSpeed) | |
| 3529 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3530 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.1, -0.6) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 3531 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 3532 | end | |
| 3533 | coroutine.resume(coroutine.create(function() | |
| 3534 | ||
| 3535 | for i = 1, 10 do | |
| 3536 | swait() | |
| 3537 | local Point = Inst("Part", F2)
| |
| 3538 | do | |
| 3539 | Point.Anchored = true | |
| 3540 | Point.Name = "Point" | |
| 3541 | Point.CanCollide = false | |
| 3542 | Point.Transparency = 1 | |
| 3543 | Point.Locked = true | |
| 3544 | Point.Size = Vec(0.2, 0.2, 0.2) | |
| 3545 | Point.CFrame = RootPart.CFrame * Cf(0, -3, -(11 * i)) | |
| 3546 | local P2 = Inst("Part", Point)
| |
| 3547 | P2.Anchored = true | |
| 3548 | P2.CanCollide = false | |
| 3549 | P2.Name = "Point" | |
| 3550 | P2.Transparency = 1 | |
| 3551 | P2.Locked = true | |
| 3552 | P2.Size = Vec(0.2, 0.2, 0.2) | |
| 3553 | P2.CFrame = Point.CFrame * Cf(0, 10, 0) | |
| 3554 | local P3 = Inst("Part", Point)
| |
| 3555 | P3.Anchored = true | |
| 3556 | P3.Name = "Point" | |
| 3557 | P3.CanCollide = false | |
| 3558 | P3.Transparency = 1 | |
| 3559 | P3.Locked = true | |
| 3560 | P3.Size = Vec(0.2, 0.2, 0.2) | |
| 3561 | P3.CFrame = Point.CFrame * Cf(0, -10, 0) | |
| 3562 | local s1 = Sound(Point, "http://roblox.com/asset/?id=233091161", 0.4, 3, false) | |
| 3563 | debServ:AddItem(s1, 3) | |
| 3564 | local s2 = Sound(Point, "http://roblox.com/asset/?id=231917744", 1, 2, false) | |
| 3565 | debServ:AddItem(s2, 3) | |
| 3566 | MagicCircle(BrickColor.new(Colour1), "SmoothPlastic", Point:GetRenderCFrame(), 0.1, 0, 0.1, 5, 0.5, 5, 0.08) | |
| 3567 | MagicCircle(BrickColor.new(Colour1), "SmoothPlastic", Point:GetRenderCFrame(), 0.1, 0, 0.1, 1, 50, 1, 0.08) | |
| 3568 | MagicCircle(BrickColor.new(Colour2), "Neon", Point:GetRenderCFrame(), 0.06, 0, 0.06, 4.6, 0.46, 4.6, 0.06) | |
| 3569 | MagicCircle(BrickColor.new(Colour2), "Neon", Point:GetRenderCFrame(), 0.06, 0, 0.06, 0.6, 46, 0.6, 0.06) | |
| 3570 | MagicBlock(BrickColor.new(Colour1), "SmoothPlastic", Point:GetRenderCFrame(), 0.1, 0.1, 0.1, 2, 2, 2, 0.08) | |
| 3571 | MagicBlock(BrickColor.new(Colour2), "Neon", Point:GetRenderCFrame(), 0.1, 0.1, 0.1, 2, 2, 2, 0.06) | |
| 3572 | coroutine.resume(coroutine.create(function() | |
| 3573 | ||
| 3574 | for i = 0, 0.4, 0.1 do | |
| 3575 | swait() | |
| 3576 | MagniDamage(Point, 12, true, 8 + EPower, 9 + EPower, true, 90, "Compensate-LifeSteal", 0.01, false, 0, false, _, "", "") | |
| 3577 | MagniDamage(P2, 12, true, 8 + EPower, 9 + EPower, true, 90, "Compensate-LifeSteal", 0.01, false, 0, false, _, "", "") | |
| 3578 | MagniDamage(P3, 12, true, 8 + EPower, 9 + EPower, true, 90, "Compensate-LifeSteal", 0.01, false, 0, false, _, "", "") | |
| 3579 | end | |
| 3580 | debServ:AddItem(Point, 0) | |
| 3581 | end | |
| 3582 | )) | |
| 3583 | end | |
| 3584 | end | |
| 3585 | end | |
| 3586 | )) | |
| 3587 | wait(0.55) | |
| 3588 | hit:disconnect() | |
| 3589 | FLeftHip.Part0 = nil | |
| 3590 | FLeftHip.Part1 = nil | |
| 3591 | FRightHip.Part0 = nil | |
| 3592 | FRightHip.Part1 = nil | |
| 3593 | LeftHip.Part0 = Torso | |
| 3594 | LeftHip.Part1 = LeftLeg | |
| 3595 | LeftHip.C0 = FLeftHip.C0 | |
| 3596 | LeftHip.C1 = FLeftHip.C1 | |
| 3597 | RightHip.Part0 = Torso | |
| 3598 | RightHip.Part1 = RightLeg | |
| 3599 | RightHip.C0 = FRightHip.C0 | |
| 3600 | RightHip.C1 = FRightHip.C1 | |
| 3601 | Humanoid.WalkSpeed = CurrentSpeed | |
| 3602 | Debounces.DisableJump = false | |
| 3603 | Debounces.Attacking = false | |
| 3604 | end | |
| 3605 | ||
| 3606 | Axel = function(Upward) | |
| 3607 | Debounces.Attacking = true | |
| 3608 | if not Debounces.HasWep then | |
| 3609 | if Current_Anim == "Idle" or Current_Anim == "Walking" then | |
| 3610 | LeftHip.Part0 = nil | |
| 3611 | LeftHip.Part1 = nil | |
| 3612 | RightHip.Part0 = nil | |
| 3613 | RightHip.Part1 = nil | |
| 3614 | FLeftHip.Part0 = Torso | |
| 3615 | FLeftHip.Part1 = LeftLeg | |
| 3616 | FLeftHip.C0 = LeftHip.C0 | |
| 3617 | FLeftHip.C1 = LeftHip.C1 | |
| 3618 | FRightHip.Part0 = Torso | |
| 3619 | FRightHip.Part1 = RightLeg | |
| 3620 | FRightHip.C0 = RightHip.C0 | |
| 3621 | FRightHip.C1 = RightHip.C1 | |
| 3622 | local t = 0.6 | |
| 3623 | local VelPart = RootPart | |
| 3624 | local tim = 1 | |
| 3625 | local Speed = 100 | |
| 3626 | local HBSize = Vec(3, 5, 3) | |
| 3627 | local Vel = Inst("BodyVelocity", RootPart)
| |
| 3628 | Vel.Name = DecName | |
| 3629 | Vel.MaxForce = Vec(huge, huge, huge) | |
| 3630 | Vel.Velocity = VelPart.CFrame.lookVector * 0 | |
| 3631 | if Upward then | |
| 3632 | tim = 1.4 | |
| 3633 | HBSize = Vec(5, 7, 5) | |
| 3634 | Speed = 250 | |
| 3635 | local LVec = Inst("Part", F2)
| |
| 3636 | LVec.Transparency = 1 | |
| 3637 | LVec.Anchored = false | |
| 3638 | LVec.CanCollide = false | |
| 3639 | LVec.Locked = true | |
| 3640 | LVec.Size = Vec(1, 1, 1) | |
| 3641 | LVec.FrontSurface = "Hinge" | |
| 3642 | local LVW = Inst("Weld", LVec)
| |
| 3643 | LVW.Part0 = LeftLeg | |
| 3644 | LVW.Part1 = LVec | |
| 3645 | LVW.Name = DecName | |
| 3646 | LVW.C0 = Cf(0, -0.5, 0) * Euler(rad(-90), 0, 0) | |
| 3647 | LVW.C1 = Cf(0, 0, 0) * Euler(0, 0, rad(-20)) | |
| 3648 | VelPart = LVec | |
| 3649 | Vel.Velocity = RootPart.CFrame.lookVector * -15 + Vec(0, 25, 0) | |
| 3650 | local noscope = 0 | |
| 3651 | local j = Sound(RootPart, "http://roblox.com/asset/?id=158149887", 0.5, 1, false) | |
| 3652 | debServ:AddItem(j, 2) | |
| 3653 | for i = 0, 1.4, 0.1 do | |
| 3654 | swait() | |
| 3655 | if noscope ~= 360 then | |
| 3656 | noscope = noscope + 30 | |
| 3657 | end | |
| 3658 | local JumpSpeed = 0.4 | |
| 3659 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-60), 0, rad(10)), JumpSpeed) | |
| 3660 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 3661 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-60), 0, rad(-10)), JumpSpeed) | |
| 3662 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 3663 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0.2) * Euler(rad(30), 0, 0), JumpSpeed) | |
| 3664 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 3665 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(noscope), 0, 0), JumpSpeed) | |
| 3666 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 3667 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-18), rad(90), 0), JumpSpeed) | |
| 3668 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed) | |
| 3669 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-30), rad(-90), 0), JumpSpeed) | |
| 3670 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed) | |
| 3671 | end | |
| 3672 | end | |
| 3673 | local HBox = MakeHitBox(HBSize, LeftLeg, true, Cf(0, -(HBSize.Y / 4), 0), Cf()) | |
| 3674 | local T = 0 | |
| 3675 | local hit = HBox.Touched:connect(function(part) | |
| 3676 | ||
| 3677 | local hum = FindHum(part.Parent) | |
| 3678 | local Axeld = part.Parent:FindFirstChild("Axeld")
| |
| 3679 | if hum and hum ~= Humanoid and not Axeld then | |
| 3680 | tim = tim + 1.2 | |
| 3681 | local ax = Inst("BoolValue", part.Parent)
| |
| 3682 | ax.Name = "Axeld" | |
| 3683 | local QuickDelay = Inst("BodyPosition", RootPart)
| |
| 3684 | QuickDelay.Name = DecName | |
| 3685 | QuickDelay.MaxForce = Vec(huge, huge, huge) | |
| 3686 | QuickDelay.Position = RootPart.Position | |
| 3687 | debServ:AddItem(QuickDelay, 0.3) | |
| 3688 | debServ:AddItem(ax, 0.4) | |
| 3689 | DamageFunction(part, true, 20, 21, false, 150, "SkyRocket", RootPart, 0.1, false, 0, false, _, "", "") | |
| 3690 | end | |
| 3691 | end | |
| 3692 | ) | |
| 3693 | repeat | |
| 3694 | Vel.Velocity = VelPart.CFrame.lookVector * Speed | |
| 3695 | MagicBlock(BrickColor.new(Colour1), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -5, -1), 3, 3, 3, 7, 7, 7, 0.1) | |
| 3696 | MagicBlock(BrickColor.new(Colour2), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -4, -1), 2, 2, 2, 6, 6, 6, 0.1) | |
| 3697 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, rad(15), rad(70)), t) | |
| 3698 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), t) | |
| 3699 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -0.9) * Euler(rad(90), 0, 0), t) | |
| 3700 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(-70)), t) | |
| 3701 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.3) * Euler(rad(-35), rad(60), 0), t) | |
| 3702 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), t) | |
| 3703 | if not Upward then | |
| 3704 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(40), rad(-80), 0), t) | |
| 3705 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), t) | |
| 3706 | else | |
| 3707 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(100), rad(-80), 0), t) | |
| 3708 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), t) | |
| 3709 | end | |
| 3710 | FRightHip.C0 = clerp(FRightHip.C0, Cf(0.8, -0.5, -0.7) * Euler(rad(-30), 0, 0), t) | |
| 3711 | FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 1, 0) * Euler(0, 0, rad(25)), t) | |
| 3712 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-0.8, -1, -0.15) * Euler(rad(-20), rad(60), 0), t) | |
| 3713 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 1, 0) * Euler(rad(-40), 0, 0), t) | |
| 3714 | T = T + 0.1 | |
| 3715 | swait() | |
| 3716 | until tim <= T | |
| 3717 | debServ:AddItem(HBox, 0) | |
| 3718 | hit:disconnect() | |
| 3719 | debServ:AddItem(Vel, 0) | |
| 3720 | if Upward then | |
| 3721 | debServ:AddItem(VelPart, 0) | |
| 3722 | end | |
| 3723 | if not Upward then | |
| 3724 | for i = 0, 1.4, 0.1 do | |
| 3725 | swait() | |
| 3726 | Humanoid.WalkSpeed = 0 | |
| 3727 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(70)), 0.3) | |
| 3728 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3) | |
| 3729 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(70), 0, rad(60)), 0.3) | |
| 3730 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(60), 0), 0.3) | |
| 3731 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.35, -0.5) * Euler(rad(-45), 0, 0), 0.3) | |
| 3732 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-30), 0), 0.3) | |
| 3733 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -0.4, 0) * Euler(rad(-20), rad(-60), 0), 0.3) | |
| 3734 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3) | |
| 3735 | FRightHip.C0 = clerp(FRightHip.C0, Cf(0.5, -1.8, -0.7) * Euler(0, rad(20), 0), 0.3) | |
| 3736 | FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 0, 0) * Euler(rad(-15), 0, 0), 0.3) | |
| 3737 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1, -1.4, -0.6) * Euler(0, rad(60), 0), 0.3) | |
| 3738 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 0, 0) * Euler(rad(-15), 0, 0), 0.3) | |
| 3739 | end | |
| 3740 | end | |
| 3741 | Humanoid.WalkSpeed = CurrentSpeed | |
| 3742 | LeftHip.Part0 = Torso | |
| 3743 | LeftHip.Part1 = LeftLeg | |
| 3744 | RightHip.Part0 = Torso | |
| 3745 | RightHip.Part1 = RightLeg | |
| 3746 | FLeftHip.Part0 = nil | |
| 3747 | FLeftHip.Part1 = nil | |
| 3748 | LeftHip.C0 = FLeftHip.C0 | |
| 3749 | LeftHip.C1 = FLeftHip.C1 | |
| 3750 | FRightHip.Part0 = nil | |
| 3751 | FRightHip.Part1 = nil | |
| 3752 | RightHip.C0 = FRightHip.C0 | |
| 3753 | RightHip.C1 = FRightHip.C1 | |
| 3754 | end | |
| 3755 | if Current_Anim == "Falling" or Current_Anim == "Jumping" then | |
| 3756 | LeftHip.Part0 = nil | |
| 3757 | LeftHip.Part1 = nil | |
| 3758 | RightHip.Part0 = nil | |
| 3759 | RightHip.Part1 = nil | |
| 3760 | FLeftHip.Part0 = Torso | |
| 3761 | FLeftHip.Part1 = LeftLeg | |
| 3762 | FLeftHip.C0 = LeftHip.C0 | |
| 3763 | FLeftHip.C1 = LeftHip.C1 | |
| 3764 | FRightHip.Part0 = Torso | |
| 3765 | FRightHip.Part1 = RightLeg | |
| 3766 | FRightHip.C0 = RightHip.C0 | |
| 3767 | FRightHip.C1 = RightHip.C1 | |
| 3768 | local t = 0.6 | |
| 3769 | local HBox = MakeHitBox(Vec(3, 5, 3), LeftLeg, true, Cf(0, -1.25, 0), Cf()) | |
| 3770 | local LVec = Inst("Part", F2)
| |
| 3771 | LVec.Transparency = 1 | |
| 3772 | LVec.Anchored = false | |
| 3773 | LVec.CanCollide = false | |
| 3774 | LVec.Locked = true | |
| 3775 | LVec.Size = Vec(1, 1, 1) | |
| 3776 | LVec.FrontSurface = "Hinge" | |
| 3777 | local LVW = Inst("Weld", LVec)
| |
| 3778 | LVW.Part0 = LeftLeg | |
| 3779 | LVW.Part1 = LVec | |
| 3780 | LVW.Name = DecName | |
| 3781 | LVW.C0 = Cf(0, -0.5, 0) * Euler(rad(-90), 0, 0) | |
| 3782 | LVW.C1 = Cf(0, 0, 0) * Euler(0, 0, rad(-20)) | |
| 3783 | local Vel = Inst("BodyVelocity", RootPart)
| |
| 3784 | Vel.Name = DecName | |
| 3785 | Vel.MaxForce = Vec(huge, huge, huge) | |
| 3786 | Vel.Velocity = LVec.CFrame.lookVector * 0 | |
| 3787 | local FallDamage = 0 | |
| 3788 | local CanDiveKick = true | |
| 3789 | local TouchedGround = false | |
| 3790 | local BuffN = 3 | |
| 3791 | local ground, pos = rayCast(LVec.Position, LVec.CFrame.lookVector, 5, Character) | |
| 3792 | local hit = HBox.Touched:connect(function(part) | |
| 3793 | ||
| 3794 | local hum = FindHum(part.Parent) | |
| 3795 | if hum and hum ~= Humanoid and CanDiveKick then | |
| 3796 | CanDiveKick = false | |
| 3797 | FallDamage = FallDamage + 4 | |
| 3798 | Vel.Velocity = RootPart.CFrame.lookVector * -8 + Vec(0, 20, 0) | |
| 3799 | local noscope = 0 | |
| 3800 | local s = Sound(part, "http://roblox.com/asset/?id=401057895", 1, 1, false) | |
| 3801 | debServ:AddItem(s, 2) | |
| 3802 | local j = Sound(RootPart, "http://roblox.com/asset/?id=158149887", 0.5, 1, false) | |
| 3803 | debServ:AddItem(j, 2) | |
| 3804 | DamageFunction(part, false, 0, 45, false, 0, "LifeSteal", RootPart, 0.1, false, 0, false, _, "", "") | |
| 3805 | Apply_Buff(BuffN, 15) | |
| 3806 | if BuffN > 0 then | |
| 3807 | BuffN = BuffN - 0.1 | |
| 3808 | end | |
| 3809 | for i = 0, 1.4, 0.1 do | |
| 3810 | swait() | |
| 3811 | Vel.Velocity = RootPart.CFrame.lookVector * -8 + Vec(0, 22, 0) | |
| 3812 | if noscope ~= 360 then | |
| 3813 | noscope = noscope + 30 | |
| 3814 | end | |
| 3815 | local JumpSpeed = 0.4 | |
| 3816 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-60), 0, rad(10)), JumpSpeed) | |
| 3817 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 3818 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-60), 0, rad(-10)), JumpSpeed) | |
| 3819 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 3820 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0.2) * Euler(rad(30), 0, 0), JumpSpeed) | |
| 3821 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 3822 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(noscope), 0, 0), JumpSpeed) | |
| 3823 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 3824 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-18), rad(90), 0), JumpSpeed) | |
| 3825 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed) | |
| 3826 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-30), rad(-90), 0), JumpSpeed) | |
| 3827 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed) | |
| 3828 | end | |
| 3829 | CanDiveKick = true | |
| 3830 | end | |
| 3831 | end | |
| 3832 | ) | |
| 3833 | repeat | |
| 3834 | swait() | |
| 3835 | if CanDiveKick then | |
| 3836 | FallDamage = FallDamage + 1 | |
| 3837 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, rad(15), rad(70)), t) | |
| 3838 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), t) | |
| 3839 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -0.9) * Euler(rad(90), 0, 0), t) | |
| 3840 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(-70)), t) | |
| 3841 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.3) * Euler(rad(-35), rad(60), 0), t) | |
| 3842 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), t) | |
| 3843 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-5), rad(-80), 0), t) | |
| 3844 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), t) | |
| 3845 | FRightHip.C0 = clerp(FRightHip.C0, Cf(0.8, -0.5, -0.7) * Euler(rad(-30), 0, 0), t) | |
| 3846 | FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 1, 0) * Euler(0, 0, rad(25)), t) | |
| 3847 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-0.8, -1, -0.15) * Euler(rad(-20), rad(60), 0), t) | |
| 3848 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 1, 0) * Euler(rad(-40), 0, 0), t) | |
| 3849 | Vel.Velocity = LVec.CFrame.lookVector * 150 | |
| 3850 | MagicBlock(BrickColor.new(Colour1), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -5, -1), 3, 3, 3, 7, 7, 7, 0.1) | |
| 3851 | MagicBlock(BrickColor.new(Colour2), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -4, -1), 2, 2, 2, 6, 6, 6, 0.1) | |
| 3852 | ground = rayCast(LVec.Position, LVec.CFrame.lookVector, 15, Character) | |
| 3853 | if ground and ground.Anchored == true then | |
| 3854 | TouchedGround = true | |
| 3855 | end | |
| 3856 | end | |
| 3857 | until TouchedGround | |
| 3858 | MagicWave(ground.BrickColor, ground.Material, Cf(pos), 0, 0, 0, 3, 1, 3, 0.1) | |
| 3859 | local WaveP = Inst("Part", F2)
| |
| 3860 | WaveP.Transparency = 1 | |
| 3861 | WaveP.Anchored = true | |
| 3862 | WaveP.CanCollide = false | |
| 3863 | WaveP.Locked = true | |
| 3864 | WaveP.CFrame = Cf(pos) | |
| 3865 | MagniDamage(WaveP, 25, true, 4 + (FallDamage), 5 + (FallDamage), false, 0, "Stun", 0.06 + (FallDamage) / 100, false, 0, false, _, "", "") | |
| 3866 | debServ:AddItem(WaveP, 3) | |
| 3867 | local boo = Sound(WaveP, "http://roblox.com/asset/?id=157878578", 1, 1, false) | |
| 3868 | debServ:AddItem(boo, 0.4) | |
| 3869 | debServ:AddItem(HBox, 0) | |
| 3870 | debServ:AddItem(LVec, 0) | |
| 3871 | hit:disconnect() | |
| 3872 | debServ:AddItem(Vel, 0) | |
| 3873 | for i = 0, 1.8, 0.1 do | |
| 3874 | swait() | |
| 3875 | Humanoid.WalkSpeed = 0 | |
| 3876 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(70)), 0.3) | |
| 3877 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3) | |
| 3878 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(70), 0, rad(60)), 0.3) | |
| 3879 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(60), 0), 0.3) | |
| 3880 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.35, -0.5) * Euler(rad(-45), 0, 0), 0.3) | |
| 3881 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-30), 0), 0.3) | |
| 3882 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -0.4, 0) * Euler(rad(-20), rad(-60), 0), 0.3) | |
| 3883 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3) | |
| 3884 | FRightHip.C0 = clerp(FRightHip.C0, Cf(0.5, -1.8, -0.7) * Euler(0, rad(20), 0), 0.3) | |
| 3885 | FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 0, 0) * Euler(rad(-15), 0, 0), 0.3) | |
| 3886 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1, -1.4, -0.6) * Euler(0, rad(60), 0), 0.3) | |
| 3887 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 0, 0) * Euler(rad(-15), 0, 0), 0.3) | |
| 3888 | end | |
| 3889 | Humanoid.WalkSpeed = CurrentSpeed | |
| 3890 | LeftHip.Part0 = Torso | |
| 3891 | LeftHip.Part1 = LeftLeg | |
| 3892 | RightHip.Part0 = Torso | |
| 3893 | RightHip.Part1 = RightLeg | |
| 3894 | FLeftHip.Part0 = nil | |
| 3895 | FLeftHip.Part1 = nil | |
| 3896 | LeftHip.C0 = FLeftHip.C0 | |
| 3897 | LeftHip.C1 = FLeftHip.C1 | |
| 3898 | FRightHip.Part0 = nil | |
| 3899 | FRightHip.Part1 = nil | |
| 3900 | RightHip.C0 = FRightHip.C0 | |
| 3901 | RightHip.C1 = FRightHip.C1 | |
| 3902 | end | |
| 3903 | if Debounces.HasWep and not Debounces.DuelWielding then | |
| 3904 | if Current_Anim == "Idle" or Current_Anim == "Walking" then | |
| 3905 | LeftHip.Part0 = nil | |
| 3906 | LeftHip.Part1 = nil | |
| 3907 | RightHip.Part0 = nil | |
| 3908 | RightHip.Part1 = nil | |
| 3909 | FLeftHip.Part0 = Torso | |
| 3910 | FLeftHip.Part1 = LeftLeg | |
| 3911 | FLeftHip.C0 = LeftHip.C0 | |
| 3912 | FLeftHip.C1 = LeftHip.C1 | |
| 3913 | FRightHip.Part0 = Torso | |
| 3914 | FRightHip.Part1 = RightLeg | |
| 3915 | FRightHip.C0 = RightHip.C0 | |
| 3916 | FRightHip.C1 = RightHip.C1 | |
| 3917 | local t = 0.6 | |
| 3918 | local VelPart = RootPart | |
| 3919 | local tim = 1 | |
| 3920 | local Speed = 150 | |
| 3921 | local HBSize = Vec(4, 8, 3) | |
| 3922 | local Vel = Inst("BodyVelocity", RootPart)
| |
| 3923 | Vel.Name = DecName | |
| 3924 | Vel.MaxForce = Vec(huge, huge, huge) | |
| 3925 | Vel.Velocity = VelPart.CFrame.lookVector * 0 | |
| 3926 | if Upward then | |
| 3927 | tim = 1.4 | |
| 3928 | Speed = 300 | |
| 3929 | local LVec = Inst("Part", F2)
| |
| 3930 | LVec.Transparency = 1 | |
| 3931 | LVec.Anchored = false | |
| 3932 | LVec.CanCollide = false | |
| 3933 | LVec.Locked = true | |
| 3934 | -- DECOMPILER ERROR at PC2022: Overwrote pending register: R11 in 'AssignReg' | |
| 3935 | ||
| 3936 | LVec.Size = Vec(2, 2, 2--[[pos]]) | |
| 3937 | LVec.FrontSurface = "Hinge" | |
| 3938 | local LVW = Inst("Weld", LVec)
| |
| 3939 | LVW.Part0 = RootPart | |
| 3940 | LVW.Part1 = LVec | |
| 3941 | LVW.Name = DecName | |
| 3942 | LVW.C0 = Cf(0, 0, 0) * Euler(rad(50), 0, 0) | |
| 3943 | VelPart = LVec | |
| 3944 | Vel.Velocity = RootPart.CFrame.lookVector * -15 + Vec(0, 25, 0) | |
| 3945 | local noscope = 0 | |
| 3946 | local j = Sound(RootPart, "http://roblox.com/asset/?id=158149887", 0.5, 1, false) | |
| 3947 | debServ:AddItem(j, 2) | |
| 3948 | for i = 0, 1.4, 0.1 do | |
| 3949 | swait() | |
| 3950 | if noscope ~= 360 then | |
| 3951 | noscope = noscope + 30 | |
| 3952 | end | |
| 3953 | local JumpSpeed = 0.4 | |
| 3954 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 3955 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 3956 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), JumpSpeed) | |
| 3957 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), JumpSpeed) | |
| 3958 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-60), 0, rad(10)), JumpSpeed) | |
| 3959 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 3960 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-60), 0, rad(-10)), JumpSpeed) | |
| 3961 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 3962 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0.2) * Euler(rad(30), 0, 0), JumpSpeed) | |
| 3963 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 3964 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(noscope), 0, 0), JumpSpeed) | |
| 3965 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 3966 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-18), rad(90), 0), JumpSpeed) | |
| 3967 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed) | |
| 3968 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-30), rad(-90), 0), JumpSpeed) | |
| 3969 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed) | |
| 3970 | end | |
| 3971 | end | |
| 3972 | local HBox = MakeHitBox(HBSize, Hit_Box, true, Cf(), Cf()) | |
| 3973 | local T = 0 | |
| 3974 | local Penetrates = 0 | |
| 3975 | local hit = HBox.Touched:connect(function(part) | |
| 3976 | ||
| 3977 | local hum = FindHum(part.Parent) | |
| 3978 | local p = part.Parent:FindFirstChild("Penetrated")
| |
| 3979 | local tor = part.Parent:FindFirstChild("Torso")
| |
| 3980 | if hum and hum ~= Humanoid and not p and tor then | |
| 3981 | if not Upward then | |
| 3982 | tim = tim + 1.2 | |
| 3983 | else | |
| 3984 | tim = tim + 1.6 | |
| 3985 | end | |
| 3986 | DamageFunction(part, false, 0, 30, false, 0, "Compensate", RootPart, 0.1, false, _, false, _, "", "") | |
| 3987 | local Penetrate = Inst("Part")
| |
| 3988 | if hum.MaxHealth / 12 < hum.Health then | |
| 3989 | debServ:AddItem(Penetrate, 0) | |
| 3990 | Penetrate = Inst("Weld", HBox)
| |
| 3991 | Penetrate.Part0 = HBox | |
| 3992 | Penetrate.Part1 = tor | |
| 3993 | Penetrate.C0 = Cf(0, 2.6 - Penetrates, 0) * Euler(rad(90), 0, rad(-90)) | |
| 3994 | end | |
| 3995 | local P = Inst("BoolValue", part.Parent)
| |
| 3996 | P.Name = "Penetrated" | |
| 3997 | debServ:AddItem(P, 4) | |
| 3998 | debServ:AddItem(Penetrate, 2) | |
| 3999 | if Penetrates ~= 6 then | |
| 4000 | Penetrates = Penetrates + 1 | |
| 4001 | end | |
| 4002 | local rip = runServ.RenderStepped:connect(function() | |
| 4003 | ||
| 4004 | hum.PlatformStand = true | |
| 4005 | DamageFunction(part, false, 0, 0 + Penetrates, false, 0, "Compensate", RootPart, 0.02, false, _, false, _, "", "") | |
| 4006 | end | |
| 4007 | ) | |
| 4008 | repeat | |
| 4009 | swait() | |
| 4010 | until Penetrate.Parent == nil or T == tim or hum.Health <= hum.MaxHealth / 12 | |
| 4011 | hum.PlatformStand = false | |
| 4012 | if Penetrates ~= 6 then | |
| 4013 | Penetrates = Penetrates - 1 | |
| 4014 | end | |
| 4015 | debServ:AddItem(P, 0) | |
| 4016 | debServ:AddItem(Penetrate, 0) | |
| 4017 | rip:disconnect() | |
| 4018 | end | |
| 4019 | end | |
| 4020 | ) | |
| 4021 | repeat | |
| 4022 | Vel.Velocity = VelPart.CFrame.lookVector * Speed | |
| 4023 | MagicBlock(BrickColor.new(Colour1), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 5, 5, 5, 7, 7, 7, 0.1) | |
| 4024 | MagicBlock(BrickColor.new(Colour2), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 4, 4, 4, 6, 6, 6, 0.1) | |
| 4025 | MagicBlock(BrickColor.new(Colour1), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 5, 5, 5, 7, 7, 7, 0.1) | |
| 4026 | MagicBlock(BrickColor.new(Colour2), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 4, 4, 4, 6, 6, 6, 0.1) | |
| 4027 | local SwingSpeed = 0.5 | |
| 4028 | HWeld.C0 = clerp(HWeld.C0, Cf(-0.7, -0.15, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4029 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4030 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(180), 0, rad(-20)), SwingSpeed) | |
| 4031 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 4032 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.3) * Euler(0, rad(-50), 0), SwingSpeed) | |
| 4033 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-90), 0, 0), SwingSpeed) | |
| 4034 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(60), 0, rad(80)), SwingSpeed) | |
| 4035 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(65), 0), SwingSpeed) | |
| 4036 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed) | |
| 4037 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(20), rad(70), 0), SwingSpeed) | |
| 4038 | if not Upward then | |
| 4039 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0.65, -1, 0) * Euler(0, rad(70), 0), SwingSpeed) | |
| 4040 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4041 | else | |
| 4042 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0.65, -1, 0) * Euler(rad(50), 0, 0), SwingSpeed) | |
| 4043 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, rad(-70), 0), SwingSpeed) | |
| 4044 | end | |
| 4045 | FRightHip.C0 = clerp(FRightHip.C0, Cf(0.8, -1, 0) * Euler(0, rad(-70), 0), SwingSpeed) | |
| 4046 | FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 1, 0) * Euler(rad(50), 0, 0), SwingSpeed) | |
| 4047 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-0.5, -1, 0) * Euler(0, rad(-60), 0), SwingSpeed) | |
| 4048 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 1, 0) * Euler(rad(50), 0, 0), SwingSpeed) | |
| 4049 | T = T + 0.1 | |
| 4050 | swait() | |
| 4051 | until tim <= T | |
| 4052 | debServ:AddItem(HBox, 0) | |
| 4053 | hit:disconnect() | |
| 4054 | debServ:AddItem(Vel, 0) | |
| 4055 | if Upward then | |
| 4056 | debServ:AddItem(VelPart, 0) | |
| 4057 | end | |
| 4058 | if not Upward then | |
| 4059 | for i = 0, 1.4, 0.1 do | |
| 4060 | swait() | |
| 4061 | Humanoid.WalkSpeed = 0 | |
| 4062 | local SwingSpeed = 0.5 | |
| 4063 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4064 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4065 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 4066 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed) | |
| 4067 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(60)), SwingSpeed) | |
| 4068 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(30), 0), SwingSpeed) | |
| 4069 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(-60)), SwingSpeed) | |
| 4070 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-30), 0), SwingSpeed) | |
| 4071 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.52, 0.2) * Euler(rad(30), 0, 0), SwingSpeed) | |
| 4072 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4073 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.2, 0) * Euler(rad(-40), 0, 0), SwingSpeed) | |
| 4074 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4075 | FRightHip.C0 = clerp(FRightHip.C0, Cf(0.5, -1, -0.4) * Euler(rad(-12), 0, 0), SwingSpeed) | |
| 4076 | FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4077 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-0.5, -0.6, -0.5) * Euler(rad(40), 0, 0), SwingSpeed) | |
| 4078 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4079 | end | |
| 4080 | end | |
| 4081 | Humanoid.WalkSpeed = CurrentSpeed | |
| 4082 | LeftHip.Part0 = Torso | |
| 4083 | LeftHip.Part1 = LeftLeg | |
| 4084 | RightHip.Part0 = Torso | |
| 4085 | RightHip.Part1 = RightLeg | |
| 4086 | FLeftHip.Part0 = nil | |
| 4087 | FLeftHip.Part1 = nil | |
| 4088 | LeftHip.C0 = FLeftHip.C0 | |
| 4089 | LeftHip.C1 = FLeftHip.C1 | |
| 4090 | FRightHip.Part0 = nil | |
| 4091 | FRightHip.Part1 = nil | |
| 4092 | RightHip.C0 = FRightHip.C0 | |
| 4093 | RightHip.C1 = FRightHip.C1 | |
| 4094 | end | |
| 4095 | if Current_Anim == "Falling" or Current_Anim == "Jumping" then | |
| 4096 | LeftHip.Part0 = nil | |
| 4097 | LeftHip.Part1 = nil | |
| 4098 | RightHip.Part0 = nil | |
| 4099 | RightHip.Part1 = nil | |
| 4100 | FLeftHip.Part0 = Torso | |
| 4101 | FLeftHip.Part1 = LeftLeg | |
| 4102 | FLeftHip.C0 = LeftHip.C0 | |
| 4103 | FLeftHip.C1 = LeftHip.C1 | |
| 4104 | FRightHip.Part0 = Torso | |
| 4105 | FRightHip.Part1 = RightLeg | |
| 4106 | FRightHip.C0 = RightHip.C0 | |
| 4107 | FRightHip.C1 = RightHip.C1 | |
| 4108 | local Speed = 150 | |
| 4109 | local HBSize = Vec(4, 8, 3) | |
| 4110 | local Vel = Inst("BodyVelocity", RootPart)
| |
| 4111 | Vel.Name = DecName | |
| 4112 | Vel.MaxForce = Vec(huge, huge, huge) | |
| 4113 | Vel.Velocity = RootPart.CFrame.lookVector * 0 | |
| 4114 | local LVec = Inst("Part", F2)
| |
| 4115 | LVec.Transparency = 1 | |
| 4116 | LVec.Anchored = false | |
| 4117 | LVec.CanCollide = false | |
| 4118 | LVec.Locked = true | |
| 4119 | LVec.Size = Vec(2, 2, 1) | |
| 4120 | LVec.FrontSurface = "Hinge" | |
| 4121 | local LVW = Inst("Weld", LVec)
| |
| 4122 | LVW.Part0 = RootPart | |
| 4123 | LVW.Part1 = LVec | |
| 4124 | LVW.Name = DecName | |
| 4125 | LVW.C0 = Cf(0, 0, 0) * Euler(rad(-60), 0, 0) | |
| 4126 | local HBox = MakeHitBox(HBSize, Hit_Box, true, Cf(), Cf()) | |
| 4127 | local FallDamage = 0 | |
| 4128 | local Penetrates = 0 | |
| 4129 | local ground, pos = rayCast(LVec.Position, LVec.CFrame.lookVector, 30, Character) | |
| 4130 | local TouchedGround = false | |
| 4131 | local hit = HBox.Touched:connect(function(part) | |
| 4132 | ||
| 4133 | local hum = FindHum(part.Parent) | |
| 4134 | local p = part.Parent:FindFirstChild("Penetrated")
| |
| 4135 | local tor = part.Parent:FindFirstChild("Torso")
| |
| 4136 | if hum and hum ~= Humanoid and not p and tor then | |
| 4137 | DamageFunction(part, false, 0, 25, false, 0, "Compensate", RootPart, 0.1, false, _, false, _, "", "") | |
| 4138 | local Penetrate = Inst("Part")
| |
| 4139 | if hum.MaxHealth / 12 < hum.Health then | |
| 4140 | debServ:AddItem(Penetrate, 0) | |
| 4141 | Penetrate = Inst("Weld", HBox)
| |
| 4142 | Penetrate.Part0 = HBox | |
| 4143 | Penetrate.Part1 = tor | |
| 4144 | Penetrate.C0 = Cf(0, 2.6 - Penetrates, 0) * Euler(rad(90), 0, rad(-90)) | |
| 4145 | end | |
| 4146 | local P = Inst("BoolValue", part.Parent)
| |
| 4147 | P.Name = "Penetrated" | |
| 4148 | debServ:AddItem(P, 4) | |
| 4149 | debServ:AddItem(Penetrate, 2) | |
| 4150 | if Penetrates ~= 6 then | |
| 4151 | Penetrates = Penetrates + 1 | |
| 4152 | end | |
| 4153 | local rip = runServ.RenderStepped:connect(function() | |
| 4154 | ||
| 4155 | hum.PlatformStand = true | |
| 4156 | DamageFunction(part, false, 0, 0 + Penetrates * 2 + FallDamage, false, 0, "Compensate", RootPart, 0.01, false, _, false, _, "", "") | |
| 4157 | end | |
| 4158 | ) | |
| 4159 | repeat | |
| 4160 | swait() | |
| 4161 | until Penetrate.Parent == nil or hum.Health <= hum.MaxHealth / 12 or TouchedGround | |
| 4162 | hum.PlatformStand = false | |
| 4163 | if Penetrates ~= 6 then | |
| 4164 | Penetrates = Penetrates - 1 | |
| 4165 | end | |
| 4166 | debServ:AddItem(P, 0) | |
| 4167 | debServ:AddItem(Penetrate, 0) | |
| 4168 | rip:disconnect() | |
| 4169 | end | |
| 4170 | end | |
| 4171 | ) | |
| 4172 | repeat | |
| 4173 | Vel.Velocity = LVec.CFrame.lookVector * Speed | |
| 4174 | FallDamage = FallDamage + 1 | |
| 4175 | MagicBlock(BrickColor.new(Colour1), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 5, 5, 5, 7, 7, 7, 0.1) | |
| 4176 | MagicBlock(BrickColor.new(Colour2), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 4, 4, 4, 6, 6, 6, 0.1) | |
| 4177 | MagicBlock(BrickColor.new(Colour1), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 5, 5, 5, 7, 7, 7, 0.1) | |
| 4178 | MagicBlock(BrickColor.new(Colour2), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 4, 4, 4, 6, 6, 6, 0.1) | |
| 4179 | local SwingSpeed = 0.5 | |
| 4180 | HWeld.C0 = clerp(HWeld.C0, Cf(-0.7, -0.15, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4181 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4182 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(180), 0, rad(-20)), SwingSpeed) | |
| 4183 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 4184 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.3) * Euler(0, rad(-50), 0), SwingSpeed) | |
| 4185 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-90), 0, 0), SwingSpeed) | |
| 4186 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(60), 0, rad(80)), SwingSpeed) | |
| 4187 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(65), 0), SwingSpeed) | |
| 4188 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed) | |
| 4189 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(20), rad(70), 0), SwingSpeed) | |
| 4190 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0.65, -1, 0) * Euler(rad(-60), 0, 0), SwingSpeed) | |
| 4191 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, rad(-70), 0), SwingSpeed) | |
| 4192 | FRightHip.C0 = clerp(FRightHip.C0, Cf(0.8, -1, 0) * Euler(0, rad(-70), 0), SwingSpeed) | |
| 4193 | FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 1, 0) * Euler(rad(50), 0, 0), SwingSpeed) | |
| 4194 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-0.5, -1, 0) * Euler(0, rad(-60), 0), SwingSpeed) | |
| 4195 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 1, 0) * Euler(rad(50), 0, 0), SwingSpeed) | |
| 4196 | ground = rayCast(LVec.Position, LVec.CFrame.lookVector, 30, Character) | |
| 4197 | if ground and ground.Anchored == true then | |
| 4198 | TouchedGround = true | |
| 4199 | end | |
| 4200 | swait() | |
| 4201 | until TouchedGround | |
| 4202 | MagicWave(ground.BrickColor, ground.Material, Cf(pos), 0, 0, 0, 8, 1, 8, 0.1) | |
| 4203 | local WaveP = Inst("Part", F2)
| |
| 4204 | WaveP.Transparency = 1 | |
| 4205 | WaveP.Anchored = true | |
| 4206 | WaveP.CanCollide = false | |
| 4207 | WaveP.Locked = true | |
| 4208 | WaveP.CFrame = Cf(pos) | |
| 4209 | MagniDamage(WaveP, 40, true, 2 + (FallDamage), 6 + (FallDamage), false, 0, "Compensate-Stun", 0.1 + (FallDamage) / 100, false, 0, false, _, "", "") | |
| 4210 | debServ:AddItem(WaveP, 3) | |
| 4211 | local boo = Sound(WaveP, "http://roblox.com/asset/?id=157878578", 1, 1, false) | |
| 4212 | debServ:AddItem(boo, 0.4) | |
| 4213 | debServ:AddItem(HBox, 0) | |
| 4214 | debServ:AddItem(LVec, 0) | |
| 4215 | hit:disconnect() | |
| 4216 | debServ:AddItem(Vel, 0) | |
| 4217 | if not Upward then | |
| 4218 | for i = 0, 1.8, 0.1 do | |
| 4219 | swait() | |
| 4220 | Humanoid.WalkSpeed = 0 | |
| 4221 | local SwingSpeed = 0.5 | |
| 4222 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4223 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4224 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 4225 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed) | |
| 4226 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(60)), SwingSpeed) | |
| 4227 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(30), 0), SwingSpeed) | |
| 4228 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(-60)), SwingSpeed) | |
| 4229 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-30), 0), SwingSpeed) | |
| 4230 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.52, 0.2) * Euler(rad(30), 0, 0), SwingSpeed) | |
| 4231 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4232 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.2, 0) * Euler(rad(-40), 0, 0), SwingSpeed) | |
| 4233 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4234 | FRightHip.C0 = clerp(FRightHip.C0, Cf(0.5, -1, -0.4) * Euler(rad(-12), 0, 0), SwingSpeed) | |
| 4235 | FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4236 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-0.5, -0.6, -0.5) * Euler(rad(40), 0, 0), SwingSpeed) | |
| 4237 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4238 | end | |
| 4239 | end | |
| 4240 | end | |
| 4241 | end | |
| 4242 | end | |
| 4243 | Humanoid.WalkSpeed = CurrentSpeed | |
| 4244 | LeftHip.Part0 = Torso | |
| 4245 | LeftHip.Part1 = LeftLeg | |
| 4246 | RightHip.Part0 = Torso | |
| 4247 | RightHip.Part1 = RightLeg | |
| 4248 | FLeftHip.Part0 = nil | |
| 4249 | FLeftHip.Part1 = nil | |
| 4250 | LeftHip.C0 = FLeftHip.C0 | |
| 4251 | LeftHip.C1 = FLeftHip.C1 | |
| 4252 | FRightHip.Part0 = nil | |
| 4253 | FRightHip.Part1 = nil | |
| 4254 | RightHip.C0 = FRightHip.C0 | |
| 4255 | RightHip.C1 = FRightHip.C1 | |
| 4256 | Debounces.Attacking = false | |
| 4257 | end | |
| 4258 | ||
| 4259 | Equip_Denial = function() | |
| 4260 | ||
| 4261 | Debounces.Equipping = true | |
| 4262 | Attack_Num = 1 | |
| 4263 | for i = 0, 0.5, 0.1 do | |
| 4264 | swait() | |
| 4265 | local equips = 0.5 | |
| 4266 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(25), 0, 0), equips) | |
| 4267 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), equips) | |
| 4268 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.35, 0) * Euler(rad(-25), 0, 0), equips) | |
| 4269 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), equips) | |
| 4270 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, 0), equips) | |
| 4271 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), equips) | |
| 4272 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.2) * Euler(-rad(10), 0, 0), equips) | |
| 4273 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(20), 0), equips) | |
| 4274 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), equips) | |
| 4275 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), equips) | |
| 4276 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), equips) | |
| 4277 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), equips) | |
| 4278 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), equips) | |
| 4279 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), equips) | |
| 4280 | end | |
| 4281 | WepWeld.Part0 = Holder | |
| 4282 | WepWeld.Part1 = Handle | |
| 4283 | WepWeld.C0 = Cf() * Euler(rad(90), 0, rad(90)) | |
| 4284 | WepWeld.C1 = Cf() * Euler(0, rad(180), 0) | |
| 4285 | CurrentSpeed = 12 | |
| 4286 | Humanoid.WalkSpeed = CurrentSpeed | |
| 4287 | Debounces.HasWep = true | |
| 4288 | Debounces.Equipping = false | |
| 4289 | end | |
| 4290 | ||
| 4291 | Unequip_Denial = function() | |
| 4292 | ||
| 4293 | Debounces.Equipping = true | |
| 4294 | Attack_Num = 1 | |
| 4295 | LeftShoulder.Part0 = nil | |
| 4296 | LeftShoulder.Part1 = nil | |
| 4297 | FLeftShoulder.Part0 = Torso | |
| 4298 | FLeftShoulder.Part1 = LeftArm | |
| 4299 | FLeftShoulder.C0 = LeftShoulder.C0 | |
| 4300 | FLeftShoulder.C1 = LeftShoulder.C1 | |
| 4301 | for i = 0, 0.5, 0.1 do | |
| 4302 | swait() | |
| 4303 | local equips = 0.5 | |
| 4304 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(25), 0, 0), equips) | |
| 4305 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), equips) | |
| 4306 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, rad(90)), equips) | |
| 4307 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), equips) | |
| 4308 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.35, 0) * Euler(rad(-25), 0, 0), equips) | |
| 4309 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), equips) | |
| 4310 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, 0), equips) | |
| 4311 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), equips) | |
| 4312 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.2) * Euler(-rad(10), 0, 0), equips) | |
| 4313 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(20), 0), equips) | |
| 4314 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), equips) | |
| 4315 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), equips) | |
| 4316 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), equips) | |
| 4317 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), equips) | |
| 4318 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), equips) | |
| 4319 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), equips) | |
| 4320 | end | |
| 4321 | WepWeld.Part0 = Torso | |
| 4322 | WepWeld.Part1 = Handle | |
| 4323 | WepWeld.C0 = Cf(1.5, -1, 0.6) * Euler(rad(-90), 0, rad(90)) | |
| 4324 | WepWeld.C1 = Cf() * Euler(0, 0, 0) | |
| 4325 | CurrentSpeed = 20 | |
| 4326 | Humanoid.WalkSpeed = CurrentSpeed | |
| 4327 | Debounces.HasWep = false | |
| 4328 | Debounces.Equipping = false | |
| 4329 | end | |
| 4330 | ||
| 4331 | EquipTES = function() | |
| 4332 | ||
| 4333 | if not Debounces.TESWield then | |
| 4334 | Debounces.Equipping = true | |
| 4335 | for i = 0, 0.5, 0.1 do | |
| 4336 | swait() | |
| 4337 | local SwingSpeed = 0.5 | |
| 4338 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(3)), SwingSpeed) | |
| 4339 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4340 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(12)), SwingSpeed) | |
| 4341 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4342 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4343 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4344 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4345 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4346 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 4347 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 4348 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 4349 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 4350 | end | |
| 4351 | SheWeld.Parent = nil | |
| 4352 | SheWeld.Part0 = Holder2 | |
| 4353 | SheWeld.Part1 = TESHandle | |
| 4354 | SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position) | |
| 4355 | SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position) | |
| 4356 | SheWeld.Parent = TESHandle | |
| 4357 | Debounces.Equipping = false | |
| 4358 | Debounces.TESWield = true | |
| 4359 | CurrentSpeed = 16 | |
| 4360 | Humanoid.WalkSpeed = CurrentSpeed | |
| 4361 | else | |
| 4362 | Debounces.Equipping = true | |
| 4363 | for i = 0, 0.5, 0.1 do | |
| 4364 | swait() | |
| 4365 | local SwingSpeed = 0.5 | |
| 4366 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed) | |
| 4367 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4368 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4369 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4370 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(3)), SwingSpeed) | |
| 4371 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4372 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(12)), SwingSpeed) | |
| 4373 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4374 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4375 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4376 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4377 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4378 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 4379 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 4380 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 4381 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 4382 | end | |
| 4383 | CurrentSpeed = 6 | |
| 4384 | Humanoid.WalkSpeed = CurrentSpeed | |
| 4385 | SheWeld.Part0 = Torso | |
| 4386 | SheWeld.Part1 = TESHandle | |
| 4387 | SheWeld.C0 = Cf(-1.1, -1.1, -0.2) * Euler(rad(100), 0, 0) | |
| 4388 | Debounces.Equipping = false | |
| 4389 | Debounces.TESWield = false | |
| 4390 | end | |
| 4391 | end | |
| 4392 | ||
| 4393 | EquipTE = function() | |
| 4394 | if not Debounces.TEWield then | |
| 4395 | Debounces.Equipping = true | |
| 4396 | Humanoid.WalkSpeed = 0 | |
| 4397 | Debounces.DisableJump = true | |
| 4398 | LeftHip.Part0 = nil | |
| 4399 | LeftHip.Part1 = nil | |
| 4400 | RightHip.Part0 = nil | |
| 4401 | RightHip.Part1 = nil | |
| 4402 | FLeftHip.Part0 = Torso | |
| 4403 | FLeftHip.Part1 = LeftLeg | |
| 4404 | FLeftHip.C0 = LeftHip.C0 | |
| 4405 | FLeftHip.C1 = LeftHip.C1 | |
| 4406 | FRightHip.Part0 = Torso | |
| 4407 | FRightHip.Part1 = RightLeg | |
| 4408 | FRightHip.C0 = RightHip.C0 | |
| 4409 | FRightHip.C1 = RightHip.C1 | |
| 4410 | for i = 0, 0.7, 0.1 do | |
| 4411 | swait() | |
| 4412 | local SwingSpeed = 0.3 | |
| 4413 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(3)), SwingSpeed) | |
| 4414 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4415 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(12)), SwingSpeed) | |
| 4416 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4417 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4418 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4419 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4420 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4421 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 4422 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 4423 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 4424 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 4425 | end | |
| 4426 | SheWeld.Parent = nil | |
| 4427 | SheWeld.Part0 = Holder2 | |
| 4428 | SheWeld.Part1 = TESHandle | |
| 4429 | SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position) | |
| 4430 | SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position) | |
| 4431 | SheWeld.Parent = TESHandle | |
| 4432 | for i = 0, 0.7, 0.1 do | |
| 4433 | swait() | |
| 4434 | local SwingSpeed = 0.3 | |
| 4435 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed) | |
| 4436 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4437 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4438 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4439 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.1, 0.325, -1.27) * Euler(rad(60), 0, rad(-25)), SwingSpeed) | |
| 4440 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 4441 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.6, 0.5, -0.4) * Euler(rad(8), rad(-50), 0), SwingSpeed) | |
| 4442 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4443 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-8), rad(-15), 0), SwingSpeed) | |
| 4444 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4445 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(15), 0), SwingSpeed) | |
| 4446 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4447 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4448 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(9), 0), SwingSpeed) | |
| 4449 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(6), 0), SwingSpeed) | |
| 4450 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4451 | end | |
| 4452 | WepWeld3.Parent = nil | |
| 4453 | WepWeld3.Part0 = Holder | |
| 4454 | WepWeld3.Part1 = TEHandle | |
| 4455 | WepWeld3.C0 = Holder.CFrame:inverse() * Cf(Holder.Position) | |
| 4456 | WepWeld3.C1 = TEHandle.CFrame:inverse() * Cf(Holder.Position) | |
| 4457 | WepWeld3.Parent = TEHandle | |
| 4458 | FITEB(11) | |
| 4459 | for i = 0, 0.5, 0.1 do | |
| 4460 | swait() | |
| 4461 | local SwingSpeed = 0.08 | |
| 4462 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(-90), 0, 0), SwingSpeed) | |
| 4463 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4464 | HWeld.C0 = clerp(HWeld.C0, Cf(0.4, -0.92, 0) * Euler(0, 0, rad(-20)), SwingSpeed) | |
| 4465 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4466 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed) | |
| 4467 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4468 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.3, 0.5, -0.4) * Euler(rad(90), 0, rad(20)), SwingSpeed) | |
| 4469 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4470 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.6, 0.6, 0) * Euler(0, 0, rad(-15)), SwingSpeed) | |
| 4471 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4472 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-20), 0), SwingSpeed) | |
| 4473 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4474 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(20), 0), SwingSpeed) | |
| 4475 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4476 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4477 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(9), 0), SwingSpeed) | |
| 4478 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(6), 0), SwingSpeed) | |
| 4479 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4480 | end | |
| 4481 | local rotatebecauseitscool = 0 | |
| 4482 | local swing = Sound(TEHandle, "http://roblox.com/asset/?id=161006212", 1, 2.5, true) | |
| 4483 | for i = 0, 0.5, 0.1 do | |
| 4484 | swait() | |
| 4485 | if rotatebecauseitscool < 1980 then | |
| 4486 | rotatebecauseitscool = rotatebecauseitscool + 60 | |
| 4487 | end | |
| 4488 | local SwingSpeed = 0.05 | |
| 4489 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(rotatebecauseitscool), 0, 0), 0.7) | |
| 4490 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.7) | |
| 4491 | HWeld.C0 = clerp(HWeld.C0, Cf(0.4, -0.92, 0) * Euler(0, 0, rad(-20)), 0.7) | |
| 4492 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.7) | |
| 4493 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.3, 0.5, -0.4) * Euler(rad(90), 0, rad(20)), SwingSpeed) | |
| 4494 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4495 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(12)), 0.4) | |
| 4496 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4) | |
| 4497 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-20), 0), SwingSpeed) | |
| 4498 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4499 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(20), 0), SwingSpeed) | |
| 4500 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4501 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4502 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(9), 0), SwingSpeed) | |
| 4503 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(6), 0), SwingSpeed) | |
| 4504 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4505 | end | |
| 4506 | SheWeld.Part0 = Torso | |
| 4507 | SheWeld.Part1 = TESHandle | |
| 4508 | SheWeld.C0 = Cf(-1.1, -1.1, -0.2) * Euler(rad(100), 0, 0) | |
| 4509 | for i = 0, 2, 0.1 do | |
| 4510 | swait() | |
| 4511 | if rotatebecauseitscool < 1980 then | |
| 4512 | rotatebecauseitscool = rotatebecauseitscool + 60 | |
| 4513 | end | |
| 4514 | local SwingSpeed = 0.05 | |
| 4515 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(rotatebecauseitscool), 0, 0), 0.7) | |
| 4516 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.7) | |
| 4517 | HWeld.C0 = clerp(HWeld.C0, Cf(0.4, -0.92, 0) * Euler(0, 0, rad(-20)), 0.7) | |
| 4518 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.7) | |
| 4519 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.3, 0.5, -0.4) * Euler(rad(90), 0, rad(20)), SwingSpeed) | |
| 4520 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4521 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(-15)), 0.4) | |
| 4522 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4) | |
| 4523 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-20), 0), SwingSpeed) | |
| 4524 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4525 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(20), 0), SwingSpeed) | |
| 4526 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4527 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4528 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(9), 0), SwingSpeed) | |
| 4529 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(6), 0), SwingSpeed) | |
| 4530 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4531 | end | |
| 4532 | swing:Stop() | |
| 4533 | debServ:AddItem(swing, 1) | |
| 4534 | local leash = Sound(TEHandle, "rbxasset://sounds\\unsheath.wav", 1, 0.7, false) | |
| 4535 | debServ:AddItem(leash, 1) | |
| 4536 | for i = 0, 2, 0.1 do | |
| 4537 | swait() | |
| 4538 | local SwingSpeed = 0.08 | |
| 4539 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(-100), 0, 0), 0.5) | |
| 4540 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4541 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4542 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4543 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.6, 0.4, -0.4) * Euler(rad(30), 0, rad(20)), SwingSpeed) | |
| 4544 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), SwingSpeed) | |
| 4545 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(-15)), 0.4) | |
| 4546 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-15), 0), 0.4) | |
| 4547 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-11), rad(-40), 0), SwingSpeed) | |
| 4548 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4549 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 4550 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4551 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4552 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(13), 0), SwingSpeed) | |
| 4553 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(3), 0), SwingSpeed) | |
| 4554 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4555 | end | |
| 4556 | - | chatServ:Chat(Head, "Weileding this blade i am a Retard prepare to die by my hands", 2) |
| 4556 | + | chatServ:Chat(Head, "It\'s time to end this fairy tale.", 2) |
| 4557 | for i = 0, 7.5, 0.1 do | |
| 4558 | swait() | |
| 4559 | local SwingSpeed = 0.08 | |
| 4560 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(-100), 0, 0), 0.5) | |
| 4561 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4562 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4563 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4564 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.6, 0.4, -0.4) * Euler(rad(30), 0, rad(20)), SwingSpeed) | |
| 4565 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), SwingSpeed) | |
| 4566 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(-15)), 0.4) | |
| 4567 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-15), 0), 0.4) | |
| 4568 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-11), rad(-40), 0), SwingSpeed) | |
| 4569 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4570 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 4571 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4572 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4573 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(13), 0), SwingSpeed) | |
| 4574 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(3), 0), SwingSpeed) | |
| 4575 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4576 | end | |
| 4577 | LeftHip.Part0 = Torso | |
| 4578 | LeftHip.Part1 = LeftLeg | |
| 4579 | RightHip.Part0 = Torso | |
| 4580 | RightHip.Part1 = RightLeg | |
| 4581 | FLeftHip.Part0 = nil | |
| 4582 | FLeftHip.Part1 = nil | |
| 4583 | LeftHip.C0 = FLeftHip.C0 | |
| 4584 | LeftHip.C1 = FLeftHip.C1 | |
| 4585 | FRightHip.Part0 = nil | |
| 4586 | FRightHip.Part1 = nil | |
| 4587 | RightHip.C0 = FRightHip.C0 | |
| 4588 | RightHip.C1 = FRightHip.C1 | |
| 4589 | Debounces.Equipping = false | |
| 4590 | Debounces.DisableJump = false | |
| 4591 | Debounces.TEWield = true | |
| 4592 | Attack_Num = 1 | |
| 4593 | CurrentSpeed = 14 | |
| 4594 | Humanoid.WalkSpeed = CurrentSpeed | |
| 4595 | else | |
| 4596 | do | |
| 4597 | Debounces.Equipping = true | |
| 4598 | Debounces.DisableJump = true | |
| 4599 | Humanoid.WalkSpeed = 0 | |
| 4600 | LeftHip.Part0 = nil | |
| 4601 | LeftHip.Part1 = nil | |
| 4602 | RightHip.Part0 = nil | |
| 4603 | RightHip.Part1 = nil | |
| 4604 | FLeftHip.Part0 = Torso | |
| 4605 | FLeftHip.Part1 = LeftLeg | |
| 4606 | FLeftHip.C0 = LeftHip.C0 | |
| 4607 | FLeftHip.C1 = LeftHip.C1 | |
| 4608 | FRightHip.Part0 = Torso | |
| 4609 | FRightHip.Part1 = RightLeg | |
| 4610 | FRightHip.C0 = RightHip.C0 | |
| 4611 | FRightHip.C1 = RightHip.C1 | |
| 4612 | for i = 0, 0.5, 0.1 do | |
| 4613 | swait() | |
| 4614 | local SwingSpeed = 0.5 | |
| 4615 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(3)), SwingSpeed) | |
| 4616 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4617 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(12)), SwingSpeed) | |
| 4618 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4619 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4620 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4621 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4622 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4623 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 4624 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 4625 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 4626 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 4627 | end | |
| 4628 | SheWeld.Parent = nil | |
| 4629 | SheWeld.Part0 = Holder2 | |
| 4630 | SheWeld.Part1 = TESHandle | |
| 4631 | SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position) | |
| 4632 | SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position) | |
| 4633 | SheWeld.Parent = TESHandle | |
| 4634 | HTEB() | |
| 4635 | for i = 0, 0.5, 0.1 do | |
| 4636 | swait() | |
| 4637 | local SwingSpeed = 0.5 | |
| 4638 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed) | |
| 4639 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4640 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.1, 0.325, -1.27) * Euler(rad(60), 0, rad(-25)), SwingSpeed) | |
| 4641 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 4642 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.6, 0.5, -0.4) * Euler(rad(8), rad(-50), 0), SwingSpeed) | |
| 4643 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4644 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-8), rad(-15), 0), SwingSpeed) | |
| 4645 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4646 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(15), 0), SwingSpeed) | |
| 4647 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4648 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4649 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(9), 0), SwingSpeed) | |
| 4650 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(6), 0), SwingSpeed) | |
| 4651 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4652 | end | |
| 4653 | local Sheath = Sound(TESHandle, "rbxasset://sounds\\unsheath.wav", 1, 1, false) | |
| 4654 | for i = 0, 0.5, 0.1 do | |
| 4655 | swait() | |
| 4656 | local SwingSpeed = 0.5 | |
| 4657 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(3)), SwingSpeed) | |
| 4658 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4659 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(12)), SwingSpeed) | |
| 4660 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4661 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4662 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4663 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4664 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4665 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 4666 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 4667 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 4668 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 4669 | end | |
| 4670 | Attack_Num = 1 | |
| 4671 | SheWeld.Part0 = Torso | |
| 4672 | SheWeld.Part1 = TESHandle | |
| 4673 | SheWeld.C0 = Cf(-1.1, -1.1, -0.2) * Euler(rad(100), 0, 0) | |
| 4674 | LeftHip.Part0 = Torso | |
| 4675 | LeftHip.Part1 = LeftLeg | |
| 4676 | RightHip.Part0 = Torso | |
| 4677 | RightHip.Part1 = RightLeg | |
| 4678 | FLeftHip.Part0 = nil | |
| 4679 | FLeftHip.Part1 = nil | |
| 4680 | LeftHip.C0 = FLeftHip.C0 | |
| 4681 | LeftHip.C1 = FLeftHip.C1 | |
| 4682 | FRightHip.Part0 = nil | |
| 4683 | FRightHip.Part1 = nil | |
| 4684 | RightHip.C0 = FRightHip.C0 | |
| 4685 | RightHip.C1 = FRightHip.C1 | |
| 4686 | WepWeld3.Part0 = TESHandle | |
| 4687 | WepWeld3.Part1 = TEHandle | |
| 4688 | WepWeld3.C0 = Cf(0, 0, 0) | |
| 4689 | WepWeld3.C1 = Cf(0, 3, 0) * Euler(0, rad(180), 0) | |
| 4690 | Debounces.Equipping = false | |
| 4691 | Debounces.DisableJump = false | |
| 4692 | Debounces.TEWield = false | |
| 4693 | CurrentSpeed = 6 | |
| 4694 | Humanoid.WalkSpeed = CurrentSpeed | |
| 4695 | end | |
| 4696 | end | |
| 4697 | end | |
| 4698 | ||
| 4699 | Awaken = function() | |
| 4700 | Debounces.Successful_KeyStroke = true | |
| 4701 | Debounces.Attacking = true | |
| 4702 | Debounces.DisableJump = true | |
| 4703 | GodMode = true | |
| 4704 | Humanoid.WalkSpeed = 0 | |
| 4705 | WepWeld.Part0 = RootPart | |
| 4706 | WepWeld.Part1 = Handle | |
| 4707 | WepWeld.C0 = RootPart.CFrame:inverse() * Cf(RootPart.Position) | |
| 4708 | WepWeld.C1 = Handle.CFrame:inverse() * Cf(RootPart.Position) | |
| 4709 | local BP = Inst("BodyPosition", RootPart)
| |
| 4710 | local StopEffects = false | |
| 4711 | if not runServ:IsStudio() then | |
| 4712 | local RingP = Inst("Part", F2)
| |
| 4713 | RingP.Anchored = true | |
| 4714 | RingP.CanCollide = false | |
| 4715 | RingP.Transparency = 1 | |
| 4716 | RingP.CFrame = RootPart.CFrame * CFrame.new(0, -3, 0) | |
| 4717 | BP.Parent = RootPart | |
| 4718 | BP.Name = DecName | |
| 4719 | BP.Position = RootPart.Position | |
| 4720 | local OGPos = RootPart.Position | |
| 4721 | BP.MaxForce = Vec(huge, huge, huge) | |
| 4722 | local StopRings = false | |
| 4723 | coroutine.resume(coroutine.create(function() | |
| 4724 | repeat | |
| 4725 | wait(0.3) | |
| 4726 | local boo = Sound(RingP, "http://roblox.com/asset/?id=228343249", 0.1, 0.5, false) | |
| 4727 | debServ:AddItem(boo, 0.3) | |
| 4728 | MagniDamage(RingP, 38, true, 4, 8, true, 200, "Compensate-Knockdown", 0.01, false, 0, false, _, "", "") | |
| 4729 | MagniDamage(RootPart, 38, true, 4, 8, true, 200, "Compensate-Knockdown", 0.01, false, 0, false, _, "", "") | |
| 4730 | MagicRing(BrickColor.new(Colour1), "Neon", RingP:GetRenderCFrame() * Cf(0, 0, 0) * Euler(rad(90), 0, 0), 0, 0, 1, 3, 3, 1.2, 0.05) | |
| 4731 | until StopRings | |
| 4732 | end | |
| 4733 | )) | |
| 4734 | chatServ:Chat(Head, "Seal 6, disable.", 2) | |
| 4735 | for i = 0, 5, 0.1 do | |
| 4736 | swait() | |
| 4737 | local SwingSpeed = 0.5 | |
| 4738 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4739 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4740 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 13, -1.7) * Euler(rad(180), 0, 0), SwingSpeed) | |
| 4741 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 4742 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(140), 0, rad(20)), SwingSpeed) | |
| 4743 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4744 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(140), 0, rad(-20)), SwingSpeed) | |
| 4745 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4746 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(10), 0, 0), SwingSpeed) | |
| 4747 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4748 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(15), 0, 0), SwingSpeed) | |
| 4749 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4750 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-15), rad(90), 0), SwingSpeed) | |
| 4751 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 4752 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(-15), rad(-90), 0), SwingSpeed) | |
| 4753 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 4754 | end | |
| 4755 | chatServ:Chat(Head, "This world and I are irreconcilable.", 2) | |
| 4756 | wait(2) | |
| 4757 | for i = 0, 16, 0.2 do | |
| 4758 | swait() | |
| 4759 | BP.Position = Vec(OGPos.x, OGPos.y + i, OGPos.z) | |
| 4760 | local SwingSpeed = 0.5 | |
| 4761 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4762 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4763 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 13, -1.7) * Euler(rad(180), 0, 0), SwingSpeed) | |
| 4764 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 4765 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(140), 0, rad(20)), SwingSpeed) | |
| 4766 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4767 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(140), 0, rad(-20)), SwingSpeed) | |
| 4768 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4769 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(15), 0, 0), SwingSpeed) | |
| 4770 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4771 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(20), 0, 0), SwingSpeed) | |
| 4772 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4773 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-30), rad(90), 0), SwingSpeed) | |
| 4774 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 4775 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(-30), rad(-90), 0), SwingSpeed) | |
| 4776 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 4777 | end | |
| 4778 | chatServ:Chat(Head, "I deny this world its existence,", 2) | |
| 4779 | wait(2) | |
| 4780 | debServ:AddItem(RingP, 0) | |
| 4781 | local s = Sound(Hit_Box, "http://roblox.com/asset/?id=178452217", 0.6, 0.5, false) | |
| 4782 | debServ:AddItem(s, 5) | |
| 4783 | for i = 0, 5, 0.1 do | |
| 4784 | local SwingSpeed = 0.5 | |
| 4785 | for _,p in pairs(Denial:GetChildren()) do | |
| 4786 | if p.Transparency ~= 1 then | |
| 4787 | p.Transparency = i / 4.5 | |
| 4788 | end | |
| 4789 | end | |
| 4790 | MagicBlock(BC(Colour1), "Neon", Hit_Box:GetRenderCFrame() * Cf(rand(-1, 1), rand(-5, 5), rand(-1, 1)), 0.1, 0.1, 0.1, 1.2, 1.2, 1.2, 0.05) | |
| 4791 | MagicBlock(BC(Colour2), "Neon", Hit_Box:GetRenderCFrame() * Cf(rand(-1, 1), rand(-5, 5), rand(-1, 1)), 0.1, 0.1, 0.1, 1.2, 1.2, 1.2, 0.05) | |
| 4792 | MagicBlock(BC(Colour1), "Neon", Hit_Box:GetRenderCFrame() * Cf(rand(-1, 1), rand(-5, 5), rand(-1, 1)), 0.1, 0.1, 0.1, 1.2, 1.2, 1.2, 0.05) | |
| 4793 | MagicBlock(BC(Colour2), "Neon", Hit_Box:GetRenderCFrame() * Cf(rand(-1, 1), rand(-5, 5), rand(-1, 1)), 0.1, 0.1, 0.1, 1.2, 1.2, 1.2, 0.05) | |
| 4794 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4795 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4796 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 13, -1.7) * Euler(rad(180), 0, 0), SwingSpeed) | |
| 4797 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 4798 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(140), 0, rad(60)), SwingSpeed) | |
| 4799 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4800 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(140), 0, rad(-60)), SwingSpeed) | |
| 4801 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4802 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(10), 0, 0), SwingSpeed) | |
| 4803 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4804 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(15), 0, 0), SwingSpeed) | |
| 4805 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4806 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-15), rad(90), 0), SwingSpeed) | |
| 4807 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 4808 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(-15), rad(-90), 0), SwingSpeed) | |
| 4809 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 4810 | swait() | |
| 4811 | end | |
| 4812 | chatServ:Chat(Head, "and I shall erase it!", 2) | |
| 4813 | FRightHip.Part0 = Torso | |
| 4814 | FRightHip.Part1 = RightLeg | |
| 4815 | RightHip.Part0 = nil | |
| 4816 | RightHip.Part1 = nil | |
| 4817 | FRightHip.C0 = RightHip.C0 | |
| 4818 | FRightHip.C1 = RightHip.C1 | |
| 4819 | FLeftHip.Part0 = Torso | |
| 4820 | FLeftHip.Part1 = LeftLeg | |
| 4821 | LeftHip.Part0 = nil | |
| 4822 | LeftHip.Part1 = nil | |
| 4823 | FLeftHip.C0 = LeftHip.C0 | |
| 4824 | FLeftHip.C1 = LeftHip.C1 | |
| 4825 | StopRings = true | |
| 4826 | for i = 0, 0.6, 0.1 do | |
| 4827 | local SwingSpeed = 0.3 | |
| 4828 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4829 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4830 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 13, -1.7) * Euler(rad(180), 0, 0), SwingSpeed) | |
| 4831 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed) | |
| 4832 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.8, 0.5, -0.6) * Euler(rad(70), 0, rad(-60)), SwingSpeed) | |
| 4833 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4834 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.8, 0.5, -0.6) * Euler(rad(66), 0, rad(60)), SwingSpeed) | |
| 4835 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4836 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.2, -0.4) * Euler(rad(-60), 0, 0), SwingSpeed) | |
| 4837 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4838 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-30), 0, 0), SwingSpeed) | |
| 4839 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4840 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.15, -1.2) * Euler(rad(-25), 0, 0), SwingSpeed) | |
| 4841 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4842 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.15, -1.2) * Euler(rad(-25), 0, 0), SwingSpeed) | |
| 4843 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 4844 | swait() | |
| 4845 | end | |
| 4846 | coroutine.resume(coroutine.create(function() | |
| 4847 | ||
| 4848 | coroutine.resume(coroutine.create(function() | |
| 4849 | ||
| 4850 | repeat | |
| 4851 | wait() | |
| 4852 | MagniDamage(RootPart, 18, true, 60, 90, true, 666, "Compensate-Knockdown", 0.5, false, 0, false, _, "", "") | |
| 4853 | MagniDamage(RootPart, 52, false, 0, 2, true, -20, "Compensate", 0.1, false, 0, false, _, "", "") | |
| 4854 | local rnum = 40 | |
| 4855 | local Rand1, Rand2, Rand3, Rand4 = {rand(-rnum, rnum), rand(-rnum, rnum), rand(-rnum, rnum)}, {rand(-rnum, rnum), rand(-rnum, rnum), rand(-rnum, rnum)}, {rand(-360, 360), rand(-360, 360), rand(-360, 360)}, {rand(-rnum, rnum), rand(-rnum, rnum), rand(-rnum, rnum)}
| |
| 4856 | MagicBlood(BC(Colour1), "Neon", RootPart:GetRenderCFrame() * Cf(Rand1[1], Rand1[2], Rand1[3]), 14, 14, 14, 0.1, 0.1, 0.1, 0.05) | |
| 4857 | MagicBlood(BC(Colour2), "Neon", RootPart:GetRenderCFrame() * Cf(Rand1[1], Rand1[2], Rand1[3]), 8, 8, 8, 0.1, 0.1, 0.1, 0.05) | |
| 4858 | MagicBlood(BC(Colour2), "Neon", RootPart:GetRenderCFrame() * Cf(Rand2[1], Rand2[2], Rand2[3]), 14, 14, 14, 0.1, 0.1, 0.1, 0.05) | |
| 4859 | MagicBlood(BC(Colour1), "Neon", RootPart:GetRenderCFrame() * Cf(Rand2[1], Rand2[2], Rand2[3]), 8, 8, 8, 0.1, 0.1, 0.1, 0.05) | |
| 4860 | MagicBlock(BC(Colour1), "Neon", RootPart:GetRenderCFrame() * Cf(Rand4[1], Rand4[2], Rand4[3]), 14, 14, 14, 0.1, 0.1, 0.1, 0.05) | |
| 4861 | MagicBlock(BC(Colour2), "Neon", RootPart:GetRenderCFrame() * Cf(Rand4[1], Rand4[2], Rand4[3]), 8, 8, 8, 0.1, 0.1, 0.1, 0.05) | |
| 4862 | until StopEffects | |
| 4863 | end | |
| 4864 | )) | |
| 4865 | repeat | |
| 4866 | MagicSpikeBall(BC(Colour1), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, 0.7, 0.7, 0.7, 0.05) | |
| 4867 | MagicSpikeBall(BC(Colour2), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, 0.5, 0.5, 0.5, 0.05) | |
| 4868 | MagicCircle(BC(Colour1), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, 0.4, 0.4, 0.4, 0.05) | |
| 4869 | MagicCircle(BC(Colour2), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, 0.3, 0.3, 0.3, 0.05) | |
| 4870 | wait(0.3) | |
| 4871 | until StopEffects | |
| 4872 | end | |
| 4873 | )) | |
| 4874 | wait(10) | |
| 4875 | end | |
| 4876 | CArmour.Parent = Character | |
| 4877 | local WeldBase = Inst("Model", CArmour)
| |
| 4878 | WeldBase.Name = "WeldBase" | |
| 4879 | local aHead = Inst("Part", WeldBase)
| |
| 4880 | aHead.Transparency = 1 | |
| 4881 | aHead.Name = "FakeHead" | |
| 4882 | aHead.Anchored = true | |
| 4883 | aHead.CanCollide = false | |
| 4884 | aHead.Locked = true | |
| 4885 | aHead.Size = Vec(0.2, 0.2, 0.2) | |
| 4886 | aHead.Position = Vec(60.2, 5.3, -275) | |
| 4887 | aHead.Rotation = Vec(-180, 0, -180) | |
| 4888 | local aLarm = Inst("Part", WeldBase)
| |
| 4889 | aLarm.Transparency = 1 | |
| 4890 | aLarm.Name = "FakeLeftArm" | |
| 4891 | aLarm.Anchored = true | |
| 4892 | aLarm.CanCollide = false | |
| 4893 | aLarm.Locked = true | |
| 4894 | aLarm.Size = Vec(0.2, 0.2, 0.2) | |
| 4895 | aLarm.Position = Vec(58.7, 3.8, -275) | |
| 4896 | aLarm.Rotation = Vec(-180, 0, -180) | |
| 4897 | local aLleg = Inst("Part", WeldBase)
| |
| 4898 | aLleg.Transparency = 1 | |
| 4899 | aLleg.Name = "FakeLeftLeg" | |
| 4900 | aLleg.Anchored = true | |
| 4901 | aLleg.CanCollide = false | |
| 4902 | aLleg.Locked = true | |
| 4903 | aLleg.Size = Vec(0.2, 0.2, 0.2) | |
| 4904 | aLleg.Position = Vec(59.7, 1.8, -275) | |
| 4905 | aLleg.Rotation = Vec(-180, 0, -180) | |
| 4906 | local aRarm = Inst("Part", WeldBase)
| |
| 4907 | aRarm.Transparency = 1 | |
| 4908 | aRarm.Name = "FakeRightArm" | |
| 4909 | aRarm.Anchored = true | |
| 4910 | aRarm.CanCollide = false | |
| 4911 | aRarm.Locked = true | |
| 4912 | aRarm.Size = Vec(0.2, 0.2, 0.2) | |
| 4913 | aRarm.Position = Vec(58.7, 3.8, -275) | |
| 4914 | aRarm.Rotation = Vec(-180, 0, -180) | |
| 4915 | local aRleg = Inst("Part", WeldBase)
| |
| 4916 | aRleg.Transparency = 1 | |
| 4917 | aRleg.Name = "FakeRightLeg" | |
| 4918 | aRleg.Anchored = true | |
| 4919 | aRleg.CanCollide = false | |
| 4920 | aRleg.Locked = true | |
| 4921 | aRleg.Size = Vec(0.2, 0.2, 0.2) | |
| 4922 | aRleg.Position = Vec(59.7, 1.8, -275) | |
| 4923 | aRleg.Rotation = Vec(-180, 0, -180) | |
| 4924 | local aTor = Inst("Part", WeldBase)
| |
| 4925 | aTor.Transparency = 1 | |
| 4926 | aTor.Name = "FakeTorso" | |
| 4927 | aTor.Anchored = true | |
| 4928 | aTor.CanCollide = false | |
| 4929 | aTor.Locked = true | |
| 4930 | aTor.Size = Vec(0.2, 0.2, 0.2) | |
| 4931 | aTor.Position = Vec(60.2, 3.8, -275) | |
| 4932 | aTor.Rotation = Vec(-180, 0, -180) | |
| 4933 | for _,k in pairs(WeldBase:GetChildren()) do | |
| 4934 | if k:IsA("BasePart") then
| |
| 4935 | k:BreakJoints() | |
| 4936 | end | |
| 4937 | end | |
| 4938 | local MakeHelmet = function() | |
| 4939 | ||
| 4940 | local Parent = Inst("Model", CArmour)
| |
| 4941 | Parent.Name = "Helmet" | |
| 4942 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "HelmetBack", Vector3.new(0.2, 0.2, 0.2), Vector3.new(60.2, 5.4, -275.73), Vector3.new(90, 0, 0), "SpecialMesh", Vector3.new(1.2, 2, 1.6), "http://www.roblox.com/asset/?id=20637493", "FileMesh")
| |
| 4943 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "HelmetBase", Vector3.new(0.2, 0.2, 0.2), Vector3.new(60.2, 5.4, -275), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(1, 1, 1), "http://www.roblox.com/asset/?id=87249889", "FileMesh")
| |
| 4944 | local HEpart = CreatePart("Part", Parent, Colour1, "Neon", 1, 0, "HelmetEffect", Vector3.new(0.2, 0.2, 0.2), Vector3.new(60.2, 5.5, -275.7), Vector3.new(0, 0, 0), "BlockMesh", Vector3.new(0, 0, 0), "", "")
| |
| 4945 | local peSize = {NumberSequenceKeypoint.new(0, 1.31, 0), NumberSequenceKeypoint.new(1, 0, 0)}
| |
| 4946 | local peTrans = {NumberSequenceKeypoint.new(0, 0.137, 0), NumberSequenceKeypoint.new(1, 1, 0)}
| |
| 4947 | local pe = Inst("ParticleEmitter", HEpart)
| |
| 4948 | pe.LightEmission = 0.5 | |
| 4949 | pe.Color = ColorSequence.new(HEpart.BrickColor.Color) | |
| 4950 | pe.Size = NumberSequence.new(peSize) | |
| 4951 | pe.Transparency = NumberSequence.new(peTrans) | |
| 4952 | pe.Texture = "rbxassetid://37332909" | |
| 4953 | pe.Acceleration = Vec(0, -100, 0) | |
| 4954 | pe.EmissionDirection = "Front" | |
| 4955 | pe.Lifetime = NumberRange.new(0.35) | |
| 4956 | pe.Rate = 800000 | |
| 4957 | pe.Speed = NumberRange.new(15) | |
| 4958 | CEP = HEpart | |
| 4959 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "HelmetPart", Vector3.new(0.2, 0.2, 0.2), Vector3.new(60.2, 5.8, -275), Vector3.new(-150, 0, -180), "SpecialMesh", Vector3.new(1, 1, 1), "http://www.roblox.com/asset/?id=189962102", "FileMesh")
| |
| 4960 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "MouthGuard", Vector3.new(0.2, 0.2, 0.2), Vector3.new(60.2, 5, -274.6), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(1, 1.2, 1.1), "http://www.roblox.com/asset/?id=19380683", "FileMesh")
| |
| 4961 | for _,K in pairs(Parent:GetChildren()) do | |
| 4962 | if K:IsA("BasePart") then
| |
| 4963 | K:BreakJoints() | |
| 4964 | end | |
| 4965 | end | |
| 4966 | for _,z in pairs(Parent:GetChildren()) do | |
| 4967 | if z:IsA("BasePart") then
| |
| 4968 | local Weld = Inst("Weld", aHead)
| |
| 4969 | Weld.Part0 = aHead | |
| 4970 | Weld.Part1 = z | |
| 4971 | Weld.Name = z.Name .. "-to-" .. aHead.Name | |
| 4972 | Weld.C0 = aHead.CFrame:inverse() * Cf(aHead.Position) | |
| 4973 | Weld.C1 = z.CFrame:inverse() * Cf(aHead.Position) | |
| 4974 | z.Anchored = false | |
| 4975 | z.CanCollide = false | |
| 4976 | end | |
| 4977 | end | |
| 4978 | end | |
| 4979 | ||
| 4980 | local Cape = nil | |
| 4981 | local MakeTorsoArmour = function() | |
| 4982 | ||
| 4983 | local Parent = Inst("Model", CArmour)
| |
| 4984 | Parent.Name = "TorsoArmour" | |
| 4985 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourBody", Vector3.new(2, 2, 1), Vector3.new(60.2, 3.8, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1, 1, 1.01), "", "")
| |
| 4986 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPartWedge1", Vector3.new(0.2, 1, 0.2), Vector3.new(59.7, 3.7, -275.4), Vector3.new(90, 0, 90), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge")
| |
| 4987 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPart1", Vector3.new(2, 0.2, 0.2), Vector3.new(60.2, 3.5, -275.4), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.01, 1, 1.1), "", "")
| |
| 4988 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail1", Vector3.new(0.2, 0.2, 0.2), Vector3.new(61.1, 4.7, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
| |
| 4989 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPart2", Vector3.new(2, 0.6, 1), Vector3.new(60.2, 3.1, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.01, 1, 1.02), "", "")
| |
| 4990 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPartWedge2", Vector3.new(1, 0.8, 0.2), Vector3.new(60.8, 3.5, -275), Vector3.new(90, 0, 90), "SpecialMesh", Vector3.new(1.02, 1.025, 1), "", "Wedge")
| |
| 4991 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPart3", Vector3.new(0.4, 1, 0.4), Vector3.new(60.2, 4.3, -275.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.4, 1, 0.5), "", "Sphere")
| |
| 4992 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail2", Vector3.new(0.2, 0.2, 0.2), Vector3.new(59.3, 2.9, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
| |
| 4993 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail3", Vector3.new(0.2, 0.2, 0.2), Vector3.new(61.1, 2.9, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
| |
| 4994 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPartWedge3", Vector3.new(1, 0.8, 0.2), Vector3.new(59.6, 3.5, -275), Vector3.new(90, 0, -90), "SpecialMesh", Vector3.new(1.02, 1.025, 1), "", "Wedge")
| |
| 4995 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPartWedge4", Vector3.new(0.2, 1, 0.2), Vector3.new(60.7, 3.7, -275.4), Vector3.new(90, 0, -90), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge")
| |
| 4996 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail4", Vector3.new(0.2, 0.2, 0.2), Vector3.new(59.3, 4.7, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
| |
| 4997 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail5", Vector3.new(0.2, 0.2, 0.2), Vector3.new(59.3, 4.7, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
| |
| 4998 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail6", Vector3.new(0.2, 0.2, 0.2), Vector3.new(59.3, 3.5, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
| |
| 4999 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPart4", Vector3.new(0.4, 0.4, 0.2), Vector3.new(60.2, 3.6, -274.6), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(1, 1, 1.1), "", "Torso")
| |
| 5000 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail7", Vector3.new(0.2, 0.2, 0.2), Vector3.new(61.1, 2.9, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
| |
| 5001 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail8", Vector3.new(0.2, 0.2, 0.2), Vector3.new(61.1, 3.5, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
| |
| 5002 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail9", Vector3.new(0.2, 0.2, 0.2), Vector3.new(59.3, 3.5, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
| |
| 5003 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail10", Vector3.new(0.2, 0.2, 0.2), Vector3.new(59.3, 2.9, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
| |
| 5004 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail11", Vector3.new(0.2, 0.2, 0.2), Vector3.new(61.1, 4.7, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
| |
| 5005 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPart5", Vector3.new(0.4, 0.2, 0.4), Vector3.new(60.2, 3.8, -274.6), Vector3.new(-90, 0, 0), "CylinderMesh", Vector3.new(0.68, 1.1, 0.68), "", "")
| |
| 5006 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPart6", Vector3.new(0.4, 0.2, 0.4), Vector3.new(60.2, 3.8, -274.6), Vector3.new(-90, 0, 0), "CylinderMesh", Vector3.new(0.45, 1.15, 0.45), "", "")
| |
| 5007 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPart7", Vector3.new(0.2, 0.2, 0.2), Vector3.new(61.1, 3.5, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
| |
| 5008 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon1", Vector3.new(0.2, 0.2, 0.4), Vector3.new(61.1, 4.7, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
| |
| 5009 | k.Mesh.Offset = Vec(0, 0, -0.01) | |
| 5010 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon2", Vector3.new(0.2, 0.2, 0.4), Vector3.new(61.1, 2.9, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
| |
| 5011 | k.Mesh.Offset = Vec(0, 0, -0.01) | |
| 5012 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon3", Vector3.new(0.2, 0.2, 0.4), Vector3.new(59.3, 2.9, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
| |
| 5013 | k.Mesh.Offset = Vec(0, 0, -0.01) | |
| 5014 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon4", Vector3.new(0.2, 0.2, 0.4), Vector3.new(61.1, 3.5, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
| |
| 5015 | k.Mesh.Offset = Vec(0, 0, -0.01) | |
| 5016 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon5", Vector3.new(0.2, 0.2, 0.4), Vector3.new(59.3, 2.9, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
| |
| 5017 | k.Mesh.Offset = Vec(0, 0, -0.01) | |
| 5018 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon6", Vector3.new(0.2, 0.2, 0.4), Vector3.new(61.1, 2.9, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
| |
| 5019 | k.Mesh.Offset = Vec(0, 0, -0.01) | |
| 5020 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon7", Vector3.new(0.4, 0.4, 0.4), Vector3.new(60.2, 3.8, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.4, 0.4, 0.2), "", "Sphere")
| |
| 5021 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon8", Vector3.new(0.2, 0.2, 0.4), Vector3.new(59.3, 3.5, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
| |
| 5022 | k.Mesh.Offset = Vec(0, 0, -0.01) | |
| 5023 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon9", Vector3.new(0.2, 0.2, 0.4), Vector3.new(59.3, 4.7, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
| |
| 5024 | k.Mesh.Offset = Vec(0, 0, -0.01) | |
| 5025 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon10", Vector3.new(0.2, 0.2, 0.4), Vector3.new(61.1, 4.7, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
| |
| 5026 | k.Mesh.Offset = Vec(0, 0, -0.01) | |
| 5027 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon11", Vector3.new(0.2, 0.2, 0.4), Vector3.new(59.3, 3.5, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
| |
| 5028 | k.Mesh.Offset = Vec(0, 0, -0.01) | |
| 5029 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon12", Vector3.new(0.2, 0.2, 0.4), Vector3.new(61.1, 3.5, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
| |
| 5030 | k.Mesh.Offset = Vec(0, 0, -0.01) | |
| 5031 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon13", Vector3.new(0.2, 0.2, 0.4), Vector3.new(59.3, 4.7, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
| |
| 5032 | k.Mesh.Offset = Vec(0, 0, -0.01) | |
| 5033 | Cape = CreatePart("Part", Parent, "White", "SmoothPlastic", 1, 0, "Mini-CapeSpot", Vector3.new(2, 0.2, 0.2), Vector3.new(60.2, 3.49, -275.47), Vector3.new(120, 0, -180), "BlockMesh", Vector3.new(0, 0, 0), "", "")
| |
| 5034 | local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour1", Vector3.new(1, 0.4, 0.4), Vector3.new(59.4, 4.4, -275), Vector3.new(-90, 0, -90), "SpecialMesh", Vector3.new(1.03, 1, 1), "", "Wedge")
| |
| 5035 | kk.Mesh.Offset = Vec(0, -0.01, 0) | |
| 5036 | local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour2", Vector3.new(1, 0.4, 0.4), Vector3.new(61, 4.4, -275), Vector3.new(-90, 0, 90), "SpecialMesh", Vector3.new(1.03, 1, 1), "", "Wedge")
| |
| 5037 | kk.Mesh.Offset = Vec(0, -0.01, 0) | |
| 5038 | local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour3", Vector3.new(1, 0.4, 0.2), Vector3.new(59.8, 4.7, -275), Vector3.new(-90, 0, -90), "SpecialMesh", Vector3.new(1.03, 1, 1.01), "", "Wedge")
| |
| 5039 | kk.Mesh.Offset = Vec(0, -0.01, 0.001) | |
| 5040 | local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour4", Vector3.new(0.4, 0.2, 1), Vector3.new(59.4, 4.7, -275), Vector3.new(0, 0, 0), "BlockMesh", Vector3.new(1, 1.01, 1.03), "", "")
| |
| 5041 | kk.Mesh.Offset = Vec(-0.01, 0.001, 0) | |
| 5042 | local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour5", Vector3.new(1, 0.4, 0.2), Vector3.new(60.6, 4.7, -275), Vector3.new(-90, 0, 90), "SpecialMesh", Vector3.new(1.03, 1, 1.01), "", "Wedge")
| |
| 5043 | kk.Mesh.Offset = Vec(0, -0.01, 0.001) | |
| 5044 | local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour6", Vector3.new(0.4, 0.2, 1), Vector3.new(61, 4.7, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1, 1.01, 1.03), "", "")
| |
| 5045 | kk.Mesh.Offset = Vec(-0.01, 0.001, 0) | |
| 5046 | for _,K in pairs(Parent:GetChildren()) do | |
| 5047 | if K:IsA("BasePart") then
| |
| 5048 | K:BreakJoints() | |
| 5049 | end | |
| 5050 | end | |
| 5051 | for _,z in pairs(Parent:GetChildren()) do | |
| 5052 | if z:IsA("BasePart") then
| |
| 5053 | local Weld = Inst("Weld", aTor)
| |
| 5054 | Weld.Part0 = aTor | |
| 5055 | Weld.Part1 = z | |
| 5056 | Weld.Name = z.Name .. "-to-" .. aTor.Name | |
| 5057 | Weld.C0 = aTor.CFrame:inverse() * Cf(aTor.Position) | |
| 5058 | Weld.C1 = z.CFrame:inverse() * Cf(aTor.Position) | |
| 5059 | z.Anchored = false | |
| 5060 | z.CanCollide = false | |
| 5061 | end | |
| 5062 | end | |
| 5063 | end | |
| 5064 | ||
| 5065 | local MakeArmArmour = function(limb, limbname) | |
| 5066 | ||
| 5067 | local Parent = Inst("Model", CArmour)
| |
| 5068 | Parent.Name = limbname .. "Armour" | |
| 5069 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourBody", Vector3.new(1, 2, 1), Vector3.new(58.7, 3.8, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.01, 1, 1.01), "", "")
| |
| 5070 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "Glove", Vector3.new(1, 0.4, 1), Vector3.new(58.7, 2.8, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.02, 0.1, 1.02), "", "")
| |
| 5071 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour1", Vector3.new(0.2, 0.2, 0.6), Vector3.new(58.3, 4.5, -274.6), Vector3.new(-90, 0, -180), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge")
| |
| 5072 | y.Mesh.Offset = Vec(0, 0, 0.001) | |
| 5073 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour2", Vector3.new(1, 0.6, 0.2), Vector3.new(58.5, 4.7, -275), Vector3.new(-90, 0, 90), "SpecialMesh", Vector3.new(1.03, 1, 1.01), "", "Wedge")
| |
| 5074 | y.Mesh.Offset = Vec(0, -0.01, 0.001) | |
| 5075 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour3", Vector3.new(1, 0.2, 0.4), Vector3.new(59.1, 4.2, -275), Vector3.new(-90, 0, 90), "SpecialMesh", Vector3.new(1.03, 1, 1), "", "Wedge")
| |
| 5076 | y.Mesh.Offset = Vec(0, -0.01, 0) | |
| 5077 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour4", Vector3.new(0.2, 0.2, 1), Vector3.new(59.1, 4.5, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1, 1, 1.03), "", "")
| |
| 5078 | y.Mesh.Offset = Vec(-0.01, 0, 0) | |
| 5079 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour5", Vector3.new(0.4, 0.2, 1), Vector3.new(59, 4.7, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1, 1, 1.03), "", "")
| |
| 5080 | y.Mesh.Offset = Vec(-0.01, 0.001, 0) | |
| 5081 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour6", Vector3.new(1, 0.2, 0.2), Vector3.new(58.9, 4.5, -275), Vector3.new(-90, 0, 90), "SpecialMesh", Vector3.new(1.03, 1, 1), "", "Wedge")
| |
| 5082 | y.Mesh.Offset = Vec(0, -0.01, 0) | |
| 5083 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour7", Vector3.new(0.2, 2, 0.6), Vector3.new(58.3, 3.8, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.1, 1.001, 1), "", "")
| |
| 5084 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour8", Vector3.new(0.2, 0.2, 0.4), Vector3.new(58.3, 3, -274.6), Vector3.new(90, 0, 0), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge")
| |
| 5085 | y.Mesh.Offset = Vec(0, 0, 0.001) | |
| 5086 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour9", Vector3.new(0.2, 0.2, 0.4), Vector3.new(58.3, 3, -275.4), Vector3.new(90, 0, -180), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge")
| |
| 5087 | y.Mesh.Offset = Vec(0, 0, 0.001) | |
| 5088 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour10", Vector3.new(0.2, 0.2, 0.6), Vector3.new(58.3, 4.5, -275.4), Vector3.new(-90, 0, 0), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge")
| |
| 5089 | y.Mesh.Offset = Vec(0, 0, 0.001) | |
| 5090 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmourDesign1", Vector3.new(1, 1, 0.4), Vector3.new(58.7, 4.6, -275), Vector3.new(-90, 30, 90), "SpecialMesh", Vector3.new(0.5, 1, 1), "http://www.roblox.com/asset/?id=189962102", "FileMesh")
| |
| 5091 | y.Mesh.Offset = Vec(0, 0.4, 0) | |
| 5092 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "SideArmourDesign2", Vector3.new(0.4, 0.6, 0.2), Vector3.new(58.2, 3.1, -275.2), Vector3.new(-165, 0, -180), "SpecialMesh", Vector3.new(0.08, 1, 0.6), "", "Sphere")
| |
| 5093 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "SideArmourDesign3", Vector3.new(0.4, 0.6, 0.2), Vector3.new(58.2, 3.1, -274.8), Vector3.new(165, 0, -180), "SpecialMesh", Vector3.new(0.08, 1, 0.6), "", "Sphere")
| |
| 5094 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "SideArmourNeonDesign1", Vector3.new(0.4, 0.6, 0.2), Vector3.new(58.2, 3.1, -275.2), Vector3.new(-165, 0, -180), "SpecialMesh", Vector3.new(0.1, 0.8, 0.4), "", "Sphere")
| |
| 5095 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "SideArmourNeonDesign2", Vector3.new(0.4, 0.6, 0.2), Vector3.new(58.2, 3.1, -274.8), Vector3.new(165, 0, -180), "SpecialMesh", Vector3.new(0.1, 0.8, 0.4), "", "Sphere")
| |
| 5096 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "SideArmourNeonDesign3", Vector3.new(0.6, 0.2, 0.2), Vector3.new(58.3, 4.1, -275), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.5, 1.5, 2), "", "Sphere")
| |
| 5097 | for _,K in pairs(Parent:GetChildren()) do | |
| 5098 | if K:IsA("BasePart") then
| |
| 5099 | K:BreakJoints() | |
| 5100 | end | |
| 5101 | end | |
| 5102 | for _,z in pairs(Parent:GetChildren()) do | |
| 5103 | if z:IsA("BasePart") then
| |
| 5104 | local Weld = Inst("Weld", limb)
| |
| 5105 | Weld.Part0 = limb | |
| 5106 | Weld.Part1 = z | |
| 5107 | Weld.Name = z.Name .. "-to-" .. limb.Name | |
| 5108 | Weld.C0 = limb.CFrame:inverse() * Cf(limb.Position) | |
| 5109 | Weld.C1 = z.CFrame:inverse() * Cf(limb.Position) | |
| 5110 | z.Anchored = false | |
| 5111 | z.CanCollide = false | |
| 5112 | end | |
| 5113 | end | |
| 5114 | end | |
| 5115 | ||
| 5116 | local MakeLegArmour = function(limb, limbname) | |
| 5117 | ||
| 5118 | local Parent = Inst("Model", CArmour)
| |
| 5119 | Parent.Name = limbname .. "Armour" | |
| 5120 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourBody", Vector3.new(1, 2, 1), Vector3.new(59.7, 1.8, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.01, 1, 1.01), "", "")
| |
| 5121 | local cri = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "KneeGuardPart1", Vector3.new(0.4, 0.4, 0.4), Vector3.new(60, 2.2, -274.7), Vector3.new(-180, -90, 0), "SpecialMesh", Vector3.new(1.1, 1, 1.05), "", "Wedge")
| |
| 5122 | cri.Mesh.Offset = Vec(0, 0, -0.01) | |
| 5123 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "KneeGuardPart2", Vector3.new(0.2, 0.4, 0.2), Vector3.new(59.7, 2.2, -274.6), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1, 1, 1.2), "", "")
| |
| 5124 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "KneeGuardPart3", Vector3.new(0.4, 0.2, 0.6), Vector3.new(59.7, 2.2, -274.6), Vector3.new(-180, 0, 90), "SpecialMesh", Vector3.new(1, 0.8, 0.47), "", "Sphere")
| |
| 5125 | local cri = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "KneeGuardPart4", Vector3.new(0.4, 0.4, 0.4), Vector3.new(59.4, 2.2, -274.7), Vector3.new(180, 90, 0), "SpecialMesh", Vector3.new(1.1, 1, 1.05), "", "Wedge")
| |
| 5126 | cri.Mesh.Offset = Vec(0, 0, -0.01) | |
| 5127 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "KneeGuardPart5", Vector3.new(1, 0.4, 0.4), Vector3.new(59.7, 2.6, -274.7), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.04, 1, 1.1), "", "")
| |
| 5128 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "KneeGuardPartNeon", Vector3.new(0.4, 0.2, 0.6), Vector3.new(59.7, 2.2, -274.6), Vector3.new(-180, 0, 90), "SpecialMesh", Vector3.new(0.8, 0.5, 0.5), "", "Sphere")
| |
| 5129 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShinGuard1", Vector3.new(0.6, 0.2, 0.6), Vector3.new(59.7, 1.7, -274.6), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(1, 1, 0.4), "", "Torso")
| |
| 5130 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShinGuard2", Vector3.new(0.6, 0.4, 0.6), Vector3.new(59.7, 1.4, -274.6), Vector3.new(-180, 0, 0), "SpecialMesh", Vector3.new(1, 1, 0.4), "", "Torso")
| |
| 5131 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon1", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.6, 1.5, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(0.4, 0.2, 0.2), "", "Sphere")
| |
| 5132 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon2", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.8, 1.7, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(0.4, 0.2, 0.2), "", "Sphere")
| |
| 5133 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon3", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.8, 1.5, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(0.4, 0.2, 0.2), "", "Sphere")
| |
| 5134 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon4", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.8, 1.3, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(0.4, 0.2, 0.2), "", "Sphere")
| |
| 5135 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon5", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.6, 1.7, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(0.4, 0.2, 0.2), "", "Sphere")
| |
| 5136 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon6", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.6, 1.3, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(0.4, 0.2, 0.2), "", "Sphere")
| |
| 5137 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart1", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.6, 1.5, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere")
| |
| 5138 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart2", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.8, 1.7, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere")
| |
| 5139 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart3", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.8, 1.5, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere")
| |
| 5140 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart4", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.8, 1.3, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere")
| |
| 5141 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart5", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.6, 1.7, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere")
| |
| 5142 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart6", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.6, 1.3, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere")
| |
| 5143 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "Shoe", Vector3.new(1, 0.2, 1), Vector3.new(59.7, 0.9, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.02, 1.2, 1.02), "", "")
| |
| 5144 | for _,K in pairs(Parent:GetChildren()) do | |
| 5145 | if K:IsA("BasePart") then
| |
| 5146 | K:BreakJoints() | |
| 5147 | end | |
| 5148 | end | |
| 5149 | for _,z in pairs(Parent:GetChildren()) do | |
| 5150 | if z:IsA("BasePart") then
| |
| 5151 | local Weld = Inst("Weld", limb)
| |
| 5152 | Weld.Part0 = limb | |
| 5153 | Weld.Part1 = z | |
| 5154 | Weld.Name = z.Name .. "-to-" .. limb.Name | |
| 5155 | Weld.C0 = limb.CFrame:inverse() * Cf(limb.Position) | |
| 5156 | Weld.C1 = z.CFrame:inverse() * Cf(limb.Position) | |
| 5157 | z.Anchored = false | |
| 5158 | z.CanCollide = false | |
| 5159 | end | |
| 5160 | end | |
| 5161 | end | |
| 5162 | ||
| 5163 | local MakeTeeWeapon = function() | |
| 5164 | The_End.Parent = Character | |
| 5165 | The_End_Sheath.Parent = Character | |
| 5166 | local BL1 = CreatePart("Part", The_End, Colour2, "SmoothPlastic", 0, 0.2, "Blade", Vector3.new(0.2, 0.4, 6.4), Vector3.new(42.5, 3.8, -252.5), Vector3.new(90, 0, -180), "SpecialMesh", Vector3.new(1, 0.5, 1), "", "Torso")
| |
| 5167 | local BL2 = CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0.2, "BladeDesign", Vector3.new(0.2, 6.4, 0.2), Vector3.new(42.5, 3.8, -252.4), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(0.1, 1.001, 1.05), "", "")
| |
| 5168 | local BL3 = CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "BladeNeon", Vector3.new(0.2, 0.4, 6.4), Vector3.new(42.5, 3.8, -252.3), Vector3.new(90, 0, 0), "SpecialMesh", Vector3.new(1, 0.5, 1), "", "Torso")
| |
| 5169 | CreatePart("Part", The_End, Colour2, "SmoothPlastic", 0, 0, "GuardDesign1", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.4, 1.84, 0.4), "", "")
| |
| 5170 | CreatePart("Part", The_End, Colour2, "SmoothPlastic", 0, 0, "GuardDesign2", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.4), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.4, 1.84, 0.4), "", "")
| |
| 5171 | CreatePart("Part", The_End, Colour2, "SmoothPlastic", 0, 0, "GuardDesign3", Vector3.new(0.2, 1, 0.2), Vector3.new(42.5, 7.1, -252.4), Vector3.new(90, 0, -180), "CylinderMesh", Vector3.new(0.4, 1.005, 0.4), "", "")
| |
| 5172 | CreatePart("Part", The_End, Colour2, "SmoothPlastic", 0, 0, "GuardDesign4", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.2), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.4, 1.84, 0.4), "", "")
| |
| 5173 | CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "GuardNeonDesign1", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.85, 0.3), "", "")
| |
| 5174 | CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "GuardNeonDesign2", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.4), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.85, 0.3), "", "")
| |
| 5175 | CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "GuardNeonDesign3", Vector3.new(0.2, 1, 0.2), Vector3.new(42.5, 7.1, -252.4), Vector3.new(90, 0, -180), "CylinderMesh", Vector3.new(0.3, 1.01, 0.3), "", "")
| |
| 5176 | CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "GuardNeonDesign4", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.2), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.85, 0.3), "", "")
| |
| 5177 | CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "GuardPart1", Vector3.new(0.6, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.4), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1, 1, 1.8), "", "")
| |
| 5178 | CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "GuardPart2", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.8), Vector3.new(-90, 0, 0), "SpecialMesh", Vector3.new(1.8, 1, 1), "", "Torso")
| |
| 5179 | CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "GuardPart2", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252), Vector3.new(-90, 0, -180), "SpecialMesh", Vector3.new(1.8, 1, 1), "", "Torso")
| |
| 5180 | TEHandle = CreatePart("Part", The_End, "White", "SmoothPlastic", 1, 0, "Handle", Vector3.new(0.6, 0.2, 0.6), Vector3.new(42.5, 8.5, -252.4), Vector3.new(-180, 0, 0), "BlockMesh", Vector3.new(1, 1, 1), "", "")
| |
| 5181 | CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "HiltDesign1", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 9.9, -252.4), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1.1, 1, 1.1), "", "")
| |
| 5182 | CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "HiltDesign2", Vector3.new(0.2, 0.4, 0.2), Vector3.new(42.5, 9.6, -252.4), Vector3.new(-180, 0, 0), "SpecialMesh", Vector3.new(1.1, 1, 1.1), "", "Wedge")
| |
| 5183 | CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "HiltDesign3", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.3, -252.4), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1.1, 1, 1.1), "", "")
| |
| 5184 | CreatePart("Part", The_End, Colour2, "Fabric", 0, 0, "HiltFabric", Vector3.new(0.2, 2.4, 0.2), Vector3.new(42.5, 8.6, -252.4), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1, 1, 1), "", "")
| |
| 5185 | CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "HiltNeonDesign1", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 9.7, -252.4), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.14, 0.2), "", "")
| |
| 5186 | CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "HiltNeonDesign2", Vector3.new(0.2, 0.2, 0.4), Vector3.new(42.5, 9.8, -252.4), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.14, 0.2), "", "")
| |
| 5187 | CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "HiltNeonDesign3", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 9.9, -252.4), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.14, 0.2), "", "")
| |
| 5188 | TEHit_Box = CreatePart("Part", The_End, "White", "SmoothPlastic", 1, 0, "HitBox", Vector3.new(1.4, 7, 0.6), Vector3.new(42.5, 3.5, -252.4), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(0.2, 1.14, 0.2), "", "")
| |
| 5189 | TESHandle = CreatePart("Part", The_End_Sheath, "White", "Neon", 1, 0, "Handle", Vector3.new(0.6, 0.2, 0.6), Vector3.new(42.5, 5.5, -253.6), Vector3.new(0, 0, -180), "BlockMesh", Vector3.new(1, 1, 1), "", "")
| |
| 5190 | CreatePart("Part", The_End_Sheath, Colour2, "SmoothPlastic", 0, 0, "SheathBody", Vector3.new(0.4, 6, 0.2), Vector3.new(42.5, 3.8, -253.6), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1, 1, 1.1), "", "")
| |
| 5191 | CreatePart("Part", The_End_Sheath, Colour2, "SmoothPlastic", 0, 0, "SheathBodyCylinder1", Vector3.new(0.4, 6, 0.2), Vector3.new(42.5, 3.8, -253.4), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.1, 1, 1.1), "", "")
| |
| 5192 | CreatePart("Part", The_End_Sheath, Colour2, "SmoothPlastic", 0, 0, "SheathBody", Vector3.new(0.4, 6, 0.2), Vector3.new(42.5, 3.8, -253.8), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.1, 1, 1.1), "", "")
| |
| 5193 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign1", Vector3.new(0.4, 0.2, 0.2), Vector3.new(42.5, 6.9, -253.4), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.2, 1.1, 1.2), "", "")
| |
| 5194 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign2", Vector3.new(0.4, 0.2, 0.2), Vector3.new(42.5, 6.9, -253.8), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.2, 1.1, 1.2), "", "")
| |
| 5195 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign3", Vector3.new(0.4, 0.2, 0.2), Vector3.new(42.5, 6.9, -253.6), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1, 1.1, 1.2), "", "")
| |
| 5196 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign4", Vector3.new(0.4, 0.2, 0.2), Vector3.new(42.5, 0.7, -253.4), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.2, 1.1, 1.2), "", "")
| |
| 5197 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign5", Vector3.new(0.4, 0.2, 0.2), Vector3.new(42.5, 0.7, -253.8), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.2, 1.1, 1.2), "", "")
| |
| 5198 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign6", Vector3.new(0.4, 0.2, 0.2), Vector3.new(42.5, 0.7, -253.6), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1, 1.1, 1.2), "", "")
| |
| 5199 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing1", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 5.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
| |
| 5200 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing2", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 6.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
| |
| 5201 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing3", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 2.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
| |
| 5202 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing4", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 6.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
| |
| 5203 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing5", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 1.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
| |
| 5204 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing6", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 1.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
| |
| 5205 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing7", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 1, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
| |
| 5206 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing8", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 3, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
| |
| 5207 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing9", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 2.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
| |
| 5208 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing10", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 4.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
| |
| 5209 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing11", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 5, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
| |
| 5210 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing12", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 3.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
| |
| 5211 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing13", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 5.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
| |
| 5212 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing14", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 3.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
| |
| 5213 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing15", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 4.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
| |
| 5214 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing1", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 5.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
| |
| 5215 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing2", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 6.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
| |
| 5216 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing3", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 2.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
| |
| 5217 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing4", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 6.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
| |
| 5218 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing5", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 1.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
| |
| 5219 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing6", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 1.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
| |
| 5220 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing7", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 1, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
| |
| 5221 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing8", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 3, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
| |
| 5222 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing9", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 2.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
| |
| 5223 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing10", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 4.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
| |
| 5224 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing11", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 5, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
| |
| 5225 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing12", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 3.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
| |
| 5226 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing13", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 5.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
| |
| 5227 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing14", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 3.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
| |
| 5228 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing15", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 4.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
| |
| 5229 | CreatePart("Part", The_End_Sheath, "Really black", "SmoothPlastic", 0, 0, "SheathHole", Vector3.new(0.8, 0.4, 0.2), Vector3.new(42.5, 7, -253.6), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(0.6, 0.06, 0.6), "", "")
| |
| 5230 | for _,K in pairs(The_End:GetChildren()) do | |
| 5231 | if K:IsA("BasePart") then
| |
| 5232 | K:BreakJoints() | |
| 5233 | end | |
| 5234 | end | |
| 5235 | for _,K in pairs(The_End_Sheath:GetChildren()) do | |
| 5236 | if K:IsA("BasePart") then
| |
| 5237 | K:BreakJoints() | |
| 5238 | end | |
| 5239 | end | |
| 5240 | for _,p in pairs(The_End:GetChildren()) do | |
| 5241 | if p:IsA("BasePart") and p ~= TEHandle then
| |
| 5242 | local Weld = Inst("Weld", TEHandle)
| |
| 5243 | Weld.Part0 = TEHandle | |
| 5244 | Weld.Part1 = p | |
| 5245 | Weld.C0 = TEHandle.CFrame:inverse() * Cf(TEHandle.Position) | |
| 5246 | Weld.C1 = p.CFrame:inverse() * Cf(TEHandle.Position) | |
| 5247 | p.Anchored = false | |
| 5248 | p.CanCollide = false | |
| 5249 | end | |
| 5250 | end | |
| 5251 | for _,p in pairs(The_End_Sheath:GetChildren()) do | |
| 5252 | if p:IsA("BasePart") and p ~= TESHandle then
| |
| 5253 | local Weld = Inst("Weld", TESHandle)
| |
| 5254 | Weld.Part0 = TESHandle | |
| 5255 | Weld.Part1 = p | |
| 5256 | Weld.C0 = TESHandle.CFrame:inverse() * Cf(TESHandle.Position) | |
| 5257 | Weld.C1 = p.CFrame:inverse() * Cf(TESHandle.Position) | |
| 5258 | p.Anchored = false | |
| 5259 | p.CanCollide = false | |
| 5260 | end | |
| 5261 | end | |
| 5262 | table.insert(TEBladeP, BL1) | |
| 5263 | table.insert(TEBladeP, BL2) | |
| 5264 | table.insert(TEBladeP, BL3) | |
| 5265 | TEBEffect = Inst("ParticleEmitter", BL2)
| |
| 5266 | local colSeq = {ColorSequenceKeypoint.new(0, BC(Colour1).Color), ColorSequenceKeypoint.new(0.25, BC(Colour2).Color), ColorSequenceKeypoint.new(0.5, BC(Colour1).Color), ColorSequenceKeypoint.new(0.7, BC(Colour2).Color), ColorSequenceKeypoint.new(1, BC(Colour2).Color)}
| |
| 5267 | local sizSeq = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(0.5, 0.6, 0), NumberSequenceKeypoint.new(1, 0, 0)}
| |
| 5268 | local traSeq = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)}
| |
| 5269 | TEBEffect.Color = ColorSequence.new(colSeq) | |
| 5270 | TEBEffect.LightEmission = 0.2 | |
| 5271 | TEBEffect.Size = NumberSequence.new(sizSeq) | |
| 5272 | TEBEffect.Texture = "rbxassetid://37332909" | |
| 5273 | TEBEffect.Transparency = NumberSequence.new(traSeq) | |
| 5274 | TEBEffect.Enabled = false | |
| 5275 | TEBEffect.Lifetime = NumberRange.new(0.7) | |
| 5276 | TEBEffect.Rate = 90000000 | |
| 5277 | TEBEffect.Speed = NumberRange.new(0) | |
| 5278 | end | |
| 5279 | ||
| 5280 | MakeHelmet() | |
| 5281 | MakeTorsoArmour() | |
| 5282 | MakeArmArmour(aRarm, "RightArm") | |
| 5283 | MakeArmArmour(aLarm, "LeftArm") | |
| 5284 | MakeLegArmour(aRleg, "RightLeg") | |
| 5285 | MakeLegArmour(aLleg, "LeftLeg") | |
| 5286 | MakeTeeWeapon() | |
| 5287 | Denial.Parent = nil | |
| 5288 | if not runServ:IsStudio() then | |
| 5289 | StopEffects = true | |
| 5290 | coroutine.resume(coroutine.create(function() | |
| 5291 | ||
| 5292 | repeat | |
| 5293 | runServ.Stepped:wait() | |
| 5294 | MagniDamage(RootPart, 25, false, 0, 1, true, 200, "Compensate-Knockdown", 0, false, 0, false, _, _, _) | |
| 5295 | until Debounces.Transformed | |
| 5296 | end | |
| 5297 | )) | |
| 5298 | end | |
| 5299 | local Weld1 = Inst("Weld", Head)
| |
| 5300 | Weld1.Name = DecName | |
| 5301 | Weld1.Part0 = Head | |
| 5302 | Weld1.Part1 = aHead | |
| 5303 | local Weld2 = Inst("Weld", Torso)
| |
| 5304 | Weld2.Name = DecName | |
| 5305 | Weld2.Part0 = Torso | |
| 5306 | Weld2.Part1 = aTor | |
| 5307 | local Weld3 = Inst("Weld", LeftArm)
| |
| 5308 | Weld3.Name = DecName | |
| 5309 | Weld3.Part0 = LeftArm | |
| 5310 | Weld3.Part1 = aLarm | |
| 5311 | Weld3.C0 = Cf() * Euler(0, rad(180), 0) | |
| 5312 | local Weld4 = Inst("Weld", RightArm)
| |
| 5313 | Weld4.Name = DecName | |
| 5314 | Weld4.Part0 = RightArm | |
| 5315 | Weld4.Part1 = aRarm | |
| 5316 | local Weld5 = Inst("Weld", LeftLeg)
| |
| 5317 | Weld5.Name = DecName | |
| 5318 | Weld5.Part0 = LeftLeg | |
| 5319 | Weld5.Part1 = aLleg | |
| 5320 | local Weld6 = Inst("Weld", RightLeg)
| |
| 5321 | Weld6.Name = DecName | |
| 5322 | Weld6.Part0 = RightLeg | |
| 5323 | Weld6.Part1 = aRleg | |
| 5324 | WepWeld3 = Inst("Weld", TEHandle)
| |
| 5325 | WepWeld3.Part0 = TESHandle | |
| 5326 | WepWeld3.Part1 = TEHandle | |
| 5327 | WepWeld3.C0 = Cf(0, 0, 0) | |
| 5328 | WepWeld3.C1 = Cf(0, 3, 0) * Euler(0, rad(180), 0) | |
| 5329 | SheWeld = Inst("Weld", TESHandle)
| |
| 5330 | SheWeld.Part0 = RootPart | |
| 5331 | SheWeld.Part1 = TESHandle | |
| 5332 | SheWeld.C0 = Cf(0, 1.5, -1.8) * Euler(rad(180), 0, 0) | |
| 5333 | TEHandle.Anchored = false | |
| 5334 | TESHandle.Anchored = false | |
| 5335 | for _,p in pairs(WeldBase:GetChildren()) do | |
| 5336 | if p:IsA("BasePart") then
| |
| 5337 | p.Anchored = false | |
| 5338 | end | |
| 5339 | end | |
| 5340 | for _,p in pairs(Character:GetChildren()) do | |
| 5341 | if p:IsA("BasePart") and p.Name ~= "Head" then
| |
| 5342 | p.Transparency = 1 | |
| 5343 | for _,d in pairs(p:GetChildren()) do | |
| 5344 | if d:IsA("Decal") then
| |
| 5345 | d.Transparency = 1 | |
| 5346 | end | |
| 5347 | end | |
| 5348 | elseif p.Name == "Head" then | |
| 5349 | p.Transparency = 0 | |
| 5350 | for _,d in pairs(p:GetChildren()) do | |
| 5351 | if d:IsA("Decal") then
| |
| 5352 | d.Transparency = 1 | |
| 5353 | end | |
| 5354 | end | |
| 5355 | if p:IsA("Hat") then
| |
| 5356 | for _,P in pairs(p:GetChildren()) do | |
| 5357 | if P:IsA("BasePart") then
| |
| 5358 | P.Transparency = 1 | |
| 5359 | end | |
| 5360 | end | |
| 5361 | end | |
| 5362 | -- DECOMPILER ERROR at PC2110: LeaveBlock: unexpected jumping out DO_STMT | |
| 5363 | ||
| 5364 | -- DECOMPILER ERROR at PC2110: LeaveBlock: unexpected jumping out DO_STMT | |
| 5365 | ||
| 5366 | -- DECOMPILER ERROR at PC2110: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 5367 | ||
| 5368 | -- DECOMPILER ERROR at PC2110: LeaveBlock: unexpected jumping out IF_STMT | |
| 5369 | ||
| 5370 | end | |
| 5371 | end | |
| 5372 | if not runServ:IsStudio() then | |
| 5373 | MagicCircle(BC(Colour1), "Neon", RootPart:GetRenderCFrame(), 2, 2, 2, 6, 6, 6, 0.1) | |
| 5374 | local boo = Sound(RootPart, "http://roblox.com/asset/?id=168586621", 1, 0.5, false) | |
| 5375 | debServ:AddItem(boo, 4) | |
| 5376 | for i = 0, 5, 0.2 do | |
| 5377 | swait() | |
| 5378 | local SwingSpeed = 0.5 | |
| 5379 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(140), 0, rad(20)), SwingSpeed) | |
| 5380 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5381 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(140), 0, rad(-20)), SwingSpeed) | |
| 5382 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5383 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(15), 0, 0), SwingSpeed) | |
| 5384 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5385 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(20), 0, 0), SwingSpeed) | |
| 5386 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5387 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.8, 0) * Euler(rad(-30), 0, 0), SwingSpeed) | |
| 5388 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, rad(-15)), SwingSpeed) | |
| 5389 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.8, 0) * Euler(rad(-30), 0, 0), SwingSpeed) | |
| 5390 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, rad(15)), SwingSpeed) | |
| 5391 | end | |
| 5392 | for i = 0, 0.8, 0.1 do | |
| 5393 | swait() | |
| 5394 | local SwingSpeed = 0.5 | |
| 5395 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.6, 0) * Euler(0, 0, rad(10)), SwingSpeed) | |
| 5396 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5397 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.6, 0) * Euler(0, 0, rad(-10)), SwingSpeed) | |
| 5398 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5399 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-13), 0, 0), SwingSpeed) | |
| 5400 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5401 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5402 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5403 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5404 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, rad(-3)), SwingSpeed) | |
| 5405 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5406 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, rad(3)), SwingSpeed) | |
| 5407 | end | |
| 5408 | for i = 0, 0.6, 0.1 do | |
| 5409 | swait() | |
| 5410 | local SwingSpeed = 0.5 | |
| 5411 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-8), 0, rad(15)), SwingSpeed) | |
| 5412 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5413 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(90), 0, rad(-50)), SwingSpeed) | |
| 5414 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5415 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-13), 0, 0), SwingSpeed) | |
| 5416 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(20), 0), SwingSpeed) | |
| 5417 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(20), 0), SwingSpeed) | |
| 5418 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5419 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.55, -1, 0) * Euler(0, rad(-20), 0), SwingSpeed) | |
| 5420 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, rad(-3)), SwingSpeed) | |
| 5421 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.55, -1, -0.4) * Euler(rad(-7), rad(-20), 0), SwingSpeed) | |
| 5422 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, rad(3)), SwingSpeed) | |
| 5423 | end | |
| 5424 | for i = 0, 1, 0.1 do | |
| 5425 | swait() | |
| 5426 | local SwingSpeed = 0.5 | |
| 5427 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5428 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5429 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-13), 0, rad(15)), SwingSpeed) | |
| 5430 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5431 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.15, 0.5, -0.6) * Euler(rad(90), 0, rad(50)), SwingSpeed) | |
| 5432 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5433 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-13), 0, 0), SwingSpeed) | |
| 5434 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-28), 0), SwingSpeed) | |
| 5435 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-20), 0), SwingSpeed) | |
| 5436 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5437 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.55, -1, -0.4) * Euler(rad(-7), rad(20), 0), SwingSpeed) | |
| 5438 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, rad(-3)), SwingSpeed) | |
| 5439 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.55, -1, 0) * Euler(0, rad(20), 0), SwingSpeed) | |
| 5440 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, rad(3)), SwingSpeed) | |
| 5441 | do | |
| 5442 | do | |
| 5443 | if i == 0.4 then | |
| 5444 | local boo = Sound(LeftArm, "http://roblox.com/asset/?id=227194112", 1, 1, false) | |
| 5445 | debServ:AddItem(boo, 4) | |
| 5446 | SheWeld.Part0 = Holder2 | |
| 5447 | SheWeld.Part1 = TESHandle | |
| 5448 | SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position) | |
| 5449 | SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position) | |
| 5450 | end | |
| 5451 | if i >= 0.4 then | |
| 5452 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 5453 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5454 | end | |
| 5455 | -- DECOMPILER ERROR at PC3236: LeaveBlock: unexpected jumping out DO_STMT | |
| 5456 | ||
| 5457 | end | |
| 5458 | end | |
| 5459 | end | |
| 5460 | debServ:AddItem(BP, 0) | |
| 5461 | for i = 0, 1.5, 0.1 do | |
| 5462 | swait() | |
| 5463 | local SwingSpeed = 0.5 | |
| 5464 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(80), 0, 0), SwingSpeed) | |
| 5465 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5466 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5467 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5468 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.2, 0.5, -0.4) * Euler(rad(80), 0, rad(-50)), SwingSpeed) | |
| 5469 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5470 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(50), 0, rad(-11)), SwingSpeed) | |
| 5471 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5472 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-30), 0, 0), SwingSpeed) | |
| 5473 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5474 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.4, 0) * Euler(rad(-40), 0, 0), SwingSpeed) | |
| 5475 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5476 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1.2, -0.3) * Euler(rad(-50), 0, 0), SwingSpeed) | |
| 5477 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5478 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.3, -0.8) * Euler(rad(10), 0, 0), SwingSpeed) | |
| 5479 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5480 | end | |
| 5481 | coroutine.resume(coroutine.create(function() | |
| 5482 | ||
| 5483 | chatServ:Chat(Head, "I am the ominous dusk.", 2) | |
| 5484 | wait(2.6) | |
| 5485 | chatServ:Chat(Head, "I am the aching pressence.", 2) | |
| 5486 | wait(2.6) | |
| 5487 | chatServ:Chat(Head, "I am the adversary of just.", 2) | |
| 5488 | wait(2.6) | |
| 5489 | chatServ:Chat(Head, "Wielding this blade I shall eradicate every being in this world and purge it in the clouds of chaos!", 2) | |
| 5490 | wait(5) | |
| 5491 | - | chatServ:Chat(Head, "I am a KING! The end is near!", 2) |
| 5491 | + | chatServ:Chat(Head, "I am Shiminuki! The end is near!", 2) |
| 5492 | - | |
| 5492 | + | |
| 5493 | - | |
| 5493 | + | |
| 5494 | for i = 0, 37, 0.1 do | |
| 5495 | swait() | |
| 5496 | local SwingSpeed = 0.007 | |
| 5497 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 5498 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5499 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5500 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5501 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(10)), SwingSpeed) | |
| 5502 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5503 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(-10)), SwingSpeed) | |
| 5504 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5505 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-20), 0), SwingSpeed) | |
| 5506 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5507 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(20), 0), SwingSpeed) | |
| 5508 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5509 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0.2) * Euler(0, rad(-20), 0), SwingSpeed) | |
| 5510 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5511 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0.1) * Euler(0, rad(10), 0), SwingSpeed) | |
| 5512 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5513 | end | |
| 5514 | for i = 0, 0.7, 0.1 do | |
| 5515 | swait() | |
| 5516 | local SwingSpeed = 0.5 | |
| 5517 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed) | |
| 5518 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5519 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5520 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5521 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(10)), SwingSpeed) | |
| 5522 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5523 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(-10)), SwingSpeed) | |
| 5524 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5525 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-20), 0), SwingSpeed) | |
| 5526 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5527 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5528 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5529 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 5530 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 5531 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 5532 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 5533 | end | |
| 5534 | for i = 0, 0.5, 0.1 do | |
| 5535 | swait() | |
| 5536 | local SwingSpeed = 0.5 | |
| 5537 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed) | |
| 5538 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5539 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(10)), SwingSpeed) | |
| 5540 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5541 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(12)), SwingSpeed) | |
| 5542 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5543 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5544 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5545 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5546 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5547 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 5548 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 5549 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 5550 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 5551 | end | |
| 5552 | end | |
| 5553 | FRightHip.Part0 = nil | |
| 5554 | FRightHip.Part1 = nil | |
| 5555 | RightHip.Part0 = Torso | |
| 5556 | RightHip.Part1 = RightLeg | |
| 5557 | RightHip.C0 = FRightHip.C0 | |
| 5558 | RightHip.C1 = FRightHip.C1 | |
| 5559 | FLeftHip.Part0 = nil | |
| 5560 | FLeftHip.Part1 = nil | |
| 5561 | LeftHip.Part0 = Torso | |
| 5562 | LeftHip.Part1 = LeftLeg | |
| 5563 | LeftHip.C0 = FLeftHip.C0 | |
| 5564 | LeftHip.C1 = FLeftHip.C1 | |
| 5565 | GodMode = false | |
| 5566 | Max_Health = 80000 | |
| 5567 | coroutine.resume(coroutine.create(function() | |
| 5568 | ||
| 5569 | swait() | |
| 5570 | Humanoid.Health = Max_Health | |
| 5571 | end | |
| 5572 | )) | |
| 5573 | SheWeld.Part0 = Torso | |
| 5574 | SheWeld.Part1 = TESHandle | |
| 5575 | SheWeld.C0 = Cf(-1.1, -1.1, -0.2) * Euler(rad(100), 0, 0) | |
| 5576 | CurrentSpeed = 6 | |
| 5577 | Debounces.HasWep = false | |
| 5578 | Debounces.Transformed = true | |
| 5579 | Debounces.Attacking = false | |
| 5580 | Debounces.DisableJump = false | |
| 5581 | Humanoid.WalkSpeed = CurrentSpeed | |
| 5582 | Humanoid.JumpPower = 120 | |
| 5583 | end | |
| 5584 | ||
| 5585 | ActivateDash = function() | |
| 5586 | ||
| 5587 | Debounces.Successful_KeyStroke = true | |
| 5588 | swait() | |
| 5589 | Debounces.Dashing = true | |
| 5590 | RightHip.Part0 = nil | |
| 5591 | RightHip.Part1 = nil | |
| 5592 | FRightHip.Part0 = Torso | |
| 5593 | FRightHip.Part1 = RightLeg | |
| 5594 | FRightHip.C0 = RightHip.C0 | |
| 5595 | FRightHip.C1 = RightHip.C1 | |
| 5596 | LeftHip.Part0 = nil | |
| 5597 | LeftHip.Part1 = nil | |
| 5598 | FLeftHip.Part0 = Torso | |
| 5599 | FLeftHip.Part1 = LeftLeg | |
| 5600 | FLeftHip.C0 = LeftHip.C0 | |
| 5601 | FLeftHip.C1 = LeftHip.C1 | |
| 5602 | Humanoid.WalkSpeed = CurrentSpeed * 30 | |
| 5603 | repeat | |
| 5604 | runServ.Stepped:wait() | |
| 5605 | until not Debounces.Dashing or Debounces.Equipping or Debounces.Attacking or Debounces.Hovering | |
| 5606 | FRightHip.Part0 = nil | |
| 5607 | FRightHip.Part1 = nil | |
| 5608 | RootPart.Velocity = Vec(0, 0, 0) | |
| 5609 | Current_Anim = "Idle" | |
| 5610 | Debounces.Dashing = false | |
| 5611 | RightHip.Part0 = Torso | |
| 5612 | RightHip.Part1 = RightLeg | |
| 5613 | RightHip.C0 = FRightHip.C0 | |
| 5614 | RightHip.C1 = FRightHip.C1 | |
| 5615 | FLeftHip.Part0 = nil | |
| 5616 | FLeftHip.Part1 = nil | |
| 5617 | LeftHip.Part0 = Torso | |
| 5618 | LeftHip.Part1 = LeftLeg | |
| 5619 | LeftHip.C0 = FLeftHip.C0 | |
| 5620 | LeftHip.C1 = FLeftHip.C1 | |
| 5621 | Humanoid.WalkSpeed = CurrentSpeed | |
| 5622 | end | |
| 5623 | ||
| 5624 | Kogeki_Sokudo_Kojo = function() | |
| 5625 | ||
| 5626 | Debounces.Attacking = true | |
| 5627 | Debounces.Successful_KeyStroke = true | |
| 5628 | Debounces.SpedUp = true | |
| 5629 | Debounces.DisableJump = true | |
| 5630 | Humanoid.WalkSpeed = 0 | |
| 5631 | RightHip.Part0 = nil | |
| 5632 | RightHip.Part1 = nil | |
| 5633 | FRightHip.Part0 = Torso | |
| 5634 | FRightHip.Part1 = RightLeg | |
| 5635 | FRightHip.C0 = RightHip.C0 | |
| 5636 | FRightHip.C1 = RightHip.C1 | |
| 5637 | LeftHip.Part0 = nil | |
| 5638 | LeftHip.Part1 = nil | |
| 5639 | FLeftHip.Part0 = Torso | |
| 5640 | FLeftHip.Part1 = LeftLeg | |
| 5641 | FLeftHip.C0 = LeftHip.C0 | |
| 5642 | FLeftHip.C1 = LeftHip.C1 | |
| 5643 | for i = 0, 2, 0.1 do | |
| 5644 | swait() | |
| 5645 | local SwingSpeed = 0.15 | |
| 5646 | if Debounces.Transformed and Debounces.TEWield and not Debounces.TESWield then | |
| 5647 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, 0) * Euler(rad(90), rad(180), 0), SwingSpeed) | |
| 5648 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5649 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(5), 0, 0), SwingSpeed) | |
| 5650 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5651 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(5), 0, rad(10)), SwingSpeed) | |
| 5652 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(10), 0), SwingSpeed) | |
| 5653 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(90), 0, rad(-30)), SwingSpeed) | |
| 5654 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5655 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(30), 0), SwingSpeed) | |
| 5656 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5657 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed) | |
| 5658 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5659 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5660 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(5), 0), SwingSpeed) | |
| 5661 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(16), 0), SwingSpeed) | |
| 5662 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5663 | else | |
| 5664 | if Debounces.Transformed and Debounces.TESWield and not Debounces.TEWield then | |
| 5665 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 5666 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5667 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.05, -1.5) * Euler(rad(90), rad(90), 0), SwingSpeed) | |
| 5668 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5669 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.4) * Euler(rad(84), 0, 0), SwingSpeed) | |
| 5670 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5671 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, -0.4) * Euler(rad(84), 0, 0), SwingSpeed) | |
| 5672 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5673 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 5674 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5675 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(6), 0, 0), SwingSpeed) | |
| 5676 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5677 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-6), rad(-8), 0), SwingSpeed) | |
| 5678 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5679 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(-6), rad(8), 0), SwingSpeed) | |
| 5680 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5681 | else | |
| 5682 | if Debounces.Transformed and not Debounces.TESWield and not Debounces.TEWield then | |
| 5683 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(5), 0, rad(10)), SwingSpeed) | |
| 5684 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(10), 0), SwingSpeed) | |
| 5685 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(90), 0, rad(-30)), SwingSpeed) | |
| 5686 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5687 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(30), 0), SwingSpeed) | |
| 5688 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5689 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed) | |
| 5690 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5691 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5692 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(5), 0), SwingSpeed) | |
| 5693 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(16), 0), SwingSpeed) | |
| 5694 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5695 | else | |
| 5696 | if not Debounces.Transformed and not Debounces.HasWep and not Debounces.DuelWielding then | |
| 5697 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(5), 0, rad(10)), SwingSpeed) | |
| 5698 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(10), 0), SwingSpeed) | |
| 5699 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(90), 0, rad(-30)), SwingSpeed) | |
| 5700 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5701 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(30), 0), SwingSpeed) | |
| 5702 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5703 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed) | |
| 5704 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5705 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5706 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(5), 0), SwingSpeed) | |
| 5707 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(16), 0), SwingSpeed) | |
| 5708 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5709 | else | |
| 5710 | if not Debounces.Transformed and Debounces.HasWep and not Debounces.DuelWielding then | |
| 5711 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5712 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5713 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 5714 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed) | |
| 5715 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(5), 0, rad(10)), SwingSpeed) | |
| 5716 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(10), 0), SwingSpeed) | |
| 5717 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(90), 0, rad(-30)), SwingSpeed) | |
| 5718 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5719 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(30), 0), SwingSpeed) | |
| 5720 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5721 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed) | |
| 5722 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5723 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5724 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(5), 0), SwingSpeed) | |
| 5725 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(16), 0), SwingSpeed) | |
| 5726 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5727 | else | |
| 5728 | end | |
| 5729 | end | |
| 5730 | end | |
| 5731 | end | |
| 5732 | end | |
| 5733 | end | |
| 5734 | if Debounces.Transformed or not Debounces.HasWep or Debounces.DuelWielding then | |
| 5735 | chatServ:Chat(Head, "Seal 3, disable...", 2) | |
| 5736 | local SPP = Inst("Part", F2)
| |
| 5737 | SPP.Anchored = true | |
| 5738 | SPP.CanCollide = false | |
| 5739 | SPP.Transparency = 1 | |
| 5740 | SPP.Size = Vec(20, 1, 20) | |
| 5741 | local SPart = Inst("Part", F2)
| |
| 5742 | SPart.Anchored = false | |
| 5743 | SPart.CanCollide = false | |
| 5744 | SPart.Transparency = 1 | |
| 5745 | SPart.Size = Vec(20, 0.2, 20) | |
| 5746 | local SPW = Inst("Motor", SPart)
| |
| 5747 | SPW.Part0 = SPP | |
| 5748 | SPW.Part1 = SPart | |
| 5749 | SPW.C0 = Cf() * Euler(rad(90), 0, 0) | |
| 5750 | SPW.C1 = Cf() * Euler(rad(90), 0, 0) | |
| 5751 | SPW.DesiredAngle = 1e+48 | |
| 5752 | SPW.MaxVelocity = rad(8) | |
| 5753 | local SPSGui = Inst("SurfaceGui", SPart)
| |
| 5754 | SPSGui.Face = "Top" | |
| 5755 | local SPSCOL = BC(Colour1) | |
| 5756 | local SPS = Inst("ImageLabel", SPSGui)
| |
| 5757 | SPS.BackgroundTransparency = 1 | |
| 5758 | SPS.Image = "rbxassetid://144076055" | |
| 5759 | SPS.ImageColor3 = Col3(SPSCOL.r, SPSCOL.g, SPSCOL.b) | |
| 5760 | SPS.ImageTransparency = 0.5 | |
| 5761 | SPS.Position = Ud2(0.45, 0, 0.45, 0) | |
| 5762 | SPS.Size = Ud2(0.1, 0, 0.1, 0) | |
| 5763 | local SPSGui2 = Inst("SurfaceGui", SPart)
| |
| 5764 | SPSGui2.Face = "Bottom" | |
| 5765 | local SPS2 = Inst("ImageLabel", SPSGui2)
| |
| 5766 | SPS2.BackgroundTransparency = 1 | |
| 5767 | SPS2.Image = "rbxassetid://144076055" | |
| 5768 | SPS2.ImageColor3 = Col3(SPSCOL.r, SPSCOL.g, SPSCOL.b) | |
| 5769 | SPS2.ImageTransparency = 0.5 | |
| 5770 | SPS2.Position = Ud2(0.45, 0, 0.45, 0) | |
| 5771 | SPS2.Size = Ud2(0.1, 0, 0.1, 0) | |
| 5772 | local cre = Sound(SPart, "http://roblox.com/asset/?id=231917894", 0.7, 1, false) | |
| 5773 | debServ:AddItem(cre, 5) | |
| 5774 | for i = 0, 1, 0.3 do | |
| 5775 | swait() | |
| 5776 | SPP.CFrame = RootPart:GetRenderCFrame() * Cf(0, -3.1, 0) | |
| 5777 | SPS:TweenSize(Ud2(i, 0, i, 0), _, "Linear", 0.2, true) | |
| 5778 | SPS:TweenPosition(Ud2((-1 + i) * -1 / 2.22222, 0, (-1 + i) * -1 / 2.22222, 0), _, "Linear", 0.2, true) | |
| 5779 | SPS2:TweenSize(Ud2(i, 0, i, 0), _, "Linear", 0.2, true) | |
| 5780 | SPS2:TweenPosition(Ud2((-1 + i) * -1 / 2.22222, 0, (-1 + i) * -1 / 2.22222, 0), _, "Linear", 0.2, true) | |
| 5781 | end | |
| 5782 | local num = 0 | |
| 5783 | local nmax = 5 | |
| 5784 | local stopwave = false | |
| 5785 | coroutine.resume(coroutine.create(function() | |
| 5786 | ||
| 5787 | while not stopwave do | |
| 5788 | wait(0.45) | |
| 5789 | MagniDamage(RootPart, 20, false, 0, 10, true, 100, "Compensate-Knockdown", 0, false, 0, false, _, _, _) | |
| 5790 | MagicRing(BC(Colour1), "SmoothPlastic", SPart.CFrame * Cf(0, 0.1, 0) * Euler(rad(90), 0, 0), 1, 1, 0.1, 2, 2, 0.1, 0.05) | |
| 5791 | end | |
| 5792 | end | |
| 5793 | )) | |
| 5794 | while num <= nmax do | |
| 5795 | swait() | |
| 5796 | num = num + 0.1 | |
| 5797 | SPP.CFrame = RootPart:GetRenderCFrame() * Cf(0, -3.1, 0) | |
| 5798 | end | |
| 5799 | for i = -3.1, 5, 0.4 do | |
| 5800 | swait() | |
| 5801 | SPP.CFrame = RootPart:GetRenderCFrame() * Cf(0, i, 0) | |
| 5802 | local SwingSpeed = 0.3 | |
| 5803 | if Debounces.Transformed and Debounces.TEWield and not Debounces.TESWield then | |
| 5804 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, 0) * Euler(rad(90), rad(180), 0), SwingSpeed) | |
| 5805 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5806 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(5), 0, 0), SwingSpeed) | |
| 5807 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5808 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-5), 0, rad(5)), SwingSpeed) | |
| 5809 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5810 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(150), 0, rad(30)), SwingSpeed) | |
| 5811 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5812 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-15), rad(50), 0), SwingSpeed) | |
| 5813 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5814 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-20), 0), SwingSpeed) | |
| 5815 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5816 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5817 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(2), 0), SwingSpeed) | |
| 5818 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(8), 0), SwingSpeed) | |
| 5819 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5820 | else | |
| 5821 | if Debounces.Transformed and Debounces.TESWield and not Debounces.TEWield then | |
| 5822 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 5823 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5824 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.05, -1.5) * Euler(rad(90), rad(90), 0), SwingSpeed) | |
| 5825 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5826 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.4) * Euler(rad(84), 0, 0), SwingSpeed) | |
| 5827 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5828 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, -0.4) * Euler(rad(84), 0, 0), SwingSpeed) | |
| 5829 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5830 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(10), 0, 0), SwingSpeed) | |
| 5831 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5832 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -0.5, 0) * Euler(rad(6), 0, 0), SwingSpeed) | |
| 5833 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5834 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-6), rad(-8), 0), SwingSpeed) | |
| 5835 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5836 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(-6), rad(8), 0), SwingSpeed) | |
| 5837 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5838 | else | |
| 5839 | if Debounces.Transformed and not Debounces.TESWield and not Debounces.TEWield then | |
| 5840 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-5), 0, rad(5)), SwingSpeed) | |
| 5841 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5842 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(150), 0, rad(30)), SwingSpeed) | |
| 5843 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5844 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-15), rad(50), 0), SwingSpeed) | |
| 5845 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5846 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-20), 0), SwingSpeed) | |
| 5847 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5848 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5849 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(2), 0), SwingSpeed) | |
| 5850 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(8), 0), SwingSpeed) | |
| 5851 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5852 | else | |
| 5853 | if not Debounces.Transformed and not Debounces.HasWep and not Debounces.DuelWielding then | |
| 5854 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-5), 0, rad(5)), SwingSpeed) | |
| 5855 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5856 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(150), 0, rad(30)), SwingSpeed) | |
| 5857 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5858 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-15), rad(50), 0), SwingSpeed) | |
| 5859 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5860 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-20), 0), SwingSpeed) | |
| 5861 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5862 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5863 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(2), 0), SwingSpeed) | |
| 5864 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(8), 0), SwingSpeed) | |
| 5865 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5866 | else | |
| 5867 | if not Debounces.Transformed and Debounces.HasWep and not Debounces.DuelWielding then | |
| 5868 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5869 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5870 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 5871 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed) | |
| 5872 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-5), 0, rad(5)), SwingSpeed) | |
| 5873 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5874 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(150), 0, rad(30)), SwingSpeed) | |
| 5875 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5876 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-15), rad(50), 0), SwingSpeed) | |
| 5877 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5878 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-20), 0), SwingSpeed) | |
| 5879 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5880 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5881 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(2), 0), SwingSpeed) | |
| 5882 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(8), 0), SwingSpeed) | |
| 5883 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5884 | else | |
| 5885 | end | |
| 5886 | end | |
| 5887 | end | |
| 5888 | end | |
| 5889 | end | |
| 5890 | end | |
| 5891 | if Debounces.Transformed or not Debounces.HasWep or Debounces.DuelWielding then | |
| 5892 | chatServ:Chat(Head, "Kogeki sokudo kojo!", 2) | |
| 5893 | debServ:AddItem(SPart, 0) | |
| 5894 | debServ:AddItem(SPP, 0) | |
| 5895 | stopwave = true | |
| 5896 | MagicCircle(BC(Colour1), "Neon", RootPart.CFrame, 2, 2, 2, 5, 5, 5, 0.02) | |
| 5897 | MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(0, 0, 0), 1, 1, 1, 4, 4, 1, 0.02) | |
| 5898 | MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(rad(45), rad(-45), 0), 2, 2, 1, 5, 5, 1, 0.02) | |
| 5899 | MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(rad(-45), rad(45), 0), 3, 3, 1, 6, 6, 1, 0.02) | |
| 5900 | MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(rad(90), 0, 0), 4, 4, 1, 7, 7, 1, 0.02) | |
| 5901 | MagniDamage(RootPart, 25, false, 0, 20, true, 100, "Compensate-Knockdown", 0, false, 0, false, _, _, _) | |
| 5902 | local boo = Sound(RootPart, "http://roblox.com/asset/?id=233091136", 1, 1, false) | |
| 5903 | debServ:AddItem(boo, 5) | |
| 5904 | wait(0.5) | |
| 5905 | FRightHip.Part0 = nil | |
| 5906 | FRightHip.Part1 = nil | |
| 5907 | RightHip.Part0 = Torso | |
| 5908 | RightHip.Part1 = RightLeg | |
| 5909 | RightHip.C0 = FRightHip.C0 | |
| 5910 | RightHip.C1 = FRightHip.C1 | |
| 5911 | FLeftHip.Part0 = nil | |
| 5912 | FLeftHip.Part1 = nil | |
| 5913 | LeftHip.Part0 = Torso | |
| 5914 | LeftHip.Part1 = LeftLeg | |
| 5915 | LeftHip.C0 = FLeftHip.C0 | |
| 5916 | LeftHip.C1 = FLeftHip.C1 | |
| 5917 | local LFR = FrameRate | |
| 5918 | FrameRate = 0.0125 | |
| 5919 | Apply_Buff(6, 60) | |
| 5920 | Humanoid.WalkSpeed = CurrentSpeed | |
| 5921 | Debounces.Attacking = false | |
| 5922 | Debounces.DisableJump = false | |
| 5923 | coroutine.resume(coroutine.create(function() | |
| 5924 | ||
| 5925 | wait(60) | |
| 5926 | FrameRate = LFR | |
| 5927 | wait(80) | |
| 5928 | Debounces.SpedUp = false | |
| 5929 | end | |
| 5930 | )) | |
| 5931 | end | |
| 5932 | end | |
| 5933 | end | |
| 5934 | ||
| 5935 | HurricaneSlash = function() | |
| 5936 | ||
| 5937 | Debounces.Attacking = true | |
| 5938 | Debounces.Successful_KeyStroke = true | |
| 5939 | Debounces.HurrSlash = true | |
| 5940 | Debounces.DisableJump = true | |
| 5941 | Humanoid.WalkSpeed = 0 | |
| 5942 | for i = 0, 1.4, 0.1 do | |
| 5943 | swait() | |
| 5944 | local SwingSpeed = 0.2 | |
| 5945 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(90), rad(180), 0), SwingSpeed) | |
| 5946 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5947 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5948 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5949 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(90)), SwingSpeed) | |
| 5950 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5951 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(80), 0, rad(-60)), SwingSpeed) | |
| 5952 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5953 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 5954 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-60), 0), SwingSpeed) | |
| 5955 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.4, 0) * Euler(0, rad(-60), 0), SwingSpeed) | |
| 5956 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 5957 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.6, 0) * Euler(rad(-4), rad(80), 0), SwingSpeed) | |
| 5958 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 5959 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.6, 0.14) * Euler(rad(-6), rad(-75), 0), SwingSpeed) | |
| 5960 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 5961 | end | |
| 5962 | local hit = TEHit_Box.Touched:connect(function(part) | |
| 5963 | ||
| 5964 | DamageFunction(part, false, 0, 500, true, 50, "Compensate", RootPart, 0.05, false, _, true, 153092227, 1.4, 0.4) | |
| 5965 | end | |
| 5966 | ) | |
| 5967 | local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445073", 1, 1, false) | |
| 5968 | debServ:AddItem(SlashS, 2) | |
| 5969 | c1 = nil | |
| 5970 | c2 = nil | |
| 5971 | coroutine.resume(coroutine.create(function() | |
| 5972 | ||
| 5973 | wait(0.1) | |
| 5974 | local Hur = Inst("Part", F2)
| |
| 5975 | Hur.BrickColor = BC(Colour1) | |
| 5976 | Hur.Material = "SmoothPlastic" | |
| 5977 | Hur.Transparency = 0.8 | |
| 5978 | Hur.Name = "Hurricane" | |
| 5979 | Hur.Anchored = false | |
| 5980 | Hur.CanCollide = false | |
| 5981 | Hur.Locked = true | |
| 5982 | Hur.Size = Vec(0.2, 0.2, 0.2) | |
| 5983 | local HM = Inst("SpecialMesh", Hur)
| |
| 5984 | HM.MeshId = "http://www.roblox.com/asset/?id=102638417" | |
| 5985 | HM.Scale = Vec(15, 10, 15) | |
| 5986 | Hur.CFrame = RootPart.CFrame * Cf(0, 12, -3) * Euler(0, 0, rad(-10)) | |
| 5987 | local Hmo = Inst("BodyVelocity", Hur)
| |
| 5988 | Hmo.MaxForce = Vec(huge, huge, huge) | |
| 5989 | Hmo.Velocity = RootPart.CFrame.lookVector * 110 | |
| 5990 | local Hpo = Inst("BodyPosition", Hur)
| |
| 5991 | Hpo.MaxForce = Vec(0, huge, 0) | |
| 5992 | Hpo.Position = Hur.Position | |
| 5993 | local Hro = Inst("BodyGyro", Hur)
| |
| 5994 | Hro.MaxTorque = Vec(0, huge, 0) | |
| 5995 | Hro.CFrame = Hur.CFrame | |
| 5996 | Hro.P = 30000 | |
| 5997 | local howl = Sound(Hur, "http://roblox.com/asset/?id=138161364", 1, 0.5, true) | |
| 5998 | coroutine.resume(coroutine.create(function() | |
| 5999 | ||
| 6000 | while Hur.Parent do | |
| 6001 | swait() | |
| 6002 | Hro.CFrame = Hur.CFrame * CFrame.Angles(0, 600, 0) | |
| 6003 | MagniDamage(Hur, 18, false, 0, 111, true, -110, "Compensate-Knockdown", 0.01, false, 0, true, "233856140", 2, 0.3) | |
| 6004 | local IL = {Character}
| |
| 6005 | local Ground, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(Hur.Position, Hur.CFrame * Euler(rad(-90), 0, rad(10)).lookVector.Unit * 20), IL, true, true) | |
| 6006 | if Ground then | |
| 6007 | MagicBlock(BC(Colour1), "Neon", Cf(Pos) * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))), 16, 16, 16, -3, -3, -3, 0.06) | |
| 6008 | end | |
| 6009 | end | |
| 6010 | end | |
| 6011 | )) | |
| 6012 | wait(1.5) | |
| 6013 | for i = 0.8, 1, 0.04 do | |
| 6014 | swait() | |
| 6015 | Hur.Transparency = i | |
| 6016 | end | |
| 6017 | debServ:AddItem(Hur, 0) | |
| 6018 | debServ:AddItem(howl, 0) | |
| 6019 | end | |
| 6020 | )) | |
| 6021 | for i = 0, 1.4, 0.1 do | |
| 6022 | swait() | |
| 6023 | local x = TEHit_Box | |
| 6024 | c2 = x.CFrame * Cf(0, 0.5, 0) | |
| 6025 | if c1 and (x.Position - c1.p).magnitude > 0.1 then | |
| 6026 | local h = 6 | |
| 6027 | local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon") | |
| 6028 | if a then | |
| 6029 | debServ:AddItem(a, 1) | |
| 6030 | end | |
| 6031 | if b then | |
| 6032 | debServ:AddItem(b, 1) | |
| 6033 | end | |
| 6034 | local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon") | |
| 6035 | if c then | |
| 6036 | debServ:AddItem(c, 1) | |
| 6037 | end | |
| 6038 | if d then | |
| 6039 | debServ:AddItem(d, 1) | |
| 6040 | end | |
| 6041 | c1 = c2 | |
| 6042 | elseif not c1 then | |
| 6043 | c1 = c2 | |
| 6044 | end | |
| 6045 | local SwingSpeed = 0.7 | |
| 6046 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(90), rad(180), 0), SwingSpeed) | |
| 6047 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6048 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6049 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6050 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1, 0.5, -0.7) * Euler(0, rad(150), rad(90)), SwingSpeed) | |
| 6051 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6052 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-5), 0, rad(-10)), SwingSpeed) | |
| 6053 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6054 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 6055 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 6056 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.4, 0) * Euler(0, rad(40), 0), SwingSpeed) | |
| 6057 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6058 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.6, 0) * Euler(rad(-4), rad(80), 0), SwingSpeed) | |
| 6059 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed) | |
| 6060 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.6, 0.14) * Euler(rad(-6), rad(-75), 0), SwingSpeed) | |
| 6061 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed) | |
| 6062 | -- DECOMPILER ERROR at PC817: LeaveBlock: unexpected jumping out DO_STMT | |
| 6063 | ||
| 6064 | -- DECOMPILER ERROR at PC817: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 6065 | ||
| 6066 | -- DECOMPILER ERROR at PC817: LeaveBlock: unexpected jumping out IF_STMT | |
| 6067 | ||
| 6068 | end | |
| 6069 | hit:disconnect() | |
| 6070 | Debounces.Attacking = false | |
| 6071 | coroutine.resume(coroutine.create(function() | |
| 6072 | ||
| 6073 | wait(4) | |
| 6074 | Debounces.HurrSlash = false | |
| 6075 | end | |
| 6076 | )) | |
| 6077 | Debounces.DisableJump = false | |
| 6078 | Humanoid.WalkSpeed = CurrentSpeed | |
| 6079 | end | |
| 6080 | ||
| 6081 | Stomp = function() | |
| 6082 | ||
| 6083 | Debounces.Attacking = true | |
| 6084 | Debounces.Successful_KeyStroke = true | |
| 6085 | Debounces.Stompped = true | |
| 6086 | Debounces.DisableJump = true | |
| 6087 | Humanoid.WalkSpeed = 5 | |
| 6088 | RightHip.Part0 = nil | |
| 6089 | RightHip.Part1 = nil | |
| 6090 | FRightHip.Part0 = Torso | |
| 6091 | FRightHip.Part1 = RightLeg | |
| 6092 | FRightHip.C0 = RightHip.C0 | |
| 6093 | FRightHip.C1 = RightHip.C1 | |
| 6094 | LeftHip.Part0 = nil | |
| 6095 | LeftHip.Part1 = nil | |
| 6096 | FLeftHip.Part0 = Torso | |
| 6097 | FLeftHip.Part1 = LeftLeg | |
| 6098 | FLeftHip.C0 = LeftHip.C0 | |
| 6099 | FLeftHip.C1 = LeftHip.C1 | |
| 6100 | local hit = LeftLeg.Touched:connect(function(part) | |
| 6101 | ||
| 6102 | DamageFunction(part, false, 0, 100, false, 25, "Compensate-SkyRocket", RootPart, 0.2, false, _, true, 153092296, 1.4, 0.4) | |
| 6103 | end | |
| 6104 | ) | |
| 6105 | for i = 0, 1.6, 0.1 do | |
| 6106 | swait() | |
| 6107 | local SwingSpeed = 0.25 | |
| 6108 | if Debounces.TEWield and not Debounces.TESWield then | |
| 6109 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, 0) * Euler(rad(90), rad(180), 0), SwingSpeed) | |
| 6110 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6111 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6112 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6113 | else | |
| 6114 | if Debounces.TESWield and not Debounces.TEWield then | |
| 6115 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 6116 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6117 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6118 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6119 | end | |
| 6120 | end | |
| 6121 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-12), 0, rad(10)), SwingSpeed) | |
| 6122 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6123 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.3, 0) * Euler(rad(120), 0, 0), SwingSpeed) | |
| 6124 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6125 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), 0, 0), SwingSpeed) | |
| 6126 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6127 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(10), 0, 0), SwingSpeed) | |
| 6128 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6129 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 6130 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6131 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.6, -0.4) * Euler(rad(60), 0, 0), SwingSpeed) | |
| 6132 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6133 | end | |
| 6134 | hit:disconnect() | |
| 6135 | Humanoid.WalkSpeed = 0 | |
| 6136 | for i = 0, 0.8, 0.1 do | |
| 6137 | swait() | |
| 6138 | local SwingSpeed = 0.3 | |
| 6139 | MagniDamage(LeftLeg, 8, false, 0, 5, false, -50, "Compensate-SkyRocket", 0.1, false, 0, true, "153092285", 0.75, 0.4) | |
| 6140 | if Debounces.TEWield and not Debounces.TESWield then | |
| 6141 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, 0) * Euler(rad(90), rad(180), 0), SwingSpeed) | |
| 6142 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6143 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6144 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6145 | else | |
| 6146 | if Debounces.TESWield and not Debounces.TEWield then | |
| 6147 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), SwingSpeed) | |
| 6148 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6149 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6150 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6151 | end | |
| 6152 | end | |
| 6153 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-20), 0, rad(10)), SwingSpeed) | |
| 6154 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6155 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-20), 0, 0), SwingSpeed) | |
| 6156 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6157 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-22), 0, 0), SwingSpeed) | |
| 6158 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6159 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-10), 0, 0), SwingSpeed) | |
| 6160 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6161 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(10), 0, 0), SwingSpeed) | |
| 6162 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6163 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, -0.8) * Euler(rad(10), 0, 0), SwingSpeed) | |
| 6164 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed) | |
| 6165 | end | |
| 6166 | coroutine.resume(coroutine.create(function() | |
| 6167 | ||
| 6168 | for i = 0, 0.6, 0.1 do | |
| 6169 | swait() | |
| 6170 | MagniDamage(LeftLeg, 22, false, 0, 50, false, 0, "Compensate-FreezeStun", 0.6, false, 0, true, "153092213", 1.4, 0.4) | |
| 6171 | end | |
| 6172 | end | |
| 6173 | )) | |
| 6174 | MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Cf(0.3, -3, -0.3) * Euler(rad(90), 0, 0), 3, 3, 1, 7, 7, 1, 0.1) | |
| 6175 | MagicWave2(BC(Colour1), "Neon", RootPart.CFrame * Cf(0, -3, 0), 3, 0.3, 3, 7, 0.3, 7, 0.1) | |
| 6176 | local boo = Sound(RootPart, "http://roblox.com/asset/?id=231917806", 1, 1, false) | |
| 6177 | debServ:AddItem(boo, 5) | |
| 6178 | wait(0.6) | |
| 6179 | FRightHip.Part0 = nil | |
| 6180 | FRightHip.Part1 = nil | |
| 6181 | RightHip.Part0 = Torso | |
| 6182 | RightHip.Part1 = RightLeg | |
| 6183 | RightHip.C0 = FRightHip.C0 | |
| 6184 | RightHip.C1 = FRightHip.C1 | |
| 6185 | FLeftHip.Part0 = nil | |
| 6186 | FLeftHip.Part1 = nil | |
| 6187 | LeftHip.Part0 = Torso | |
| 6188 | LeftHip.Part1 = LeftLeg | |
| 6189 | LeftHip.C0 = FLeftHip.C0 | |
| 6190 | LeftHip.C1 = FLeftHip.C1 | |
| 6191 | Debounces.Attacking = false | |
| 6192 | coroutine.resume(coroutine.create(function() | |
| 6193 | ||
| 6194 | wait(5) | |
| 6195 | Debounces.Stompped = false | |
| 6196 | end | |
| 6197 | )) | |
| 6198 | Debounces.DisableJump = false | |
| 6199 | Humanoid.WalkSpeed = CurrentSpeed | |
| 6200 | end | |
| 6201 | ||
| 6202 | KeyStrokesAttacks = function() | |
| 6203 | if InputTable[1] == "a" and InputTable[2] == "s" and InputTable[3] == "d" and InputTable[4] == "d" and InputTable[5] == "c" and not Debounces.Transformed and not Debounces.DuelWielding then | |
| 6204 | Awaken() | |
| 6205 | end | |
| 6206 | if InputTable[1] == "w" and InputTable[2] == "w" and Debounces.Transformed and not Debounces.Dashing and not Debounces.Hovering then | |
| 6207 | ActivateDash() | |
| 6208 | end | |
| 6209 | if InputTable[1] == "a" and InputTable[2] == "s" and InputTable[3] == "d" and InputTable[4] == "e" and InputTable[5] == "a" then | |
| 6210 | if not Debounces.SpedUp then | |
| 6211 | Kogeki_Sokudo_Kojo() | |
| 6212 | else | |
| 6213 | Debounces.KeyStroke_CoolDown = true | |
| 6214 | end | |
| 6215 | else | |
| 6216 | if InputTable[1] == "x" and InputTable[2] == "w" and InputTable[3] == "w" and Debounces.Transformed and Debounces.TEWield then | |
| 6217 | if not Debounces.HurrSlash then | |
| 6218 | HurricaneSlash() | |
| 6219 | else | |
| 6220 | Debounces.KeyStroke_CoolDown = true | |
| 6221 | end | |
| 6222 | end | |
| 6223 | end | |
| 6224 | if InputTable[1] == "s" and InputTable[2] == "s" and InputTable[3] == "z" and Debounces.Transformed then | |
| 6225 | if not Debounces.Stompped then | |
| 6226 | Stomp() | |
| 6227 | else | |
| 6228 | Debounces.KeyStroke_CoolDown = true | |
| 6229 | end | |
| 6230 | end | |
| 6231 | end | |
| 6232 | ||
| 6233 | local Input_Time = 0 | |
| 6234 | local Input_MaxTime = 0.5 | |
| 6235 | local Input_Addition = 0.16 | |
| 6236 | local Max_Input = 7 | |
| 6237 | local Running_Timer = false | |
| 6238 | Input_Timer = function() | |
| 6239 | ||
| 6240 | if not Running_Timer then | |
| 6241 | Running_Timer = true | |
| 6242 | repeat | |
| 6243 | wait() | |
| 6244 | Input_Time = Input_Time - 0.1 | |
| 6245 | until Input_Time <= 0.1 or Debounces.Successful_KeyStroke or #InputTable == Max_Input or Debounces.KeyStroke_CoolDown | |
| 6246 | local TweenTransCol = function(p, newCol, i) | |
| 6247 | ||
| 6248 | p.TextColor3 = newCol | |
| 6249 | p:TweenPosition(Ud2(0.125 * i, 0, 2, 0), _, "Linear", 0.5, true) | |
| 6250 | debServ:AddItem(p, 1) | |
| 6251 | coroutine.resume(coroutine.create(function() | |
| 6252 | ||
| 6253 | for i = 0, 1, 0.1 do | |
| 6254 | swait() | |
| 6255 | p.TextTransparency = i | |
| 6256 | p.TextStrokeTransparency = i | |
| 6257 | end | |
| 6258 | end | |
| 6259 | )) | |
| 6260 | end | |
| 6261 | ||
| 6262 | if Input_Time <= 0.1 and not Debounces.Successful_KeyStroke then | |
| 6263 | for i,p in pairs(InputFrameTable) do | |
| 6264 | if p:IsA("TextLabel") then
| |
| 6265 | TweenTransCol(p, Col3(0.66666666666667, 0, 0), i) | |
| 6266 | end | |
| 6267 | end | |
| 6268 | InputFrameTable = {}
| |
| 6269 | InputTable = {}
| |
| 6270 | end | |
| 6271 | if #InputTable == Max_Input then | |
| 6272 | wait() | |
| 6273 | if not Debounces.Successful_KeyStroke then | |
| 6274 | for i,p in pairs(InputFrameTable) do | |
| 6275 | if p:IsA("TextLabel") then
| |
| 6276 | TweenTransCol(p, Col3(0.66666666666667, 0, 0), i) | |
| 6277 | end | |
| 6278 | end | |
| 6279 | InputFrameTable = {}
| |
| 6280 | InputTable = {}
| |
| 6281 | end | |
| 6282 | end | |
| 6283 | if Debounces.Successful_KeyStroke then | |
| 6284 | for i,p in pairs(InputFrameTable) do | |
| 6285 | if p:IsA("TextLabel") then
| |
| 6286 | TweenTransCol(p, Col3(0, 1, 0), i) | |
| 6287 | end | |
| 6288 | end | |
| 6289 | InputFrameTable = {}
| |
| 6290 | InputTable = {}
| |
| 6291 | end | |
| 6292 | if Debounces.KeyStroke_CoolDown then | |
| 6293 | for i,p in pairs(InputFrameTable) do | |
| 6294 | if p:IsA("TextLabel") then
| |
| 6295 | TweenTransCol(p, Col3(1, 0.66666666666667, 0), i) | |
| 6296 | end | |
| 6297 | end | |
| 6298 | InputFrameTable = {}
| |
| 6299 | InputTable = {}
| |
| 6300 | end | |
| 6301 | Debounces.Successful_KeyStroke = false | |
| 6302 | Debounces.KeyStroke_CoolDown = false | |
| 6303 | Input_Time = Input_MaxTime | |
| 6304 | Running_Timer = false | |
| 6305 | end | |
| 6306 | end | |
| 6307 | ||
| 6308 | Mouse.KeyDown:connect(function(key) | |
| 6309 | if Debounces.KeyStrokeEnabled and not Debounces.Attacking and #InputTable ~= Max_Input and (key == "w" or key == "a" or key == "s" or key == "d" or key == "q" or key == "e" or key == "c" or key == "x" or key == "z") then | |
| 6310 | table.insert(InputTable, key) | |
| 6311 | local newKP = KPTemplate:Clone() | |
| 6312 | newKP.Parent = KP | |
| 6313 | newKP.Text = string.upper(key) | |
| 6314 | if Input_Time < Input_MaxTime then | |
| 6315 | Input_Time = Input_Time + Input_Addition | |
| 6316 | end | |
| 6317 | table.insert(InputFrameTable, newKP) | |
| 6318 | for i,p in pairs(InputFrameTable) do | |
| 6319 | if p == newKP then | |
| 6320 | newKP:TweenPosition(Ud2(0.125 * i, 0, 0, 0), _, "Linear", 0.03, true) | |
| 6321 | end | |
| 6322 | end | |
| 6323 | coroutine.resume(coroutine.create(function() | |
| 6324 | ||
| 6325 | KeyStrokesAttacks() | |
| 6326 | end | |
| 6327 | )) | |
| 6328 | Input_Timer() | |
| 6329 | end | |
| 6330 | end | |
| 6331 | ) | |
| 6332 | Mouse.KeyDown:connect(function(key) | |
| 6333 | if key == "f" and not Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
| 6334 | Debounces.Equipping = true | |
| 6335 | LeftShoulder.Part0 = nil | |
| 6336 | LeftShoulder.Part1 = nil | |
| 6337 | RightShoulder.Part0 = nil | |
| 6338 | RightShoulder.Part1 = nil | |
| 6339 | FLeftShoulder.Part0 = Torso | |
| 6340 | FLeftShoulder.Part1 = LeftArm | |
| 6341 | FLeftShoulder.C0 = NLSC0 | |
| 6342 | FLeftShoulder.C1 = NLSC1 | |
| 6343 | FRightShoulder.Part0 = Torso | |
| 6344 | FRightShoulder.Part1 = RightArm | |
| 6345 | FRightShoulder.C0 = NRSC0 | |
| 6346 | FRightShoulder.C1 = NRSC1 | |
| 6347 | RootJoint.Part0 = nil | |
| 6348 | RootJoint.Part1 = nil | |
| 6349 | FRootJoint.Part0 = RootPart | |
| 6350 | FRootJoint.Part1 = Torso | |
| 6351 | FRootJoint.C0 = NRJC0 | |
| 6352 | FRootJoint.C1 = NRJC1 | |
| 6353 | swait() | |
| 6354 | CurrentSpeed = 20 | |
| 6355 | Humanoid.JumpPower = 90 | |
| 6356 | Humanoid.WalkSpeed = CurrentSpeed | |
| 6357 | Debounces.Equipped = true | |
| 6358 | Debounces.Equipping = false | |
| 6359 | wait(3) | |
| 6360 | elseif key == "f" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.HasWep and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
| 6361 | Debounces.Equipping = true | |
| 6362 | AssumeNormalJoints() | |
| 6363 | swait() | |
| 6364 | CurrentSpeed = 16 | |
| 6365 | Humanoid.JumpPower = 50 | |
| 6366 | Humanoid.WalkSpeed = CurrentSpeed | |
| 6367 | Debounces.Equipped = false | |
| 6368 | Debounces.Equipping = false | |
| 6369 | end | |
| 6370 | if key == "f" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Debounces.Transformed and not Debounces.TESWield then | |
| 6371 | EquipTE() | |
| 6372 | end | |
| 6373 | if key == "g" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Debounces.Transformed and not Debounces.TEWield then | |
| 6374 | EquipTES() | |
| 6375 | end | |
| 6376 | if key == " " and Debounces.Equipped and not Debounces.Equipping and (Current_Anim == "Falling" or Current_Anim == "Jumping") and not Debounces.DisableJump and not Debounces.Attack and Debounces.Transformed and not Debounces.Hovering and not Debounces.TEWield then | |
| 6377 | Debounces.Hovering = true | |
| 6378 | Debounces.AnimOverride = true | |
| 6379 | Humanoid.WalkSpeed = CurrentSpeed * 8 | |
| 6380 | local holdk = Mouse.KeyUp:connect(function(Key) | |
| 6381 | if Key == " " and Debounces.Hovering then | |
| 6382 | Debounces.Hovering = false | |
| 6383 | end | |
| 6384 | end | |
| 6385 | ) | |
| 6386 | local hover = Inst("BodyPosition", RootPart)
| |
| 6387 | hover.Name = DecName | |
| 6388 | hover.MaxForce = Vec(0, huge, 0) | |
| 6389 | hover.Position = RootPart.Position | |
| 6390 | hover.P = 25000 | |
| 6391 | local moving = false | |
| 6392 | local go_up = Mouse.KeyDown:connect(function(k) | |
| 6393 | ||
| 6394 | if k == "n" and not moving then | |
| 6395 | moving = true | |
| 6396 | local kek = Mouse.KeyUp:connect(function(K) | |
| 6397 | ||
| 6398 | if K == "n" and moving then | |
| 6399 | moving = false | |
| 6400 | end | |
| 6401 | end | |
| 6402 | ) | |
| 6403 | repeat | |
| 6404 | hover.Position = Vec(0, RootPart.Position.Y + 6, 0) | |
| 6405 | if not Debounces.Attacking then | |
| 6406 | local WalkSpeed = 0.5 | |
| 6407 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-10), 0, rad(8)), WalkSpeed) | |
| 6408 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6409 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-8)), WalkSpeed) | |
| 6410 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6411 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0) * Euler(rad(20), 0, 0), WalkSpeed) | |
| 6412 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6413 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-6), 0, 0), WalkSpeed) | |
| 6414 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6415 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.7, -0.3) * Euler(rad(-10), rad(90), 0), WalkSpeed) | |
| 6416 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed) | |
| 6417 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, -0.1) * Euler(rad(-6), rad(-90), 0), WalkSpeed) | |
| 6418 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), WalkSpeed) | |
| 6419 | end | |
| 6420 | swait() | |
| 6421 | until not moving | |
| 6422 | end | |
| 6423 | end | |
| 6424 | ) | |
| 6425 | local go_down = Mouse.KeyDown:connect(function(k) | |
| 6426 | if k == "m" and not moving then | |
| 6427 | moving = true | |
| 6428 | local kek = Mouse.KeyUp:connect(function(K) | |
| 6429 | ||
| 6430 | if K == "m" and moving then | |
| 6431 | moving = false | |
| 6432 | end | |
| 6433 | end | |
| 6434 | ) | |
| 6435 | repeat | |
| 6436 | hover.Position = Vec(0, RootPart.Position.Y - 6, 0) | |
| 6437 | if not Debounces.Attacking then | |
| 6438 | local WalkSpeed = 0.5 | |
| 6439 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-5), 0, rad(50)), WalkSpeed) | |
| 6440 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6441 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-5), 0, rad(-50)), WalkSpeed) | |
| 6442 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6443 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, -0.4) * Euler(rad(-30), 0, 0), WalkSpeed) | |
| 6444 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6445 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-6), 0, 0), WalkSpeed) | |
| 6446 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6447 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.6, -0.3) * Euler(rad(-5), rad(80), 0), WalkSpeed) | |
| 6448 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed) | |
| 6449 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.6, -0.1) * Euler(rad(-2), rad(-85), 0), WalkSpeed) | |
| 6450 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), WalkSpeed) | |
| 6451 | end | |
| 6452 | swait() | |
| 6453 | until not moving | |
| 6454 | end | |
| 6455 | end | |
| 6456 | ) | |
| 6457 | LeftHip.Part0 = nil | |
| 6458 | LeftHip.Part1 = nil | |
| 6459 | FLeftHip.Part0 = Torso | |
| 6460 | FLeftHip.Part1 = LeftLeg | |
| 6461 | FLeftHip.C0 = LeftHip.C0 | |
| 6462 | FLeftHip.C1 = LeftHip.C1 | |
| 6463 | RightHip.Part0 = nil | |
| 6464 | RightHip.Part1 = nil | |
| 6465 | FRightHip.Part0 = Torso | |
| 6466 | FRightHip.Part1 = RightLeg | |
| 6467 | FRightHip.C0 = RightHip.C0 | |
| 6468 | FRightHip.C1 = RightHip.C1 | |
| 6469 | repeat | |
| 6470 | wait() | |
| 6471 | Humanoid.WalkSpeed = CurrentSpeed * 4 | |
| 6472 | Debounces.AnimOverride = true | |
| 6473 | MagniDamage(LeftLeg, 6, true, 2, 6, true, 1, "Compensate-LifeSteal", 0.1, false, 0, false, _, _, _) | |
| 6474 | MagniDamage(RightLeg, 6, true, 2, 6, true, 1, "Compensate-LifeSteal", 0.1, false, 0, false, _, _, _) | |
| 6475 | MagicBlock(BC(Colour1), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -1.15, 0), 0.3, 0.3, 0.3, 1.3, 1.3, 1.3, 0.12) | |
| 6476 | MagicBlock(BC(Colour2), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -1.15, 0), 0.3, 0.3, 0.3, 1.3, 1.3, 1.3, 0.12) | |
| 6477 | MagicBlock(BC(Colour1), "Neon", RightLeg:GetRenderCFrame() * Cf(0, -1.15, 0), 0.3, 0.3, 0.3, 1.3, 1.3, 1.3, 0.12) | |
| 6478 | MagicBlock(BC(Colour2), "Neon", RightLeg:GetRenderCFrame() * Cf(0, -1.15, 0), 0.3, 0.3, 0.3, 1.3, 1.3, 1.3, 0.12) | |
| 6479 | if not moving and not Debounces.Attacking and not Debounces.Equipping then | |
| 6480 | LeftHip.Part0 = nil | |
| 6481 | LeftHip.Part1 = nil | |
| 6482 | FLeftHip.Part0 = Torso | |
| 6483 | FLeftHip.Part1 = LeftLeg | |
| 6484 | RightHip.Part0 = nil | |
| 6485 | RightHip.Part1 = nil | |
| 6486 | FRightHip.Part0 = Torso | |
| 6487 | FRightHip.Part1 = RightLeg | |
| 6488 | if RootPart.Velocity.Magnitude > 5 then | |
| 6489 | local WalkSpeed = 0.5 | |
| 6490 | if Debounces.TESWield then | |
| 6491 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), WalkSpeed) | |
| 6492 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6493 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6494 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6495 | end | |
| 6496 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-15), 0, rad(17)), WalkSpeed) | |
| 6497 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6498 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-15), 0, rad(-17)), WalkSpeed) | |
| 6499 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6500 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0) * Euler(rad(8), 0, 0), WalkSpeed) | |
| 6501 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6502 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-20), 0, 0), WalkSpeed) | |
| 6503 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6504 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.5, -0.3) * Euler(rad(-12), rad(90), 0), WalkSpeed) | |
| 6505 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed) | |
| 6506 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.8, -0.1) * Euler(rad(-8), rad(-90), 0), WalkSpeed) | |
| 6507 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), WalkSpeed) | |
| 6508 | else | |
| 6509 | idlenum = 0.3 | |
| 6510 | if idlenum2 < 9.999 and idle == 1 then | |
| 6511 | idlenum2 = idlenum2 + idlenum | |
| 6512 | elseif idlenum2 > 9.999 and idle == 1 then | |
| 6513 | idle = -1 | |
| 6514 | elseif idlenum2 > 0.999 and idle == -1 then | |
| 6515 | idlenum2 = idlenum2 - idlenum | |
| 6516 | elseif idlenum2 < 0.999 and idle == -1 then | |
| 6517 | idle = 1 | |
| 6518 | end | |
| 6519 | local IdleSpeed = 0.4 | |
| 6520 | if Debounces.TESWield then | |
| 6521 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), IdleSpeed) | |
| 6522 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6523 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6524 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6525 | end | |
| 6526 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.51, 0.6, 0.2) * Euler(0, 0, rad(6 + idlenum2 / 1.5)), IdleSpeed) | |
| 6527 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), IdleSpeed) | |
| 6528 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.6, 0) * Euler(0, 0, rad(-6 - idlenum2 / 1.5)), IdleSpeed) | |
| 6529 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-12), 0), IdleSpeed) | |
| 6530 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(rad(-10 - idlenum2 / 1.25), 0, 0), IdleSpeed) | |
| 6531 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(16), 0), IdleSpeed) | |
| 6532 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1 - idlenum2 / 60, 0) * Euler(0, rad(16), 0), IdleSpeed) | |
| 6533 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6534 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.8 + idlenum2 / 60, 0.08) * Euler(rad(-4), rad(-10), 0), IdleSpeed) | |
| 6535 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6536 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1 + idlenum2 / 60, 0.02) * Euler(rad(-4), rad(8), 0), IdleSpeed) | |
| 6537 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6538 | end | |
| 6539 | end | |
| 6540 | until not Debounces.Hovering or Debounces.Guarding or Debounces.Successful_KeyStroke | |
| 6541 | FLeftHip.Part0 = nil | |
| 6542 | FLeftHip.Part1 = nil | |
| 6543 | LeftHip.Part0 = Torso | |
| 6544 | LeftHip.Part1 = LeftLeg | |
| 6545 | LeftHip.C0 = FLeftHip.C0 | |
| 6546 | LeftHip.C1 = FLeftHip.C1 | |
| 6547 | FRightHip.Part0 = nil | |
| 6548 | FRightHip.Part1 = nil | |
| 6549 | RightHip.Part0 = Torso | |
| 6550 | RightHip.Part1 = RightLeg | |
| 6551 | RightHip.C0 = FRightHip.C0 | |
| 6552 | RightHip.C1 = FRightHip.C1 | |
| 6553 | debServ:AddItem(hover, 0) | |
| 6554 | Humanoid.WalkSpeed = CurrentSpeed | |
| 6555 | Debounces.AnimOverride = false | |
| 6556 | Debounces.Hovering = false | |
| 6557 | end | |
| 6558 | if key == " " and Debounces.Equipped and not Debounces.Equipping and Debounces.Can_Double_Jump and not Debounces.DisableJump and not Debounces.Transformed then | |
| 6559 | Debounces.Can_Double_Jump = false | |
| 6560 | Debounces.DoubleJumping = true | |
| 6561 | RootPart.Velocity = Vec(0, 180, 0) | |
| 6562 | local noscope = 0 | |
| 6563 | if not Debounces.DoubleJumpAnim then | |
| 6564 | Debounces.AnimOverride = true | |
| 6565 | Debounces.DoubleJumpAnim = true | |
| 6566 | Current_Anim = "Jumping" | |
| 6567 | for i = 0, 1.6, 0.1 do | |
| 6568 | swait() | |
| 6569 | if noscope ~= 360 then | |
| 6570 | noscope = noscope + 30 | |
| 6571 | end | |
| 6572 | if not Debounces.Attacking then | |
| 6573 | local JumpSpeed = 0.4 | |
| 6574 | if Debounces.HasWep then | |
| 6575 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 6576 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 6577 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), JumpSpeed) | |
| 6578 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), JumpSpeed) | |
| 6579 | end | |
| 6580 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-30), 0, rad(10)), JumpSpeed) | |
| 6581 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 6582 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-30), 0, rad(-10)), JumpSpeed) | |
| 6583 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 6584 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(15), 0, 0), JumpSpeed) | |
| 6585 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 6586 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-10), 0, 0), JumpSpeed) | |
| 6587 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, rad(noscope), 0), JumpSpeed) | |
| 6588 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-8), rad(90), 0), JumpSpeed) | |
| 6589 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed) | |
| 6590 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-20), rad(-90), 0), JumpSpeed) | |
| 6591 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed) | |
| 6592 | end | |
| 6593 | end | |
| 6594 | Current_Anim = "Falling" | |
| 6595 | Debounces.DoubleJumpAnim = false | |
| 6596 | Debounces.AnimOverride = false | |
| 6597 | end | |
| 6598 | Debounces.DoubleJumping = false | |
| 6599 | end | |
| 6600 | if key == "e" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
| 6601 | Disrupt() | |
| 6602 | end | |
| 6603 | if key == "z" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.HasWep and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
| 6604 | Z_Pressed = true | |
| 6605 | Fatal_Blow() | |
| 6606 | Z_Pressed = false | |
| 6607 | end | |
| 6608 | if key == "z" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Debounces.HasWep and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
| 6609 | Hate_Wave() | |
| 6610 | end | |
| 6611 | if key == "c" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Debounces.HasWep and not Debounces.DuelWielding and not Debounces.Transformed and not Debounces.KeyStrokeEnabled and not Debounces.Charging_Erupt then | |
| 6612 | Debounces.Charging_Erupt = true | |
| 6613 | releasez = Mouse.KeyUp:connect(function(Key) | |
| 6614 | if Key == "c" and Debounces.Charging_Erupt then | |
| 6615 | Debounces.Charging_Erupt = false | |
| 6616 | releasez:disconnect() | |
| 6617 | end | |
| 6618 | end) | |
| 6619 | Dark_Eruption() | |
| 6620 | end | |
| 6621 | if key == "r" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.DuelWielding and not Debounces.TEWield and not Debounces.TESWield and not Debounces.Guarding and Debounces.CanGuard then | |
| 6622 | Debounces.Guarding = true | |
| 6623 | greal = Mouse.KeyUp:connect(function(Key) | |
| 6624 | ||
| 6625 | if Key == "r" and Debounces.Guarding then | |
| 6626 | Debounces.Guarding = false | |
| 6627 | greal:disconnect() | |
| 6628 | end | |
| 6629 | end) | |
| 6630 | Corrupt_Guard() | |
| 6631 | end | |
| 6632 | if key == "x" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
| 6633 | game:GetService("RunService").Stepped:wait()
| |
| 6634 | Axel(SWP.Value) | |
| 6635 | end | |
| 6636 | if key == "s" and not SWP.Value and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
| 6637 | SWP.Value = true | |
| 6638 | swait(0.08) | |
| 6639 | SWP.Value = false | |
| 6640 | end | |
| 6641 | if key == "g" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed then | |
| 6642 | if not Debounces.DuelWielding and not Debounces.HasWep then | |
| 6643 | Equip_Denial() | |
| 6644 | elseif not Debounces.DuelWielding and Debounces.HasWep then | |
| 6645 | Unequip_Denial() | |
| 6646 | end | |
| 6647 | end | |
| 6648 | if key == "2" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed then | |
| 6649 | swait() | |
| 6650 | Debounces.KeyStrokeEnabled = not Debounces.KeyStrokeEnabled | |
| 6651 | end | |
| 6652 | end | |
| 6653 | ) | |
| 6654 | Mouse.Button1Down:connect(function() | |
| 6655 | ||
| 6656 | if Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking then | |
| 6657 | ClickCombo() | |
| 6658 | end | |
| 6659 | end | |
| 6660 | ) | |
| 6661 | local SSS = 1 | |
| 6662 | Humanoid.Running:connect(function(speed) | |
| 6663 | if SSS < speed then | |
| 6664 | if not Debounces.Dashing and Humanoid.WalkSpeed == CurrentSpeed then | |
| 6665 | Current_Anim = "Walking" | |
| 6666 | else | |
| 6667 | Current_Anim = "Dashing" | |
| 6668 | end | |
| 6669 | Debounces.Can_Double_Jump = false | |
| 6670 | elseif speed < SSS or speed == 0 then | |
| 6671 | Current_Anim = "Idle" | |
| 6672 | Debounces.Dashing = false | |
| 6673 | Debounces.Can_Double_Jump = false | |
| 6674 | end | |
| 6675 | end | |
| 6676 | ) | |
| 6677 | Humanoid.FreeFalling:connect(function() | |
| 6678 | if Current_Anim ~= "Falling" then | |
| 6679 | Current_Anim = "Falling" | |
| 6680 | Debounces.Can_Double_Jump = true | |
| 6681 | end | |
| 6682 | end | |
| 6683 | ) | |
| 6684 | Humanoid.Jumping:connect(function() | |
| 6685 | Current_Anim = "Jumping" | |
| 6686 | if Debounces.Equipped and not Debounces.Equipping and not Debounces.JumpAnim and not Debounces.DisableJump then | |
| 6687 | Debounces.Can_Double_Jump = true | |
| 6688 | Debounces.AnimOverride = true | |
| 6689 | Debounces.JumpAnim = true | |
| 6690 | for i = 0, 0.8, 0.1 do | |
| 6691 | swait() | |
| 6692 | if not Debounces.Attacking then | |
| 6693 | local JumpSpeed = 0.4 | |
| 6694 | if Debounces.HasWep then | |
| 6695 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 6696 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 6697 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), JumpSpeed) | |
| 6698 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), JumpSpeed) | |
| 6699 | end | |
| 6700 | if Debounces.TEWield then | |
| 6701 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, -0.6) * Euler(rad(90), rad(180), 0), JumpSpeed) | |
| 6702 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 6703 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(-10), rad(18), 0), JumpSpeed) | |
| 6704 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 6705 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(30), 0, rad(-10)), JumpSpeed) | |
| 6706 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), JumpSpeed) | |
| 6707 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.4, -0.96) * Euler(rad(52), 0, rad(34)), JumpSpeed) | |
| 6708 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(60), 0), JumpSpeed) | |
| 6709 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(4), rad(-12), 0), JumpSpeed) | |
| 6710 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 6711 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(7), rad(12), 0), JumpSpeed) | |
| 6712 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 6713 | if not Debounces.Dashing then | |
| 6714 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-16), rad(80), 0), JumpSpeed) | |
| 6715 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed) | |
| 6716 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-8), rad(-86), 0), JumpSpeed) | |
| 6717 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed) | |
| 6718 | else | |
| 6719 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-16), rad(80), 0), JumpSpeed) | |
| 6720 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed) | |
| 6721 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-8), rad(-86), 0), JumpSpeed) | |
| 6722 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed) | |
| 6723 | end | |
| 6724 | else | |
| 6725 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-30), 0, rad(10)), JumpSpeed) | |
| 6726 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 6727 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-30), 0, rad(-10)), JumpSpeed) | |
| 6728 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 6729 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(15), 0, 0), JumpSpeed) | |
| 6730 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 6731 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-20), 0, 0), JumpSpeed) | |
| 6732 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed) | |
| 6733 | if not Debounces.Dashing then | |
| 6734 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-8), rad(90), 0), JumpSpeed) | |
| 6735 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed) | |
| 6736 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-20), rad(-90), 0), JumpSpeed) | |
| 6737 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed) | |
| 6738 | else | |
| 6739 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-8), rad(90), 0), JumpSpeed) | |
| 6740 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed) | |
| 6741 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-20), rad(-90), 0), JumpSpeed) | |
| 6742 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed) | |
| 6743 | end | |
| 6744 | end | |
| 6745 | end | |
| 6746 | end | |
| 6747 | Debounces.JumpAnim = false | |
| 6748 | Debounces.AnimOverride = false | |
| 6749 | end | |
| 6750 | end | |
| 6751 | ) | |
| 6752 | Humanoid.Swimming:connect(function() | |
| 6753 | ||
| 6754 | Current_Anim = "Walking" | |
| 6755 | Debounces.Can_Double_Jump = true | |
| 6756 | end | |
| 6757 | ) | |
| 6758 | Humanoid.Changed:connect(function() | |
| 6759 | ||
| 6760 | if Humanoid.PlatformStand then | |
| 6761 | Humanoid.PlatformStand = false | |
| 6762 | end | |
| 6763 | end | |
| 6764 | ) | |
| 6765 | runServ.RenderStepped:connect(function() | |
| 6766 | ||
| 6767 | Bringer() | |
| 6768 | if Debounces.KeyStrokeEnabled then | |
| 6769 | KPTemplate.Text = ">>>" | |
| 6770 | KPTemplate.TextColor3 = Col3(1, 1, 1) | |
| 6771 | else | |
| 6772 | KPTemplate.Text = "-X-" | |
| 6773 | KPTemplate.TextColor3 = Col3(0.66666666666667, 0, 0) | |
| 6774 | end | |
| 6775 | if not GodMode then | |
| 6776 | Humanoid.MaxHealth = Max_Health | |
| 6777 | end | |
| 6778 | Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false) | |
| 6779 | Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying, false) | |
| 6780 | Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false) | |
| 6781 | if #Effects > 0 then | |
| 6782 | for e = 1, #Effects do | |
| 6783 | if Effects[e] ~= nil then | |
| 6784 | local Thing = Effects[e] | |
| 6785 | if Thing ~= nil then | |
| 6786 | local Part = Thing[1] | |
| 6787 | local Mode = Thing[2] | |
| 6788 | local Delay = Thing[3] | |
| 6789 | local IncX = Thing[4] | |
| 6790 | local IncY = Thing[5] | |
| 6791 | local IncZ = Thing[6] | |
| 6792 | if Thing[1].Transparency <= 1 then | |
| 6793 | if Thing[2] == "Block1" then | |
| 6794 | Thing[1].CFrame = Thing[1].CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 6795 | Mesh = Thing[1]:FindFirstChild("Mesh")
| |
| 6796 | if not Mesh then | |
| 6797 | Mesh = Instance.new("BlockMesh")
| |
| 6798 | end | |
| 6799 | Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6]) | |
| 6800 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 6801 | elseif Thing[2] == "Wave" then | |
| 6802 | Thing[1].CFrame = Thing[1].CFrame * CFrame.Angles(0, rad(10), 0) | |
| 6803 | Mesh = Thing[1]:FindFirstChild("Mesh")
| |
| 6804 | if not Mesh then | |
| 6805 | Mesh = Instance.new("BlockMesh")
| |
| 6806 | end | |
| 6807 | Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6]) | |
| 6808 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 6809 | elseif Thing[2] == "Cylinder" then | |
| 6810 | Mesh = Thing[1]:FindFirstChild("Mesh")
| |
| 6811 | if not Mesh then | |
| 6812 | Mesh = Instance.new("BlockMesh")
| |
| 6813 | end | |
| 6814 | Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6]) | |
| 6815 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 6816 | elseif Thing[2] == "Blood" then | |
| 6817 | Mesh = Thing[1]:FindFirstChild("Mesh")
| |
| 6818 | if not Mesh then | |
| 6819 | Mesh = Instance.new("BlockMesh")
| |
| 6820 | end | |
| 6821 | Thing[1].CFrame = Thing[1].CFrame * Cf(0, 0.5, 0) | |
| 6822 | Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6]) | |
| 6823 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 6824 | elseif Thing[2] == "Elec" then | |
| 6825 | Mesh = Thing[1]:FindFirstChild("Mesh")
| |
| 6826 | if not Mesh then | |
| 6827 | Mesh = Instance.new("BlockMesh")
| |
| 6828 | end | |
| 6829 | Mesh.Scale = Mesh.Scale + Vec(Thing[7], Thing[8], Thing[9]) | |
| 6830 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 6831 | elseif Thing[2] == "Disappear" then | |
| 6832 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 6833 | end | |
| 6834 | else | |
| 6835 | Part.Parent = nil | |
| 6836 | debServ:AddItem(Part, 0) | |
| 6837 | table.remove(Effects, e) | |
| 6838 | end | |
| 6839 | end | |
| 6840 | end | |
| 6841 | end | |
| 6842 | end | |
| 6843 | end | |
| 6844 | ) | |
| 6845 | while true do | |
| 6846 | swait() | |
| 6847 | if not Debounces.Guarding and Debounces.CanGuard then | |
| 6848 | VHealth.Value = VHealth.Value + GH / 6000 | |
| 6849 | end | |
| 6850 | if Debounces.Equipped and not Debounces.Attacking and not Debounces.AnimOverride and not Debounces.Equipping and Debounces.Transformed then | |
| 6851 | if Current_Anim == "Idle" and not Debounces.TEWield and not Debounces.TESWield then | |
| 6852 | idlenum = 0.3 | |
| 6853 | if idlenum2 < 9.999 and idle == 1 then | |
| 6854 | idlenum2 = idlenum2 + idlenum | |
| 6855 | elseif 9.999 < idlenum2 and idle == 1 then | |
| 6856 | idle = -1 | |
| 6857 | elseif 0.999 < idlenum2 and idle == -1 then | |
| 6858 | idlenum2 = idlenum2 - idlenum | |
| 6859 | elseif idlenum2 < 0.999 and idle == -1 then | |
| 6860 | idle = 1 | |
| 6861 | end | |
| 6862 | local IdleSpeed = 0.4 | |
| 6863 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6864 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6865 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.51, 0.6, 0.2) * Euler(0, 0, rad(6 + (idlenum2) / 1.5)), IdleSpeed) | |
| 6866 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), IdleSpeed) | |
| 6867 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.6, 0) * Euler(0, 0, rad(-6 - (idlenum2) / 1.5)), IdleSpeed) | |
| 6868 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-12), 0), IdleSpeed) | |
| 6869 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(rad(-20 - (idlenum2) / 1.25), 0, 0), IdleSpeed) | |
| 6870 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(10), 0), IdleSpeed) | |
| 6871 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1 - (idlenum2) / 60, 0) * Euler(0, rad(10), 0), IdleSpeed) | |
| 6872 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6873 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1 + (idlenum2) / 60, 0.08) * Euler(0, rad(90), 0), IdleSpeed) | |
| 6874 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(100), 0), IdleSpeed) | |
| 6875 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1 + (idlenum2) / 60, 0.02) * Euler(0, rad(-90), 0), IdleSpeed) | |
| 6876 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-96), 0), IdleSpeed) | |
| 6877 | elseif Current_Anim == "Idle" and not Debounces.TEWield and Debounces.TESWield then | |
| 6878 | idlenum = 0.3 | |
| 6879 | if idlenum2 < 9.999 and idle == 1 then | |
| 6880 | idlenum2 = idlenum2 + idlenum | |
| 6881 | elseif 9.999 < idlenum2 and idle == 1 then | |
| 6882 | idle = -1 | |
| 6883 | elseif 0.999 < idlenum2 and idle == -1 then | |
| 6884 | idlenum2 = idlenum2 - idlenum | |
| 6885 | elseif idlenum2 < 0.999 and idle == -1 then | |
| 6886 | idle = 1 | |
| 6887 | end | |
| 6888 | local IdleSpeed = 0.4 | |
| 6889 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), IdleSpeed) | |
| 6890 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6891 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6892 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6893 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.51, 0.6, 0.2) * Euler(0, 0, rad(6 + (idlenum2) / 1.5)), IdleSpeed) | |
| 6894 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), IdleSpeed) | |
| 6895 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.6, 0) * Euler(0, 0, rad(-6 - (idlenum2) / 1.5)), IdleSpeed) | |
| 6896 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-12), 0), IdleSpeed) | |
| 6897 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(rad(-20 - (idlenum2) / 1.25), 0, 0), IdleSpeed) | |
| 6898 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-10), 0), IdleSpeed) | |
| 6899 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1 - (idlenum2) / 60, 0) * Euler(0, rad(-10), 0), IdleSpeed) | |
| 6900 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6901 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1 + (idlenum2) / 60, 0.08) * Euler(0, rad(90), 0), IdleSpeed) | |
| 6902 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(100), 0), IdleSpeed) | |
| 6903 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1 + (idlenum2) / 60, 0.02) * Euler(0, rad(-90), 0), IdleSpeed) | |
| 6904 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-96), 0), IdleSpeed) | |
| 6905 | elseif Current_Anim == "Idle" and Debounces.TEWield and not Debounces.TESWield then | |
| 6906 | idlenum = 0.2 | |
| 6907 | if idlenum2 < 9.999 and idle == 1 then | |
| 6908 | idlenum2 = idlenum2 + idlenum | |
| 6909 | elseif 9.999 < idlenum2 and idle == 1 then | |
| 6910 | idle = -1 | |
| 6911 | elseif 0.999 < idlenum2 and idle == -1 then | |
| 6912 | idlenum2 = idlenum2 - idlenum | |
| 6913 | elseif idlenum2 < 0.999 and idle == -1 then | |
| 6914 | idle = 1 | |
| 6915 | end | |
| 6916 | local IdleSpeed = 0.4 | |
| 6917 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, -0.7) * Euler(rad(90), 0, 0), IdleSpeed) | |
| 6918 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6919 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(-120), rad(70), 0), IdleSpeed) | |
| 6920 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6921 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0 - (idlenum2) / 65, 0) * Euler(rad(120), rad(0), rad(10)), IdleSpeed) | |
| 6922 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.45, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6923 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.86, 0.4 - (idlenum2) / 65, -1.2) * Euler(rad(110), 0, rad(40)), IdleSpeed) | |
| 6924 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(60), 0), IdleSpeed) | |
| 6925 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(60), 0), IdleSpeed) | |
| 6926 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(5 + (idlenum2) / 2), 0, 0), IdleSpeed) | |
| 6927 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1 - (idlenum2) / 50, 0) * Euler(rad(-7), rad(-70), 0), IdleSpeed) | |
| 6928 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 6929 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1 + (idlenum2) / 50, 0) * Euler(0, rad(80), 0), IdleSpeed) | |
| 6930 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), IdleSpeed) | |
| 6931 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-0.8, -1 + (idlenum2) / 50, -0.36) * Euler(rad(-7), rad(-27), 0), IdleSpeed) | |
| 6932 | LeftHip.C1 = clerp(LeftHip.C1, Cf(0, 1, 0) * Euler(rad(-15), rad(-90), 0), IdleSpeed) | |
| 6933 | end | |
| 6934 | if Current_Anim == "Walking" and not Debounces.TEWield then | |
| 6935 | local WalkSpeed = 0.5 | |
| 6936 | RightHip.MaxVelocity = 0.04 | |
| 6937 | LeftHip.MaxVelocity = 0.04 | |
| 6938 | if Debounces.TESWield then | |
| 6939 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(95), 0, 0), WalkSpeed) | |
| 6940 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6941 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-5)), 0.8) | |
| 6942 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6943 | else | |
| 6944 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(math.deg(LeftHip.CurrentAngle) / 1.5), 0, rad(-5)), 0.8) | |
| 6945 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6946 | end | |
| 6947 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6948 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6949 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(-rad(math.deg(LeftHip.CurrentAngle) / 1.5), 0, rad(5)), 0.8) | |
| 6950 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6951 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-16), 0, 0), WalkSpeed) | |
| 6952 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6953 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-12), 0, 0), WalkSpeed) | |
| 6954 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6955 | RightHip.C0 = clerp(RightHip.C0, Cf(0.5, -1, 0.2) * Euler(0, rad(90), 0), WalkSpeed) | |
| 6956 | RightHip.C1 = clerp(RightHip.C1, Cf(0, 1, 0.2) * Euler(0, rad(90), 0), WalkSpeed) | |
| 6957 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-0.5, -1, 0.2) * Euler(0, rad(-90), 0), WalkSpeed) | |
| 6958 | LeftHip.C1 = clerp(LeftHip.C1, Cf(0, 1, 0.2) * Euler(0, rad(-90), 0), WalkSpeed) | |
| 6959 | elseif Current_Anim == "Walking" and Debounces.TEWield then | |
| 6960 | local WalkSpeed = 0.5 | |
| 6961 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, -0.6) * Euler(rad(90), rad(180), 0), WalkSpeed) | |
| 6962 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6963 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(-10), rad(18), 0), WalkSpeed) | |
| 6964 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6965 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(30), 0, rad(-10)), WalkSpeed) | |
| 6966 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), WalkSpeed) | |
| 6967 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.4, -0.96) * Euler(rad(52), 0, rad(34)), WalkSpeed) | |
| 6968 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(60), 0), WalkSpeed) | |
| 6969 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(20), 0), WalkSpeed) | |
| 6970 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(5), 0, 0), WalkSpeed) | |
| 6971 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-11), rad(-20), 0), WalkSpeed) | |
| 6972 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6973 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(82), 0), WalkSpeed) | |
| 6974 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed) | |
| 6975 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, -0.1) * Euler(rad(-7), rad(-80), 0), WalkSpeed) | |
| 6976 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(rad(-15), rad(-90), 0), WalkSpeed) | |
| 6977 | end | |
| 6978 | if Current_Anim == "Dashing" and not Debounces.TEWield then | |
| 6979 | local WalkSpeed = 0.5 | |
| 6980 | if Debounces.TESWield then | |
| 6981 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(130), 0, 0), WalkSpeed) | |
| 6982 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6983 | end | |
| 6984 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6985 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6986 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-50), 0, rad(15)), 0.8) | |
| 6987 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6988 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-50), 0, rad(-15)), 0.8) | |
| 6989 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6990 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0) * Euler(rad(30), 0, 0), WalkSpeed) | |
| 6991 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6992 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-60), 0, 0), WalkSpeed) | |
| 6993 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 6994 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.5, -0.8) * Euler(rad(-20), rad(90), 0), WalkSpeed) | |
| 6995 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed) | |
| 6996 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.8, -0.1) * Euler(rad(-8), rad(-90), 0), WalkSpeed) | |
| 6997 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), WalkSpeed) | |
| 6998 | elseif Current_Anim == "Dashing" and Debounces.TEWield then | |
| 6999 | local WalkSpeed = 0.5 | |
| 7000 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, 0) * Euler(rad(60), rad(180), 0), WalkSpeed) | |
| 7001 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7002 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7003 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7004 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(95), 0, rad(15)), 0.8) | |
| 7005 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7006 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(10), 0, rad(-15)), 0.8) | |
| 7007 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7008 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0) * Euler(rad(30), 0, 0), WalkSpeed) | |
| 7009 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7010 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-60), 0, 0), WalkSpeed) | |
| 7011 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7012 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.5, -0.6) * Euler(rad(-20), rad(90), 0), WalkSpeed) | |
| 7013 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed) | |
| 7014 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.8, -0.1) * Euler(rad(-8), rad(-90), 0), WalkSpeed) | |
| 7015 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), WalkSpeed) | |
| 7016 | end | |
| 7017 | if Current_Anim == "Falling" and not Debounces.TEWield and not Debounces.TESWield then | |
| 7018 | local FallSpeed = 0.5 | |
| 7019 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7020 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7021 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.35, 0) * Euler(rad(-25), 0, rad(8)), FallSpeed) | |
| 7022 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7023 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), FallSpeed) | |
| 7024 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7025 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), 0, 0), FallSpeed) | |
| 7026 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7027 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(10), 0, 0), FallSpeed) | |
| 7028 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7029 | if not Debounces.Dashing then | |
| 7030 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.5, -0.8) * Euler(rad(-20), rad(90), 0), FallSpeed) | |
| 7031 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), FallSpeed) | |
| 7032 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(8), rad(-90), 0), FallSpeed) | |
| 7033 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), FallSpeed) | |
| 7034 | else | |
| 7035 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.5, -0.8) * Euler(rad(-20), rad(90), 0), FallSpeed) | |
| 7036 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), FallSpeed) | |
| 7037 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(8), rad(-90), 0), FallSpeed) | |
| 7038 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), FallSpeed) | |
| 7039 | end | |
| 7040 | elseif Current_Anim == "Falling" and not Debounces.TEWield and Debounces.TESWield then | |
| 7041 | local FallSpeed = 0.5 | |
| 7042 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7043 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7044 | SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), FallSpeed) | |
| 7045 | SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7046 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 1, 0) * Euler(rad(160), 0, 0), FallSpeed) | |
| 7047 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(-15)), FallSpeed) | |
| 7048 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 1, 0) * Euler(rad(160), 0, 0), FallSpeed) | |
| 7049 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(15)), FallSpeed) | |
| 7050 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), 0, 0), FallSpeed) | |
| 7051 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7052 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(10), 0, 0), FallSpeed) | |
| 7053 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7054 | if not Debounces.Dashing then | |
| 7055 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.5, -0.8) * Euler(rad(-20), rad(90), 0), FallSpeed) | |
| 7056 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), FallSpeed) | |
| 7057 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(8), rad(-90), 0), FallSpeed) | |
| 7058 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), FallSpeed) | |
| 7059 | else | |
| 7060 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.5, -0.8) * Euler(rad(-20), rad(90), 0), FallSpeed) | |
| 7061 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), FallSpeed) | |
| 7062 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(8), rad(-90), 0), FallSpeed) | |
| 7063 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), FallSpeed) | |
| 7064 | end | |
| 7065 | elseif Current_Anim == "Falling" and Debounces.TEWield and not Debounces.TESWield then | |
| 7066 | local FallSpeed = 0.5 | |
| 7067 | WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, 0) * Euler(rad(90), rad(180), 0), FallSpeed) | |
| 7068 | WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7069 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(-12), 0, 0), FallSpeed) | |
| 7070 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7071 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(30), 0, rad(10)), FallSpeed) | |
| 7072 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(10), 0), FallSpeed) | |
| 7073 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), FallSpeed) | |
| 7074 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7075 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-20), rad(-12), 0), FallSpeed) | |
| 7076 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7077 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-16), rad(12), 0), FallSpeed) | |
| 7078 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7079 | if not Debounces.Dashing then | |
| 7080 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.7, 0) * Euler(rad(20), rad(80), 0), FallSpeed) | |
| 7081 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), FallSpeed) | |
| 7082 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.3, -0.5) * Euler(rad(7), rad(-86), 0), FallSpeed) | |
| 7083 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), FallSpeed) | |
| 7084 | else | |
| 7085 | FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.7, 0) * Euler(rad(20), rad(80), 0), FallSpeed) | |
| 7086 | FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), FallSpeed) | |
| 7087 | FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.3, -0.5) * Euler(rad(7), rad(-86), 0), FallSpeed) | |
| 7088 | FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), FallSpeed) | |
| 7089 | end | |
| 7090 | end | |
| 7091 | end | |
| 7092 | if Debounces.Equipped then | |
| 7093 | if not Debounces.Attacking then | |
| 7094 | if not Debounces.AnimOverride then | |
| 7095 | if not Debounces.Equipping then | |
| 7096 | if not Debounces.Transformed then | |
| 7097 | if Current_Anim == "Idle" and not Debounces.HasWep then | |
| 7098 | idlenum = 0.3 | |
| 7099 | if idlenum2 < 9.999 and idle == 1 then | |
| 7100 | idlenum2 = idlenum2 + idlenum | |
| 7101 | elseif 9.999 < idlenum2 and idle == 1 then | |
| 7102 | idle = -1 | |
| 7103 | elseif 0.999 < idlenum2 and idle == -1 then | |
| 7104 | idlenum2 = idlenum2 - idlenum | |
| 7105 | elseif idlenum2 < 0.999 and idle == -1 then | |
| 7106 | idle = 1 | |
| 7107 | end | |
| 7108 | local IdleSpeed = 0.4 | |
| 7109 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.85, 0.45 - (idlenum2) / 70, -1) * Euler(rad(60), 0, rad(-40)), IdleSpeed) | |
| 7110 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(1 - (idlenum2) * 2), rad(-20), 0), IdleSpeed) | |
| 7111 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.3 - (idlenum2) / 70, -0.3) * Euler(rad(120), 0, rad(-40)), IdleSpeed) | |
| 7112 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(1 - (idlenum2) * 2), rad(20), 0), IdleSpeed) | |
| 7113 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5 + (idlenum2) / 50, 0) * Euler(rad(-20), rad(40), 0), IdleSpeed) | |
| 7114 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1 + (idlenum2) / 50) * Euler(rad(1 + (idlenum2) * 1.5), 0, 0), IdleSpeed) | |
| 7115 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1 - (idlenum2) / 40, 0) * Euler(0, rad(-40), 0), IdleSpeed) | |
| 7116 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 7117 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1 + (idlenum2) / 38, -0.6) * Euler(0, rad(120), 0), IdleSpeed) | |
| 7118 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(rad(10), rad(90), 0), IdleSpeed) | |
| 7119 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1 + (idlenum2) / 38, 0.4) * Euler(0, rad(-50), 0), IdleSpeed) | |
| 7120 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(rad(10), rad(-90), 0), IdleSpeed) | |
| 7121 | elseif Current_Anim == "Idle" and Debounces.HasWep and not Debounces.DuelWielding then | |
| 7122 | idlenum = 0.3 | |
| 7123 | if idlenum2 < 9.999 and idle == 1 then | |
| 7124 | idlenum2 = idlenum2 + idlenum | |
| 7125 | elseif 9.999 < idlenum2 and idle == 1 then | |
| 7126 | idle = -1 | |
| 7127 | elseif 0.999 < idlenum2 and idle == -1 then | |
| 7128 | idlenum2 = idlenum2 - idlenum | |
| 7129 | elseif idlenum2 < 0.999 and idle == -1 then | |
| 7130 | idle = 1 | |
| 7131 | end | |
| 7132 | local IdleSpeed = 0.4 | |
| 7133 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(6.5 - (idlenum2) / 2), 0, 0), IdleSpeed) | |
| 7134 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 7135 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), IdleSpeed) | |
| 7136 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), IdleSpeed) | |
| 7137 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.51, 0.53, 0.2) * Euler(0, 0, rad(12 + (idlenum2) / 2)), IdleSpeed) | |
| 7138 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), IdleSpeed) | |
| 7139 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.53, 0) * Euler(0, 0, rad(-12 - (idlenum2) / 2)), IdleSpeed) | |
| 7140 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-12), 0), IdleSpeed) | |
| 7141 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(rad(-10 - (idlenum2) / 2), 0, 0), IdleSpeed) | |
| 7142 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-20), 0), IdleSpeed) | |
| 7143 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -(1 + (idlenum2) / 50), 0) * Euler(0, rad(-20), 0), IdleSpeed) | |
| 7144 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed) | |
| 7145 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -(1 - (idlenum2) / 50), 0.15) * Euler(0, rad(90), 0), IdleSpeed) | |
| 7146 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(105), 0), IdleSpeed) | |
| 7147 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -(1 - (idlenum2) / 50), 0.3) * Euler(0, rad(-90), 0), IdleSpeed) | |
| 7148 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-115), 0), IdleSpeed) | |
| 7149 | end | |
| 7150 | if Current_Anim == "Walking" and not Debounces.HasWep then | |
| 7151 | local WalkSpeed = 0.4 | |
| 7152 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.35, 0) * Euler(rad(-25), 0, rad(8)), WalkSpeed) | |
| 7153 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7154 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), WalkSpeed) | |
| 7155 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7156 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(3), 0, 0), WalkSpeed) | |
| 7157 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7158 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-10), 0, 0), WalkSpeed) | |
| 7159 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7160 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), WalkSpeed) | |
| 7161 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed) | |
| 7162 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), WalkSpeed) | |
| 7163 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), WalkSpeed) | |
| 7164 | elseif Current_Anim == "Walking" and Debounces.HasWep and not Debounces.DuelWielding then | |
| 7165 | local WalkSpeed = 0.4 | |
| 7166 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1.3, 0.3) * Euler(rad(24), 0, 0), WalkSpeed) | |
| 7167 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7168 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), WalkSpeed) | |
| 7169 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), WalkSpeed) | |
| 7170 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.65, 0) * Euler(0, 0, rad(12)), WalkSpeed) | |
| 7171 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7172 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(85), 0, rad(70)), WalkSpeed) | |
| 7173 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7174 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(7), 0, 0), WalkSpeed) | |
| 7175 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7176 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-13), 0, 0), WalkSpeed) | |
| 7177 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed) | |
| 7178 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), WalkSpeed) | |
| 7179 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed) | |
| 7180 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), WalkSpeed) | |
| 7181 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), WalkSpeed) | |
| 7182 | end | |
| 7183 | if Current_Anim == "Falling" then | |
| 7184 | local FallSpeed = 0.5 | |
| 7185 | if Debounces.HasWep and not Debounces.DuelWielding then | |
| 7186 | HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(90), 0, 0), FallSpeed) | |
| 7187 | HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7188 | WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), FallSpeed) | |
| 7189 | WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), FallSpeed) | |
| 7190 | end | |
| 7191 | FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 1, 0) * Euler(rad(160), 0, 0), FallSpeed) | |
| 7192 | FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(-15)), FallSpeed) | |
| 7193 | FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 1, 0) * Euler(rad(160), 0, 0), FallSpeed) | |
| 7194 | FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(15)), FallSpeed) | |
| 7195 | Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), 0, 0), FallSpeed) | |
| 7196 | Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7197 | FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(10), 0, 0), FallSpeed) | |
| 7198 | FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), FallSpeed) | |
| 7199 | RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.5, -0.8) * Euler(rad(-20), rad(90), 0), FallSpeed) | |
| 7200 | RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), FallSpeed) | |
| 7201 | LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(8), rad(-90), 0), FallSpeed) | |
| 7202 | LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), FallSpeed) | |
| 7203 | end | |
| 7204 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT | |
| 7205 | ||
| 7206 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT | |
| 7207 | ||
| 7208 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 7209 | ||
| 7210 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT | |
| 7211 | ||
| 7212 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT | |
| 7213 | ||
| 7214 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT | |
| 7215 | ||
| 7216 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 7217 | ||
| 7218 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT | |
| 7219 | ||
| 7220 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 7221 | ||
| 7222 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT | |
| 7223 | ||
| 7224 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 7225 | ||
| 7226 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT | |
| 7227 | ||
| 7228 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 7229 | ||
| 7230 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT | |
| 7231 | ||
| 7232 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 7233 | ||
| 7234 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT | |
| 7235 | ||
| 7236 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 7237 | ||
| 7238 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT | |
| 7239 | ||
| 7240 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT | |
| 7241 | ||
| 7242 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT | |
| 7243 | ||
| 7244 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 7245 | ||
| 7246 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT | |
| 7247 | ||
| 7248 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT | |
| 7249 | ||
| 7250 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 7251 | ||
| 7252 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT | |
| 7253 | ||
| 7254 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT | |
| 7255 | ||
| 7256 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT | |
| 7257 | ||
| 7258 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 7259 | ||
| 7260 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT | |
| 7261 | ||
| 7262 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT | |
| 7263 | ||
| 7264 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT | |
| 7265 | ||
| 7266 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 7267 | ||
| 7268 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT | |
| 7269 | ||
| 7270 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT | |
| 7271 | ||
| 7272 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT | |
| 7273 | ||
| 7274 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 7275 | ||
| 7276 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT | |
| 7277 | ||
| 7278 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT | |
| 7279 | ||
| 7280 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 7281 | ||
| 7282 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT | |
| 7283 | ||
| 7284 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 7285 | ||
| 7286 | -- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT | |
| 7287 | ||
| 7288 | end | |
| 7289 | end | |
| 7290 | end | |
| 7291 | end | |
| 7292 | end | |
| 7293 | end |