SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has been converted to FE by iPxter | |
| 2 | - | local Player = game.Players.LocalPlayer |
| 2 | + | |
| 3 | ||
| 4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 6 | do | |
| 7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 8 | script.Parent = Player.Character | |
| 9 | ||
| 10 | --RemoteEvent for communicating | |
| 11 | local Event = Instance.new("RemoteEvent")
| |
| 12 | Event.Name = "UserInput_Event" | |
| 13 | ||
| 14 | --Fake event to make stuff like Mouse.KeyDown work | |
| 15 | local function fakeEvent() | |
| 16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 17 | t.connect = t.Connect | |
| 18 | return t | |
| 19 | end | |
| 20 | ||
| 21 | - | local Mouse = Player:GetMouse() |
| 21 | + | --Creating fake input objects with fake variables |
| 22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 26 | end} | |
| 27 | --Merged 2 functions into one by checking amount of arguments | |
| 28 | CAS.UnbindAction = CAS.BindAction | |
| 29 | ||
| 30 | --This function will trigger the events that have been :Connect()'ed | |
| 31 | local function te(self,ev,...) | |
| 32 | local t = m[ev] | |
| 33 | if t and t._fakeEvent and t.Function then | |
| 34 | t.Function(...) | |
| 35 | end | |
| 36 | end | |
| 37 | m.TrigEvent = te | |
| 38 | UIS.TrigEvent = te | |
| 39 | ||
| 40 | Event.OnServerEvent:Connect(function(plr,io) | |
| 41 | if plr~=Player then return end | |
| 42 | if io.isMouse then | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | else | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local UIS = game:GetService("UserInputService")
| |
| 66 | local input = function(io,a) | |
| 67 | if a then return end | |
| 68 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 70 | end | |
| 71 | UIS.InputBegan:Connect(input) | |
| 72 | UIS.InputEnded:Connect(input) | |
| 73 | ||
| 74 | local Mouse = Player:GetMouse() | |
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 85 | end | |
| 86 | ||
| 87 | ||
| 88 | wait() | |
| 89 | local Player = owner | |
| 90 | local Character = Player.Character | |
| 91 | local Humanoid = Character.Humanoid | |
| 92 | local Head = Character.Head | |
| 93 | local Face = Character.Head.face | |
| 94 | local Texture = Face.Texture | |
| 95 | local Torso = Character.Torso | |
| 96 | local RootPart = Character.HumanoidRootPart | |
| 97 | local RightArm = Character["Right Arm"] | |
| 98 | local LeftArm = Character["Left Arm"] | |
| 99 | local RightLeg = Character["Right Leg"] | |
| 100 | local LeftLeg = Character["Left Leg"] | |
| 101 | local Neck = Torso.Neck | |
| 102 | local RootJoint = RootPart.RootJoint | |
| 103 | local RightShoulder = Torso["Right Shoulder"] | |
| 104 | local LeftShoulder = Torso["Left Shoulder"] | |
| 105 | local RightHip = Torso["Right Hip"] | |
| 106 | local LeftHip = Torso["Left Hip"] | |
| 107 | local Insert = table.insert | |
| 108 | VFXList = {}
| |
| 109 | local CharaterAnimate, CharacterAnimator = Character:FindFirstChild("Animate"), Humanoid:FindFirstChild("Animator")
| |
| 110 | CharaterAnimate.Parent = nil | |
| 111 | CharacterAnimator.Parent = nil | |
| 112 | local ManaDelay = 0 | |
| 113 | local ManaDelay2 = 8 | |
| 114 | local EffectRemovalDelay = 0 | |
| 115 | local EffectRemovalDelay2 = 3 | |
| 116 | local Combo = 1 | |
| 117 | local AttackDecrease = 0 | |
| 118 | local MvmtDecrease = 0 | |
| 119 | local DefenceDecrease = 0 | |
| 120 | local Attacking = false | |
| 121 | local StunBarVisible = false | |
| 122 | local ConfusedVisible = false | |
| 123 | local CanShowStunDisplay = true | |
| 124 | local CanRemoveStun = false | |
| 125 | local CanAnimate = true | |
| 126 | local CharacterUnderControl = true | |
| 127 | local CanResumeControl = true | |
| 128 | local AntiGlitch = false | |
| 129 | local Fury = false | |
| 130 | NeckDefaultCFrame = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 131 | RootDefaultCFrame = CFrame.Angles(-1.57, 0, 3.14) | |
| 132 | RightLegDefaultCFrame = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 133 | LeftLegDefaultCFrame = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 134 | RightShoulder.C1 = CFrame.new(0, 0.5, 0) | |
| 135 | LeftShoulder.C1 = CFrame.new(0, 0.5, 0) | |
| 136 | local MyStats = Instance.new("Folder", Character)
| |
| 137 | MyStats.Name = "MyStats" | |
| 138 | local Defence = Instance.new("NumberValue", MyStats)
| |
| 139 | Defence.Name = "Defence" | |
| 140 | Defence.Value = 1 | |
| 141 | local Attack = Instance.new("NumberValue", MyStats)
| |
| 142 | Attack.Name = "Attack" | |
| 143 | Attack.Value = 1 | |
| 144 | local Movement = Instance.new("NumberValue", MyStats)
| |
| 145 | Movement.Name = "Movement" | |
| 146 | Movement.Value = 1 | |
| 147 | local Mana = Instance.new("NumberValue", MyStats)
| |
| 148 | Mana.Name = "Mana" | |
| 149 | Mana.Value = 0 | |
| 150 | local Debuffs = Instance.new("Folder", MyStats)
| |
| 151 | Debuffs.Name = "Debuffs" | |
| 152 | local Effects = Instance.new("Folder", Character)
| |
| 153 | Effects.Name = "Effects" | |
| 154 | local StunEffect = Instance.new("BoolValue", Effects)
| |
| 155 | StunEffect.Name = "StunEffect" | |
| 156 | StunEffect.Value = false | |
| 157 | local Stun = Instance.new("NumberValue", StunEffect)
| |
| 158 | Stun.Name = "Stun" | |
| 159 | Stun.Value = 0 | |
| 160 | local PushedJump = Instance.new("BoolValue", Effects)
| |
| 161 | PushedJump.Name = "PushedJump" | |
| 162 | PushedJump.Value = false | |
| 163 | local Cooldown1 = 0 | |
| 164 | local Cooldown2 = 0 | |
| 165 | local Cooldown3 = 0 | |
| 166 | local Cooldown4 = 0 | |
| 167 | local Cooldown5 = 0 | |
| 168 | local Cooldown6 = 0 | |
| 169 | local Cooldown7 = 0 | |
| 170 | local Cooldown1Add = 0.3 | |
| 171 | local Cooldown2Add = 0.25 | |
| 172 | local Cooldown3Add = 0.2 | |
| 173 | local Cooldown4Add = 0.12 | |
| 174 | local Cooldown5Add = 0.05 | |
| 175 | local Cooldown6Add = 0.05 | |
| 176 | local Cooldown7Add = 5 | |
| 177 | local MaxCooldown1 = 60 | |
| 178 | local MaxCooldown2 = 80 | |
| 179 | local MaxCooldown3 = 140 | |
| 180 | local MaxCooldown4 = 180 | |
| 181 | local MaxCooldown5 = 5 | |
| 182 | local MaxCooldown6 = 5 | |
| 183 | local MaxCooldown7 = 8000 | |
| 184 | local Stars = Instance.new("Part", Character)
| |
| 185 | Stars.Name = "Stars" | |
| 186 | Stars.CanCollide = false | |
| 187 | Stars.Size = Vector3.new() | |
| 188 | Stars.Transparency = 1 | |
| 189 | local StarsMesh = Instance.new("SpecialMesh", Stars)
| |
| 190 | StarsMesh.TextureId = "http://www.roblox.com/asset/?id=110857406" | |
| 191 | StarsMesh.MeshId = "http://www.roblox.com/asset/?id=110857526" | |
| 192 | local StarsWeld = Instance.new("Weld", Stars)
| |
| 193 | StarsWeld.Part0 = Stars | |
| 194 | StarsWeld.Part1 = Head | |
| 195 | StarsWeld.C0 = CFrame.new(0, -1, 0) | |
| 196 | function GUI(NewInstance, Parent, Size, StartPosition, Position, BGTransparency, Visible, BGColor, Rotation, Style, Text, TextColor, TextStroke, StrokeTrans, Scaled, Font) | |
| 197 | local NewGui = Instance.new(NewInstance) | |
| 198 | NewGui.Parent = Parent | |
| 199 | NewGui.Position = StartPosition | |
| 200 | coroutine.resume(coroutine.create(function() | |
| 201 | NewGui:TweenSizeAndPosition(Size, Position, "Out", "Quad", 2) | |
| 202 | end)) | |
| 203 | NewGui.BackgroundTransparency = BGTransparency | |
| 204 | NewGui.Visible = Visible | |
| 205 | NewGui.Rotation = Rotation | |
| 206 | NewGui.BorderSizePixel = 0 | |
| 207 | NewGui.BackgroundColor3 = BrickColor.new(BGColor).Color | |
| 208 | if Style and NewInstance == "Frame" or Style and NewInstance == "ScrollingFrame" then | |
| 209 | NewGui.Style = Style | |
| 210 | end | |
| 211 | if NewInstance == "TextBox" or NewInstance == "TextLabel" or NewInstance == "TextButton" then | |
| 212 | NewGui.Text = Text | |
| 213 | NewGui.TextStrokeTransparency = StrokeTrans | |
| 214 | NewGui.TextColor3 = BrickColor.new(TextColor).Color | |
| 215 | NewGui.TextStrokeColor3 = BrickColor.new(TextStroke).Color | |
| 216 | NewGui.TextScaled = Scaled | |
| 217 | NewGui.Font = Font | |
| 218 | end | |
| 219 | return NewGui | |
| 220 | end | |
| 221 | local CreatePart = function(Parent, Name, Color, Size, Material, Transparency, Shape) | |
| 222 | local Part = Instance.new("Part", Parent)
| |
| 223 | Part.Name = Name | |
| 224 | Part.BrickColor = BrickColor.new(Color) | |
| 225 | Part.Size = Size | |
| 226 | Part.Material = Material | |
| 227 | Part.Transparency = Transparency | |
| 228 | Part.Shape = Shape | |
| 229 | Part.CanCollide = false | |
| 230 | NoOutlines(Part) | |
| 231 | return Part | |
| 232 | end | |
| 233 | local CreateWeld = function(Parent, Cframe, Cframe2, P1, P0, Name) | |
| 234 | local Weld = Instance.new("Weld", Parent)
| |
| 235 | Weld.Part0 = P0 | |
| 236 | Weld.Part1 = P1 | |
| 237 | Weld.Name = Name | |
| 238 | Weld.C0 = Cframe | |
| 239 | Weld.C1 = Cframe2 | |
| 240 | return Weld | |
| 241 | end | |
| 242 | local CreateMesh = function(Parent, Scale, Type, Type2, ID, Texture) | |
| 243 | local Mesh | |
| 244 | if Type == "SpecialMesh" then | |
| 245 | Mesh = Instance.new("SpecialMesh", Parent)
| |
| 246 | if Type then | |
| 247 | Mesh.MeshType = Type2 | |
| 248 | if Type2 == "FileMesh" and ID then | |
| 249 | Mesh.MeshId = "http://www.roblox.com/asset?id=" .. ID | |
| 250 | if Texture then | |
| 251 | Mesh.TextureId = "http://www.roblox.com/asset?id=" .. Texture | |
| 252 | end | |
| 253 | end | |
| 254 | end | |
| 255 | elseif Type == "BlockMesh" then | |
| 256 | Mesh = Instance.new("BlockMesh", Parent)
| |
| 257 | elseif Type == "CylinderMesh" then | |
| 258 | Mesh = Instance.new("CylinderMesh", Parent)
| |
| 259 | end | |
| 260 | Mesh.Scale = Scale | |
| 261 | return Mesh | |
| 262 | end | |
| 263 | function Animate(Weld, Point1, Point2) | |
| 264 | return Weld:Lerp(Point1, Point2) | |
| 265 | end | |
| 266 | function ResumeCharacterControl() | |
| 267 | CharacterUnderControl = true | |
| 268 | Humanoid.JumpPower = 50 | |
| 269 | end | |
| 270 | function RemoveCharacterControl() | |
| 271 | CharacterUnderControl = false | |
| 272 | wait() | |
| 273 | Humanoid.JumpPower = 0 | |
| 274 | Humanoid.WalkSpeed = 0 | |
| 275 | end | |
| 276 | function SoundEffect(Part, ID, Volume, Pitch, Looped) | |
| 277 | local Sound = Instance.new("Sound", Part)
| |
| 278 | Sound.SoundId = "http://www.roblox.com/asset?id=" .. ID | |
| 279 | Sound.Name = "SFX" | |
| 280 | Sound.Volume = Volume | |
| 281 | Sound.Pitch = Pitch | |
| 282 | Sound:Play() | |
| 283 | if Looped then | |
| 284 | return | |
| 285 | end | |
| 286 | Services.Debris:AddItem(Sound, 5) | |
| 287 | return Sound | |
| 288 | end | |
| 289 | function NoOutlines(Part) | |
| 290 | Part.TopSurface = 10 | |
| 291 | Part.BottomSurface = 10 | |
| 292 | Part.LeftSurface = 10 | |
| 293 | Part.RightSurface = 10 | |
| 294 | Part.FrontSurface = 10 | |
| 295 | Part.BackSurface = 10 | |
| 296 | end | |
| 297 | function AddVFX(VFXType, Part, TransparencyAdd, IncreaseSize1, IncreaseSize2, IncreaseSize3) | |
| 298 | Insert(VFXList, {
| |
| 299 | VFXType, | |
| 300 | Part, | |
| 301 | TransparencyAdd, | |
| 302 | IncreaseSize1, | |
| 303 | IncreaseSize2, | |
| 304 | IncreaseSize3 | |
| 305 | }) | |
| 306 | end | |
| 307 | function BlockVFX(PartPosition, Color, Material, Transparency, TransparencyAdd, Size1, Size2, Size3, IncreaseSize1, IncreaseSize2, IncreaseSize3) | |
| 308 | local Part = CreatePart(Services.Workspace, "VFX", Color, Vector3.new(), Material, Transparency, "Block") | |
| 309 | Part.Anchored = true | |
| 310 | Part.CFrame = PartPosition | |
| 311 | Services.Debris:AddItem(Part, 20) | |
| 312 | local Mesh = CreateMesh(Part, Vector3.new(Size1, Size2, Size3), "SpecialMesh", "Brick") | |
| 313 | AddVFX("Resize", Part, TransparencyAdd, IncreaseSize1, IncreaseSize2, IncreaseSize3)
| |
| 314 | AddVFX("Rotate", Part)
| |
| 315 | return Part | |
| 316 | end | |
| 317 | function CylinderVFX(PartPosition, Color, Material, Transparency, TransparencyAdd, Size1, Size2, Size3, IncreaseSize1, IncreaseSize2, IncreaseSize3) | |
| 318 | local Part = CreatePart(Services.Workspace, "VFX", Color, Vector3.new(), Material, Transparency, "Block") | |
| 319 | Part.Anchored = true | |
| 320 | Part.CFrame = PartPosition | |
| 321 | Services.Debris:AddItem(Part, 20) | |
| 322 | local Mesh = CreateMesh(Part, Vector3.new(Size1, Size2, Size3), "SpecialMesh", "Cylinder") | |
| 323 | AddVFX("Resize", Part, TransparencyAdd, IncreaseSize1, IncreaseSize2, IncreaseSize3)
| |
| 324 | return Part | |
| 325 | end | |
| 326 | function CircleVFX(PartPosition, Color, Material, Transparency, TransparencyAdd, Size1, Size2, Size3, IncreaseSize1, IncreaseSize2, IncreaseSize3) | |
| 327 | local Part = CreatePart(Services.Workspace, "VFX", Color, Vector3.new(), Material, Transparency, "Block") | |
| 328 | Part.Anchored = true | |
| 329 | Part.CFrame = PartPosition | |
| 330 | Services.Debris:AddItem(Part, 20) | |
| 331 | local Mesh = CreateMesh(Part, Vector3.new(Size1, Size2, Size3), "SpecialMesh", "Sphere") | |
| 332 | AddVFX("Resize", Part, TransparencyAdd, IncreaseSize1, IncreaseSize2, IncreaseSize3)
| |
| 333 | return Part | |
| 334 | end | |
| 335 | function CylinderVFX(PartPosition, Color, Material, Transparency, TransparencyAdd, Size1, Size2, Size3, IncreaseSize1, IncreaseSize2, IncreaseSize3) | |
| 336 | local Part = CreatePart(Services.Workspace, "VFX", Color, Vector3.new(), Material, Transparency, "Block") | |
| 337 | Part.Anchored = true | |
| 338 | Part.CFrame = PartPosition | |
| 339 | Services.Debris:AddItem(Part, 20) | |
| 340 | local Mesh = CreateMesh(Part, Vector3.new(Size1, Size2, Size3), "SpecialMesh", "Cylinder") | |
| 341 | AddVFX("Resize", Part, TransparencyAdd, IncreaseSize1, IncreaseSize2, IncreaseSize3)
| |
| 342 | return Part | |
| 343 | end | |
| 344 | function WaveVFX(PartPosition, Color, Material, Transparency, TransparencyAdd, Size1, Size2, Size3, IncreaseSize1, IncreaseSize2, IncreaseSize3) | |
| 345 | local Part = CreatePart(Services.Workspace, "VFX", Color, Vector3.new(), Material, Transparency, "Block") | |
| 346 | Part.Anchored = true | |
| 347 | Part.CFrame = PartPosition | |
| 348 | Services.Debris:AddItem(Part, 20) | |
| 349 | local Mesh = CreateMesh(Part, Vector3.new(Size1, Size2, Size3), "SpecialMesh", "FileMesh", 20329976) | |
| 350 | AddVFX("Resize", Part, TransparencyAdd, IncreaseSize1, IncreaseSize2, IncreaseSize3)
| |
| 351 | return Part and Mesh | |
| 352 | end | |
| 353 | function RingVFX(PartPosition, Color, Material, Transparency, TransparencyAdd, Size1, Size2, Size3, IncreaseSize1, IncreaseSize2, IncreaseSize3) | |
| 354 | local Part = CreatePart(Services.Workspace, "VFX", Color, Vector3.new(), Material, Transparency, "Block") | |
| 355 | Part.Anchored = true | |
| 356 | Part.CFrame = PartPosition | |
| 357 | Services.Debris:AddItem(Part, 20) | |
| 358 | local Mesh = CreateMesh(Part, Vector3.new(Size1, Size2, Size3), "SpecialMesh", "FileMesh", 3270017) | |
| 359 | AddVFX("Resize", Part, TransparencyAdd, IncreaseSize1, IncreaseSize2, IncreaseSize3)
| |
| 360 | return Part and Mesh | |
| 361 | end | |
| 362 | function ShurikenVFX(PartPosition, Color, Material, Transparency, TransparencyAdd, Size1, Size2, Size3, IncreaseSize1, IncreaseSize2, IncreaseSize3) | |
| 363 | local Part = CreatePart(Services.Workspace, "VFX", Color, Vector3.new(), Material, Transparency, "Block") | |
| 364 | Part.Anchored = true | |
| 365 | Part.CFrame = PartPosition | |
| 366 | Services.Debris:AddItem(Part, 20) | |
| 367 | local Mesh = CreateMesh(Part, Vector3.new(Size1, Size2, Size3), "SpecialMesh", "FileMesh", 11112101) | |
| 368 | AddVFX("Resize", Part, TransparencyAdd, IncreaseSize1, IncreaseSize2, IncreaseSize3)
| |
| 369 | return Part | |
| 370 | end | |
| 371 | function KunaiVFX(PartPosition, Color, Material, Transparency, TransparencyAdd, Size1, Size2, Size3, IncreaseSize1, IncreaseSize2, IncreaseSize3) | |
| 372 | local Part = CreatePart(Services.Workspace, "VFX", Color, Vector3.new(), Material, Transparency, "Block") | |
| 373 | Part.Anchored = true | |
| 374 | Part.CFrame = PartPosition | |
| 375 | Services.Debris:AddItem(Part, 20) | |
| 376 | local Mesh = CreateMesh(Part, Vector3.new(Size1, Size2, Size3), "SpecialMesh", "FileMesh", 45728702) | |
| 377 | AddVFX("Resize", Part, TransparencyAdd, IncreaseSize1, IncreaseSize2, IncreaseSize3)
| |
| 378 | return Part | |
| 379 | end | |
| 380 | function WindVFX(PartPosition, Color, Material, Transparency, TransparencyAdd, Size1, Size2, Size3, IncreaseSize1, IncreaseSize2, IncreaseSize3) | |
| 381 | local Part = CreatePart(Services.Workspace, "VFX", Color, Vector3.new(), Material, Transparency, "Block") | |
| 382 | Part.Anchored = true | |
| 383 | Part.CFrame = PartPosition | |
| 384 | Services.Debris:AddItem(Part, 20) | |
| 385 | local Mesh = CreateMesh(Part, Vector3.new(Size1, Size2, Size3), "SpecialMesh", "FileMesh", 168892432) | |
| 386 | AddVFX("Resize", Part, TransparencyAdd, IncreaseSize1, IncreaseSize2, IncreaseSize3)
| |
| 387 | return Part | |
| 388 | end | |
| 389 | function SlashVFX(PartPosition, Color, Material, Transparency, TransparencyAdd, Size1, Size2, Size3, IncreaseSize1, IncreaseSize2, IncreaseSize3) | |
| 390 | local Part = CreatePart(Services.Workspace, "VFX", Color, Vector3.new(), Material, Transparency, "Block") | |
| 391 | Part.Anchored = true | |
| 392 | Part.CFrame = PartPosition | |
| 393 | Services.Debris:AddItem(Part, 20) | |
| 394 | local Mesh = CreateMesh(Part, Vector3.new(Size1, Size2, Size3), "SpecialMesh", "FileMesh", 448386996) | |
| 395 | AddVFX("Resize", Part, TransparencyAdd, IncreaseSize1, IncreaseSize2, IncreaseSize3)
| |
| 396 | return Part | |
| 397 | end | |
| 398 | WeaponGUI = Instance.new("ScreenGui", Player.PlayerGui)
| |
| 399 | WeaponGUI.Name = "WeaponThing" | |
| 400 | local HealthBarBack = GUI("Frame", WeaponGUI, UDim2.new(0, 355, 0, 25), UDim2.new(0, 0, 0, 0), UDim2.new(0, 350, 0.96, 0), 0, true, "Really black", 0, nil)
| |
| 401 | local HealthBarBar = GUI("Frame", HealthBarBack, UDim2.new(0, 345, 0, 19), UDim2.new(0, 0, 0, 0), UDim2.new(0, 3, 0.1, 0), 0, true, "Lime green", 0)
| |
| 402 | local HealthBarText = GUI("TextLabel", WeaponGUI, UDim2.new(0, 345, 0, 19), UDim2.new(0, 0, 0, 0), UDim2.new(0, 355, 0.96, 0), 1, true, "", 0, nil, "Health", "White", "Black", 0, true, "SourceSansBold")
| |
| 403 | local ManaBarBack = GUI("Frame", WeaponGUI, UDim2.new(0, 355, 0, 25), UDim2.new(0, 0, 0, 0), UDim2.new(0, 350, 0.9, 0), 0, true, "Really black", 0, nil)
| |
| 404 | local ManaBarBar = GUI("Frame", ManaBarBack, UDim2.new(0, 0, 0, 19), UDim2.new(0, 0, 0, 0), UDim2.new(0, 3, 0.1, 0), 0, true, "Bright blue", 0)
| |
| 405 | local ManaBarText = GUI("TextLabel", WeaponGUI, UDim2.new(0, 345, 0, 19), UDim2.new(0, 0, 0, 0), UDim2.new(0, 355, 0.9, 0), 1, true, "", 0, nil, "Mana", "White", "Cyan", 0, true, "SourceSansBold")
| |
| 406 | local AtkBarBack = GUI("Frame", WeaponGUI, UDim2.new(0, 70, 0, 25), UDim2.new(0, 0, 0, 0), UDim2.new(0, 195, 0.94, 0), 0, true, "Really black", 90)
| |
| 407 | local AtkBarBar = GUI("Frame", WeaponGUI, UDim2.new(0, 60, 0, 19), UDim2.new(0, 0, 0, 0), UDim2.new(0, 200, 0.94, 0), 0, true, "Really red", 90)
| |
| 408 | local AtkBarText = GUI("TextLabel", WeaponGUI, UDim2.new(0, 60, 0, 19), UDim2.new(0, 0, 0, 0), UDim2.new(0, 202, 0.94, 0), 1, true, "", 90, nil, "Atk", "Black", "Neon orange", 0, true, "SourceSansBold")
| |
| 409 | local DefBarBack = GUI("Frame", WeaponGUI, UDim2.new(0, 70, 0, 25), UDim2.new(0, 0, 0, 0), UDim2.new(0, 240, 0.94, 0), 0, true, "Really black", 90)
| |
| 410 | local DefBarBar = GUI("Frame", WeaponGUI, UDim2.new(0, 60, 0, 19), UDim2.new(0, 0, 0, 0), UDim2.new(0, 245, 0.94, 0), 0, true, "Bright blue", 90)
| |
| 411 | local DefBarText = GUI("TextLabel", WeaponGUI, UDim2.new(0, 60, 0, 19), UDim2.new(0, 0, 0, 0), UDim2.new(0, 247, 0.94, 0), 1, true, "", 90, nil, "Def", "White", "Cyan", 0, true, "SourceSansBold")
| |
| 412 | local MvmtBarBack = GUI("Frame", WeaponGUI, UDim2.new(0, 70, 0, 25), UDim2.new(0, 0, 0, 0), UDim2.new(0, 285, 0.94, 0), 0, true, "Really black", 90)
| |
| 413 | local MvmtBarBar = GUI("Frame", WeaponGUI, UDim2.new(0, 60, 0, 19), UDim2.new(0, 0, 0, 0), UDim2.new(0, 290, 0.94, 0), 0, true, "Lime green", 90)
| |
| 414 | local MvmtBarText = GUI("TextLabel", WeaponGUI, UDim2.new(0, 60, 0, 19), UDim2.new(0, 0, 0, 0), UDim2.new(0, 292, 0.94, 0), 1, true, "", 90, nil, "Mvmt", "White", "Black", 0, true, "SourceSansBold")
| |
| 415 | local CooldownZBarBack = GUI("Frame", WeaponGUI, UDim2.new(0, 80, 0, 80), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0.3, 0), 0, true, "Really black", 0, nil)
| |
| 416 | local CooldownZBarBar = GUI("TextButton", CooldownZBarBack, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 5), 0.3, true, "Ghost grey", 0, nil, "", "White", "Cyan", 1, true, "SourceSansBold")
| |
| 417 | local CooldownZBarText = GUI("TextLabel", CooldownZBarBack, UDim2.new(0, 80, 0, 80), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), 1, true, "", 0, nil, "Z", "White", "Cyan", 1, true, "SourceSansBold")
| |
| 418 | local CooldownXBarBack = GUI("Frame", WeaponGUI, UDim2.new(0, 80, 0, 80), UDim2.new(0, 0, 0, 0), UDim2.new(0.93, 0, 0.3, 0), 0, true, "Really black", 0, nil)
| |
| 419 | local CooldownXBarBar = GUI("TextButton", CooldownXBarBack, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 5), 0.3, true, "Ghost grey", 0, nil, "", "White", "Cyan", 1, true, "SourceSansBold")
| |
| 420 | local CooldownXBarText = GUI("TextLabel", CooldownXBarBack, UDim2.new(0, 80, 0, 80), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), 1, true, "", 0, nil, "X", "White", "Cyan", 1, true, "SourceSansBold")
| |
| 421 | local CooldownCBarBack = GUI("Frame", WeaponGUI, UDim2.new(0, 80, 0, 80), UDim2.new(0, 0, 0, 0), UDim2.new(0.93, 0, 0.6, 0), 0, true, "Really black", 0, nil)
| |
| 422 | local CooldownCBarBar = GUI("TextButton", CooldownCBarBack, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 5), 0.3, true, "Ghost grey", 0, nil, "", "White", "Cyan", 1, true, "SourceSansBold")
| |
| 423 | local CooldownCBarText = GUI("TextLabel", CooldownCBarBack, UDim2.new(0, 80, 0, 80), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), 1, true, "", 0, nil, "C", "White", "Cyan", 1, true, "SourceSansBold")
| |
| 424 | local CooldownVBarBack = GUI("Frame", WeaponGUI, UDim2.new(0, 80, 0, 80), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0.6, 0), 0, true, "Really black", 0, nil)
| |
| 425 | local CooldownVBarBar = GUI("TextButton", CooldownVBarBack, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 5), 0.3, true, "Ghost grey", 0, nil, "", "White", "Cyan", 1, true, "SourceSansBold")
| |
| 426 | local CooldownVBarText = GUI("TextLabel", CooldownVBarBack, UDim2.new(0, 80, 0, 80), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), 1, true, "", 0, nil, "V", "White", "Cyan", 1, true, "SourceSansBold")
| |
| 427 | local CooldownQBarBack = GUI("Frame", WeaponGUI, UDim2.new(0, 80, 0, 80), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), 0, true, "Really black", 0, nil)
| |
| 428 | local CooldownQBarBar = GUI("TextButton", CooldownQBarBack, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 5), 0.3, true, "Ghost grey", 0, nil, "", "White", "Cyan", 1, true, "SourceSansBold")
| |
| 429 | local CooldownQBarText = GUI("TextLabel", CooldownQBarBack, UDim2.new(0, 80, 0, 80), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), 1, true, "", 0, nil, "Q", "White", "Cyan", 1, true, "SourceSansBold")
| |
| 430 | local CooldownEBarBack = GUI("Frame", WeaponGUI, UDim2.new(0, 80, 0, 80), UDim2.new(0, 0, 0, 0), UDim2.new(0.93, 0, 0, 0), 0, true, "Really black", 0, nil)
| |
| 431 | local CooldownEBarBar = GUI("TextButton", CooldownEBarBack, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 5), 0.3, true, "Ghost grey", 0, nil, "", "White", "Cyan", 1, true, "SourceSansBold")
| |
| 432 | local CooldownEBarText = GUI("TextLabel", CooldownEBarBack, UDim2.new(0, 80, 0, 80), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), 1, true, "", 0, nil, "E", "White", "Cyan", 1, true, "SourceSansBold")
| |
| 433 | local CooldownFBarBack = GUI("Frame", WeaponGUI, UDim2.new(0, 80, 0, 80), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0.93, 0), 0, true, "Bright red", 0, nil)
| |
| 434 | local CooldownFBarBar = GUI("TextButton", CooldownFBarBack, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 5), 0.3, true, "Ghost grey", 0, nil, "", "White", "Cyan", 1, true, "SourceSansBold")
| |
| 435 | local CooldownFBarText = GUI("TextLabel", CooldownFBarBack, UDim2.new(0, 80, 0, 80), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), 1, true, "", 0, nil, "F", "White", "Cyan", 1, true, "SourceSansBold")
| |
| 436 | function MobileControlZ() | |
| 437 | if not Attacking and Cooldown1 == MaxCooldown1 and Mana.Value > 5 then | |
| 438 | Cooldown1 = 0 | |
| 439 | Mana.Value = Mana.Value - 5 | |
| 440 | Move1() | |
| 441 | end | |
| 442 | end | |
| 443 | function MobileControlX() | |
| 444 | if not Attacking and Cooldown2 == MaxCooldown2 and Mana.Value > 15 then | |
| 445 | Cooldown2 = 0 | |
| 446 | Mana.Value = Mana.Value - 15 | |
| 447 | Move2() | |
| 448 | end | |
| 449 | end | |
| 450 | function MobileControlC() | |
| 451 | if not Attacking and Cooldown3 == MaxCooldown3 and Mana.Value > 40 then | |
| 452 | Cooldown3 = 0 | |
| 453 | Mana.Value = Mana.Value - 40 | |
| 454 | Move3() | |
| 455 | end | |
| 456 | end | |
| 457 | function MobileControlV() | |
| 458 | if not Attacking and Cooldown4 == MaxCooldown4 and Mana.Value > 50 then | |
| 459 | Cooldown4 = 0 | |
| 460 | Mana.Value = Mana.Value - 50 | |
| 461 | Move4() | |
| 462 | end | |
| 463 | end | |
| 464 | function MobileControlQ() | |
| 465 | if not Attacking and Cooldown5 == MaxCooldown5 then | |
| 466 | Cooldown5 = 0 | |
| 467 | EvadeQ() | |
| 468 | end | |
| 469 | end | |
| 470 | function MobileControlE() | |
| 471 | if not Attacking and Cooldown6 == MaxCooldown6 then | |
| 472 | Cooldown6 = 0 | |
| 473 | EvadeE() | |
| 474 | end | |
| 475 | end | |
| 476 | Services = {
| |
| 477 | Workspace = game:GetService("Workspace"),
| |
| 478 | Debris = game:GetService("Debris")
| |
| 479 | } | |
| 480 | Heartbeat = Instance.new("BindableEvent", script)
| |
| 481 | Heartbeat.Name = "Heartbeat" | |
| 482 | script:WaitForChild("Heartbeat")
| |
| 483 | Frame = 0.033333333333333 | |
| 484 | TF = 0 | |
| 485 | AllowFrameLoss = false | |
| 486 | TossRemainder = false | |
| 487 | LastFrame = tick() | |
| 488 | script.Heartbeat:Fire() | |
| 489 | local HeartBeatIsNil = false | |
| 490 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 491 | if script:FindFirstChild("Heartbeat") == nil then
| |
| 492 | HeartBeatIsNil = true | |
| 493 | end | |
| 494 | if HeartBeatIsNil then | |
| 495 | return | |
| 496 | end | |
| 497 | TF = TF + s | |
| 498 | if Frame <= TF then | |
| 499 | if AllowFrameLoss then | |
| 500 | Heartbeat:Fire() | |
| 501 | LastFrame = tick() | |
| 502 | else | |
| 503 | for i = 1, math.floor(TF / Frame) do | |
| 504 | Heartbeat:Fire() | |
| 505 | LastFrame = tick() | |
| 506 | end | |
| 507 | end | |
| 508 | if TossRemainder then | |
| 509 | TF = 0 | |
| 510 | else | |
| 511 | TF = TF - Frame * math.floor(TF / Frame) | |
| 512 | end | |
| 513 | end | |
| 514 | end) | |
| 515 | function Wait2(WaitNumber) | |
| 516 | if WaitNumber == 0 or WaitNumber == nil then | |
| 517 | Heartbeat.Event:wait() | |
| 518 | else | |
| 519 | for i = 0, WaitNumber do | |
| 520 | Heartbeat.Event:wait() | |
| 521 | end | |
| 522 | end | |
| 523 | end | |
| 524 | local LazerEdge = Instance.new("Model", Character)
| |
| 525 | LazerEdge.Name = "Lazer Edge" | |
| 526 | local Color1 = "Medium stone grey" | |
| 527 | Handle = CreatePart(LazerEdge, "Handle", "Black", Vector3.new(2.32, 0.3, 0.4), "SmoothPlastic", 0, "Block") | |
| 528 | HandleMesh = CreateMesh(Handle, Vector3.new(1, 1, 1), "SpecialMesh", "Cylinder") | |
| 529 | HandleWeld = CreateWeld(Handle, CFrame.new(0, -1, 0) * CFrame.Angles(-1.57, 0, 1.57), CFrame.new(0, 0, 0), Handle, RightArm, "HandleToRightArm") | |
| 530 | Part1 = CreatePart(LazerEdge, "Part1", Color1, Vector3.new(0.2, 0.4, 0.5), "SmoothPlastic", 0, "Block") | |
| 531 | Part1Weld = CreateWeld(Part1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.06002414, 0, 0, 0.99999547, 0, 0, 0, 1, 0, 0, 0, 0.99999547), Handle, Part1, "Part1ToHandle") | |
| 532 | Part1Mesh = CreateMesh(Part1, Vector3.new(1, 1, 1), "SpecialMesh", "Cylinder") | |
| 533 | Part2 = CreatePart(LazerEdge, "Part2", "Cyan", Vector3.new(1, 0.5, 0.5), "Neon", 0.4, "Block") | |
| 534 | Part2Weld = CreateWeld(Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.68999255, 0, 0, 0.99999547, 0, 0, 0, 1, 0, 0, 0, 0.99999547), Handle, Part2, "Part2ToHandle") | |
| 535 | Part2Mesh = CreateMesh(Part2, Vector3.new(1, 1, 1), "SpecialMesh", "Cylinder") | |
| 536 | Part3 = CreatePart(LazerEdge, "Part3", "Cyan", Vector3.new(1, 0.4, 0.4), "Neon", 0.6, "Block") | |
| 537 | Part3Weld = CreateWeld(Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.56998444, 0, 0.289997101, 0.966275215, 0, -0.257493705, 0, 1, 0, 0.257493705, 0, 0.966275215), Handle, Part3, "Part3ToHandle") | |
| 538 | Part3Mesh = CreateMesh(Part3, Vector3.new(1, 1, 1), "SpecialMesh", "Cylinder") | |
| 539 | Part4 = CreatePart(LazerEdge, "Part4", Color1, Vector3.new(0.2, 0.6, 0.6), "SmoothPlastic", 0, "Block") | |
| 540 | Part4Weld = CreateWeld(Part4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.16001117, 0, 1.90734863E-6, 0.99999547, 0, 0, 0, 1, 0, 0, 0, 0.99999547), Handle, Part4, "Part4ToHandle") | |
| 541 | Part4Mesh = CreateMesh(Part4, Vector3.new(0.30000001192093, 1, 1), "SpecialMesh", "Cylinder") | |
| 542 | Part5 = CreatePart(LazerEdge, "Part5", "Cyan", Vector3.new(1, 0.45, 0.45), "Neon", 0.5, "Block") | |
| 543 | Part5Weld = CreateWeld(Part5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.61998653, 0, 0.0800037384, 0.982708693, 0, -0.185134172, 0, 1, 0, 0.185134172, 0, 0.982708693), Handle, Part5, "Part5ToHandle") | |
| 544 | Part5Mesh = CreateMesh(Part5, Vector3.new(1, 1, 1), "SpecialMesh", "Cylinder") | |
| 545 | Part6 = CreatePart(LazerEdge, "Part6", "Black", Vector3.new(0.31, 0.31, 0.31), "SmoothPlastic", 0, "Block") | |
| 546 | Part6Weld = CreateWeld(Part6, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.19999397, 0, -1.90734863E-6, 0.99999547, 0, 0, 0, 1, 0, 0, 0, 0.99999547), Handle, Part6, "Part6ToHandle") | |
| 547 | Part6Mesh = CreateMesh(Part6, Vector3.new(1, 1, 1), "SpecialMesh", "Sphere") | |
| 548 | Part7 = CreatePart(LazerEdge, "Part7", Color1, Vector3.new(0.5, 1.5, 0.5), "Plastic", 0, "Block") | |
| 549 | Part7Weld = CreateWeld(Part7, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.459974885, 0, -1.90734863E-6, 0, 0.99999547, 0, -1, 0, 0, 0, 0, 0.99999547), Handle, Part7, "Part7ToHandle") | |
| 550 | Part7Mesh = CreateMesh(Part7, Vector3.new(1, 1, 1), "SpecialMesh", "Head") | |
| 551 | Part8 = CreatePart(LazerEdge, "Part8", "Cyan", Vector3.new(1, 0.3, 0.3), "Neon", 0.8, "Block") | |
| 552 | Part8Weld = CreateWeld(Part8, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.28999233, 1.90734863E-6, 0.929994583, 0.878526747, 0, -0.477683723, 0, 1, 0, 0.477683723, 0, 0.878526747), Handle, Part8, "Part8ToHandle") | |
| 553 | Part8Mesh = CreateMesh(Part8, Vector3.new(1, 1, 1), "SpecialMesh", "Cylinder") | |
| 554 | Part9 = CreatePart(LazerEdge, "Part9", "Cyan", Vector3.new(1, 0.35, 0.35), "Neon", 0.7, "Block") | |
| 555 | Part9Weld = CreateWeld(Part9, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.46998024, 9.53674316E-7, 0.56999588, 0.929504633, 0, -0.368798256, 0, 1, 0, 0.368798256, 0, 0.929504514), Handle, Part9, "Part9ToHandle") | |
| 556 | Part9Mesh = CreateMesh(Part9, Vector3.new(1, 1, 1), "SpecialMesh", "Cylinder") | |
| 557 | Part10 = CreatePart(LazerEdge, "Part10", "Cyan", Vector3.new(1, 0.25, 0.25), "Neon", 0.9, "Block") | |
| 558 | Part10Weld = CreateWeld(Part10, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(6.18000221, 1.90734863E-6, 1.40998459, 0.872381926, 0, -0.488815755, 0, 1, 0, 0.488815755, 0, 0.872381926), Handle, Part10, "Part10ToHandle") | |
| 559 | Part10Mesh = CreateMesh(Part10, Vector3.new(1, 1, 1), "SpecialMesh", "Cylinder") | |
| 560 | Part11 = CreatePart(LazerEdge, "Part11", Color1, Vector3.new(0.2, 0.4, 0.5), "SmoothPlastic", 0, "Block") | |
| 561 | Part11Weld = CreateWeld(Part11, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.360021114, 1.90734863E-6, -1.90734863E-6, 0.99999547, 0, 0, 0, 1, 0, 0, 0, 0.99999547), Handle, Part11, "Part11ToHandle") | |
| 562 | Part11Mesh = CreateMesh(Part11, Vector3.new(1, 1, 1), "SpecialMesh", "Cylinder") | |
| 563 | RightArmReference = CreatePart(Character, "Right arm reference", "None", Vector3.new(), "SmoothPlastic", 1, "Block") | |
| 564 | RightArmReferenceWeld = CreateWeld(RightArmReference, CFrame.new(0, 1.5, 0), CFrame.new(0, 0, 0), RightArm, RightArmReference, "LeftArmReferenceToRightArm") | |
| 565 | LeftArmReference = CreatePart(Character, "Left arm reference", "None", Vector3.new(), "SmoothPlastic", 1, "Block") | |
| 566 | LeftArmReferenceWeld = CreateWeld(LeftArmReference, CFrame.new(0, 1.5, 0), CFrame.new(0, 0, 0), LeftArm, LeftArmReference, "LeftArmReferenceToLeftArm") | |
| 567 | TorsoReference = CreatePart(Character, "Torso reference", "None", Vector3.new(), "SmoothPlastic", 1, "Block") | |
| 568 | TorsoReferenceWeld = CreateWeld(TorsoReference, CFrame.new(0, 0, 0), CFrame.new(0, 0, 0), Torso, TorsoReference, "TorsoReferenceToTorsoArm") | |
| 569 | RootPartReference = CreatePart(Character, "Root part reference", "None", Vector3.new(), "SmoothPlastic", 1, "Block") | |
| 570 | RootPartReferenceWeld = CreateWeld(RootPartReference, CFrame.new(0, 0, 0), CFrame.new(0, 0, 0), RootPart, RootPartReference, "RootPartReferenceToRootPart") | |
| 571 | function Display(HitCharacter, DisplayText, DisplayType) | |
| 572 | if HitCharacter:FindFirstChild("Head") then
| |
| 573 | do | |
| 574 | local DamageShowingPart = Instance.new("Part", Services.Workspace)
| |
| 575 | DamageShowingPart.Name = "ShowDamage" | |
| 576 | DamageShowingPart.BrickColor = BrickColor.new("Crimson")
| |
| 577 | DamageShowingPart.Size = Vector3.new() | |
| 578 | DamageShowingPart.Material = "Neon" | |
| 579 | DamageShowingPart.Transparency = 1 | |
| 580 | local DisplayGui = Instance.new("BillboardGui", DamageShowingPart)
| |
| 581 | DisplayGui.Name = "Damage" | |
| 582 | DisplayGui.AlwaysOnTop = true | |
| 583 | DisplayGui.Size = UDim2.new(2, 0, 2, 0) | |
| 584 | local DisplayNumber = Instance.new("TextLabel", DisplayGui)
| |
| 585 | DisplayNumber.Size = UDim2.new(1, 0, 1, 0) | |
| 586 | DisplayNumber.TextTransparency = 1 | |
| 587 | DisplayNumber.TextStrokeTransparency = 1 | |
| 588 | DisplayNumber.BackgroundTransparency = 1 | |
| 589 | DisplayNumber.TextTransparency = 1 | |
| 590 | DisplayNumber.Font = "SourceSansBold" | |
| 591 | DisplayNumber.TextScaled = true | |
| 592 | local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
| |
| 593 | BodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 594 | BodyVelocity.Velocity = Vector3.new(0, 0.5, 0) | |
| 595 | if DisplayType == "Stun" then | |
| 596 | BodyVelocity.Velocity = Vector3.new(0, 0.1, 0) | |
| 597 | DisplayGui.Size = UDim2.new(5, 0, 5, 0) | |
| 598 | DisplayNumber.TextStrokeColor3 = BrickColor.Black().Color | |
| 599 | DisplayNumber.TextColor3 = BrickColor.new("Bright yellow").Color
| |
| 600 | DisplayNumber.Text = "Stunned!" | |
| 601 | DamageShowingPart.Position = HitCharacter.Head.Position + Vector3.new(0, 5, 0) | |
| 602 | end | |
| 603 | if DisplayType == "Damage" then | |
| 604 | DisplayNumber.TextStrokeColor3 = BrickColor.Black().Color | |
| 605 | DisplayNumber.TextColor3 = BrickColor.new("Really red").Color
| |
| 606 | DisplayNumber.Text = "-" .. DisplayText | |
| 607 | DamageShowingPart.Position = HitCharacter.Head.Position + Vector3.new(math.random(-1, 1), 5, math.random(-1, 1)) | |
| 608 | end | |
| 609 | coroutine.resume(coroutine.create(function() | |
| 610 | while DisplayNumber.TextTransparency > 0 do | |
| 611 | wait() | |
| 612 | DisplayNumber.TextStrokeTransparency = DisplayNumber.BackgroundTransparency - 0.1 | |
| 613 | DisplayNumber.TextTransparency = DisplayNumber.TextTransparency - 0.1 | |
| 614 | end | |
| 615 | AddVFX("Display", DamageShowingPart, 0.05)
| |
| 616 | end)) | |
| 617 | Services.Debris:AddItem(DamageShowingPart, 10) | |
| 618 | end | |
| 619 | end | |
| 620 | end | |
| 621 | function DoDamage(Hit, HitCharacter, Type, MinDamage, MaxDamage, PartLook, Knockback, SFX, SFXPitch, Delay, PartLook, Effect, Stat, StatsDecreaseNumber, StatsDecreaseDuration) | |
| 622 | if Hit.Health == 0 or HitCharacter:FindFirstChild(Player.Name) then | |
| 623 | return | |
| 624 | end | |
| 625 | SoundEffect(HitCharacter.Torso, SFX, 1, SFXPitch, false) | |
| 626 | local DelayDebounce = Instance.new("Folder", HitCharacter)
| |
| 627 | DelayDebounce.Name = Player.Name | |
| 628 | Services.Debris:AddItem(DelayDebounce, Delay) | |
| 629 | local Damage = math.random(MinDamage, MaxDamage) * Attack.Value | |
| 630 | local HitPlayer = game.Players:FindFirstChild(HitCharacter.Name) | |
| 631 | local HitStats = HitCharacter:FindFirstChild("MyStats")
| |
| 632 | local EffectsFolder = HitCharacter:FindFirstChild("Effects")
| |
| 633 | HitCharacter.Torso.Velocity = PartLook.CFrame.lookVector * Knockback | |
| 634 | if HitStats then | |
| 635 | if Stat ~= nil then | |
| 636 | local Decrease = Instance.new("NumberValue", HitStats.Debuffs)
| |
| 637 | Decrease.Value = StatsDecreaseNumber | |
| 638 | Decrease.Name = Stat | |
| 639 | Services.Debris:AddItem(Decrease, StatsDecreaseDuration) | |
| 640 | end | |
| 641 | if Effect == "Stun" then | |
| 642 | EffectsFolder.StunEffect.Value = true | |
| 643 | EffectsFolder.StunEffect.Stun.Value = 1001 | |
| 644 | end | |
| 645 | end | |
| 646 | if HitStats and HitStats:IsA("Folder") then
| |
| 647 | Damage = Damage / HitStats.Defence.Value | |
| 648 | end | |
| 649 | coroutine.resume(coroutine.create(function() | |
| 650 | wait() | |
| 651 | Hit:TakeDamage(Damage) | |
| 652 | Display(HitCharacter, Damage, "Damage") | |
| 653 | end)) | |
| 654 | end | |
| 655 | function ValidateDamage(Part, Type, Distance, MinDamage, MaxDamage, PartLook, Knockback, SFX, SFXPitch, Delay, Effect, Stat, StatsDecreaseNumber, StatsDecreaseDuration) | |
| 656 | for ChildrenNumber, Children in pairs(Services.Workspace:children()) do | |
| 657 | if Children ~= Character and Children:FindFirstChild("Humanoid") and Children:FindFirstChild("Head") then
| |
| 658 | local HitHead = Children.Head | |
| 659 | local TargetPosition = HitHead.Position - Part.Position | |
| 660 | local Magnitude = TargetPosition.magnitude | |
| 661 | if Distance > Magnitude then | |
| 662 | local Hit = Children.Humanoid | |
| 663 | local HitCharacter = Children | |
| 664 | DoDamage(Hit, HitCharacter, Type, MinDamage, MaxDamage, PartLook, Knockback, SFX, SFXPitch, Delay, PartLook, Effect, Stat, StatsDecreaseNumber, StatsDecreaseDuration) | |
| 665 | end | |
| 666 | end | |
| 667 | end | |
| 668 | end | |
| 669 | function Attack1() | |
| 670 | Attacking = true | |
| 671 | if not Fury then | |
| 672 | for i = 1, 8 do | |
| 673 | Wait2() | |
| 674 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 675 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, -1), 0.3) | |
| 676 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(2.6, 0, 0.2), 0.3) | |
| 677 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.5, 0, -0.2), 0.3) | |
| 678 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 679 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 680 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, 1), 0.3) | |
| 681 | end | |
| 682 | SoundEffect(Torso, 247718224, 1, 1.044, false) | |
| 683 | for i = 1, 8 do | |
| 684 | Wait2() | |
| 685 | ValidateDamage(Part2, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 686 | ValidateDamage(Part3, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 687 | ValidateDamage(Part5, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 688 | ValidateDamage(Part8, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 689 | ValidateDamage(Part9, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 690 | ValidateDamage(Part10, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 691 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, -1), 0.3) | |
| 692 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 1), 0.3) | |
| 693 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.4, 0) * CFrame.Angles(0.3, 0, -0.5), 0.3) | |
| 694 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-0.5, 0, -0.2), 0.3) | |
| 695 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, 0.7) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, -1, 0), 0.3) | |
| 696 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, -0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, -1, 0), 0.3) | |
| 697 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, 1), 0.3) | |
| 698 | end | |
| 699 | else | |
| 700 | for i = 1, 3 do | |
| 701 | Wait2() | |
| 702 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(1, -1, 0.3), 0.5) | |
| 703 | end | |
| 704 | for i = 1, 8 do | |
| 705 | Wait2() | |
| 706 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 707 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.2), 0.3) | |
| 708 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(0.2, 0.5, -0.8) * CFrame.Angles(2.6, 0, -1.3), 0.3) | |
| 709 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.5, 0, -0.2), 0.3) | |
| 710 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 711 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 712 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, 1.57), 0.3) | |
| 713 | end | |
| 714 | SoundEffect(Torso, 247718224, 1, 1.044, false) | |
| 715 | for i = 1, 8 do | |
| 716 | Wait2() | |
| 717 | ValidateDamage(Part2, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 718 | ValidateDamage(Part3, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 719 | ValidateDamage(Part5, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 720 | ValidateDamage(Part8, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 721 | ValidateDamage(Part9, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 722 | ValidateDamage(Part10, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 723 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 724 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1), 0.3) | |
| 725 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.2, 0.4, 0.2) * CFrame.Angles(-0.1, -0.2, 0.6), 0.3) | |
| 726 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-0.5, 0, -0.4), 0.3) | |
| 727 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.7) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 728 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 729 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-2, 0, 1.57), 0.3) | |
| 730 | end | |
| 731 | end | |
| 732 | Attacking = false | |
| 733 | end | |
| 734 | function Attack2() | |
| 735 | Attacking = true | |
| 736 | if not Fury then | |
| 737 | for i = 1, 8 do | |
| 738 | Wait2() | |
| 739 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 740 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, -1), 0.3) | |
| 741 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0.3, -0.6, 1.6), 0.3) | |
| 742 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.5, 0, -0.2), 0.3) | |
| 743 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 744 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 745 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 746 | end | |
| 747 | SoundEffect(Torso, 247718230, 1, 1.276, false) | |
| 748 | for i = 1, 10 do | |
| 749 | Wait2() | |
| 750 | ValidateDamage(Part2, "Normal", 3, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 751 | ValidateDamage(Part3, "Normal", 3, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 752 | ValidateDamage(Part5, "Normal", 3, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 753 | ValidateDamage(Part8, "Normal", 3, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 754 | ValidateDamage(Part9, "Normal", 3, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 755 | ValidateDamage(Part10, "Normal", 3, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 756 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, -1.6), 0.3) | |
| 757 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 1, 0) * CFrame.Angles(0.3, 0, 1.6), 0.3) | |
| 758 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1, 0.5, -0.5) * CFrame.Angles(0, 2.3, 1.6), 0.3) | |
| 759 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-0.5, 0, -0.4), 0.3) | |
| 760 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.5, -1, 0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, -1.6, 0), 0.3) | |
| 761 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.5, -1, -0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, -1.6, 0), 0.3) | |
| 762 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 763 | end | |
| 764 | else | |
| 765 | for i = 1, 8 do | |
| 766 | Wait2() | |
| 767 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 768 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, -1), 0.3) | |
| 769 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0.3, -0.6, 1.6), 0.3) | |
| 770 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.5, 0, -0.2), 0.3) | |
| 771 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 772 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 773 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 774 | end | |
| 775 | SoundEffect(Torso, 247718230, 1, 1.276, false) | |
| 776 | for i = 1, 10 do | |
| 777 | Wait2() | |
| 778 | ValidateDamage(Part2, "Normal", 3, 6, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 779 | ValidateDamage(Part3, "Normal", 3, 6, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 780 | ValidateDamage(Part5, "Normal", 3, 6, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 781 | ValidateDamage(Part8, "Normal", 3, 6, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 782 | ValidateDamage(Part9, "Normal", 3, 6, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 783 | ValidateDamage(Part10, "Normal", 3, 6, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 784 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, -1.6), 0.3) | |
| 785 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 1, 0) * CFrame.Angles(0.3, 0, 1.6), 0.3) | |
| 786 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1, 0.5, -0.5) * CFrame.Angles(0, 2.3, 1.6), 0.3) | |
| 787 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-0.5, 0, -0.4), 0.3) | |
| 788 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.5, -1, 0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, -1.6, 0), 0.3) | |
| 789 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.5, -1, -0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, -1.6, 0), 0.3) | |
| 790 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 791 | end | |
| 792 | end | |
| 793 | Attacking = false | |
| 794 | end | |
| 795 | function Attack3() | |
| 796 | Attacking = true | |
| 797 | if not Fury then | |
| 798 | CanAnimate = false | |
| 799 | for i = 1, 12 do | |
| 800 | Wait2() | |
| 801 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 802 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 803 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 804 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0.3, 2) * CFrame.Angles(0, 0, -1), 0.3) | |
| 805 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(3.2, 0, 0.2), 0.3) | |
| 806 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.5, 0, -0.2), 0.3) | |
| 807 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, -0.5), 0.3) | |
| 808 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, 0.5) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0.5), 0.3) | |
| 809 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, 1.57), 0.3) | |
| 810 | end | |
| 811 | SoundEffect(Torso, 247718230, 1, 1.6, false) | |
| 812 | for i = 1, 12 do | |
| 813 | Wait2() | |
| 814 | ValidateDamage(Part2, "Normal", 3, 4, 7, RootPart, 5, 247718107, 1.4, 0.3, nil, "Movement", 0.1, 0.5) | |
| 815 | ValidateDamage(Part3, "Normal", 3, 4, 7, RootPart, 5, 247718107, 1.4, 0.3, nil, "Movement", 0.1, 0.5) | |
| 816 | ValidateDamage(Part5, "Normal", 3, 4, 7, RootPart, 5, 247718107, 1.4, 0.3, nil, "Movement", 0.1, 0.5) | |
| 817 | ValidateDamage(Part8, "Normal", 3, 4, 7, RootPart, 5, 247718107, 1.4, 0.3, nil, "Movement", 0.1, 0.5) | |
| 818 | ValidateDamage(Part9, "Normal", 3, 4, 7, RootPart, 5, 247718107, 1.4, 0.3, nil, "Movement", 0.1, 0.5) | |
| 819 | ValidateDamage(Part10, "Normal", 3, 4, 7, RootPart, 5, 247718107, 1.4, 0.3, nil, "Movement", 0.1, 0.5) | |
| 820 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 821 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 822 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, -1.6), 0.3) | |
| 823 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, -2, -0.5) * CFrame.Angles(0.3, 0, 1.6), 0.3) | |
| 824 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0.2, 0, 0.2), 0.3) | |
| 825 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.3, 0.4, 0.2) * CFrame.Angles(-0.5, 0, -0.2), 0.3) | |
| 826 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, 0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, -1.6, -0.5), 0.3) | |
| 827 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, -0.5) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, -1.6, 0.5), 0.3) | |
| 828 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0.5, -0.8, 0) * CFrame.Angles(-1.57, 0, 0), 0.3) | |
| 829 | end | |
| 830 | CanAnimate = true | |
| 831 | else | |
| 832 | for i = 1, 8 do | |
| 833 | Wait2() | |
| 834 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 835 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 2, 0) * CFrame.Angles(0.3, 0, -1), 0.3) | |
| 836 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(0.4, 0.5, -1) * CFrame.Angles(3.2, 3.8, 1.6), 0.3) | |
| 837 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-0.5, 0, -0.2), 0.3) | |
| 838 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 839 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 840 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 841 | end | |
| 842 | SoundEffect(Torso, 247718230, 1, 1.6, false) | |
| 843 | for i = 1, 8 do | |
| 844 | Wait2() | |
| 845 | ValidateDamage(Part2, "Normal", 3, 7, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 846 | ValidateDamage(Part3, "Normal", 3, 7, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 847 | ValidateDamage(Part5, "Normal", 3, 7, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 848 | ValidateDamage(Part8, "Normal", 3, 7, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 849 | ValidateDamage(Part9, "Normal", 3, 7, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 850 | ValidateDamage(Part10, "Normal", 3, 7, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 851 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 852 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, -1), 0.3) | |
| 853 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(3.2, 0.5, 1.6), 0.3) | |
| 854 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.8, 0, -0.2), 0.3) | |
| 855 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 856 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 857 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 858 | end | |
| 859 | end | |
| 860 | Attacking = false | |
| 861 | end | |
| 862 | function Attack4() | |
| 863 | Attacking = true | |
| 864 | if not Fury then | |
| 865 | CanAnimate = false | |
| 866 | for i = 1, 8 do | |
| 867 | Wait2() | |
| 868 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 869 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 870 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 871 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, -1), 0.3) | |
| 872 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0, -0.6, 1.6), 0.3) | |
| 873 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.5, 0, -0.2), 0.3) | |
| 874 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 875 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 876 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 877 | end | |
| 878 | SoundEffect(Torso, 247718248, 1, 1, false) | |
| 879 | for i = 1, 20 do | |
| 880 | Wait2() | |
| 881 | ValidateDamage(Part2, "Normal", 5, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 882 | ValidateDamage(Part3, "Normal", 5, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 883 | ValidateDamage(Part5, "Normal", 5, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 884 | ValidateDamage(Part8, "Normal", 5, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 885 | ValidateDamage(Part9, "Normal", 5, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 886 | ValidateDamage(Part10, "Normal", 5, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 887 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 888 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 889 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 0), 0.3) | |
| 890 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, -2, 0) * CFrame.Angles(0.3, 0, i / 2), 0.4) | |
| 891 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1, 0.5, -0.5) * CFrame.Angles(0, 2.3, 1.6), 0.3) | |
| 892 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-0.5, 0, -0.4), 0.3) | |
| 893 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.5, -1, 0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(-0.5, -1.6, 0), 0.3) | |
| 894 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.5, -1, -0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(-0.5, -1.6, 0), 0.3) | |
| 895 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 896 | end | |
| 897 | CanAnimate = true | |
| 898 | else | |
| 899 | CanAnimate = false | |
| 900 | for i = 1, 8 do | |
| 901 | Wait2() | |
| 902 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 903 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 904 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 905 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, -1), 0.3) | |
| 906 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0, -0.6, 1.6), 0.3) | |
| 907 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.5, 0, -0.2), 0.3) | |
| 908 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 909 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 910 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 911 | end | |
| 912 | SoundEffect(Torso, 247718248, 1, 1, false) | |
| 913 | for i = 1, 20 do | |
| 914 | Wait2() | |
| 915 | ValidateDamage(Part2, "Normal", 5, 6, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 916 | ValidateDamage(Part3, "Normal", 5, 6, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 917 | ValidateDamage(Part5, "Normal", 5, 6, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 918 | ValidateDamage(Part8, "Normal", 5, 6, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 919 | ValidateDamage(Part9, "Normal", 5, 6, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 920 | ValidateDamage(Part10, "Normal", 5, 6, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 921 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 922 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 923 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 0), 0.3) | |
| 924 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, -2, 2) * CFrame.Angles(0, 1.6, i / 2), 0.4) | |
| 925 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1, 0.5, -0.5) * CFrame.Angles(0, 2.3, 1.6), 0.3) | |
| 926 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-0.5, 0, -0.4), 0.3) | |
| 927 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.5, -1, 0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(-0.5, -1.6, 0), 0.3) | |
| 928 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.5, -1, -0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(-0.5, -1.6, 0), 0.3) | |
| 929 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 930 | end | |
| 931 | CanAnimate = true | |
| 932 | end | |
| 933 | Attacking = false | |
| 934 | end | |
| 935 | function EvadeE() | |
| 936 | Attacking = true | |
| 937 | CanAnimate = false | |
| 938 | SoundEffect(Torso, 320557563, 1, 1, false) | |
| 939 | if not Fury then | |
| 940 | for i = 1, 10 do | |
| 941 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "Galla spin!", "Blue") |
| 941 | + | |
| 942 | BlockVFX(Torso.CFrame, "White", "Neon", 0, 0.05, 1, 1, 1, 1, 1, 1) | |
| 943 | CircleVFX(Torso.CFrame, "Cyan", "Neon", 0.3, 0.05, 1, 1, 1, 3, 3, 3) | |
| 944 | RootPart.Velocity = Torso.CFrame.lookVector * -50 | |
| 945 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 1) | |
| 946 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 1) | |
| 947 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0.5, 0, 0), 0.5) | |
| 948 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 1.6), 0.5) | |
| 949 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0.5, 0, 0.2), 0.5) | |
| 950 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.5, 0, -0.2), 0.5) | |
| 951 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 0, 0.5), 0.5) | |
| 952 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 0, -0.5), 0.5) | |
| 953 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.5) | |
| 954 | end | |
| 955 | else | |
| 956 | for i = 1, 10 do | |
| 957 | Wait2() | |
| 958 | RootPart.Velocity = RootPart.CFrame.lookVector * -100 | |
| 959 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 1) | |
| 960 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 1) | |
| 961 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0.5, 0, 0), 0.5) | |
| 962 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(-i / 2, 0, 1.6), 0.5) | |
| 963 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, ". . .", "Red") |
| 963 | + | |
| 964 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0, 0, -2.6), 0.5) | |
| 965 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(-0.2, 0, 0), 0.5) | |
| 966 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(-0.2, 0, 0), 0.5) | |
| 967 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.5) | |
| 968 | end | |
| 969 | end | |
| 970 | CanAnimate = true | |
| 971 | Attacking = false | |
| 972 | end | |
| 973 | function EvadeQ() | |
| 974 | Attacking = true | |
| 975 | CanAnimate = false | |
| 976 | SoundEffect(Torso, 320557563, 1, 1, false) | |
| 977 | if not Fury then | |
| 978 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "C h a o s c u t .", "Red") |
| 978 | + | |
| 979 | Wait2() | |
| 980 | BlockVFX(Torso.CFrame, "White", "Neon", 0, 0.05, 1, 1, 1, 1, 1, 1) | |
| 981 | CircleVFX(Torso.CFrame, "Cyan", "Neon", 0.3, 0.05, 1, 1, 1, 3, 3, 3) | |
| 982 | RootPart.Velocity = Torso.CFrame.lookVector * -50 | |
| 983 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 1) | |
| 984 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 1) | |
| 985 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0.5, 0, 0), 0.5) | |
| 986 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.6), 0.5) | |
| 987 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0.5, 0, 0.2), 0.5) | |
| 988 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.5, 0, -0.2), 0.5) | |
| 989 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 0, 0.5), 0.5) | |
| 990 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 0, -0.5), 0.5) | |
| 991 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.5) | |
| 992 | end | |
| 993 | else | |
| 994 | for i = 1, 10 do | |
| 995 | Wait2() | |
| 996 | RootPart.Velocity = RootPart.CFrame.lookVector * 100 | |
| 997 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 1) | |
| 998 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 1) | |
| 999 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0.5, 0, 0), 0.5) | |
| 1000 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(i / 2, 0, -1.6), 0.5) | |
| 1001 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0, 0, 2.6), 0.5) | |
| 1002 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0, 0, -2.6), 0.5) | |
| 1003 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(-0.2, 0, 0), 0.5) | |
| 1004 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "...", "Blue") |
| 1004 | + | |
| 1005 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.5) | |
| 1006 | end | |
| 1007 | end | |
| 1008 | CanAnimate = true | |
| 1009 | Attacking = false | |
| 1010 | end | |
| 1011 | function Move1() | |
| 1012 | Attacking = true | |
| 1013 | if not Fury then | |
| 1014 | CanAnimate = false | |
| 1015 | for i = 1, 8 do | |
| 1016 | Wait2() | |
| 1017 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "Star cutter!", "Blue") |
| 1017 | + | |
| 1018 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 1019 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 1020 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 1, 3) * CFrame.Angles(0, 3.2, -1), 0.3) | |
| 1021 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0, -0.6, 1.6), 0.3) | |
| 1022 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.5, 0, -0.2), 0.3) | |
| 1023 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1024 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1025 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 1026 | end | |
| 1027 | game.Chat:Chat(owner.Head, "Galla spin!", "Blue") | |
| 1028 | SoundEffect(Torso, 247718248, 1, 1, false) | |
| 1029 | for i = 1, 20 do | |
| 1030 | Wait2() | |
| 1031 | ValidateDamage(Part2, "Normal", 5, 4, 6, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1032 | ValidateDamage(Part3, "Normal", 5, 4, 6, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1033 | ValidateDamage(Part5, "Normal", 5, 4, 6, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1034 | ValidateDamage(Part8, "Normal", 5, 4, 6, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1035 | ValidateDamage(Part9, "Normal", 5, 4, 6, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1036 | ValidateDamage(Part10, "Normal", 5, 4, 6, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1037 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 1038 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 1039 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 0), 0.3) | |
| 1040 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, -2, -1) * CFrame.Angles(0, 3.2, i / 2), 0.4) | |
| 1041 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1, 0.5, -0.5) * CFrame.Angles(0, 2.3, 1.6), 0.3) | |
| 1042 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, ". . .", "Red") |
| 1042 | + | |
| 1043 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.5, -1, 0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(-0.5, -1.6, 0), 0.3) | |
| 1044 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.5, -1, -0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(-0.5, -1.6, 0), 0.3) | |
| 1045 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 1046 | end | |
| 1047 | CanAnimate = true | |
| 1048 | else | |
| 1049 | game.Chat:Chat(owner.Character.Head, ". . .", "Red") | |
| 1050 | for i = 1, 20 do | |
| 1051 | Wait2() | |
| 1052 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 1053 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.2), 0.3) | |
| 1054 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "C h a o s w a v e .", "Red") |
| 1054 | + | |
| 1055 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.5, 0, -0.2), 0.3) | |
| 1056 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1057 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1058 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, 1.57), 0.3) | |
| 1059 | end | |
| 1060 | SoundEffect(Torso, 247718224, 1, 0.8, false) | |
| 1061 | RootPartReferenceWeld.C0 = CFrame.new(1, -1, 5) * CFrame.Angles(0, 0, 0.8) | |
| 1062 | CircleVFX(RootPartReference.CFrame, "Bright red", "Neon", 0, 0.01, 3, 3, 3, 1, -0.001, 0.01) | |
| 1063 | ValidateDamage(RootPartReference, "Normal", 10, 10, 13, RootPart, 5, 247718107, 1.4, 0.3, "Defence", 0.25, 3) | |
| 1064 | game.Chat:Chat(owner.Character.Head, "C h a o s c u t .", "Red") | |
| 1065 | for i = 1, 50 do | |
| 1066 | Wait2() | |
| 1067 | ValidateDamage(Part2, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1068 | ValidateDamage(Part3, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1069 | ValidateDamage(Part5, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1070 | ValidateDamage(Part8, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1071 | ValidateDamage(Part9, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1072 | ValidateDamage(Part10, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1073 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 1074 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1), 0.3) | |
| 1075 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.2, 0.4, 0.2) * CFrame.Angles(-0.1, -0.2, 0.6), 0.3) | |
| 1076 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-0.5, 0, -0.4), 0.3) | |
| 1077 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.7) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1078 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1079 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-2, 0, 1.57), 0.3) | |
| 1080 | end | |
| 1081 | end | |
| 1082 | Attacking = false | |
| 1083 | end | |
| 1084 | function Move2() | |
| 1085 | Attacking = true | |
| 1086 | CanResumeControl = false | |
| 1087 | RemoveCharacterControl() | |
| 1088 | if not Fury then | |
| 1089 | local Point1 = Torso.Position | |
| 1090 | game.Chat:Chat(owner.Character.Head, "...", "Blue") | |
| 1091 | for i = 1, 15 do | |
| 1092 | Wait2() | |
| 1093 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 1094 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 1095 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 1096 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, -0.5) * CFrame.Angles(0, 0, -1), 0.3) | |
| 1097 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(1.6, 0, -0.6), 0.3) | |
| 1098 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0, -0.6, -1.6), 0.3) | |
| 1099 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "Charge...", "Blue") |
| 1099 | + | |
| 1100 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, 0.5) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0.5), 0.3) | |
| 1101 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0) * CFrame.Angles(-1.8, 0, 0), 0.3) | |
| 1102 | end | |
| 1103 | game.Chat:Chat(owner.Character.Head, "Star cutter!", "Blue") | |
| 1104 | SoundEffect(Torso, 247718230, 1, 1.6, false) | |
| 1105 | RootPart.Velocity = RootPart.CFrame.lookVector * 2000 | |
| 1106 | TorsoReferenceWeld.C0 = CFrame.new(-15, 0, -9) | |
| 1107 | wait() | |
| 1108 | RootPart.Velocity = Vector3.new(0, 0, 0) | |
| 1109 | local Point2 = Torso.Position | |
| 1110 | local Magnitude = Point1 - Point2.magnitude | |
| 1111 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "Tactical blast!", "Blue") |
| 1111 | + | |
| 1112 | Hitbox.Size = Vector3.new(Magnitude, 0, 0) | |
| 1113 | ValidateDamage(Hitbox, "Normal", 20, 8, 12, RootPart, 5, 247718107, 1.4, 0.3, nil, "Defence", 0.2, 5) | |
| 1114 | for i = 1, 15 do | |
| 1115 | Wait2() | |
| 1116 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 1117 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 1118 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, -1), 0.3) | |
| 1119 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, -0.5) * CFrame.Angles(0, 0, 1), 0.3) | |
| 1120 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, -0.5) * CFrame.Angles(1.6, 0, 0.6), 0.3) | |
| 1121 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-0.5, 0, -0.8), 0.3) | |
| 1122 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, -1, -0.5), 0.3) | |
| 1123 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, -0.5) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, -1, 0.5), 0.3) | |
| 1124 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0) * CFrame.Angles(-1.57, -0.5, 0), 0.3) | |
| 1125 | end | |
| 1126 | TorsoReferenceWeld.C0 = CFrame.new(0, 0, 0) | |
| 1127 | else | |
| 1128 | game.Chat:Chat(owner.Character.Head, ". . .", "Red") | |
| 1129 | RootPartReferenceWeld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, 1.6) | |
| 1130 | for i = 1, 50 do | |
| 1131 | Wait2() | |
| 1132 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 1133 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 2, 0) * CFrame.Angles(0.3, 0, -1), 0.3) | |
| 1134 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(0.4, 0.5, -1) * CFrame.Angles(3.2, 3.8, 1.6), 0.3) | |
| 1135 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "C h a o s c o u n t e r a t t a c k .", "Red") |
| 1135 | + | |
| 1136 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1137 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1138 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 1139 | end | |
| 1140 | game.Chat:Chat(owner.Character.Head, "C h a o s w a v e .", "Red") | |
| 1141 | SoundEffect(Torso, 247718230, 1, 1.6, false) | |
| 1142 | do | |
| 1143 | local WaveReference = RootPartReference:Clone() | |
| 1144 | WaveReference.Parent = Services.Workspace | |
| 1145 | WaveReference:ClearAllChildren() | |
| 1146 | Services.Debris:AddItem(WaveReference, 2) | |
| 1147 | local BodyVelocity = Instance.new("BodyVelocity", WaveReference)
| |
| 1148 | BodyVelocity.Velocity = RootPart.CFrame.lookVector * 100 | |
| 1149 | BodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 1150 | coroutine.resume(coroutine.create(function() | |
| 1151 | while WaveReference.Parent == Services.Workspace do | |
| 1152 | Wait2() | |
| 1153 | ValidateDamage(WaveReference, "Normal", 10, 10, 16, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1154 | SlashVFX(WaveReference.CFrame, "Bright red", "Neon", 0, 0.1, 0.001, 0.1, 0.1, 0, 0.001, 0.001) | |
| 1155 | end | |
| 1156 | end)) | |
| 1157 | for i = 1, 50 do | |
| 1158 | Wait2() | |
| 1159 | ValidateDamage(Part2, "Normal", 2, 7, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1160 | ValidateDamage(Part3, "Normal", 2, 7, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1161 | ValidateDamage(Part5, "Normal", 2, 7, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1162 | ValidateDamage(Part8, "Normal", 2, 7, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1163 | ValidateDamage(Part9, "Normal", 2, 7, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1164 | ValidateDamage(Part10, "Normal", 2, 7, 8, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1165 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0.5, 0, 1), 0.3) | |
| 1166 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, -1), 0.3) | |
| 1167 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(3.2, 0.5, 1.6), 0.3) | |
| 1168 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.8, 0, -0.2), 0.3) | |
| 1169 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1170 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1171 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 1172 | end | |
| 1173 | end | |
| 1174 | end | |
| 1175 | RemoveCharacterControl() | |
| 1176 | CanResumeControl = true | |
| 1177 | Attacking = false | |
| 1178 | end | |
| 1179 | function Move3() | |
| 1180 | Attacking = true | |
| 1181 | if not Fury then | |
| 1182 | CanResumeControl = false | |
| 1183 | RemoveCharacterControl() | |
| 1184 | SoundEffect(RootPart, 588738544, 10, 1, false) | |
| 1185 | game.Chat:Chat(owner.Character.Head, "Charge...", "Blue") | |
| 1186 | for i = 1, 15 do | |
| 1187 | wait() | |
| 1188 | BlockVFX(LeftArmReference.CFrame, "Cyan", "Neon", 0, 0.05, 1, 1, 1, 0.5, 0.5, 0.5) | |
| 1189 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, -1), 0.2) | |
| 1190 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 1), 0.2) | |
| 1191 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0.2, 0, 0.2), 0.2) | |
| 1192 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.3, 0.8, 0) * CFrame.Angles(0, 0, -2.6), 0.2) | |
| 1193 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, 0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, -1, 0), 0.2) | |
| 1194 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, -0.5) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, -1, 0), 0.2) | |
| 1195 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.2) | |
| 1196 | end | |
| 1197 | game.Chat:Chat(owner.Character.Head, "Tactical blast!", "Blue") | |
| 1198 | for i = 1, 8 do | |
| 1199 | wait() | |
| 1200 | BlockVFX(LeftArmReference.CFrame, "Cyan", "Neon", 0, 0.05, 1, 1, 1, 0.5, 0.5, 0.5) | |
| 1201 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 1202 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1), 0.3) | |
| 1203 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.6, 0) * CFrame.Angles(-0.3, 0, 0.2), 0.3) | |
| 1204 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.3, 0.5, -0.3) * CFrame.Angles(0.5, 0, 0.5), 0.3) | |
| 1205 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1206 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.5) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1207 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 1208 | end | |
| 1209 | local TouchedFloor, WavePosition = FindPartOnRay(LeftArmReference.Position, CFrame.new(LeftArmReference.Position, LeftArmReference.Position - Vector3.new(0, 1, 0)).lookVector, 200, Character) | |
| 1210 | SoundEffect(RootPart, 588735437, 10, 1, false) | |
| 1211 | SoundEffect(RootPart, 588736245, 10, 1, false) | |
| 1212 | CircleVFX(LeftArmReference.CFrame, "Cyan", "Neon", 0, 0.05, 10, 10, 10, 10, 10, 10) | |
| 1213 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "...", "Blue") |
| 1213 | + | |
| 1214 | WaveVFX(CFrame.new(WavePosition), "Cyan", "Neon", 0, 0.05, 1, 1.5, 1, 2, 0, 2) | |
| 1215 | end | |
| 1216 | ValidateDamage(RootPart, "Normal", 20, 10, 14, RootPart, 5, 0, 1.4, 0.3, "Stun") | |
| 1217 | ValidateDamage(RootPart, "Normal", 45, 6, 8, RootPart, 5, 0, 1.4, 0.3) | |
| 1218 | RemoveCharacterControl() | |
| 1219 | CanResumeControl = true | |
| 1220 | else | |
| 1221 | game.Chat:Chat(owner.Character.Head, "C h a o s c o u n t e r a t t a c k .", "Red") | |
| 1222 | for i = 1, 5 do | |
| 1223 | for i = 1, 5 do | |
| 1224 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "X...", "Blue") |
| 1224 | + | |
| 1225 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 1226 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, -1), 0.3) | |
| 1227 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(2.6, 0, 0.2), 0.3) | |
| 1228 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.5, 0, -0.2), 0.3) | |
| 1229 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1230 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1231 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, 1), 0.3) | |
| 1232 | end | |
| 1233 | SoundEffect(Torso, 247718224, 1, 1.044, false) | |
| 1234 | for i = 1, 5 do | |
| 1235 | Wait2() | |
| 1236 | ValidateDamage(Part2, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1237 | ValidateDamage(Part3, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1238 | ValidateDamage(Part5, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1239 | ValidateDamage(Part8, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1240 | ValidateDamage(Part9, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1241 | ValidateDamage(Part10, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1242 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, -1), 0.3) | |
| 1243 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 1), 0.3) | |
| 1244 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.4, 0) * CFrame.Angles(0.3, 0, -0.5), 0.3) | |
| 1245 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-0.5, 0, -0.2), 0.3) | |
| 1246 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, 0.7) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, -1, 0), 0.3) | |
| 1247 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, -0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, -1, 0), 0.3) | |
| 1248 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, 1), 0.3) | |
| 1249 | end | |
| 1250 | for i = 1, 3 do | |
| 1251 | Wait2() | |
| 1252 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(1, -1, 0.3), 0.5) | |
| 1253 | end | |
| 1254 | for i = 1, 5 do | |
| 1255 | Wait2() | |
| 1256 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 1257 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.2), 0.3) | |
| 1258 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(0.2, 0.5, -0.8) * CFrame.Angles(2.6, 0, -1.3), 0.3) | |
| 1259 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "Cut!", "Blue") |
| 1259 | + | |
| 1260 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1261 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1262 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, 1.57), 0.3) | |
| 1263 | end | |
| 1264 | SoundEffect(Torso, 247718224, 1, 1.044, false) | |
| 1265 | for i = 1, 5 do | |
| 1266 | Wait2() | |
| 1267 | ValidateDamage(Part2, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1268 | ValidateDamage(Part3, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1269 | ValidateDamage(Part5, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1270 | ValidateDamage(Part8, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1271 | ValidateDamage(Part9, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1272 | ValidateDamage(Part10, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1273 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 1274 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1), 0.3) | |
| 1275 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.2, 0.4, 0.2) * CFrame.Angles(-0.1, -0.2, 0.6), 0.3) | |
| 1276 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-0.5, 0, -0.4), 0.3) | |
| 1277 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.7) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1278 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, ". . .", "Red") |
| 1278 | + | |
| 1279 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-2, 0, 1.57), 0.3) | |
| 1280 | end | |
| 1281 | end | |
| 1282 | local TouchedFloor, WavePosition = FindPartOnRay(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 200, Character) | |
| 1283 | SoundEffect(RootPart, 588735437, 10, 1, false) | |
| 1284 | SoundEffect(RootPart, 588736245, 10, 1, false) | |
| 1285 | CircleVFX(RootPart.CFrame, "Bright red", "Neon", 0, 0.05, 10, 10, 10, 10, 10, 10) | |
| 1286 | if TouchedFloor then | |
| 1287 | WaveVFX(CFrame.new(WavePosition), "Bright red", "Neon", 0, 0.05, 1, 1.5, 1, 2, 0, 2) | |
| 1288 | end | |
| 1289 | ValidateDamage(RootPart, "Normal", 20, 10, 14, RootPart, 5, 0, 1.4, 0.3, "Stun") | |
| 1290 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "C h a o s . . .", "Red") |
| 1290 | + | |
| 1291 | end | |
| 1292 | Attacking = false | |
| 1293 | end | |
| 1294 | function Move4() | |
| 1295 | Attacking = true | |
| 1296 | CanResumeControl = false | |
| 1297 | RemoveCharacterControl() | |
| 1298 | if not Fury then | |
| 1299 | game.Chat:Chat(owner.Character.Head, "...", "Blue") | |
| 1300 | for i = 1, 20 do | |
| 1301 | Wait2() | |
| 1302 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 1303 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1), 0.3) | |
| 1304 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(2.6, 0, 0.2), 0.3) | |
| 1305 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.5, 0, -0.2), 0.3) | |
| 1306 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1307 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1308 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, 1), 0.3) | |
| 1309 | end | |
| 1310 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "O V E R D R I V E !", "Red") |
| 1310 | + | game.Chat:Chat(owner.Character.Head, "X...", "Blue") |
| 1311 | SoundEffect(Torso, 247718224, 1, 0.8, false) | |
| 1312 | RootPartReferenceWeld.C0 = CFrame.new(0, 0, 10) * CFrame.Angles(0, 0, -0.8) | |
| 1313 | CircleVFX(RootPartReference.CFrame, "Cyan", "Neon", 0, 0.01, 5, 5, 5, 3, -0.001, 0.01) | |
| 1314 | ValidateDamage(RootPartReference, "Normal", 10, 10, 13, RootPart, 5, 247718107, 1.4, 0.3, "Defence", 0.25, 3) | |
| 1315 | for i = 1, 8 do | |
| 1316 | Wait2() | |
| 1317 | ValidateDamage(Part2, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1318 | ValidateDamage(Part3, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1319 | ValidateDamage(Part5, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1320 | ValidateDamage(Part8, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1321 | ValidateDamage(Part9, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1322 | ValidateDamage(Part10, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1323 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, -1), 0.3) | |
| 1324 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 1), 0.3) | |
| 1325 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.4, 0) * CFrame.Angles(0.1, 0, -0.5), 0.3) | |
| 1326 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-0.5, 0, -0.2), 0.3) | |
| 1327 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, 0.7) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, -1, 0), 0.3) | |
| 1328 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, -0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, -1, 0), 0.3) | |
| 1329 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, 1), 0.3) | |
| 1330 | end | |
| 1331 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, ". . .", "Red") |
| 1331 | + | |
| 1332 | Wait2() | |
| 1333 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 1334 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.2), 0.3) | |
| 1335 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(0.2, 0.5, -0.8) * CFrame.Angles(2.6, 0, -1.3), 0.3) | |
| 1336 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0.5, 0, -0.2), 0.3) | |
| 1337 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1338 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1339 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, 1.57), 0.3) | |
| 1340 | end | |
| 1341 | SoundEffect(Torso, 247718224, 1, 0.8, false) | |
| 1342 | RootPartReferenceWeld.C0 = CFrame.new(0, 0, 10) * CFrame.Angles(0, 0, 0.8) | |
| 1343 | CircleVFX(RootPartReference.CFrame, "Cyan", "Neon", 0, 0.01, 5, 5, 5, 3, -0.001, 0.01) | |
| 1344 | ValidateDamage(RootPartReference, "Normal", 10, 10, 13, RootPart, 5, 247718107, 1.4, 0.3, "Defence", 0.25, 3) | |
| 1345 | game.Chat:Chat(owner.Character.Head, "Cut!", "Blue") | |
| 1346 | for i = 1, 50 do | |
| 1347 | Wait2() | |
| 1348 | ValidateDamage(Part2, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1349 | ValidateDamage(Part3, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1350 | ValidateDamage(Part5, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1351 | ValidateDamage(Part8, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1352 | ValidateDamage(Part9, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1353 | ValidateDamage(Part10, "Normal", 2, 3, 5, RootPart, 5, 247718107, 1.4, 0.3) | |
| 1354 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1), 0.3) | |
| 1355 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1), 0.3) | |
| 1356 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.2, 0.4, 0.2) * CFrame.Angles(-0.1, -0.2, 0.6), 0.3) | |
| 1357 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-0.5, 0, -0.4), 0.3) | |
| 1358 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.7) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1359 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, 0.7) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1, 0), 0.3) | |
| 1360 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "I t ' s t i m e t o e n d t h i s a l r e a d y ,", "Red") |
| 1360 | + | |
| 1361 | end | |
| 1362 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "d o n ' t y o u t h i n k ?", "Red") |
| 1362 | + | |
| 1363 | SoundEffect(LeftArmReference, 199145446, 1, 1, false) | |
| 1364 | game.Chat:Chat(owner.Character.Head, ". . .", "Red") | |
| 1365 | for i = 1, 30 do | |
| 1366 | wait() | |
| 1367 | BlockVFX(LeftArmReference.CFrame, "Bright red", "Neon", 0, 0.05, 1, 1, 1, 0.5, 0.5, 0.5) | |
| 1368 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, -1), 0.2) | |
| 1369 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 1), 0.2) | |
| 1370 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0.2, 0, 0.2), 0.2) | |
| 1371 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.3, 0.5, 0) * CFrame.Angles(1.6, 0, 0.6), 0.2) | |
| 1372 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "L e t ' s p l a y h i d e a n d s e e k .", "Red") |
| 1372 | + | |
| 1373 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.8, -1, -0.5) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, -1, 0.5), 0.2) | |
| 1374 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.2) | |
| 1375 | end | |
| 1376 | game.Chat:Chat(owner.Character.Head, "C h a o s . . .", "Red") | |
| 1377 | for i = 1, 8 do | |
| 1378 | wait() | |
| 1379 | BlockVFX(LeftArmReference.CFrame, "Bright red", "Neon", 0, 0.05, 1, 1, 1, 0.5, 0.5, 0.5) | |
| 1380 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 1.6), 0.4) | |
| 1381 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, -0.2) * CFrame.Angles(0, 0, -1.6), 0.4) | |
| 1382 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.6, 0) * CFrame.Angles(-0.2, 0, 0.2), 0.4) | |
| 1383 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, ": )", "Red") |
| 1383 | + | |
| 1384 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.6, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1.6, -0.5), 0.4) | |
| 1385 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.6, -1, 0.5) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1.6, 0.5), 0.4) | |
| 1386 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.4) | |
| 1387 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "Uhh..", "Blue") |
| 1387 | + | |
| 1388 | SoundEffect(LeftArmReference, 280247455, 3, 1, false) | |
| 1389 | WaveVFX(LeftArmReference.CFrame, "Bright red", "Neon", 0, 0.05, 1, 1.5, 1, 1, 0.5, 1) | |
| 1390 | for i = 1, 30 do | |
| 1391 | wait() | |
| 1392 | WaveVFX(LeftArmReference.CFrame, "Bright red", "Neon", 0, 0.05, 1, 1.5, 1, 1, 0.5, 1) | |
| 1393 | LeftArmReferenceWeld.C0 = CFrame.new(0, i * 2, 0) | |
| 1394 | RingVFX(LeftArmReference.CFrame * CFrame.Angles(1.57, 0, 1.57), "Bright red", "Neon", 0, 0.05, 1, 1, 1, 1, 1, 1) | |
| 1395 | end | |
| 1396 | game.Chat:Chat(owner.Character.Head, "O V E R D R I V E !", "Red") | |
| 1397 | local TouchedFloor, WavePosition = FindPartOnRay(LeftArmReference.Position, CFrame.new(LeftArmReference.Position, LeftArmReference.Position - Vector3.new(0, 1, 0)).lookVector, 200, Character) | |
| 1398 | if TouchedFloor then | |
| 1399 | Hitbox = CircleVFX(CFrame.new(WavePosition), "Bright red", "Neon", 0, 0.01, 10, 10, 10, 10, 10, 10) | |
| 1400 | WaveVFX(Hitbox.CFrame, "Bright red", "Neon", 0, 0.01, 1, 1.5, 1, 2, 0, 2) | |
| 1401 | end | |
| 1402 | SoundEffect(LeftArmReference, 110284742, 3, 0.8, false) | |
| 1403 | wait() | |
| 1404 | ValidateDamage(Hitbox, "Normal", 100, 26, 30, RootPart, 5, 247718107, 1.4, 0.3, "Stun", "Movement", 0.1, 0.5) | |
| 1405 | LeftArmReferenceWeld.C0 = CFrame.new(0, 1, 0) | |
| 1406 | end | |
| 1407 | ResumeCharacterControl() | |
| 1408 | CanResumeControl = true | |
| 1409 | Attacking = false | |
| 1410 | end | |
| 1411 | function FuryMode() | |
| 1412 | Attacking = true | |
| 1413 | Cooldown7Add = 0 | |
| 1414 | CanResumeControl = false | |
| 1415 | RemoveCharacterControl() | |
| 1416 | if not Fury then | |
| 1417 | game.Chat:Chat(owner.Character.Head, ". . .", "Red") | |
| 1418 | coroutine.resume(coroutine.create(function() | |
| 1419 | for i = 1, 60 do | |
| 1420 | Wait2() | |
| 1421 | Attacking = true | |
| 1422 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0.5, 0, 0), 0.3) | |
| 1423 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1424 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5 - DoAnimateVal / 4, 0) * CFrame.Angles(-0.1 - DoAnimateVal / 8, -1, 0.3 - DoAnimateVal / 8), 0.3) | |
| 1425 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5 - DoAnimateVal / 4, 0) * CFrame.Angles(0 - DoAnimateVal2 / 2, 0, -0.2 - DoAnimateVal2 / 4), 0.3) | |
| 1426 | - | game.Chat:Chat(game.Players.LocalPlayer.Character.Head, "What the hell just happened? i can't remember anything...", "Blue") |
| 1426 | + | |
| 1427 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1428 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, 1.57), 0.3) | |
| 1429 | end | |
| 1430 | end)) | |
| 1431 | Face.Texture = "http://www.roblox.com/asset/?id=362505168" | |
| 1432 | for i = 1, 60 do | |
| 1433 | wait() | |
| 1434 | Part2.Transparency = Part2.Transparency + 0.01 | |
| 1435 | Part5.Transparency = Part5.Transparency + 0.01 | |
| 1436 | Part3.Transparency = Part3.Transparency + 0.01 | |
| 1437 | Part9.Transparency = Part9.Transparency + 0.01 | |
| 1438 | Part8.Transparency = Part8.Transparency + 0.01 | |
| 1439 | Part10.Transparency = Part10.Transparency + 0.01 | |
| 1440 | end | |
| 1441 | for i, v in pairs(LazerEdge:children()) do | |
| 1442 | if v.BrickColor == BrickColor.new("Cyan") then
| |
| 1443 | v.BrickColor = BrickColor.new("Bright red")
| |
| 1444 | end | |
| 1445 | end | |
| 1446 | game.Chat:Chat(owner.Character.Head, "I t ' s t i m e t o e n d t h i s a l r e a d y ,", "Red") | |
| 1447 | wait(2) | |
| 1448 | game.Chat:Chat(owner.Character.Head, "d o n ' t y o u t h i n k ?", "Red") | |
| 1449 | for i = 1, 60 do | |
| 1450 | wait() | |
| 1451 | Part2.Transparency = Part2.Transparency - 0.01 | |
| 1452 | Part5.Transparency = Part5.Transparency - 0.01 | |
| 1453 | Part3.Transparency = Part3.Transparency - 0.01 | |
| 1454 | Part9.Transparency = Part9.Transparency - 0.01 | |
| 1455 | Part8.Transparency = Part8.Transparency - 0.01 | |
| 1456 | Part10.Transparency = Part10.Transparency - 0.01 | |
| 1457 | end | |
| 1458 | game.Chat:Chat(owner.Character.Head, "L e t ' s p l a y h i d e a n d s e e k .", "Red") | |
| 1459 | for i = 1, 120 do | |
| 1460 | Wait2() | |
| 1461 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0.3, 0), 0.3) | |
| 1462 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1463 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.4 - DoAnimateVal / 4, 0) * CFrame.Angles(-0.1 - DoAnimateVal / 8, -1, 0.3 - DoAnimateVal / 8), 0.3) | |
| 1464 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.4 - DoAnimateVal / 4, 0) * CFrame.Angles(0 - DoAnimateVal2 / 2, 0, -0.2 - DoAnimateVal2 / 4), 0.3) | |
| 1465 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1466 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1467 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, 1.57), 0.3) | |
| 1468 | end | |
| 1469 | game.Chat:Chat(owner.Character.Head, ": )", "Red") | |
| 1470 | Fury = true | |
| 1471 | else | |
| 1472 | Fury = false | |
| 1473 | game.Chat:Chat(owner.Character.Head, "Uhh..", "Blue") | |
| 1474 | coroutine.resume(coroutine.create(function() | |
| 1475 | for i = 1, 60 do | |
| 1476 | Wait2() | |
| 1477 | Attacking = true | |
| 1478 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0.5, 0, 0), 0.3) | |
| 1479 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1480 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5 - DoAnimateVal / 4, 0) * CFrame.Angles(-0.1 - DoAnimateVal / 8, -1, 0.3 - DoAnimateVal / 8), 0.3) | |
| 1481 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5 - DoAnimateVal / 4, 0) * CFrame.Angles(0 - DoAnimateVal2 / 2, 0, -0.2 - DoAnimateVal2 / 4), 0.3) | |
| 1482 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1483 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1484 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, 1.57), 0.3) | |
| 1485 | end | |
| 1486 | end)) | |
| 1487 | Face.Texture = Texture | |
| 1488 | for i = 1, 60 do | |
| 1489 | wait() | |
| 1490 | Part2.Transparency = Part2.Transparency + 0.01 | |
| 1491 | Part5.Transparency = Part5.Transparency + 0.01 | |
| 1492 | Part3.Transparency = Part3.Transparency + 0.01 | |
| 1493 | Part9.Transparency = Part9.Transparency + 0.01 | |
| 1494 | Part8.Transparency = Part8.Transparency + 0.01 | |
| 1495 | Part10.Transparency = Part10.Transparency + 0.01 | |
| 1496 | Head.face.Transparency = Head.face.Transparency - 0.01 | |
| 1497 | end | |
| 1498 | for i, v in pairs(LazerEdge:children()) do | |
| 1499 | if v.BrickColor == BrickColor.new("Bright red") then
| |
| 1500 | v.BrickColor = BrickColor.new("Cyan")
| |
| 1501 | end | |
| 1502 | end | |
| 1503 | for i = 1, 60 do | |
| 1504 | wait() | |
| 1505 | Part2.Transparency = Part2.Transparency - 0.01 | |
| 1506 | Part5.Transparency = Part5.Transparency - 0.01 | |
| 1507 | Part3.Transparency = Part3.Transparency - 0.01 | |
| 1508 | Part9.Transparency = Part9.Transparency - 0.01 | |
| 1509 | Part8.Transparency = Part8.Transparency - 0.01 | |
| 1510 | Part10.Transparency = Part10.Transparency - 0.01 | |
| 1511 | end | |
| 1512 | game.Chat:Chat(owner.Character.Head, "What the hell just happened? i can't remember anything...", "Blue") | |
| 1513 | for i = 1, 120 do | |
| 1514 | Wait2() | |
| 1515 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0.5, DoAnimateVal4 / 4, DoAnimateVal4 / 4), 0.2) | |
| 1516 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 1517 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5 + DoAnimateVal2, 0) * CFrame.Angles(0.1 + DoAnimateVal2, 0, 0.2), 0.2) | |
| 1518 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5 + DoAnimateVal2, 0) * CFrame.Angles(0.1 + DoAnimateVal2, 0, -0.2), 0.2) | |
| 1519 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 1520 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 1521 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(-0.05, 0, 0), 0.2) | |
| 1522 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(-0.05, 0, 0), 0.2) | |
| 1523 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 1524 | end | |
| 1525 | end | |
| 1526 | CanResumeControl = true | |
| 1527 | Attacking = false | |
| 1528 | Cooldown7Add = 1 | |
| 1529 | end | |
| 1530 | function MouseClick() | |
| 1531 | if Attacking or not CanAnimate then | |
| 1532 | return | |
| 1533 | end | |
| 1534 | if Combo == 1 then | |
| 1535 | Combo = 2 | |
| 1536 | Attack1() | |
| 1537 | elseif Combo == 2 then | |
| 1538 | Combo = 3 | |
| 1539 | Attack2() | |
| 1540 | elseif Combo == 3 then | |
| 1541 | Combo = 4 | |
| 1542 | Attack3() | |
| 1543 | elseif Combo == 4 then | |
| 1544 | Combo = 1 | |
| 1545 | Attack4() | |
| 1546 | end | |
| 1547 | end | |
| 1548 | function Keydown(Key) | |
| 1549 | if Attacking or not CanAnimate then | |
| 1550 | return | |
| 1551 | end | |
| 1552 | if Key == "z" and Cooldown1 == MaxCooldown1 and Mana.Value > 5 then | |
| 1553 | Cooldown1 = 0 | |
| 1554 | Mana.Value = Mana.Value - 5 | |
| 1555 | Move1() | |
| 1556 | end | |
| 1557 | if Key == "x" and Cooldown2 == MaxCooldown2 and Mana.Value > 15 then | |
| 1558 | Cooldown2 = 0 | |
| 1559 | Mana.Value = Mana.Value - 15 | |
| 1560 | Move2() | |
| 1561 | end | |
| 1562 | if Key == "c" and Cooldown3 == MaxCooldown3 and Mana.Value > 40 then | |
| 1563 | Cooldown3 = 0 | |
| 1564 | Mana.Value = Mana.Value - 40 | |
| 1565 | Move3() | |
| 1566 | end | |
| 1567 | if Key == "v" and Cooldown4 == MaxCooldown4 and Mana.Value > 50 then | |
| 1568 | Cooldown4 = 0 | |
| 1569 | Mana.Value = Mana.Value - 50 | |
| 1570 | Move4() | |
| 1571 | end | |
| 1572 | if Key == "q" and Cooldown5 == MaxCooldown5 then | |
| 1573 | Cooldown5 = 0 | |
| 1574 | EvadeQ() | |
| 1575 | end | |
| 1576 | if Key == "e" and Cooldown6 == MaxCooldown6 then | |
| 1577 | Cooldown6 = 0 | |
| 1578 | EvadeE() | |
| 1579 | end | |
| 1580 | if Key == "f" and Cooldown7 > MaxCooldown7 / 16 then | |
| 1581 | FuryMode() | |
| 1582 | end | |
| 1583 | end | |
| 1584 | Mouse.Button1Down:connect(MouseClick) | |
| 1585 | Mouse.KeyDown:connect(Keydown) | |
| 1586 | CooldownZBarBar.MouseButton1Click:connect(MobileControlZ) | |
| 1587 | CooldownXBarBar.MouseButton1Click:connect(MobileControlX) | |
| 1588 | CooldownCBarBar.MouseButton1Click:connect(MobileControlC) | |
| 1589 | CooldownVBarBar.MouseButton1Click:connect(MobileControlV) | |
| 1590 | CooldownQBarBar.MouseButton1Click:connect(MobileControlQ) | |
| 1591 | CooldownEBarBar.MouseButton1Click:connect(MobileControlE) | |
| 1592 | DoAnimateVal = 0 | |
| 1593 | DoAnimateVal2 = 0 | |
| 1594 | DoAnimateVal3 = 0 | |
| 1595 | DoAnimateVal4 = 0 | |
| 1596 | Increase = 0 | |
| 1597 | Increase2 = 0 | |
| 1598 | Invert = false | |
| 1599 | Invert2 = false | |
| 1600 | Invert3 = false | |
| 1601 | Invert4 = false | |
| 1602 | WalkVal = 0 | |
| 1603 | WalkInvert = false | |
| 1604 | Walk = false | |
| 1605 | function Effects() | |
| 1606 | if StunEffect.Value and not Attacking then | |
| 1607 | CanAnimate = false | |
| 1608 | HealthBarText.Text = "Stunned!" | |
| 1609 | ManaBarText.Text = "Stunned!" | |
| 1610 | RemoveCharacterControl() | |
| 1611 | if CanShowStunDisplay then | |
| 1612 | CanShowStunDisplay = false | |
| 1613 | Display(Character, "Stunned", "Stun") | |
| 1614 | end | |
| 1615 | AntiGlitch = true | |
| 1616 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0.5, DoAnimateVal4 / 4, DoAnimateVal4 / 4), 0.2) | |
| 1617 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 1618 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5 + DoAnimateVal2, 0) * CFrame.Angles(0.1 + DoAnimateVal2, 0, 0.2), 0.2) | |
| 1619 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5 + DoAnimateVal2, 0) * CFrame.Angles(0.1 + DoAnimateVal2, 0, -0.2), 0.2) | |
| 1620 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 1621 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 1622 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(-0.05, 0, 0), 0.2) | |
| 1623 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(-0.05, 0, 0), 0.2) | |
| 1624 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 1625 | coroutine.resume(coroutine.create(function() | |
| 1626 | wait(2) | |
| 1627 | CanRemoveStun = true | |
| 1628 | end)) | |
| 1629 | if CanRemoveStun then | |
| 1630 | StunEffect.Stun.Value = StunEffect.Stun.Value - 10 | |
| 1631 | end | |
| 1632 | if 0 < Stars.Transparency then | |
| 1633 | Stars.Transparency = Stars.Transparency - 0.01 | |
| 1634 | end | |
| 1635 | end | |
| 1636 | if StunEffect.Stun.Value < 1 then | |
| 1637 | if CanResumeControl then | |
| 1638 | ResumeCharacterControl() | |
| 1639 | else | |
| 1640 | wait() | |
| 1641 | end | |
| 1642 | StunEffect.Stun.Value = 0 | |
| 1643 | StunBarVisible = false | |
| 1644 | StunEffect.Value = false | |
| 1645 | CanShowStunDisplay = true | |
| 1646 | CanRemoveStun = false | |
| 1647 | if not Attacking then | |
| 1648 | CanAnimate = true | |
| 1649 | end | |
| 1650 | AntiGlitch = false | |
| 1651 | if 1 > Stars.Transparency then | |
| 1652 | Stars.Transparency = Stars.Transparency + 0.05 | |
| 1653 | end | |
| 1654 | end | |
| 1655 | end | |
| 1656 | for i, v in pairs(Debuffs:children()) do | |
| 1657 | if MyStats:FindFirstChild(v.Name) then | |
| 1658 | MyStats:FindFirstChild(v.Name).Value = MyStats:FindFirstChild(v.Name).Value - v.Value | |
| 1659 | end | |
| 1660 | end | |
| 1661 | function VisualEffects() | |
| 1662 | for i = 1, #VFXList do | |
| 1663 | if VFXList[i] then | |
| 1664 | local VFXConfiguration = VFXList[i] | |
| 1665 | if VFXConfiguration then | |
| 1666 | if VFXConfiguration[1] == "Display" and VFXConfiguration[2]:FindFirstChild("Damage") then
| |
| 1667 | VFXConfiguration[2].Damage.TextLabel.TextStrokeTransparency = VFXConfiguration[2].Damage.TextLabel.TextStrokeTransparency + VFXConfiguration[3] | |
| 1668 | VFXConfiguration[2].Damage.TextLabel.TextTransparency = VFXConfiguration[2].Damage.TextLabel.TextTransparency + VFXConfiguration[3] | |
| 1669 | end | |
| 1670 | if VFXConfiguration[1] == "Resize" and VFXConfiguration[2]:FindFirstChild("Mesh") and 1 > VFXConfiguration[2].Transparency then
| |
| 1671 | VFXConfiguration[2].Mesh.Scale = VFXConfiguration[2].Mesh.Scale + Vector3.new(VFXConfiguration[4], VFXConfiguration[5], VFXConfiguration[6]) | |
| 1672 | VFXConfiguration[2].Transparency = VFXConfiguration[2].Transparency + VFXConfiguration[3] | |
| 1673 | end | |
| 1674 | if VFXConfiguration[1] == "Rotate" and 1 > VFXConfiguration[2].Transparency then | |
| 1675 | VFXConfiguration[2].Rotation = VFXConfiguration[2].Rotation + Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1676 | end | |
| 1677 | end | |
| 1678 | end | |
| 1679 | end | |
| 1680 | end | |
| 1681 | function UpdateAllBars() | |
| 1682 | AtkBarText.Text = "Atk: " .. Attack.Value * 100 .. "%" | |
| 1683 | DefBarText.Text = "Def: " .. Defence.Value * 100 .. "%" | |
| 1684 | MvmtBarText.Text = "Mvmt: " .. Movement.Value * 100 .. "%" | |
| 1685 | ManaBarText.Text = "Mana: " .. Mana.Value .. "%" | |
| 1686 | HealthBarText.Text = "Health: " .. Humanoid.Health .. "%" | |
| 1687 | if PushedJump.Value then | |
| 1688 | Humanoid.JumpPower = 300 | |
| 1689 | CanResumeControl = false | |
| 1690 | else | |
| 1691 | CanResumeControl = true | |
| 1692 | end | |
| 1693 | if not AntiGlitch then | |
| 1694 | HealthBarBar:TweenSize(UDim2.new(0.98 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 0, 19), "Out", "Quad", 0.3) | |
| 1695 | ManaBarBar:TweenSize(UDim2.new(0.98 * (Mana.Value / 100), 0, 0, 19), "Out", "Quad", 0.3) | |
| 1696 | CooldownZBarBar:TweenSize(UDim2.new(1 * (Cooldown1 / MaxCooldown1), 0, 0, 70), "Out", "Quad", 0.3) | |
| 1697 | CooldownXBarBar:TweenSize(UDim2.new(1 * (Cooldown2 / MaxCooldown2), 0, 0, 70), "Out", "Quad", 0.3) | |
| 1698 | CooldownCBarBar:TweenSize(UDim2.new(1 * (Cooldown3 / MaxCooldown3), 0, 0, 70), "Out", "Quad", 0.3) | |
| 1699 | CooldownVBarBar:TweenSize(UDim2.new(1 * (Cooldown4 / MaxCooldown4), 0, 0, 70), "Out", "Quad", 0.3) | |
| 1700 | CooldownQBarBar:TweenSize(UDim2.new(1 * (Cooldown5 / MaxCooldown5), 0, 0, 70), "Out", "Quad", 0.3) | |
| 1701 | CooldownEBarBar:TweenSize(UDim2.new(1 * (Cooldown6 / MaxCooldown6), 0, 0, 70), "Out", "Quad", 0.3) | |
| 1702 | CooldownFBarBar:TweenSize(UDim2.new(1 * (Cooldown7 / MaxCooldown7), 0, 0, 70), "Out", "Quad", 0.3) | |
| 1703 | end | |
| 1704 | if StunEffect.Value == true then | |
| 1705 | if not StunBarVisible then | |
| 1706 | StunBarVisible = true | |
| 1707 | StunBarBack = GUI("Frame", WeaponGUI, UDim2.new(0, 116, 0, 25), UDim2.new(0, 0, 0, 0), UDim2.new(0, 116, 0.843, 0), 0, true, "Really black", 0)
| |
| 1708 | StunBarBar = GUI("Frame", StunBarBack, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 4, 0, 3), 0, true, "Cool yellow", 0)
| |
| 1709 | StunBarText = GUI("TextLabel", WeaponGUI, UDim2.new(0, 109, 0, 19), UDim2.new(0, 120, 0.844, 0), 1, true, "", 0, nil, "Stun", "Bright yellow", "Black", 0, true, "SourceSansBold")
| |
| 1710 | end | |
| 1711 | StunBarBar:TweenSize(UDim2.new(0.94 * (StunEffect.Stun.Value / 1000), 0, 0, 19), "Out", "Quad", 0.3) | |
| 1712 | end | |
| 1713 | if Stun.Value == 0 then | |
| 1714 | coroutine.resume(coroutine.create(function() | |
| 1715 | StunBarBack:TweenSizeAndPosition(UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), "Out", "Quad", 3) | |
| 1716 | StunBarBack:TweenSizeAndPosition(UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), "Out", "Quad", 3) | |
| 1717 | StunBarText:TweenSizeAndPosition(UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0, 0), "Out", "Quad", 3) | |
| 1718 | StunBarBar:Remove() | |
| 1719 | wait(5) | |
| 1720 | StunBarBack:Remove() | |
| 1721 | StunBarText:Remove() | |
| 1722 | end)) | |
| 1723 | end | |
| 1724 | if Humanoid.Health > 75 then | |
| 1725 | HealthBarBar.BackgroundColor3 = BrickColor.new("Lime green").Color
| |
| 1726 | elseif Humanoid.Health > 50 and Humanoid.Health < 75 then | |
| 1727 | HealthBarBar.BackgroundColor3 = BrickColor.new("Cool yellow").Color
| |
| 1728 | elseif Humanoid.Health > 35 and Humanoid.Health < 50 then | |
| 1729 | HealthBarBar.BackgroundColor3 = BrickColor.new("Bright yellow").Color
| |
| 1730 | elseif Humanoid.Health > 15 and Humanoid.Health < 35 then | |
| 1731 | HealthBarBar.BackgroundColor3 = BrickColor.new("Bright red").Color
| |
| 1732 | elseif Humanoid.Health < 35 then | |
| 1733 | HealthBarBar.BackgroundColor3 = BrickColor.new("Really red").Color
| |
| 1734 | end | |
| 1735 | end | |
| 1736 | function FindPartOnRay(Position, Direction, MaxDistance, Ignore) | |
| 1737 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * MaxDistance), Ignore)
| |
| 1738 | end | |
| 1739 | function Values() | |
| 1740 | for i, v in pairs(Debuffs:children()) do | |
| 1741 | if v ~= nil and MyStats:FindFirstChild(v.Name) then | |
| 1742 | if v.Name == "Attack" then | |
| 1743 | AttackDecrease = AttackDecrease + v.Value | |
| 1744 | end | |
| 1745 | if v.Name == "Movement" then | |
| 1746 | MvmtDecrease = MvmtDecrease + v.Value | |
| 1747 | end | |
| 1748 | if v.Name == "Defence" then | |
| 1749 | DefenceDecrease = DefenceDecrease + v.Value | |
| 1750 | end | |
| 1751 | if Attack.Value < 0 then | |
| 1752 | Attack.Value = 0 | |
| 1753 | end | |
| 1754 | if Defence.Value < 0 then | |
| 1755 | Defence.Value = 0 | |
| 1756 | end | |
| 1757 | if Movement.Value < 0 then | |
| 1758 | Movement.Value = 0 | |
| 1759 | end | |
| 1760 | end | |
| 1761 | end | |
| 1762 | Attack.Value = 1 - AttackDecrease | |
| 1763 | Defence.Value = 1 - DefenceDecrease | |
| 1764 | Movement.Value = 1 - MvmtDecrease | |
| 1765 | AttackDecrease = 0 | |
| 1766 | MvmtDecrease = 0 | |
| 1767 | DefenceDecrease = 0 | |
| 1768 | if CharacterUnderControl and not Attacking then | |
| 1769 | Humanoid.WalkSpeed = 16 * Movement.Value | |
| 1770 | end | |
| 1771 | Increase = Increase + 0.1 | |
| 1772 | Increase2 = Increase2 + 1 | |
| 1773 | if WalkVal > 10 then | |
| 1774 | WalkInvert = true | |
| 1775 | elseif 1 > WalkVal then | |
| 1776 | WalkInvert = false | |
| 1777 | end | |
| 1778 | if WalkInvert then | |
| 1779 | WalkVal = WalkVal - 1 | |
| 1780 | elseif not WalkInvert then | |
| 1781 | WalkVal = WalkVal + 1 | |
| 1782 | end | |
| 1783 | if 0.5 < DoAnimateVal then | |
| 1784 | Invert = true | |
| 1785 | elseif DoAnimateVal < -0.5 then | |
| 1786 | Invert = false | |
| 1787 | end | |
| 1788 | if 0.2 < DoAnimateVal2 then | |
| 1789 | Invert2 = true | |
| 1790 | elseif 0 > DoAnimateVal2 then | |
| 1791 | Invert2 = false | |
| 1792 | end | |
| 1793 | if Invert == false then | |
| 1794 | DoAnimateVal = DoAnimateVal + 0.01 | |
| 1795 | else | |
| 1796 | DoAnimateVal = DoAnimateVal - 0.01 | |
| 1797 | end | |
| 1798 | if Invert2 == false then | |
| 1799 | DoAnimateVal2 = DoAnimateVal2 + 0.005 | |
| 1800 | else | |
| 1801 | DoAnimateVal2 = DoAnimateVal2 - 0.005 | |
| 1802 | end | |
| 1803 | if 1 < DoAnimateVal3 then | |
| 1804 | Invert3 = true | |
| 1805 | elseif 0 > DoAnimateVal3 then | |
| 1806 | Invert3 = false | |
| 1807 | end | |
| 1808 | if Invert3 == false then | |
| 1809 | DoAnimateVal3 = DoAnimateVal3 + 0.1 | |
| 1810 | else | |
| 1811 | DoAnimateVal3 = DoAnimateVal3 - 0.1 | |
| 1812 | end | |
| 1813 | if 1 < DoAnimateVal4 then | |
| 1814 | Invert4 = true | |
| 1815 | elseif DoAnimateVal4 < -1 then | |
| 1816 | Invert4 = false | |
| 1817 | end | |
| 1818 | if Invert4 == false then | |
| 1819 | DoAnimateVal4 = DoAnimateVal4 + 0.1 | |
| 1820 | else | |
| 1821 | DoAnimateVal4 = DoAnimateVal4 - 0.1 | |
| 1822 | end | |
| 1823 | if Stun.Value > 999 then | |
| 1824 | Stun.Value = 1000 | |
| 1825 | end | |
| 1826 | if Cooldown1 < MaxCooldown1 then | |
| 1827 | Cooldown1 = Cooldown1 + Cooldown1Add | |
| 1828 | end | |
| 1829 | if Cooldown1 > MaxCooldown1 - 1 then | |
| 1830 | Cooldown1 = MaxCooldown1 | |
| 1831 | end | |
| 1832 | if Cooldown2 < MaxCooldown2 then | |
| 1833 | Cooldown2 = Cooldown2 + Cooldown2Add | |
| 1834 | end | |
| 1835 | if Cooldown2 > MaxCooldown2 - 1 then | |
| 1836 | Cooldown2 = MaxCooldown2 | |
| 1837 | end | |
| 1838 | if Cooldown3 < MaxCooldown3 then | |
| 1839 | Cooldown3 = Cooldown3 + Cooldown3Add | |
| 1840 | end | |
| 1841 | if Cooldown3 > MaxCooldown3 - 1 then | |
| 1842 | Cooldown3 = MaxCooldown3 | |
| 1843 | end | |
| 1844 | if Cooldown4 < MaxCooldown4 then | |
| 1845 | Cooldown4 = Cooldown4 + Cooldown4Add | |
| 1846 | end | |
| 1847 | if Cooldown4 > MaxCooldown4 - 1 then | |
| 1848 | Cooldown4 = MaxCooldown4 | |
| 1849 | end | |
| 1850 | if Cooldown5 < MaxCooldown5 then | |
| 1851 | Cooldown5 = Cooldown5 + Cooldown5Add | |
| 1852 | end | |
| 1853 | if Cooldown5 > MaxCooldown5 - 1 then | |
| 1854 | Cooldown5 = MaxCooldown5 | |
| 1855 | end | |
| 1856 | if Cooldown6 < MaxCooldown6 then | |
| 1857 | Cooldown6 = Cooldown6 + Cooldown6Add | |
| 1858 | end | |
| 1859 | if Cooldown6 > MaxCooldown6 - 1 then | |
| 1860 | Cooldown6 = MaxCooldown6 | |
| 1861 | end | |
| 1862 | if Cooldown7 < MaxCooldown7 and not Fury then | |
| 1863 | Cooldown7 = Cooldown7 + Cooldown7Add | |
| 1864 | end | |
| 1865 | if Fury then | |
| 1866 | Cooldown7 = Cooldown7 - Cooldown7Add | |
| 1867 | end | |
| 1868 | if Cooldown7 > MaxCooldown7 - 1 then | |
| 1869 | Cooldown7 = MaxCooldown7 | |
| 1870 | end | |
| 1871 | if Cooldown7 < 1 and Fury and not Attacking then | |
| 1872 | coroutine.resume(coroutine.create(function() | |
| 1873 | FuryMode() | |
| 1874 | end)) | |
| 1875 | end | |
| 1876 | if ManaDelay < ManaDelay2 then | |
| 1877 | ManaDelay = ManaDelay + 1 | |
| 1878 | elseif ManaDelay > ManaDelay2 - 1 then | |
| 1879 | ManaDelay = 0 | |
| 1880 | end | |
| 1881 | if Mana.Value < 100 and ManaDelay < 1 then | |
| 1882 | Mana.Value = Mana.Value + 1 | |
| 1883 | end | |
| 1884 | if Mana.Value > 99 then | |
| 1885 | Mana.Value = 100 | |
| 1886 | end | |
| 1887 | end | |
| 1888 | function Animations() | |
| 1889 | local Velocity = RootPart.Velocity.magnitude * Vector3.new(1, 0, 1).magnitude | |
| 1890 | local FallVelocity = RootPart.Velocity.Y | |
| 1891 | local Floor = FindPartOnRay(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position + Vector3.new(0, -1, 0)).lookVector, 4, Character) | |
| 1892 | if Floor and PushedJump.Value then | |
| 1893 | PushedJump.Value = false | |
| 1894 | end | |
| 1895 | StarsWeld.C1 = Animate(StarsWeld.C1, CFrame.Angles(0, Increase, 0), 0.2) | |
| 1896 | if CanAnimate then | |
| 1897 | if Velocity > 1 and Floor then | |
| 1898 | if WalkInvert then | |
| 1899 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame * CFrame.Angles(0, 0, 1), 0.2) | |
| 1900 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame * CFrame.Angles(0, 0, 1), 0.2) | |
| 1901 | elseif not WalkInvert then | |
| 1902 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame * CFrame.Angles(0, 0, -1), 0.2) | |
| 1903 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame * CFrame.Angles(0, 0, -1), 0.2) | |
| 1904 | end | |
| 1905 | else | |
| 1906 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 1907 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 1908 | end | |
| 1909 | if Velocity < 1 and Floor and not Attacking and Fury then | |
| 1910 | Walk = false | |
| 1911 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 0), 0.2) | |
| 1912 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 1913 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5 - DoAnimateVal / 8, 0) * CFrame.Angles(-0.1 - DoAnimateVal / 8, -1, 0.3 - DoAnimateVal / 8), 0.2) | |
| 1914 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5 - DoAnimateVal / 8, 0) * CFrame.Angles(0 - DoAnimateVal2 / 2, 0, -0.2 - DoAnimateVal2 / 4), 0.2) | |
| 1915 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 1916 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 1917 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, -0.5) * CFrame.Angles(-1.57, 0, 1.57), 0.2) | |
| 1918 | end | |
| 1919 | if Velocity > 1 and Floor and not Attacking and Fury then | |
| 1920 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0.2, 0.1, 0.6), 0.3) | |
| 1921 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0.1, 0, -0.8), 0.2) | |
| 1922 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5 - DoAnimateVal / 4, 0) * CFrame.Angles(-0.3 - DoAnimateVal / 8, -1, 0.3 - DoAnimateVal / 8), 0.2) | |
| 1923 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1, 0.5 - DoAnimateVal / 4, -1) * CFrame.Angles(1.6 - DoAnimateVal2 / 2, 0, 1.6 + DoAnimateVal2 / 4), 0.2) | |
| 1924 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 0.8, 0), 0.2) | |
| 1925 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.7, -1, 0.5) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 0.8, 0), 0.2) | |
| 1926 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0.5, -0.8, 0) * CFrame.Angles(-1.57, 0, 0), 0.2) | |
| 1927 | end | |
| 1928 | if FallVelocity > 1 and not Floor and not Attacking and not PushedJump.Value and Fury then | |
| 1929 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(-0.5, 0, 0 + DoAnimateVal / 8), 0.2) | |
| 1930 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, RootPart.RotVelocity.Y / 50, 0), 0.2) | |
| 1931 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.6 + DoAnimateVal2 / 4, 0) * CFrame.Angles(-0.5, 0, 0.1 + DoAnimateVal2 / 4), 0.2) | |
| 1932 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.6 + DoAnimateVal2 / 8, 0) * CFrame.Angles(-0.5, 0, -0.1 - DoAnimateVal2 / 4), 0.2) | |
| 1933 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 1934 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 1935 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 1936 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, -0.5) * CFrame.Angles(-0.5, -1.6, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 1937 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.2) | |
| 1938 | end | |
| 1939 | if FallVelocity > 1 and not Floor and not Attacking and PushedJump.Value and Fury then | |
| 1940 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(-0.5, 0, 0), 0.2) | |
| 1941 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, Increase * 6), 0.35) | |
| 1942 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0.2) * CFrame.Angles(-0.5, 0, 0.3 + DoAnimateVal2 / 4), 0.2) | |
| 1943 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0.2) * CFrame.Angles(-0.5, 0, -0.3 - DoAnimateVal2 / 4), 0.2) | |
| 1944 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 1945 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 1946 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(-0.3, 0, 0), 0.2) | |
| 1947 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(-0.3, 0, 0), 0.2) | |
| 1948 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.2) | |
| 1949 | end | |
| 1950 | if FallVelocity < -1 and not Floor and not Attacking and PushedJump.Value and Fury then | |
| 1951 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0.5, 0, 0), 0.2) | |
| 1952 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(-Increase * 6, 0, 0), 0.35) | |
| 1953 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0.2) * CFrame.Angles(-0.5, 0, 0.1 + DoAnimateVal2 / 4), 0.2) | |
| 1954 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0.2) * CFrame.Angles(-0.5, 0, -0.1 - DoAnimateVal2 / 4), 0.2) | |
| 1955 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 1956 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 1957 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(1, 1.6, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 1958 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(-1, -1.6, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 1959 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.2) | |
| 1960 | end | |
| 1961 | if FallVelocity < -1 and not Floor and not Attacking and not PushedJump.Value and Fury then | |
| 1962 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0.8, 0, 0 + DoAnimateVal / 8), 0.2) | |
| 1963 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, RootPart.RotVelocity.Y / 50, 0), 0.2) | |
| 1964 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.6 + DoAnimateVal2 / 4, 0) * CFrame.Angles(0.5, 0, 0.1 + DoAnimateVal2 / 4), 0.2) | |
| 1965 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.6 + DoAnimateVal2 / 8, 0) * CFrame.Angles(0.5, 0, -0.1 - DoAnimateVal2 / 4), 0.2) | |
| 1966 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 1967 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 1968 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(0.3, 1.6, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 1969 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, -0.5) * CFrame.Angles(-0.5, -1.6, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 1970 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.2) | |
| 1971 | end | |
| 1972 | if Velocity < 1 and Floor and not Attacking and not Fury then | |
| 1973 | Walk = false | |
| 1974 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(-DoAnimateVal / 4, 0, 0.8 + DoAnimateVal / 8), 0.2) | |
| 1975 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1), 0.2) | |
| 1976 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5 + DoAnimateVal2 / 4, 0) * CFrame.Angles(0 + DoAnimateVal / 4, 0, 0.1 + DoAnimateVal2 / 4), 0.2) | |
| 1977 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5 + DoAnimateVal2 / 8, 0) * CFrame.Angles(0 - DoAnimateVal / 4, 0, -0.1 - DoAnimateVal2 / 4), 0.2) | |
| 1978 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.7, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 1.2, 0), 0.2) | |
| 1979 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.7, -1, 0.4) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 1.2, 0), 0.2) | |
| 1980 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.2) | |
| 1981 | end | |
| 1982 | if Velocity > 1 and Floor and not Attacking and not Fury then | |
| 1983 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0, 0, 0.6), 0.3) | |
| 1984 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0.1, 0, -0.8), 0.3) | |
| 1985 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5 - DoAnimateVal / 4, 0) * CFrame.Angles(-0.3 - DoAnimateVal / 8, 0, 0.3 - DoAnimateVal / 8), 0.3) | |
| 1986 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1, 0.5 - DoAnimateVal / 4, -1) * CFrame.Angles(1.6 - DoAnimateVal2 / 2, 0, 1.6 + DoAnimateVal2 / 4), 0.3) | |
| 1987 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(0.8, -1, -0.5) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 0.8, 0), 0.3) | |
| 1988 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-0.7, -1, 0.5) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(0, 0.8, 0), 0.3) | |
| 1989 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.3) | |
| 1990 | end | |
| 1991 | if FallVelocity > 1 and not Floor and not Attacking and not PushedJump.Value and not Fury then | |
| 1992 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(-0.5, 0, 0 + DoAnimateVal / 8), 0.2) | |
| 1993 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, RootPart.RotVelocity.Y / 50, 0), 0.2) | |
| 1994 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.6 + DoAnimateVal2 / 4, 0) * CFrame.Angles(-0.5, 0, 0.1 + DoAnimateVal2 / 4), 0.2) | |
| 1995 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.6 + DoAnimateVal2 / 8, 0) * CFrame.Angles(-0.5, 0, -0.1 - DoAnimateVal2 / 4), 0.2) | |
| 1996 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 1997 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 1998 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 1999 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, -0.5) * CFrame.Angles(-0.5, -1.6, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 2000 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.2) | |
| 2001 | end | |
| 2002 | if FallVelocity > 1 and not Floor and not Attacking and PushedJump.Value and not Fury then | |
| 2003 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(-0.5, 0, 0), 0.2) | |
| 2004 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, Increase * 6), 0.35) | |
| 2005 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0.2) * CFrame.Angles(-0.5, 0, 0.3 + DoAnimateVal2 / 4), 0.2) | |
| 2006 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0.2) * CFrame.Angles(-0.5, 0, -0.3 - DoAnimateVal2 / 4), 0.2) | |
| 2007 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 2008 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 2009 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(0, 1.6, 0) * CFrame.Angles(-0.3, 0, 0), 0.2) | |
| 2010 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(0, -1.6, 0) * CFrame.Angles(-0.3, 0, 0), 0.2) | |
| 2011 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.2) | |
| 2012 | end | |
| 2013 | if FallVelocity < -1 and not Floor and not Attacking and PushedJump.Value and not Fury then | |
| 2014 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.Angles(0.5, 0, 0), 0.2) | |
| 2015 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(-Increase * 6, 0, 0), 0.35) | |
| 2016 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.5, 0.2) * CFrame.Angles(-0.5, 0, 0.1 + DoAnimateVal2 / 4), 0.2) | |
| 2017 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0.2) * CFrame.Angles(-0.5, 0, -0.1 - DoAnimateVal2 / 4), 0.2) | |
| 2018 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 2019 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 2020 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(1, 1.6, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 2021 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(-1, -1.6, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 2022 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.2) | |
| 2023 | end | |
| 2024 | if FallVelocity < -1 and not Floor and not Attacking and not PushedJump.Value and not Fury then | |
| 2025 | Neck.C0 = Animate(Neck.C0, NeckDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0.8, 0, 0 + DoAnimateVal / 8), 0.2) | |
| 2026 | RootJoint.C0 = Animate(RootJoint.C0, RootDefaultCFrame * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, RootPart.RotVelocity.Y / 50, 0), 0.2) | |
| 2027 | RightShoulder.C0 = Animate(RightShoulder.C0, CFrame.new(1.5, 0.6 + DoAnimateVal2 / 4, 0) * CFrame.Angles(0.5, 0, 0.1 + DoAnimateVal2 / 4), 0.2) | |
| 2028 | LeftShoulder.C0 = Animate(LeftShoulder.C0, CFrame.new(-1.5, 0.6 + DoAnimateVal2 / 8, 0) * CFrame.Angles(0.5, 0, -0.1 - DoAnimateVal2 / 4), 0.2) | |
| 2029 | RightHip.C1 = Animate(RightHip.C1, RightLegDefaultCFrame, 0.2) | |
| 2030 | LeftHip.C1 = Animate(LeftHip.C1, LeftLegDefaultCFrame, 0.2) | |
| 2031 | RightHip.C0 = Animate(RightHip.C0, CFrame.new(1, -1, 0) * CFrame.Angles(0.3, 1.6, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 2032 | LeftHip.C0 = Animate(LeftHip.C0, CFrame.new(-1, -1, -0.5) * CFrame.Angles(-0.5, -1.6, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
| 2033 | HandleWeld.C0 = Animate(HandleWeld.C0, CFrame.new(0, -0.8, 0.5) * CFrame.Angles(-1.57, 0, -1.57), 0.2) | |
| 2034 | end | |
| 2035 | end | |
| 2036 | end | |
| 2037 | while true do | |
| 2038 | Wait2() | |
| 2039 | UpdateAllBars() | |
| 2040 | Values() | |
| 2041 | Effects() | |
| 2042 | VisualEffects() | |
| 2043 | Animations() | |
| 2044 | end |