SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
| |
| 2 | do | |
| 3 | script.Parent = owner.Character | |
| 4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
| |
| 5 | local function NewFakeEvent() | |
| 6 | local Bind = Instance.new("BindableEvent")
| |
| 7 | local Fake;Fake = {Connections = {},
| |
| 8 | fakeEvent=true; | |
| 9 | Connect=function(self,Func) | |
| 10 | Bind.Event:connect(Func) | |
| 11 | self.Connections[Bind] = true | |
| 12 | return setmetatable({Connected = true},{
| |
| 13 | __index = function (self,Index) | |
| 14 | if Index:lower() == "disconnect" then | |
| 15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
| 16 | end | |
| 17 | return Fake[Index] | |
| 18 | end; | |
| 19 | __tostring = function() return "Connection" end; | |
| 20 | }) | |
| 21 | end} | |
| 22 | Fake.connect = Fake.Connect;return Fake; | |
| 23 | end | |
| 24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
| |
| 25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
| |
| 26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
| |
| 27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
| |
| 28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
| 29 | local function TriggerEvent(self,Event,...) | |
| 30 | local Trigger = Mouse[Event] | |
| 31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
| 32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
| 33 | end | |
| 34 | end | |
| 35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
| 36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
| 37 | if FiredBy.Name ~= owner.Name then return end | |
| 38 | if Input.MouseEvent then | |
| 39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
| 40 | else | |
| 41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
| 42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
| 43 | for _,Action in pairs(ContextActionService.Actions) do | |
| 44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
| 45 | end | |
| 46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
| 47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
| 48 | end | |
| 49 | end) | |
| 50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
| 51 | Event.Parent = NLS([[ | |
| 52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
| |
| 53 | local Input = function(Input,gameProcessedEvent) | |
| 54 | if gameProcessedEvent then return end | |
| 55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
| |
| 56 | end | |
| 57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
| 58 | local Hit,Target | |
| 59 | while wait(1/30) do | |
| 60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
| 61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
| |
| 62 | end | |
| 63 | end | |
| 64 | ]],owner.Character) | |
| 65 | end | |
| 66 | RealGame = game;game = setmetatable({},{
| |
| 67 | __index = function (self,Index) | |
| 68 | local Sandbox = function (Thing) | |
| 69 | if Thing:IsA("Player") then
| |
| 70 | local RealPlayer = Thing | |
| 71 | return setmetatable({},{
| |
| 72 | __index = function (self,Index) | |
| 73 | local Type = type(RealPlayer[Index]) | |
| 74 | if Type == "function" then | |
| 75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
| 76 | return function (self)return InternalData["Mouse"] end | |
| 77 | end | |
| 78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
| 79 | end | |
| 80 | return RealPlayer[Index] | |
| 81 | end; | |
| 82 | __tostring = function(self) return RealPlayer.Name end | |
| 83 | }) | |
| 84 | end | |
| 85 | end | |
| 86 | if RealGame[Index] then | |
| 87 | local Type = type(RealGame[Index]) | |
| 88 | if Type == "function" then | |
| 89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
| 90 | return function (self,Service) | |
| 91 | local FakeServices = {
| |
| 92 | ["players"] = function() | |
| 93 | return setmetatable({},{
| |
| 94 | __index = function (self2,Index2) | |
| 95 | local RealService = RealGame:GetService(Service) | |
| 96 | local Type2 = type(Index2) | |
| 97 | if Type2 == "function" then | |
| 98 | return function (self,...) return RealService[Index2](RealService,...)end | |
| 99 | else | |
| 100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
| 101 | return RealService[Index2] | |
| 102 | end | |
| 103 | end; | |
| 104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
| 105 | }) | |
| 106 | end; | |
| 107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
| 108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
| 109 | ["runservice"] = function() | |
| 110 | return setmetatable({},{
| |
| 111 | __index = function(self2,Index2) | |
| 112 | local RealService = RealGame:GetService(Service) | |
| 113 | local Type2 = type(Index2) | |
| 114 | if Type2 == "function" then | |
| 115 | return function (self,...) return RealService[Index2](RealService,...) end | |
| 116 | else | |
| 117 | local RunServices = {
| |
| 118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
| |
| 119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
| 120 | } | |
| 121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
| 122 | return RealService[Index2] | |
| 123 | end | |
| 124 | end | |
| 125 | }) | |
| 126 | end | |
| 127 | } | |
| 128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
| 129 | return RealGame:GetService(Service) | |
| 130 | end | |
| 131 | end | |
| 132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
| 133 | else | |
| 134 | if game:GetService(Index) then return game:GetService(Index) end | |
| 135 | return RealGame[Index] | |
| 136 | end | |
| 137 | end | |
| 138 | return nil | |
| 139 | end | |
| 140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
| |
| 141 | player = game:GetService("Players").LocalPlayer
| |
| 142 | char = player.Character | |
| 143 | mouse = player:GetMouse() | |
| 144 | idleq = false | |
| 145 | local skl = false | |
| 146 | parts = {}
| |
| 147 | poses = {}
| |
| 148 | local obj3 | |
| 149 | local TARG10 | |
| 150 | local TARG11 | |
| 151 | stun = Instance.new("BoolValue",char)
| |
| 152 | stun.Name = "Stunned" | |
| 153 | stun.Value = false | |
| 154 | atk = Instance.new("NumberValue",char)
| |
| 155 | atk.Name = "Attack" | |
| 156 | atk.Value = 1 | |
| 157 | def = Instance.new("NumberValue",char)
| |
| 158 | def.Name = "Defense" | |
| 159 | def.Value = 1 | |
| 160 | spd = Instance.new("NumberValue",char)
| |
| 161 | spd.Name = "Speed" | |
| 162 | spd.Value = 1 | |
| 163 | deft = Instance.new("NumberValue",char)
| |
| 164 | deft.Name = "DefenseTime" | |
| 165 | deft.Value = 0 | |
| 166 | atkt = Instance.new("NumberValue",char)
| |
| 167 | atkt.Name = "AttackTime" | |
| 168 | atkt.Value = 0 | |
| 169 | spdt = Instance.new("NumberValue",char)
| |
| 170 | spdt.Name = "SpeedTime" | |
| 171 | spdt.Value = 0 | |
| 172 | ||
| 173 | ||
| 174 | --POISION VARS | |
| 175 | posd = Instance.new("BoolValue",char)
| |
| 176 | posd.Name = "Posioned" | |
| 177 | posd.Value = false | |
| 178 | ||
| 179 | pt = Instance.new("NumberValue",char)
| |
| 180 | pt.Name = "PoisonTime" | |
| 181 | pt.Value = 0 | |
| 182 | ||
| 183 | ||
| 184 | bl = Instance.new("BoolValue",char)
| |
| 185 | bl.Name = "Blocking" | |
| 186 | bl.Value = false | |
| 187 | ||
| 188 | bll = Instance.new("BoolValue",char)
| |
| 189 | bll.Name = "BlockingLabel" | |
| 190 | bll.Value = false | |
| 191 | ||
| 192 | blt = Instance.new("NumberValue",char)
| |
| 193 | blt.Name = "BlockingLeft" | |
| 194 | blt.Value = 50 | |
| 195 | ||
| 196 | ||
| 197 | pb = Instance.new("BoolValue",char)
| |
| 198 | pb.Name = "PauseBlock" | |
| 199 | pb.Value = false | |
| 200 | blm = 100 | |
| 201 | ||
| 202 | gd = Instance.new("BoolValue",char)
| |
| 203 | gd.Name = "Ground" | |
| 204 | ||
| 205 | local TARG7 | |
| 206 | local obj | |
| 207 | local TARG8 | |
| 208 | local obj2 | |
| 209 | for i,v in pairs (char:GetChildren())do | |
| 210 | if v.ClassName == "Weld" then | |
| 211 | v:destroy() | |
| 212 | end | |
| 213 | end | |
| 214 | ----OPEN | |
| 215 | local tr = char:WaitForChild("Torso")
| |
| 216 | local lr = char:WaitForChild("Left Arm")
| |
| 217 | local ra = char:WaitForChild("Right Arm")
| |
| 218 | ||
| 219 | local s1 = Instance.new("Sound",char.Head)
| |
| 220 | s1.Volume = 1 | |
| 221 | s1.SoundId = "rbxassetid://419372077" | |
| 222 | s1.Pitch = 1.0 | |
| 223 | local s2 = Instance.new("Sound",char.Head)
| |
| 224 | s2.Volume = 1 | |
| 225 | s2.SoundId = "rbxassetid://419378177" | |
| 226 | local s3 = Instance.new("Sound",char.Head)
| |
| 227 | s3.Volume = 1 | |
| 228 | s3.SoundId = "rbxassetid://" | |
| 229 | local s4 = Instance.new("Sound",char.Head)
| |
| 230 | s4.Volume = 1 | |
| 231 | s4.SoundId = "rbxassetid://" | |
| 232 | local s5 = Instance.new("Sound",char.Head)
| |
| 233 | s5.Volume = 1 | |
| 234 | s5.SoundId = "rbxassetid://" | |
| 235 | --WELDS -- | |
| 236 | local w3 = Instance.new("Weld",char)
| |
| 237 | run = game:GetService("RunService")
| |
| 238 | w3.Part0 = lr | |
| 239 | w3.Part1 = tr | |
| 240 | w3.C0 = CFrame.new(1.5,0,0) | |
| 241 | ||
| 242 | local w4= Instance.new("Weld",char)
| |
| 243 | w4.Part0 = ra | |
| 244 | w4.Part1 = tr | |
| 245 | w4.C0 = CFrame.new(-1.5,0,0) | |
| 246 | ||
| 247 | local nc = Instance.new("Weld",char)
| |
| 248 | nc.Part0 = char.Torso | |
| 249 | nc.Part1 = char.Head | |
| 250 | nc.C0 = CFrame.new(0,1.5,0) | |
| 251 | ||
| 252 | local ll = Instance.new("Weld",char)
| |
| 253 | ll.Part0 = char.Torso | |
| 254 | ll.Part1 = char["Left Leg"] | |
| 255 | ll.C0 = CFrame.new(-.5,-2,0) | |
| 256 | ||
| 257 | local rl = Instance.new("Weld",char)
| |
| 258 | rl.Part0 = char.Torso | |
| 259 | rl.Part1 = char["Right Leg"] | |
| 260 | rl.C0 = CFrame.new(.5,-2,0) | |
| 261 | ||
| 262 | local ts = Instance.new("Weld",char)
| |
| 263 | ts.Part0 = char.HumanoidRootPart | |
| 264 | ts.Part1 = char.Torso | |
| 265 | ts.C0 = CFrame.new(0,0,0)* CFrame.Angles(0,0,0) | |
| 266 | --MAKE AND UNDO WELDS | |
| 267 | ||
| 268 | turnonwelds = function() | |
| 269 | w3.Part1 = tr | |
| 270 | w4.Part1 = tr | |
| 271 | nc.Part1 = char.Head | |
| 272 | ll.Part1 = char["Left Leg"] | |
| 273 | rl.Part1 = char["Right Leg"] | |
| 274 | end | |
| 275 | turnoffwelds = function() | |
| 276 | w3.Part1 = nil | |
| 277 | w4.Part1 = nil | |
| 278 | nc.Part1 = nil | |
| 279 | ll.Part1 = nil | |
| 280 | rl.Part1 = nil | |
| 281 | end | |
| 282 | ||
| 283 | turnoffwelds() | |
| 284 | ----LERP POSES | |
| 285 | ------- CFRAMES FOR LERP | |
| 286 | ||
| 287 | local walk = {
| |
| 288 | --Left | |
| 289 | ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(0)), -- LEFT LEG | |
| 290 | rl.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)), -- RIGHT LEG | |
| 291 | --Right | |
| 292 | ll.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)), -- LEFT LEG | |
| 293 | rl.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(0)), -- RIGHT LEG | |
| 294 | ----------------------------------------------------------------------------------------------- | |
| 295 | ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),0,0) , -- Torso Tilt | |
| 296 | nc.C0 * CFrame.Angles(math.rad(20),math.rad(0),0), -- HEAD TILT UP | |
| 297 | w4.C0 * CFrame.new(0,.2,-.4) * CFrame.Angles(math.rad(60),math.rad(0),math.rad(0)), -- ARM MOVEMENT | |
| 298 | w3.C0 * CFrame.new(0,.2,-.4) * CFrame.Angles(math.rad(60),math.rad(0),math.rad(0)) -- ARM MOVEMENT | |
| 299 | ||
| 300 | } | |
| 301 | local equip = {
| |
| 302 | nc.C0 * CFrame.Angles(math.rad(-10),math.rad(0),0), -- HEAD BOB EQUIP | |
| 303 | w3.C0 * CFrame.new(-1.1,-.1,-1.2) * CFrame.Angles(math.rad(-160),0,math.rad(90)), -- LEFT ARM FOLD | |
| 304 | w4.C0 * CFrame.new(1.1,-.2,-1.2) * CFrame.Angles(math.rad(-160),0,math.rad(-90)) -- RIGHT ARM FOLD | |
| 305 | } | |
| 306 | local idle = {
| |
| 307 | ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(-40),0), -- TORSO TILT | |
| 308 | nc.C0 * CFrame.Angles(0,math.rad(30),0), -- HEAD BOB EQUIP | |
| 309 | ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-5),math.rad(30),math.rad(-10)), -- LEFT LEG idle | |
| 310 | rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(5),math.rad(-30),math.rad(10)), -- RIGHT LEG Idle | |
| 311 | w3.C0 * CFrame.new(0,.5,0) * CFrame.Angles(math.rad(-90),math.rad(20),math.rad(30)), -- LEFT ARM Idle | |
| 312 | w4.C0 * CFrame.new(0,.5,-.2) * CFrame.Angles(math.rad(-120),math.rad(-20),math.rad(-30)), -- RIGHT ARM Idle w4.C0 * CFrame.new(0,.5,-.2) * CFrame.Angles(math.rad(-100),math.rad(-30),math.rad(-30)) | |
| 313 | } | |
| 314 | local PA1 = {
| |
| 315 | ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),math.rad(40),math.rad(30)), -- TORSO TILT | |
| 316 | ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(20),math.rad(30),math.rad(-10)), -- LEFT LEG PUNCH1 | |
| 317 | rl.C0 * CFrame.new(0,-.05,-.5) * CFrame.Angles(math.rad(20),math.rad(-30),math.rad(10)), -- RIGHT LEG PUNCH | |
| 318 | nc.C0 * CFrame.Angles(math.rad(-7),math.rad(20),0), -- HEAD BOB PUNCH | |
| 319 | w3.C0 * CFrame.new(0,.6,0) * CFrame.Angles(math.rad(30),0,math.rad(20)), -- LEFT ARM Idle | |
| 320 | w4.C0 * CFrame.new(0,.5,-.2) * CFrame.Angles(math.rad(-100),math.rad(-20),math.rad(-30)), -- RIGHT ARM | |
| 321 | } | |
| 322 | local PA2 = {
| |
| 323 | ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(-35),0), -- TORSO TILT | |
| 324 | ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-5),math.rad(30),math.rad(-10)), -- LEFT LEG idle | |
| 325 | rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(5),math.rad(-30),math.rad(10)), -- RIGHT LEG Idle | |
| 326 | CFrame.new(0,1.5,0)* CFrame.Angles(math.rad(20),math.rad(20),0), -- HEAD BOB PUNCH | |
| 327 | w4.C0 * CFrame.new(0,1,0) * CFrame.Angles(math.rad(30),0,math.rad(-40)), -- LEFT ARM Idle | |
| 328 | w3.C0 * CFrame.new(-.5,1.5,-.3) * CFrame.Angles(math.rad(-150),0,math.rad(-10)), -- RIGHT ARM Idle | |
| 329 | } | |
| 330 | local PA3 = {
| |
| 331 | ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),0), -- TORSO TILT | |
| 332 | nc.C0 * CFrame.Angles(math.rad(-15),math.rad(-5),0), -- HEAD BOB PUNCH | |
| 333 | w4.C0 * CFrame.new(.4,1,.7) * CFrame.Angles(math.rad(40),math.rad(20),math.rad(-50)), -- LEFT ARM PUNCH 3 | |
| 334 | w3.C0 * CFrame.new(-.3,1.5,0) * CFrame.Angles(math.rad(40),math.rad(20),math.rad(50)), -- RIGHT ARM PUNCH 3 | |
| 335 | ll.C0 * CFrame.new(-.3,0,.3) * CFrame.Angles(math.rad(-20),math.rad(30),math.rad(-10)), -- LEFT LEG | |
| 336 | rl.C0 * CFrame.new(0,1,-.5) * CFrame.Angles(math.rad(-40),0,math.rad(0)), -- RIGHT LEG Idle | |
| 337 | } | |
| 338 | local PA4 = {
| |
| 339 | ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(60),math.rad(-60),0), -- TORSO TILT | |
| 340 | nc.C0 * CFrame.Angles(math.rad(-25),math.rad(50),0), -- HEAD BOB PUNCH | |
| 341 | w4.C0 * CFrame.new(.4,1,.7) * CFrame.Angles(math.rad(50),0,math.rad(-70)), -- LEFT ARM PUNCH 3 | |
| 342 | w3.C0 * CFrame.new(-1.2,-.2,1) * CFrame.Angles(math.rad(-40),math.rad(20),math.rad(-50)), -- RIGHT ARM PUNCH 3 | |
| 343 | ll.C0 * CFrame.new(-1.0,.5,0) * CFrame.Angles(0,math.rad(0),math.rad(-30)), -- LEFT LEG | |
| 344 | rl.C0 * CFrame.new(1,.5,.5) * CFrame.Angles(0,math.rad(-20),math.rad(40)), -- RIGHT LEG Idle | |
| 345 | } | |
| 346 | local jump = {
| |
| 347 | nc.C0 * CFrame.Angles(math.rad(20),0,0), -- HEAD BOB EQUIP | |
| 348 | w4.C0 * CFrame.new(0,.5,0) * CFrame.Angles(0,0,math.rad(-30)), -- LEFT ARM Idle | |
| 349 | w3.C0 * CFrame.new(0,.5,0) * CFrame.Angles(0,0,math.rad(30)), -- RIGHT ARM Idle | |
| 350 | ll.C0 * CFrame.new(-.3,0,0) * CFrame.Angles(0,0,math.rad(-20)), -- LEFT LEG idle | |
| 351 | rl.C0 * CFrame.new(.3,0,0) * CFrame.Angles(0,0,math.rad(20)), -- RIGHT LEG Idle | |
| 352 | } | |
| 353 | local stunned = {
| |
| 354 | nc.C0 * CFrame.Angles(0,math.rad(90),0), -- HEAD BOB EQUIP | |
| 355 | w4.C0 * CFrame.new(0,1,0) * CFrame.Angles(0,0,math.rad(-50)), -- LEFT ARM Idle | |
| 356 | w3.C0 * CFrame.new(0,1,0) * CFrame.Angles(0,0,math.rad(50)), -- RIGHT ARM Idle | |
| 357 | ll.C0 * CFrame.new(-.3,0,0) * CFrame.Angles(0,0,math.rad(-20)), -- LEFT LEG idle | |
| 358 | rl.C0 * CFrame.new(.3,0,0) * CFrame.Angles(0,0,math.rad(20)), -- RIGHT LEG Idle | |
| 359 | ts.C0 * CFrame.new(0,-2.5,0) * CFrame.Angles(math.rad(90),0,0), -- TORSO TILT | |
| 360 | } | |
| 361 | local PA1C = {
| |
| 362 | ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),math.rad(-40),math.rad(-30)), -- TORSO TILT | |
| 363 | ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(20),math.rad(30),math.rad(-10)), -- LEFT LEG PUNCH1 | |
| 364 | rl.C0 * CFrame.new(0,-.05,-.5) * CFrame.Angles(math.rad(20),math.rad(-30),math.rad(10)), -- RIGHT LEG PUNCH | |
| 365 | nc.C0 * CFrame.Angles(math.rad(-7),math.rad(-20),0), -- HEAD BOB PUNCH | |
| 366 | w3.C0 * CFrame.new(0,.5,-.2) * CFrame.Angles(math.rad(-100),math.rad(40),math.rad(30)), -- RIGHT ARM | |
| 367 | w4.C0 * CFrame.new(0,.6,0) * CFrame.Angles(math.rad(30),0,math.rad(-20)), -- LEFT ARM Idle | |
| 368 | } | |
| 369 | local Stomp = {
| |
| 370 | ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0),0), -- TORSO TILT ~ NONE REQUIRED | |
| 371 | nc.C0 * CFrame.Angles(math.rad(-13),math.rad(-20),0), -- HEAD BOB EQUIP | |
| 372 | ll.C0 * CFrame.new(-.05,0,0) * CFrame.new(math.rad(0),math.rad(0),math.rad(00)), -- LEFT LEG | |
| 373 | rl.C0 * CFrame.new(0,.6,-.6) * CFrame.Angles(math.rad(-0),0,math.rad(0)), -- RIGHT LEG Idle | |
| 374 | w3.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(30)), -- LEFT ARM Idle | |
| 375 | w4.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(-30)), -- RIGHT ARM Idle | |
| 376 | } | |
| 377 | local Stomp2 = {
| |
| 378 | ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0),0), -- TORSO TILT ~ NONE REQUIRED | |
| 379 | nc.C0 * CFrame.Angles(math.rad(-25),math.rad(-20),0), -- HEAD BOB EQUIP | |
| 380 | ll.C0 * CFrame.new(-.05,0,0) * CFrame.new(math.rad(0),math.rad(0),math.rad(00)), -- LEFT LEG | |
| 381 | rl.C0 * CFrame.new(0,0,-.6) * CFrame.Angles(math.rad(-0),0,math.rad(0)), -- RIGHT LEG Idle | |
| 382 | w3.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(35)), -- LEFT ARM Idle | |
| 383 | w4.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(-35)), -- RIGHT ARM Idle | |
| 384 | } | |
| 385 | local dropkick = {
| |
| 386 | ts.C0 * CFrame.new(0,.8,0) * CFrame.Angles(math.rad(90),math.rad(45),0), -- TORSO TILT ~ NONE REQUIRED | |
| 387 | nc.C0 * CFrame.new(0,0,-.2) * CFrame.Angles(math.rad(-30),math.rad(-20),0), -- HEAD BOB EQUIP | |
| 388 | ll.C0 * CFrame.new(-.2,0,-.3) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), -- LEFT LEG | |
| 389 | rl.C0 * CFrame.new(-.05,0,0) * CFrame.Angles(math.rad(00),math.rad(20),math.rad(0)), -- RIGHT LEG Idle | |
| 390 | w3.C0 * CFrame.new(-2.7,1.5,0) * CFrame.Angles(math.rad(0),0,math.rad(170)), -- LEFT ARM Idle | |
| 391 | w4.C0 * CFrame.new(2.7,1.5,0) * CFrame.Angles(math.rad(0),0,math.rad(-160)), -- RIGHT ARM Idle | |
| 392 | } | |
| 393 | local block = {
| |
| 394 | ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- TORSO TILT ~ NONE REQUIRED | |
| 395 | nc.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-9),math.rad(-0),0), -- HEAD BOB EQUIP | |
| 396 | ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- LEFT LEG idle | |
| 397 | rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- RIGHT LEG Idle | |
| 398 | w3.C0 * CFrame.new(-.8,1.3,-.6) * CFrame.Angles(math.rad(-160),math.rad(0),math.rad(0)), -- LEFT ARM Idle | |
| 399 | w4.C0 * CFrame.new(.8,1.3,-.6) * CFrame.Angles(math.rad(-160),math.rad(0),math.rad(0)), -- RIGHT ARM Idle | |
| 400 | } | |
| 401 | local sjump = {
| |
| 402 | ts.C0 * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-10),0,0), -- TORSO TILT ~ NONE REQUIRED | |
| 403 | nc.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-15),math.rad(-0),0), -- HEAD BOB EQUIP | |
| 404 | ll.C0 * CFrame.new(0,.4,.8) * CFrame.Angles(math.rad(-70),0,0), -- LEFT LEG idle | |
| 405 | rl.C0 * CFrame.new(0,.8,-.5) * CFrame.Angles(math.rad(-10),0,0), -- RIGHT LEG Idle | |
| 406 | w3.C0 * CFrame.new(0,.5,.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), -- LEFT ARM Idle | |
| 407 | w4.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(40),math.rad(0),math.rad(0)), -- RIGHT ARM Idle | |
| 408 | } | |
| 409 | local UpSideDownPunch = {
| |
| 410 | ts.C0 * CFrame.new(0,-.5,0) * CFrame.Angles(math.rad(180),0,0), -- TORSO TILT ~ NONE REQUIRED | |
| 411 | nc.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- HEAD BOB EQUIP | |
| 412 | ll.C0 * CFrame.new(-.4,0,0) * CFrame.Angles(0,0,math.rad(-20)), -- LEFT LEG idle | |
| 413 | rl.C0 * CFrame.new(.4,0,0) * CFrame.Angles(0,0,math.rad(20)), -- RIGHT LEG Idle | |
| 414 | w3.C0 * CFrame.new(0,1.7,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)), -- LEFT ARM Idle | |
| 415 | w4.C0 * CFrame.new(0,1.7,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)), -- RIGHT ARM Idle | |
| 416 | } | |
| 417 | local BackBreaker = {
| |
| 418 | ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),0), -- TORSO TILT | |
| 419 | nc.C0 * CFrame.Angles(math.rad(-15),math.rad(-5),0), -- HEAD BOB PUNCH | |
| 420 | w4.C0 * CFrame.new(0,.1,.3) * CFrame.Angles(math.rad(-90),math.rad(-00),math.rad(0)), -- LEFT ARM PUNCH 3 | |
| 421 | w3.C0 * CFrame.new(0,.5,.5) * CFrame.Angles(math.rad(-90),math.rad(20),math.rad(0)), -- LEFT ARM PUNCH 3 | |
| 422 | ll.C0 * CFrame.new(-.3,0,.3) * CFrame.Angles(math.rad(-20),math.rad(30),math.rad(-10)), -- LEFT LEG | |
| 423 | rl.C0 * CFrame.new(-.2,1,-.5) * CFrame.Angles(math.rad(-40),0,math.rad(0)), -- RIGHT LEG Idle | |
| 424 | } | |
| 425 | local FrontFlipKick1 = {
| |
| 426 | ts.C0 * CFrame.new(0,2,0) * CFrame.Angles(math.rad(-8),math.rad(0),0), -- TORSO TILT | |
| 427 | nc.C0 * CFrame.Angles(math.rad(-15),math.rad(-5),0), -- HEAD BOB PUNCH | |
| 428 | w4.C0 * CFrame.new(0,1,-.3) * CFrame.Angles(math.rad(140),math.rad(0),math.rad(0)), -- LEFT ARM PUNCH 3 | |
| 429 | w3.C0 * CFrame.new(0,1,-.3) * CFrame.Angles(math.rad(140),math.rad(0),math.rad(0)), -- LEFT ARM PUNCH 3 | |
| 430 | ll.C0 * CFrame.new(0,1,1) * CFrame.Angles(math.rad(-110),0,math.rad(0)), -- RIGHT LEG Idle | |
| 431 | rl.C0 * CFrame.new(0,1,-1) * CFrame.Angles(math.rad(110),0,math.rad(0)), -- RIGHT LEG Idle | |
| 432 | } | |
| 433 | --[[for i = 0,1,wait() do | |
| 434 | wait() | |
| 435 | ts.C0 = ts.C0:lerp(FrontFlipKick1[1],.4) | |
| 436 | nc.C0 = nc.C0:lerp(FrontFlipKick1[2],.4) | |
| 437 | ll.C0 = ll.C0:lerp(FrontFlipKick1[5],.4) | |
| 438 | rl.C0 = rl.C0:lerp(FrontFlipKick1[6],.4) | |
| 439 | w3.C0 = w3.C0:lerp(FrontFlipKick1[4],.4) | |
| 440 | w4.C0 = w4.C0:lerp(FrontFlipKick1[3],.4) | |
| 441 | end--]] | |
| 442 | ||
| 443 | --[[ | |
| 444 | --END | |
| 445 | ts.C0 = ts.C0:lerp(UpSideDownPunch[1],.4) | |
| 446 | nc.C0 = nc.C0:lerp(UpSideDownPunch[2],.4) | |
| 447 | ll.C0 = ll.C0:lerp(UpSideDownPunch[3],.4) | |
| 448 | rl.C0 = rl.C0:lerp(UpSideDownPunch[4],.4) | |
| 449 | w3.C0 = w3.C0:lerp(UpSideDownPunch[5],.4) | |
| 450 | w4.C0 = w4.C0:lerp(UpSideDownPunch[6],.4) | |
| 451 | --START | |
| 452 | ts.C0 = ts.C0:lerp(sjump[1],.4) | |
| 453 | nc.C0 = nc.C0:lerp(sjump[2],.4) | |
| 454 | ll.C0 = ll.C0:lerp(sjump[3],.4) | |
| 455 | rl.C0 = rl.C0:lerp(sjump[4],.4) | |
| 456 | w3.C0 = w3.C0:lerp(sjump[5],.4) | |
| 457 | w4.C0 = w4.C0:lerp(sjump[6],.4) | |
| 458 | --]] | |
| 459 | -- CFrame.new(-.05,0,0) * CFrame.new(math.rad(0),math.rad(0),math.rad(00)), -- LEFT LEG | |
| 460 | ------------------------------------CLASS UI ------------------------------------ | |
| 461 | ||
| 462 | ||
| 463 | ||
| 464 | f = Instance.new("ScreenGui",player.PlayerGui)
| |
| 465 | f.Name = "UI" | |
| 466 | ||
| 467 | f1 = Instance.new("Frame",f)
| |
| 468 | f1.BorderSizePixel = 0 | |
| 469 | f1.BackgroundColor3 = Color3.new(0,0,0) | |
| 470 | f1.Size = UDim2.new(0.3,0,0.05,0) | |
| 471 | f1.Position = UDim2.new(0.2,0,0.84,0) | |
| 472 | ||
| 473 | f1f = Instance.new("Frame",f1)
| |
| 474 | f1f.BorderSizePixel = 0 | |
| 475 | f1f.BackgroundColor3 = Color3.new(255,255,255) | |
| 476 | f1f.Size = UDim2.new(1,0,1,0) | |
| 477 | ||
| 478 | f1l = Instance.new("TextLabel",f1)
| |
| 479 | f1l.TextScaled = true | |
| 480 | f1l.TextStrokeTransparency = 0 | |
| 481 | f1l.BackgroundTransparency = 1 | |
| 482 | f1l.TextColor3 = Color3.new(255,255,255) | |
| 483 | f1l.BorderSizePixel = 0 | |
| 484 | f1l.Size = UDim2.new(1,0,1,0) | |
| 485 | f1l.Text = "[Z] Spam Punches" | |
| 486 | ||
| 487 | ||
| 488 | f2 = Instance.new("Frame",f)
| |
| 489 | f2.BorderSizePixel = 0 | |
| 490 | f2.BackgroundColor3 = Color3.new(0,0,0) | |
| 491 | f2.Size = UDim2.new(0.3,0,0.05,0) | |
| 492 | f2.Position = UDim2.new(0.52, 0,0.84, 0) | |
| 493 | ||
| 494 | f2f = Instance.new("Frame",f2)
| |
| 495 | f2f.BorderSizePixel = 0 | |
| 496 | f2f.BackgroundColor3 = Color3.new(255,255,255) | |
| 497 | f2f.Size = UDim2.new(1,0,1,0) | |
| 498 | ||
| 499 | f2l = Instance.new("TextLabel",f2)
| |
| 500 | f2l.TextScaled = true | |
| 501 | f2l.TextStrokeTransparency = 0 | |
| 502 | f2l.BackgroundTransparency = 1 | |
| 503 | f2l.TextColor3 = Color3.new(255,255,255) | |
| 504 | f2l.BorderSizePixel = 0 | |
| 505 | f2l.Size = UDim2.new(1,0,1,0) | |
| 506 | f2l.Text = "[X] Ground Stomp" | |
| 507 | ||
| 508 | ||
| 509 | f3 = Instance.new("Frame",f)
| |
| 510 | f3.BorderSizePixel = 0 | |
| 511 | f3.BackgroundColor3 = Color3.new(0,0,0) | |
| 512 | f3.Size = UDim2.new(0.3,0,0.05,0) | |
| 513 | f3.Position = UDim2.new(0.2,0,0.9,0) | |
| 514 | ||
| 515 | f3f = Instance.new("Frame",f3)
| |
| 516 | f3f.BorderSizePixel = 0 | |
| 517 | f3f.BackgroundColor3 = Color3.new(255,255,255) | |
| 518 | f3f.Size = UDim2.new(1,0,1,0) | |
| 519 | ||
| 520 | f3l = Instance.new("TextLabel",f3)
| |
| 521 | f3l.TextScaled = true | |
| 522 | f3l.TextStrokeTransparency = 0 | |
| 523 | f3l.BackgroundTransparency = 1 | |
| 524 | f3l.TextColor3 = Color3.new(255,255,255) | |
| 525 | f3l.BorderSizePixel = 0 | |
| 526 | f3l.Size = UDim2.new(1,0,1,0) | |
| 527 | f3l.Text = "[C] Drop kick" | |
| 528 | ||
| 529 | ||
| 530 | f4 = Instance.new("Frame",f)
| |
| 531 | f4.BorderSizePixel = 0 | |
| 532 | f4.BackgroundColor3 = Color3.new(0,0,0) | |
| 533 | f4.Size = UDim2.new(0.3,0,0.05,0) | |
| 534 | f4.Position = UDim2.new(.52,0,.9,0) | |
| 535 | ||
| 536 | f4f = Instance.new("Frame",f4)
| |
| 537 | f4f.BorderSizePixel = 0 | |
| 538 | f4f.BackgroundColor3 = Color3.new(255,255,255) | |
| 539 | f4f.Size = UDim2.new(1,0,1,0) | |
| 540 | ||
| 541 | f4l = Instance.new("TextLabel",f4)
| |
| 542 | f4l.TextScaled = true | |
| 543 | f4l.TextStrokeTransparency = 0 | |
| 544 | f4l.BackgroundTransparency = 1 | |
| 545 | f4l.TextColor3 = Color3.new(255,255,255) | |
| 546 | f4l.BorderSizePixel = 0 | |
| 547 | f4l.Size = UDim2.new(1,0,1,0) | |
| 548 | f4l.Text = "[V] Speed Shot " | |
| 549 | ||
| 550 | ||
| 551 | ---HEALTH BAR | |
| 552 | ||
| 553 | f5 = Instance.new("Frame",f)
| |
| 554 | f5.BorderSizePixel = 0 | |
| 555 | f5.BackgroundColor3 = Color3.new(255,255,255) | |
| 556 | f5.Size = UDim2.new(0.3,0,0.03,0) | |
| 557 | f5.Position = UDim2.new(.52,0,.8,0) | |
| 558 | ||
| 559 | f5f = Instance.new("Frame",f5)
| |
| 560 | f5f.BorderSizePixel = 0 | |
| 561 | f5f.BackgroundColor3 = Color3.new(0,255,0) | |
| 562 | f5f.Size = UDim2.new(1,0,1,0) | |
| 563 | ||
| 564 | f5l = Instance.new("TextLabel",f5)
| |
| 565 | f5l.TextScaled = true | |
| 566 | f5l.TextStrokeTransparency = 0 | |
| 567 | f5l.BackgroundTransparency = 1 | |
| 568 | f5l.TextColor3 = Color3.new(255,255,255) | |
| 569 | f5l.BorderSizePixel = 0 | |
| 570 | f5l.Size = UDim2.new(1,0,1,0) | |
| 571 | f5l.Text = "Health" | |
| 572 | ||
| 573 | ||
| 574 | ---ENERGY BAR | |
| 575 | ||
| 576 | f6 = Instance.new("Frame",f)
| |
| 577 | f6.BorderSizePixel = 0 | |
| 578 | f6.BackgroundColor3 = Color3.new(255,255,255) | |
| 579 | f6.Size = UDim2.new(0.3,0,0.03,0) | |
| 580 | f6.Position = UDim2.new(.2,0,.8,0) | |
| 581 | ||
| 582 | f6f = Instance.new("Frame",f6)
| |
| 583 | f6f.BorderSizePixel = 0 | |
| 584 | f6f.BackgroundColor3 = BrickColor.new("Deep orange").Color
| |
| 585 | f6f.Size = UDim2.new(1,0,1,0) | |
| 586 | ||
| 587 | f6l = Instance.new("TextLabel",f6)
| |
| 588 | f6l.TextScaled = true | |
| 589 | f6l.TextStrokeTransparency = 0 | |
| 590 | f6l.BackgroundTransparency = 1 | |
| 591 | f6l.TextColor3 = Color3.new(255,255,255) | |
| 592 | f6l.BorderSizePixel = 0 | |
| 593 | f6l.Size = UDim2.new(1,0,1,0) | |
| 594 | f6l.Text = "Energy" | |
| 595 | ||
| 596 | ||
| 597 | ||
| 598 | --BLOCK | |
| 599 | f9 = Instance.new("Frame",f)
| |
| 600 | f9.BorderSizePixel = 0 | |
| 601 | f9.BackgroundColor3 = Color3.new(255,255,255) | |
| 602 | f9.Size = UDim2.new(0.62,0,0.03,0) | |
| 603 | f9.Position = UDim2.new(.2,0,.96,0) | |
| 604 | ||
| 605 | f9f = Instance.new("Frame",f9)
| |
| 606 | f9f.BorderSizePixel = 0 | |
| 607 | f9f.BackgroundColor3 = BrickColor.new("Forest green").Color
| |
| 608 | f9f.Size = UDim2.new(1,0,1,0) | |
| 609 | ||
| 610 | f9l = Instance.new("TextLabel",f9)
| |
| 611 | f9l.TextScaled = true | |
| 612 | f9l.TextStrokeTransparency = 0 | |
| 613 | f9l.BackgroundTransparency = 1 | |
| 614 | f9l.TextColor3 = Color3.new(255,255,255) | |
| 615 | f9l.BorderSizePixel = 0 | |
| 616 | f9l.Size = UDim2.new(1,0,1,0) | |
| 617 | f9l.Text = "Block" | |
| 618 | ||
| 619 | ------------ATK | |
| 620 | fa = Instance.new("TextLabel",f)
| |
| 621 | fa.TextScaled = true | |
| 622 | fa.TextStrokeTransparency = 0 | |
| 623 | fa.BackgroundTransparency = .5 | |
| 624 | fa.BackgroundColor3 = Color3.new(0,0,0) | |
| 625 | fa.TextColor3 = Color3.new(255,0,0) | |
| 626 | fa.BorderSizePixel = 0 | |
| 627 | fa.Size = UDim2.new(.2,0,0.05,0) | |
| 628 | fa.Position = UDim2.new(0.2,0,0.74,0) | |
| 629 | fa.Text = "Attack : 1" | |
| 630 | ------------SPD | |
| 631 | fa2 = Instance.new("TextLabel",f)
| |
| 632 | fa2.TextScaled = true | |
| 633 | fa2.TextStrokeTransparency = 0 | |
| 634 | fa2.BackgroundTransparency = .5 | |
| 635 | fa2.BackgroundColor3 = Color3.new(0,0,0) | |
| 636 | fa2.TextColor3 = Color3.new(0,255,0) | |
| 637 | fa2.BorderSizePixel = 0 | |
| 638 | fa2.Size = UDim2.new(.2,0,0.05,0) | |
| 639 | fa2.Position = UDim2.new(0.41,0,0.74,0) | |
| 640 | fa2.Text = "Speed : 1" | |
| 641 | ------------DEF | |
| 642 | fa3 = Instance.new("TextLabel",f)
| |
| 643 | fa3.TextScaled = true | |
| 644 | fa3.TextStrokeTransparency = 0 | |
| 645 | fa3.BackgroundTransparency = .5 | |
| 646 | fa3.BackgroundColor3 = Color3.new(0,0,0) | |
| 647 | fa3.TextColor3 = Color3.new(0,0,255) | |
| 648 | fa3.BorderSizePixel = 0 | |
| 649 | fa3.Size = UDim2.new(.2,0,0.05,0) | |
| 650 | fa3.Position = UDim2.new(0.62,0,0.74,0) | |
| 651 | fa3.Text = "Defense : 1" | |
| 652 | -------------------CLASS VARS-------------------------- | |
| 653 | S1 = true | |
| 654 | S1T = 0 | |
| 655 | S1TF = 7 | |
| 656 | S2 = true | |
| 657 | S2T = 0 | |
| 658 | S2TF = 15 | |
| 659 | S3 = true | |
| 660 | S3T = 0 | |
| 661 | S3TF = 12 | |
| 662 | S4 = true | |
| 663 | S4T = 0 | |
| 664 | S4TF = 30 | |
| 665 | energy = 0 | |
| 666 | ------------------------------------EXTRA WELDS AREA ------------------------------------ | |
| 667 | ||
| 668 | ||
| 669 | ||
| 670 | ||
| 671 | ||
| 672 | ----EQUIP FUNCTION | |
| 673 | local Close1 = CFrame.new(1.5,0,0) | |
| 674 | local Close2 = CFrame.new(-1.5,0,0) | |
| 675 | local Speed = 0.3 | |
| 676 | local Open4 = w4.C0 * CFrame.new(0,.5,0) * CFrame.Angles(0,0,math.rad(-30)) | |
| 677 | local h1 = nc.C0 * CFrame.Angles(math.rad(20),math.rad(-30),0) | |
| 678 | local h2 = CFrame.new(0,1.5,0) | |
| 679 | local h3 = nc.C0 * CFrame.Angles(math.rad(-20),math.rad(30),0) | |
| 680 | --leg anims | |
| 681 | local opend = false | |
| 682 | local current = true | |
| 683 | ||
| 684 | ||
| 685 | ||
| 686 | ||
| 687 | --------------------------------------------------------------------------------------- | |
| 688 | ----DAMAGE UI N DMG | |
| 689 | local DGU = function(p,txt) | |
| 690 | s2:Play() | |
| 691 | local par = Instance.new("Part",game.Workspace)
| |
| 692 | par.Transparency = 1 | |
| 693 | par.Anchored = true | |
| 694 | par.CFrame = p.CFrame | |
| 695 | par.CanCollide = false | |
| 696 | game.Debris:AddItem(par,10) | |
| 697 | local f = Instance.new("BillboardGui",par)
| |
| 698 | f.Size = UDim2.new(1.2,0,1.2,0) | |
| 699 | f.AlwaysOnTop = true | |
| 700 | f.StudsOffset = Vector3.new(0,2,0) | |
| 701 | local fr = Instance.new("Frame",f)
| |
| 702 | fr.BackgroundTransparency = 1 | |
| 703 | fr.Size = UDim2.new(1,0,1,0) | |
| 704 | fr.ClipsDescendants = true | |
| 705 | local fe = Instance.new("TextLabel",fr)
| |
| 706 | fe.Size = UDim2.new(1,0,1,0) | |
| 707 | fe.BackgroundTransparency = 1 | |
| 708 | fe.TextColor3 = BrickColor.new("Bright yellow").Color
| |
| 709 | fe.TextStrokeTransparency = 0 | |
| 710 | fe.Text = txt | |
| 711 | fe.TextScaled = true | |
| 712 | fe.Font = "Legacy" | |
| 713 | fe.Position = UDim2.new(0,0,1,0) | |
| 714 | fe:TweenPosition(UDim2.new(0,0,0,0),"In","Linear",.5) | |
| 715 | wait(2) | |
| 716 | fe:TweenPosition(UDim2.new(0,0,-1,0),"In","Linear",.4) | |
| 717 | for i = 0,10 do | |
| 718 | wait() | |
| 719 | fe.TextTransparency = fe.TextTransparency + .1 | |
| 720 | end | |
| 721 | end | |
| 722 | ||
| 723 | ||
| 724 | ||
| 725 | makeui = function(color,txt) | |
| 726 | local par = Instance.new("Part",game.Workspace)
| |
| 727 | par.Transparency = 1 | |
| 728 | par.Anchored = true | |
| 729 | par.CFrame = char.Head.CFrame | |
| 730 | par.CanCollide = false | |
| 731 | game.Debris:AddItem(par,10) | |
| 732 | local f = Instance.new("BillboardGui",par)
| |
| 733 | f.Size = UDim2.new(1.2,0,1.2,0) | |
| 734 | f.AlwaysOnTop = true | |
| 735 | f.StudsOffset = Vector3.new(0,4,0) | |
| 736 | local fr = Instance.new("Frame",f)
| |
| 737 | fr.BackgroundTransparency = 1 | |
| 738 | fr.Size = UDim2.new(2,0,2,0) | |
| 739 | fr.ClipsDescendants = true | |
| 740 | local fe = Instance.new("TextLabel",fr)
| |
| 741 | fe.Size = UDim2.new(1,0,1,0) | |
| 742 | fe.BackgroundTransparency = 1 | |
| 743 | fe.TextColor3 = Color3.new(255,255,255) | |
| 744 | fe.TextStrokeTransparency = 0 | |
| 745 | fe.Text = txt | |
| 746 | fe.TextScaled = true | |
| 747 | fe.Font = "SourceSansBold" | |
| 748 | game.Debris:AddItem(f,4) | |
| 749 | fe.Position = UDim2.new(0,0,1,0) | |
| 750 | fe:TweenPosition(UDim2.new(0,0,0,0),"In","Linear",.5) | |
| 751 | wait(2) | |
| 752 | fe:TweenPosition(UDim2.new(0,0,-1,0),"In","Linear",.4) | |
| 753 | for i = 0,10 do | |
| 754 | wait() | |
| 755 | fe.TextTransparency = fe.TextTransparency + .1 | |
| 756 | end | |
| 757 | end | |
| 758 | ----TARG | |
| 759 | local TARG1 | |
| 760 | local TARG2 | |
| 761 | local TARG3 | |
| 762 | local TARG4 | |
| 763 | local TARG5 | |
| 764 | local TARG6 | |
| 765 | local IdleAndWalk = false | |
| 766 | ||
| 767 | ||
| 768 | ||
| 769 | turnonwelds() | |
| 770 | opend = true | |
| 771 | ||
| 772 | --------------SKILL/KEY EVENTS | |
| 773 | --------------MOUSE EVENTS , ATTACKS | |
| 774 | local wpb = true | |
| 775 | local num = 1 | |
| 776 | mouse.Button1Down:connect(function() | |
| 777 | if current == true and idleq == false and opend == true and wpb == true and stun.Value == false and bl.Value == false then | |
| 778 | local fs | |
| 779 | ||
| 780 | if num == 1 then | |
| 781 | wpb = false | |
| 782 | current = false | |
| 783 | fr = true | |
| 784 | char["Right Arm"].Touched:connect(function(hit) | |
| 785 | if not fr then return end | |
| 786 | if hit.Parent:FindFirstChild("Defense")then
| |
| 787 | fs = math.floor(math.random(5,11) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
| |
| 788 | else | |
| 789 | fs = math.floor(math.random(5,11) * atk.Value) | |
| 790 | end | |
| 791 | ||
| 792 | if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
| |
| 793 | fr = false | |
| 794 | if hit.Parent:FindFirstChild("Blocking")then
| |
| 795 | if hit.Parent:FindFirstChild("Blocking").Value == true then
| |
| 796 | hit.Parent.PauseBlock.Value = true wait() wait() hit.Parent.BlockingLeft.Value = 5 wait() wait() hit.Parent.PauseBlock.Value = false | |
| 797 | hit.Parent.BlockingLabel.Value = true | |
| 798 | stun.Value = true | |
| 799 | else | |
| 800 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
| |
| 801 | DGU(hit,fs) | |
| 802 | fr = false | |
| 803 | end | |
| 804 | else | |
| 805 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
| |
| 806 | DGU(hit,fs) | |
| 807 | fr = false | |
| 808 | end | |
| 809 | -- | |
| 810 | end | |
| 811 | end) | |
| 812 | s1.Pitch = 1 | |
| 813 | s1:Play() | |
| 814 | wait(.1) | |
| 815 | TARG1 = PA1[5] | |
| 816 | TARG2 = PA1[6] | |
| 817 | TARG3 = PA1[4] | |
| 818 | TARG4 = PA1[3] | |
| 819 | TARG5 = PA1[2] | |
| 820 | TARG6 = PA1[1] | |
| 821 | wait(.1) | |
| 822 | TARG1 = PA1[5] | |
| 823 | TARG2 = PA1[6] | |
| 824 | TARG3 = PA1[4] | |
| 825 | TARG4 = PA1[3] | |
| 826 | TARG5 = PA1[2] | |
| 827 | TARG6 = PA1[1] | |
| 828 | wait(.1) | |
| 829 | TARG1 = PA1[5] | |
| 830 | TARG2 = PA1[6] | |
| 831 | TARG3 = PA1[4] | |
| 832 | TARG4 = PA1[3] | |
| 833 | TARG5 = PA1[2] | |
| 834 | TARG6 = PA1[1] | |
| 835 | wait(.1) | |
| 836 | TARG1 = PA1[5] | |
| 837 | TARG2 = PA1[6] | |
| 838 | TARG3 = PA1[4] | |
| 839 | TARG4 = PA1[3] | |
| 840 | TARG5 = PA1[2] | |
| 841 | TARG6 = PA1[1] | |
| 842 | wait(.2) | |
| 843 | current = true | |
| 844 | fr = false | |
| 845 | wait(.1) | |
| 846 | wpb = true | |
| 847 | num = num +1 | |
| 848 | return | |
| 849 | end | |
| 850 | if num == 2 then | |
| 851 | wpb = false | |
| 852 | current = false | |
| 853 | fr = true | |
| 854 | char["Left Arm"].Touched:connect(function(hit) | |
| 855 | if not fr then return end | |
| 856 | if hit.Parent:FindFirstChild("Defense")then
| |
| 857 | fs = math.floor(math.random(5,11) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
| |
| 858 | else | |
| 859 | fs = math.floor(math.random(5,11) * atk.Value) | |
| 860 | end | |
| 861 | if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
| |
| 862 | fr = false | |
| 863 | if hit.Parent:FindFirstChild("Blocking")then
| |
| 864 | if hit.Parent:FindFirstChild("Blocking").Value == true then
| |
| 865 | hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true | |
| 866 | hit.Parent.BlockingLabel.Value = true | |
| 867 | stun.Value = true | |
| 868 | else | |
| 869 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
| |
| 870 | DGU(hit,fs) | |
| 871 | fr = false | |
| 872 | end | |
| 873 | else | |
| 874 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
| |
| 875 | DGU(hit,fs) | |
| 876 | fr = false | |
| 877 | end | |
| 878 | end | |
| 879 | end) | |
| 880 | s1.Pitch = 1.2 | |
| 881 | s1:Play() | |
| 882 | wait(.1) | |
| 883 | TARG1 = PA2[6] | |
| 884 | TARG2 = PA2[5] | |
| 885 | TARG3 = PA2[4] | |
| 886 | TARG4 = PA2[3] | |
| 887 | TARG5 = PA2[2] | |
| 888 | TARG6 = PA2[1] | |
| 889 | wait(.1) | |
| 890 | TARG1 = PA2[6] | |
| 891 | TARG2 = PA2[5] | |
| 892 | TARG3 = PA2[4] | |
| 893 | TARG4 = PA2[3] | |
| 894 | TARG5 = PA2[2] | |
| 895 | TARG6 = PA2[1] | |
| 896 | wait(.1) | |
| 897 | TARG1 = PA2[6] | |
| 898 | TARG2 = PA2[5] | |
| 899 | TARG3 = PA2[4] | |
| 900 | TARG4 = PA2[3] | |
| 901 | TARG5 = PA2[2] | |
| 902 | TARG6 = PA2[1] | |
| 903 | wait(.1) | |
| 904 | TARG1 = PA2[6] | |
| 905 | TARG2 = PA2[5] | |
| 906 | TARG3 = PA2[4] | |
| 907 | TARG4 = PA2[3] | |
| 908 | TARG5 = PA2[2] | |
| 909 | TARG6 = PA2[1] | |
| 910 | wait(.2) | |
| 911 | current = true | |
| 912 | fr = false | |
| 913 | wait(.1) | |
| 914 | wpb = true | |
| 915 | num = num + 1 | |
| 916 | return | |
| 917 | end | |
| 918 | if num == 3 then | |
| 919 | wpb = false | |
| 920 | current = false | |
| 921 | fr = true | |
| 922 | char["Right Leg"].Touched:connect(function(hit) | |
| 923 | if not fr then return end | |
| 924 | if hit.Parent:FindFirstChild("Defense")then
| |
| 925 | fs = math.floor(math.random(5,11) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
| |
| 926 | else | |
| 927 | fs = math.floor(math.random(5,11) * atk.Value) | |
| 928 | end | |
| 929 | if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
| |
| 930 | fr = false | |
| 931 | if hit.Parent:FindFirstChild("Blocking")then
| |
| 932 | if hit.Parent:FindFirstChild("Blocking").Value == true then
| |
| 933 | hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true | |
| 934 | hit.Parent.BlockingLabel.Value = true | |
| 935 | stun.Value = true | |
| 936 | else | |
| 937 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
| |
| 938 | DGU(hit,fs) | |
| 939 | fr = false | |
| 940 | end | |
| 941 | else | |
| 942 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
| |
| 943 | DGU(hit,fs) | |
| 944 | fr = false | |
| 945 | end | |
| 946 | -- | |
| 947 | end | |
| 948 | end) | |
| 949 | s1.Pitch = 1.35 | |
| 950 | s1:Play() | |
| 951 | wait(.1) | |
| 952 | TARG1 = PA3[3] | |
| 953 | TARG2 = PA3[4] | |
| 954 | TARG3 = PA3[2] | |
| 955 | TARG4 = PA3[6] | |
| 956 | TARG5 = PA3[5] | |
| 957 | TARG6 = PA3[1] | |
| 958 | wait(.1) | |
| 959 | TARG1 = PA3[3] | |
| 960 | TARG2 = PA3[4] | |
| 961 | TARG3 = PA3[2] | |
| 962 | TARG4 = PA3[6] | |
| 963 | TARG5 = PA3[5] | |
| 964 | TARG6 = PA3[1] | |
| 965 | wait(.1) | |
| 966 | TARG1 = PA3[3] | |
| 967 | TARG2 = PA3[4] | |
| 968 | TARG3 = PA3[2] | |
| 969 | TARG4 = PA3[6] | |
| 970 | TARG5 = PA3[5] | |
| 971 | TARG6 = PA3[1] | |
| 972 | wait(.1) | |
| 973 | TARG1 = PA3[3] | |
| 974 | TARG2 = PA3[4] | |
| 975 | TARG3 = PA3[2] | |
| 976 | TARG4 = PA3[6] | |
| 977 | TARG5 = PA3[5] | |
| 978 | TARG6 = PA3[1] | |
| 979 | wait(.2) | |
| 980 | current = true | |
| 981 | fr = false | |
| 982 | wait(.1) | |
| 983 | wpb = true | |
| 984 | num = num +1 | |
| 985 | return | |
| 986 | end | |
| 987 | if num == 4 then | |
| 988 | wpb = false | |
| 989 | current = false | |
| 990 | fr = true | |
| 991 | char["Left Leg"].Touched:connect(function(hit) | |
| 992 | if not fr then return end | |
| 993 | if hit.Parent:FindFirstChild("Defense")then
| |
| 994 | fs = math.floor(math.random(7,15) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
| |
| 995 | else | |
| 996 | fs = math.floor(math.random(7,15) * atk.Value) | |
| 997 | end | |
| 998 | if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
| |
| 999 | fr = false | |
| 1000 | if hit.Parent:FindFirstChild("Blocking")then
| |
| 1001 | if hit.Parent:FindFirstChild("Blocking").Value == true then
| |
| 1002 | hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true | |
| 1003 | hit.Parent.BlockingLabel.Value = true | |
| 1004 | stun.Value = true | |
| 1005 | else | |
| 1006 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
| |
| 1007 | DGU(hit,fs) | |
| 1008 | fr = false | |
| 1009 | end | |
| 1010 | else | |
| 1011 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
| |
| 1012 | DGU(hit,fs) | |
| 1013 | fr = false | |
| 1014 | end | |
| 1015 | -- | |
| 1016 | end | |
| 1017 | end) | |
| 1018 | s1.Pitch = .8 | |
| 1019 | s1:Play() | |
| 1020 | wait(.1) | |
| 1021 | TARG1 = PA4[4] | |
| 1022 | TARG2 = PA4[3] | |
| 1023 | TARG3 = PA4[2] | |
| 1024 | TARG4 = PA4[6] | |
| 1025 | TARG5 = PA4[5] | |
| 1026 | TARG6 = PA4[1] | |
| 1027 | wait(.1) | |
| 1028 | TARG1 = PA4[4] | |
| 1029 | TARG2 = PA4[3] | |
| 1030 | TARG3 = PA4[2] | |
| 1031 | TARG4 = PA4[6] | |
| 1032 | TARG5 = PA4[5] | |
| 1033 | TARG6 = PA4[1] | |
| 1034 | wait(.1) | |
| 1035 | TARG1 = PA4[4] | |
| 1036 | TARG2 = PA4[3] | |
| 1037 | TARG3 = PA4[2] | |
| 1038 | TARG4 = PA4[6] | |
| 1039 | TARG5 = PA4[5] | |
| 1040 | TARG6 = PA4[1] | |
| 1041 | wait(.1) | |
| 1042 | TARG1 = PA4[4] | |
| 1043 | TARG2 = PA4[3] | |
| 1044 | TARG3 = PA4[2] | |
| 1045 | TARG4 = PA4[6] | |
| 1046 | TARG5 = PA4[5] | |
| 1047 | TARG6 = PA4[1] | |
| 1048 | wait(.2) | |
| 1049 | current = true | |
| 1050 | fr = false | |
| 1051 | wait(.1) | |
| 1052 | wpb = true | |
| 1053 | num = 1 | |
| 1054 | return | |
| 1055 | end | |
| 1056 | end | |
| 1057 | end) | |
| 1058 | local rtb = true | |
| 1059 | mouse.KeyDown:connect(function(key)key = key:lower() | |
| 1060 | if key == "e" then | |
| 1061 | if current == true and opend == true and stun.Value == false and blt.Value > 20 and rtb == true then | |
| 1062 | local sub | |
| 1063 | if bl.Value == false then | |
| 1064 | rtb = false | |
| 1065 | bl.Value = true | |
| 1066 | skl = true | |
| 1067 | TARG1 = block[5] | |
| 1068 | TARG2 = block[6] | |
| 1069 | TARG3 = block[2] | |
| 1070 | TARG4 = block[4] | |
| 1071 | TARG5 = block[3] | |
| 1072 | TARG6 = block[1] | |
| 1073 | wait(.05) | |
| 1074 | TARG1 = block[5] | |
| 1075 | TARG2 = block[6] | |
| 1076 | TARG3 = block[2] | |
| 1077 | TARG4 = block[4] | |
| 1078 | TARG5 = block[3] | |
| 1079 | TARG6 = block[1] | |
| 1080 | wait(.05) | |
| 1081 | TARG1 = block[5] | |
| 1082 | TARG2 = block[6] | |
| 1083 | TARG3 = block[2] | |
| 1084 | TARG4 = block[4] | |
| 1085 | TARG5 = block[3] | |
| 1086 | TARG6 = block[1] | |
| 1087 | wait(.05) | |
| 1088 | TARG1 = block[5] | |
| 1089 | TARG2 = block[6] | |
| 1090 | TARG3 = block[2] | |
| 1091 | TARG4 = block[4] | |
| 1092 | TARG5 = block[3] | |
| 1093 | TARG6 = block[1] | |
| 1094 | wait(.05) | |
| 1095 | bl.Value = true | |
| 1096 | skl = true | |
| 1097 | char.Humanoid.WalkSpeed = 5 | |
| 1098 | wait(1) | |
| 1099 | rtb = true | |
| 1100 | else | |
| 1101 | rtb = false | |
| 1102 | skl = false | |
| 1103 | bl.Value = false | |
| 1104 | current = true | |
| 1105 | wait(1) | |
| 1106 | rtb = true | |
| 1107 | end | |
| 1108 | end | |
| 1109 | end | |
| 1110 | end) | |
| 1111 | mouse.KeyDown:connect(function(key)key = key:lower() | |
| 1112 | if key == "z" then | |
| 1113 | if current == true and opend == true and stun.Value == false and energy > 19 and S1 == true then | |
| 1114 | energy = energy - 20 | |
| 1115 | S1T = 0 | |
| 1116 | current = false | |
| 1117 | local num = 0 | |
| 1118 | repeat | |
| 1119 | fr = true | |
| 1120 | local fs | |
| 1121 | s1.Pitch = 1.2 | |
| 1122 | s1:Play() | |
| 1123 | char["Right Arm"].Touched:connect(function(hit) | |
| 1124 | if not fr then return end | |
| 1125 | if hit.Parent.Name == player.Name then return end | |
| 1126 | if hit.Parent:FindFirstChild("Defense") and hit.Parent.Name ~= player.Name then
| |
| 1127 | ||
| 1128 | ||
| 1129 | hit.Parent:FindFirstChild("Defense").Value = hit.Parent:FindFirstChild("Defense").Value -.02
| |
| 1130 | fs = math.floor(2 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
| |
| 1131 | ||
| 1132 | ||
| 1133 | else | |
| 1134 | fs = math.floor(2 * atk.Value) | |
| 1135 | end | |
| 1136 | if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
| |
| 1137 | fr = false | |
| 1138 | if hit.Parent:FindFirstChild("Blocking")then
| |
| 1139 | if hit.Parent:FindFirstChild("Blocking").Value == true then
| |
| 1140 | hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true | |
| 1141 | hit.Parent.BlockingLabel.Value = true | |
| 1142 | stun.Value = true | |
| 1143 | else | |
| 1144 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
| |
| 1145 | DGU(hit,fs) | |
| 1146 | fr = false | |
| 1147 | end | |
| 1148 | else | |
| 1149 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
| |
| 1150 | DGU(hit,fs) | |
| 1151 | fr = false | |
| 1152 | end | |
| 1153 | -- | |
| 1154 | end | |
| 1155 | end) | |
| 1156 | TARG1 = PA1[5] | |
| 1157 | TARG2 = PA1[6] | |
| 1158 | TARG3 = PA1[4] | |
| 1159 | TARG4 = PA1[3] | |
| 1160 | TARG5 = PA1[2] | |
| 1161 | TARG6 = PA1[1] | |
| 1162 | wait(.11) | |
| 1163 | fr = false | |
| 1164 | wait(.11) | |
| 1165 | fr = true | |
| 1166 | local fs | |
| 1167 | s1.Pitch = 1.2 | |
| 1168 | s1:Play() | |
| 1169 | char["Left Arm"].Touched:connect(function(hit) | |
| 1170 | if not fr then return end | |
| 1171 | if hit.Parent.Name == player.Name then return end | |
| 1172 | if hit.Parent:FindFirstChild("Defense")and hit.Parent.Name ~= player.Name then
| |
| 1173 | hit.Parent:FindFirstChild("Defense").Value = hit.Parent:FindFirstChild("Defense").Value -.02
| |
| 1174 | fs = math.floor(2 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
| |
| 1175 | else | |
| 1176 | fs = math.floor(2 * atk.Value) | |
| 1177 | end | |
| 1178 | if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
| |
| 1179 | fr = false | |
| 1180 | if hit.Parent:FindFirstChild("Blocking")then
| |
| 1181 | if hit.Parent:FindFirstChild("Blocking").Value == true then
| |
| 1182 | hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true | |
| 1183 | hit.Parent.BlockingLabel.Value = true | |
| 1184 | stun.Value = true | |
| 1185 | else | |
| 1186 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
| |
| 1187 | DGU(hit,fs) | |
| 1188 | fr = false | |
| 1189 | end | |
| 1190 | else | |
| 1191 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
| |
| 1192 | DGU(hit,fs) | |
| 1193 | fr = false | |
| 1194 | end | |
| 1195 | -- | |
| 1196 | end | |
| 1197 | end) | |
| 1198 | TARG1 = PA1C[5] | |
| 1199 | TARG2 = PA1C[6] | |
| 1200 | TARG3 = PA1C[4] | |
| 1201 | TARG4 = PA1C[3] | |
| 1202 | TARG5 = PA1C[2] | |
| 1203 | TARG6 = PA1C[1] | |
| 1204 | wait(.11) | |
| 1205 | fr = false | |
| 1206 | wait(.11) | |
| 1207 | num = num + 2 | |
| 1208 | until num == 10 | |
| 1209 | current = true | |
| 1210 | wait(3) | |
| 1211 | end | |
| 1212 | end | |
| 1213 | end) | |
| 1214 | --- KEYDOWN 2 | |
| 1215 | mouse.KeyDown:connect(function(key)key = key:lower() | |
| 1216 | if key == "x" then | |
| 1217 | if current == true and opend == true and stun.Value == false and energy > 24 and S2 == true then | |
| 1218 | energy = energy - 25 | |
| 1219 | S2T = 0 | |
| 1220 | skl = true | |
| 1221 | char.Humanoid.WalkSpeed = 0 | |
| 1222 | f = Instance.new("Part",game.Workspace)
| |
| 1223 | f.Position = char.Torso.Position + Vector3.new(0, -2, -12) | |
| 1224 | f.CanCollide = false | |
| 1225 | f.Transparency = 1 | |
| 1226 | local asdf | |
| 1227 | local cf | |
| 1228 | f.Touched:connect(function(hit) | |
| 1229 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1230 | else | |
| 1231 | cf = f.CFrame | |
| 1232 | asdf = hit.BrickColor | |
| 1233 | end | |
| 1234 | end) | |
| 1235 | current = false | |
| 1236 | TARG1 = Stomp[5] | |
| 1237 | TARG2 = Stomp[6] | |
| 1238 | TARG3 = Stomp[2] | |
| 1239 | TARG4 = Stomp[4] | |
| 1240 | TARG5 = Stomp[3] | |
| 1241 | TARG6 = Stomp[1] | |
| 1242 | wait(.05) | |
| 1243 | TARG1 = Stomp[5] | |
| 1244 | TARG2 = Stomp[6] | |
| 1245 | TARG3 = Stomp[2] | |
| 1246 | TARG4 = Stomp[4] | |
| 1247 | TARG5 = Stomp[3] | |
| 1248 | TARG6 = Stomp[1] | |
| 1249 | wait(.05) | |
| 1250 | TARG1 = Stomp[5] | |
| 1251 | TARG2 = Stomp[6] | |
| 1252 | TARG3 = Stomp[2] | |
| 1253 | TARG4 = Stomp[4] | |
| 1254 | TARG5 = Stomp[3] | |
| 1255 | TARG6 = Stomp[1] | |
| 1256 | wait(.05) | |
| 1257 | TARG1 = Stomp[5] | |
| 1258 | TARG2 = Stomp[6] | |
| 1259 | TARG3 = Stomp[2] | |
| 1260 | TARG4 = Stomp[4] | |
| 1261 | TARG5 = Stomp[3] | |
| 1262 | TARG6 = Stomp[1] | |
| 1263 | wait(.05) | |
| 1264 | TARG1 = Stomp[5] | |
| 1265 | TARG2 = Stomp[6] | |
| 1266 | TARG3 = Stomp[2] | |
| 1267 | TARG4 = Stomp[4] | |
| 1268 | TARG5 = Stomp[3] | |
| 1269 | TARG6 = Stomp[1] | |
| 1270 | wait(.05) | |
| 1271 | TARG1 = Stomp2[5] | |
| 1272 | TARG2 = Stomp2[6] | |
| 1273 | TARG3 = Stomp2[2] | |
| 1274 | TARG4 = Stomp2[4] | |
| 1275 | TARG5 = Stomp2[3] | |
| 1276 | TARG6 = Stomp2[1] | |
| 1277 | wait(.05) | |
| 1278 | TARG1 = Stomp2[5] | |
| 1279 | TARG2 = Stomp2[6] | |
| 1280 | TARG3 = Stomp2[2] | |
| 1281 | TARG4 = Stomp2[4] | |
| 1282 | TARG5 = Stomp2[3] | |
| 1283 | TARG6 = Stomp2[1] | |
| 1284 | wait(.05) | |
| 1285 | TARG1 = Stomp2[5] | |
| 1286 | TARG2 = Stomp2[6] | |
| 1287 | TARG3 = Stomp2[2] | |
| 1288 | TARG4 = Stomp2[4] | |
| 1289 | TARG5 = Stomp2[3] | |
| 1290 | TARG6 = Stomp2[1] | |
| 1291 | wait(.05) | |
| 1292 | TARG1 = Stomp2[5] | |
| 1293 | TARG2 = Stomp2[6] | |
| 1294 | TARG3 = Stomp2[2] | |
| 1295 | TARG4 = Stomp2[4] | |
| 1296 | TARG5 = Stomp2[3] | |
| 1297 | TARG6 = Stomp2[1] | |
| 1298 | wait(.05) | |
| 1299 | local fs = Instance.new("Part",char)
| |
| 1300 | fs.BrickColor = asdf | |
| 1301 | fs.Size = Vector3.new(1,1,1) | |
| 1302 | fs.CanCollide = false | |
| 1303 | fs.Anchored = true | |
| 1304 | fs.Transparency = 1 | |
| 1305 | fs.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0) | |
| 1306 | obj2 = fs | |
| 1307 | TARG8 = Vector3.new(50,5,50) | |
| 1308 | ||
| 1309 | fs.Touched:connect(function(hit) | |
| 1310 | if dmg == true and hit.Parent:FindFirstChild("Humanoid") then
| |
| 1311 | if hit.Parent:FindFirstChild("Humanoid").Health ~= 0 and hit.Parent.Name ~= player.Name then
| |
| 1312 | if hit.Parent:FindFirstChild("Speed")then
| |
| 1313 | hit.Parent:FindFirstChild("Speed").Value = hit.Parent:FindFirstChild("Speed").Value -.1
| |
| 1314 | hit.Parent:FindFirstChild("Speed").Value = hit.Parent:FindFirstChild("Speed").Value -.1
| |
| 1315 | --- I made it do that so this would stick for 12 Seconds ~ Thats how the stats work | |
| 1316 | local fx = math.floor(12 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
| |
| 1317 | dmg = false | |
| 1318 | if hit.Parent:FindFirstChild("Blocking")then
| |
| 1319 | if hit.Parent:FindFirstChild("Blocking").Value == true then
| |
| 1320 | hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true | |
| 1321 | hit.Parent.BlockingLabel.Value = true | |
| 1322 | stun.Value = true | |
| 1323 | else | |
| 1324 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
| |
| 1325 | DGU(hit,fx) | |
| 1326 | fr = false | |
| 1327 | end | |
| 1328 | else | |
| 1329 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
| |
| 1330 | DGU(hit,fx) | |
| 1331 | fr = false | |
| 1332 | end | |
| 1333 | else | |
| 1334 | local fx = math.floor(12 * atk.Value) | |
| 1335 | dmg = false | |
| 1336 | if hit.Parent:FindFirstChild("Blocking")then
| |
| 1337 | if hit.Parent:FindFirstChild("Blocking").Value == true then
| |
| 1338 | hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true | |
| 1339 | hit.Parent.BlockingLabel.Value = true | |
| 1340 | stun.Value = true | |
| 1341 | else | |
| 1342 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
| |
| 1343 | DGU(hit,fx) | |
| 1344 | fr = false | |
| 1345 | end | |
| 1346 | else | |
| 1347 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
| |
| 1348 | DGU(hit,fx) | |
| 1349 | fr = false | |
| 1350 | end | |
| 1351 | end | |
| 1352 | end | |
| 1353 | end | |
| 1354 | end)--]] | |
| 1355 | wait(.3) | |
| 1356 | ||
| 1357 | game.Debris:AddItem(fr,8) | |
| 1358 | game.Debris:AddItem(fs,8) | |
| 1359 | skl = false | |
| 1360 | current = true | |
| 1361 | for i = 1,10 do | |
| 1362 | wait() | |
| 1363 | fr.Transparency = fr.Transparency + .1 | |
| 1364 | end | |
| 1365 | wait(.4) | |
| 1366 | dmg = false | |
| 1367 | wait(3) | |
| 1368 | end | |
| 1369 | end | |
| 1370 | end) | |
| 1371 | ||
| 1372 | ||
| 1373 | ||
| 1374 | mouse.KeyDown:connect(function(key)key = key:lower() | |
| 1375 | if key == "c" then | |
| 1376 | if current == true and opend == true and stun.Value == false and energy > 34 and S3 == true then | |
| 1377 | energy = energy - 35 | |
| 1378 | S3T = 0 | |
| 1379 | current = false | |
| 1380 | TARG1 = dropkick[5] | |
| 1381 | TARG2 = dropkick[6] | |
| 1382 | TARG3 = dropkick[2] | |
| 1383 | TARG4 = dropkick[4] | |
| 1384 | TARG5 = dropkick[3] | |
| 1385 | TARG6 = dropkick[1] | |
| 1386 | wait(.05) | |
| 1387 | TARG1 = dropkick[5] | |
| 1388 | TARG2 = dropkick[6] | |
| 1389 | TARG3 = dropkick[2] | |
| 1390 | TARG4 = dropkick[4] | |
| 1391 | TARG5 = dropkick[3] | |
| 1392 | TARG6 = dropkick[1] | |
| 1393 | wait(.05) | |
| 1394 | TARG1 = dropkick[5] | |
| 1395 | TARG2 = dropkick[6] | |
| 1396 | TARG3 = dropkick[2] | |
| 1397 | TARG4 = dropkick[4] | |
| 1398 | TARG5 = dropkick[3] | |
| 1399 | TARG6 = dropkick[1] | |
| 1400 | wait(.05) | |
| 1401 | TARG1 = dropkick[5] | |
| 1402 | TARG2 = dropkick[6] | |
| 1403 | TARG3 = dropkick[2] | |
| 1404 | TARG4 = dropkick[4] | |
| 1405 | TARG5 = dropkick[3] | |
| 1406 | TARG6 = dropkick[1] | |
| 1407 | wait(.05) | |
| 1408 | local dmg = true | |
| 1409 | char["Right Leg"].Touched:connect(function(hit) | |
| 1410 | if dmg == true and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Name then
| |
| 1411 | local fn = Instance.new("Part",char)
| |
| 1412 | fn.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1413 | fn.Size = Vector3.new(1,1,1) | |
| 1414 | fn.CanCollide = false | |
| 1415 | fn.Anchored = true | |
| 1416 | s2.Pitch = .9 | |
| 1417 | s2:Play() | |
| 1418 | game.Debris:AddItem(fn,8) | |
| 1419 | fn.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0) | |
| 1420 | local fms = Instance.new("SpecialMesh",fn)
| |
| 1421 | fms.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 1422 | fms.Scale = Vector3.new(1,1,6) | |
| 1423 | TARG7 = Vector3.new(10,5,10) | |
| 1424 | obj = fms | |
| 1425 | if hit.Parent:FindFirstChild("Humanoid").Health ~= 0 and hit.Parent.Name ~= player.Name then
| |
| 1426 | if hit.Parent:FindFirstChild("Stunned")then
| |
| 1427 | hit.Parent:FindFirstChild("Stunned").Value = true
| |
| 1428 | --- I made it do that so this would stick for 12 Seconds ~ Thats how the stats work | |
| 1429 | local fx = math.floor(13 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
| |
| 1430 | dmg = false | |
| 1431 | --[[ | |
| 1432 | if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
| |
| 1433 | fr = false | |
| 1434 | if hit.Parent:FindFirstChild("Blocking")then
| |
| 1435 | if hit.Parent:FindFirstChild("Blocking").Value == true then
| |
| 1436 | hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true | |
| 1437 | hit.Parent.BlockingLabel.Value = true | |
| 1438 | else | |
| 1439 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
| |
| 1440 | DGU(hit,fx) | |
| 1441 | fr = false | |
| 1442 | end | |
| 1443 | else | |
| 1444 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
| |
| 1445 | DGU(hit,fx) | |
| 1446 | fr = false | |
| 1447 | end | |
| 1448 | -- | |
| 1449 | end | |
| 1450 | --]] | |
| 1451 | if hit.Parent:FindFirstChild("Blocking")then
| |
| 1452 | if hit.Parent:FindFirstChild("Blocking").Value == true then
| |
| 1453 | hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true | |
| 1454 | hit.Parent.BlockingLabel.Value = true | |
| 1455 | stun.Value = true | |
| 1456 | else | |
| 1457 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
| |
| 1458 | DGU(hit,fx) | |
| 1459 | fr = false | |
| 1460 | end | |
| 1461 | else | |
| 1462 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
| |
| 1463 | DGU(hit,fx) | |
| 1464 | fr = false | |
| 1465 | end | |
| 1466 | else | |
| 1467 | local fx = math.floor(13 * atk.Value) | |
| 1468 | dmg = false | |
| 1469 | if hit.Parent:FindFirstChild("Blocking")then
| |
| 1470 | if hit.Parent:FindFirstChild("Blocking").Value == true then
| |
| 1471 | hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true | |
| 1472 | hit.Parent.BlockingLabel.Value = true | |
| 1473 | stun.Value = true | |
| 1474 | else | |
| 1475 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
| |
| 1476 | DGU(hit,fx) | |
| 1477 | fr = false | |
| 1478 | end | |
| 1479 | else | |
| 1480 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
| |
| 1481 | DGU(hit,fx) | |
| 1482 | fr = false | |
| 1483 | end | |
| 1484 | end | |
| 1485 | end | |
| 1486 | ||
| 1487 | for i = 1,10 do | |
| 1488 | wait() | |
| 1489 | fn.Transparency = fn.Transparency + .1 | |
| 1490 | end | |
| 1491 | end | |
| 1492 | end)--]] | |
| 1493 | wait(.1) | |
| 1494 | skl = false | |
| 1495 | current = true | |
| 1496 | wait(.2) | |
| 1497 | dmg = false | |
| 1498 | wait(3) | |
| 1499 | end | |
| 1500 | end | |
| 1501 | end) | |
| 1502 | ||
| 1503 | ||
| 1504 | ||
| 1505 | ||
| 1506 | mouse.KeyDown:connect(function(key)key = key:lower() | |
| 1507 | if key == "v" then | |
| 1508 | if current == true and opend == true and stun.Value == false and energy > 49 and S4 == true then | |
| 1509 | current = false | |
| 1510 | wait(0.05) | |
| 1511 | skl = true | |
| 1512 | local dmg = true | |
| 1513 | S4T = 0 | |
| 1514 | char.Humanoid.WalkSpeed = 22 | |
| 1515 | char.Humanoid.JumpPower = 0 | |
| 1516 | energy = energy - 59 | |
| 1517 | wait() | |
| 1518 | TARG1 = sjump[5] -- LEFT ARM | |
| 1519 | TARG2 = sjump[6]-- RIGHT ARM | |
| 1520 | TARG3 = sjump[2] -- NECK | |
| 1521 | TARG4 = sjump[3] -- RIGHT LEG | |
| 1522 | TARG5 = sjump[4] -- LEFT LEG | |
| 1523 | TARG6 = sjump[1] -- TORSO | |
| 1524 | wait(0.05) | |
| 1525 | TARG1 = sjump[5] -- LEFT ARM | |
| 1526 | TARG2 = sjump[6]-- RIGHT ARM | |
| 1527 | TARG3 = sjump[2] -- NECK | |
| 1528 | TARG4 = sjump[3] -- RIGHT LEG | |
| 1529 | TARG5 = sjump[4] -- LEFT LEG | |
| 1530 | TARG6 = sjump[1] -- TORSO | |
| 1531 | wait(0.05) | |
| 1532 | TARG1 = sjump[5] -- LEFT ARM | |
| 1533 | TARG2 = sjump[6]-- RIGHT ARM | |
| 1534 | TARG3 = sjump[2] -- NECK | |
| 1535 | TARG4 = sjump[3] -- RIGHT LEG | |
| 1536 | TARG5 = sjump[4] -- LEFT LEG | |
| 1537 | TARG6 = sjump[1] -- TORSO | |
| 1538 | wait(0.05) | |
| 1539 | TARG1 = sjump[5] -- LEFT ARM | |
| 1540 | TARG2 = sjump[6]-- RIGHT ARM | |
| 1541 | TARG3 = sjump[2] -- NECK | |
| 1542 | TARG4 = sjump[3] -- RIGHT LEG | |
| 1543 | TARG5 = sjump[4] -- LEFT LEG | |
| 1544 | TARG6 = sjump[1] -- TORSO | |
| 1545 | wait(0.05) | |
| 1546 | ||
| 1547 | wait(.5) | |
| 1548 | char.Humanoid.JumpPower = 200 | |
| 1549 | char.Humanoid.Jump = true | |
| 1550 | ||
| 1551 | TARG1 = jump[3] -- LEFT ARM | |
| 1552 | TARG2 = jump[2]-- RIGHT ARM | |
| 1553 | TARG3 = jump[1] -- NECK | |
| 1554 | TARG4 = jump[5] -- RIGHT LEG | |
| 1555 | TARG5 = jump[4] -- LEFT LEG | |
| 1556 | TARG6 = CFrame.new(0,0,0) | |
| 1557 | wait(0.05) | |
| 1558 | ||
| 1559 | TARG1 = jump[3] -- LEFT ARM | |
| 1560 | TARG2 = jump[2]-- RIGHT ARM | |
| 1561 | TARG3 = jump[1] -- NECK | |
| 1562 | TARG4 = jump[5] -- RIGHT LEG | |
| 1563 | TARG5 = jump[4] -- LEFT LEG | |
| 1564 | TARG6 = CFrame.new(0,0,0) | |
| 1565 | wait(0.05) | |
| 1566 | ||
| 1567 | wait(1) | |
| 1568 | local r = Instance.new("Part",char)
| |
| 1569 | r.Size = Vector3.new(2,2,2) | |
| 1570 | game.Debris:AddItem(r,5) | |
| 1571 | r.CanCollide = false | |
| 1572 | r.Transparency = 1 | |
| 1573 | r.Position = char.Torso.CFrame.p | |
| 1574 | local w = Instance.new("Weld",char)
| |
| 1575 | w.Part0 = char.Torso | |
| 1576 | w.Part1 = r | |
| 1577 | w.C0 = CFrame.new(0,4,0) | |
| 1578 | r.Anchored = false | |
| 1579 | r.Touched:connect(function(hit) | |
| 1580 | r:remove() | |
| 1581 | ||
| 1582 | local fs = Instance.new("Part",char)
| |
| 1583 | fs.BrickColor = hit.BrickColor | |
| 1584 | fs.Size = Vector3.new(1,1,1) | |
| 1585 | fs.CanCollide = false | |
| 1586 | fs.Anchored = true | |
| 1587 | fs.Transparency = 1 | |
| 1588 | fs.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
| 1589 | local fr = Instance.new("Part",char)
| |
| 1590 | fr.BrickColor = hit.BrickColor | |
| 1591 | fr.Size = Vector3.new(1,1,1) | |
| 1592 | fr.CanCollide = false | |
| 1593 | fr.Anchored = true | |
| 1594 | fr.CFrame = r.CFrame * CFrame.new(0,-2,0)* CFrame.Angles(math.rad(90),0,0) | |
| 1595 | local fms = Instance.new("SpecialMesh",fr)
| |
| 1596 | fms.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1597 | fms.Scale = Vector3.new(1,1,6) | |
| 1598 | TARG7 = Vector3.new(90,90,10) | |
| 1599 | obj = fms | |
| 1600 | obj2 = fs | |
| 1601 | TARG8 = Vector3.new(90,5,90) | |
| 1602 | local dmg = true | |
| 1603 | game.Debris:AddItem(fr,8) | |
| 1604 | game.Debris:AddItem(fs,8) | |
| 1605 | current = true | |
| 1606 | skl = false | |
| 1607 | fs.Touched:connect(function(hit) | |
| 1608 | if dmg == true and hit.Parent:FindFirstChild("Humanoid") then
| |
| 1609 | if hit.Parent:FindFirstChild("Humanoid").Health ~= 0 and hit.Parent.Name ~= player.Name then
| |
| 1610 | if hit.Parent:FindFirstChild("Speed")then
| |
| 1611 | hit.Parent:FindFirstChild("Speed").Value = hit.Parent:FindFirstChild("Speed").Value -.4
| |
| 1612 | ||
| 1613 | spd.Value = spd.Value + .1 | |
| 1614 | --- I made it do that so this would stick for 12 Seconds ~ Thats how the stats work | |
| 1615 | local fx = math.floor(15 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
| |
| 1616 | dmg = false | |
| 1617 | if hit.Parent:FindFirstChild("Blocking")then
| |
| 1618 | if hit.Parent:FindFirstChild("Blocking").Value == true then
| |
| 1619 | hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true | |
| 1620 | hit.Parent.BlockingLabel.Value = true | |
| 1621 | stun.Value = true | |
| 1622 | else | |
| 1623 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
| |
| 1624 | DGU(hit,fx) | |
| 1625 | fr = false | |
| 1626 | end | |
| 1627 | else | |
| 1628 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
| |
| 1629 | DGU(hit,fx) | |
| 1630 | fr = false | |
| 1631 | end | |
| 1632 | else | |
| 1633 | local fx = math.floor(15 * atk.Value) | |
| 1634 | dmg = false | |
| 1635 | if hit.Parent:FindFirstChild("Blocking")then
| |
| 1636 | if hit.Parent:FindFirstChild("Blocking").Value == true then
| |
| 1637 | hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true | |
| 1638 | hit.Parent.BlockingLabel.Value = true | |
| 1639 | stun.Value = true | |
| 1640 | else | |
| 1641 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
| |
| 1642 | DGU(hit,fx) | |
| 1643 | fr = false | |
| 1644 | end | |
| 1645 | else | |
| 1646 | hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
| |
| 1647 | DGU(hit,fx) | |
| 1648 | fr = false | |
| 1649 | end | |
| 1650 | end | |
| 1651 | end | |
| 1652 | end | |
| 1653 | end)--]] | |
| 1654 | ||
| 1655 | ||
| 1656 | ||
| 1657 | ||
| 1658 | ||
| 1659 | ||
| 1660 | ||
| 1661 | for i = 1,20 do | |
| 1662 | wait() | |
| 1663 | fr.Transparency = fr.Transparency + .05 | |
| 1664 | end | |
| 1665 | dmg = false | |
| 1666 | end) | |
| 1667 | ||
| 1668 | TARG1 = UpSideDownPunch[5] -- LEFT ARM | |
| 1669 | TARG2 = UpSideDownPunch[6]-- RIGHT ARM | |
| 1670 | TARG3 = UpSideDownPunch[2] -- NECK | |
| 1671 | TARG4 = UpSideDownPunch[3] -- RIGHT LEG | |
| 1672 | TARG5 = UpSideDownPunch[4] -- LEFT LEG | |
| 1673 | TARG6 = UpSideDownPunch[1] -- TORSO | |
| 1674 | wait(1.6) | |
| 1675 | dmg = false | |
| 1676 | current = true | |
| 1677 | skl = false | |
| 1678 | end | |
| 1679 | ||
| 1680 | ||
| 1681 | ||
| 1682 | ||
| 1683 | ||
| 1684 | ||
| 1685 | ||
| 1686 | ||
| 1687 | ||
| 1688 | ||
| 1689 | ||
| 1690 | end | |
| 1691 | end) | |
| 1692 | --[[ | |
| 1693 | --END | |
| 1694 | ts.C0 = ts.C0:lerp(UpSideDownPunch[1],.4) | |
| 1695 | nc.C0 = nc.C0:lerp(UpSideDownPunch[2],.4) | |
| 1696 | ll.C0 = ll.C0:lerp(UpSideDownPunch[3],.4) | |
| 1697 | rl.C0 = rl.C0:lerp(UpSideDownPunch[4],.4) | |
| 1698 | w3.C0 = w3.C0:lerp(UpSideDownPunch[5],.4) | |
| 1699 | w4.C0 = w4.C0:lerp(UpSideDownPunch[6],.4) | |
| 1700 | --START | |
| 1701 | ts.C0 = ts.C0:lerp(sjump[1],.4) | |
| 1702 | nc.C0 = nc.C0:lerp(sjump[2],.4) | |
| 1703 | ll.C0 = ll.C0:lerp(sjump[3],.4) | |
| 1704 | rl.C0 = rl.C0:lerp(sjump[4],.4) | |
| 1705 | w3.C0 = w3.C0:lerp(sjump[5],.4) | |
| 1706 | w4.C0 = w4.C0:lerp(sjump[6],.4) | |
| 1707 | --OTHER | |
| 1708 | TARG1 = walk[8] -- LEFT ARM | |
| 1709 | TARG2 = walk[7]-- RIGHT ARM | |
| 1710 | TARG3 = walk[6] -- NECK | |
| 1711 | TARG4 = walk[] -- RIGHT LEG | |
| 1712 | TARG5 = walk[] -- LEFT LEG | |
| 1713 | TARG6 = walk[5] -- TORSO | |
| 1714 | --]] | |
| 1715 | local Speed = .4 | |
| 1716 | local lspeed = .2 | |
| 1717 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 1718 | if Vector3.new(char.Torso.Velocity.X,0,char.Torso.Velocity.Z).magnitude > 2 then | |
| 1719 | IdleAndWalk = true | |
| 1720 | else | |
| 1721 | IdleAndWalk = false | |
| 1722 | end | |
| 1723 | if TARG4 ~= nil then | |
| 1724 | rl.C0 = rl.C0:lerp(TARG4,lspeed) | |
| 1725 | end | |
| 1726 | if TARG5 ~= nil then | |
| 1727 | ll.C0 = ll.C0:lerp(TARG5,lspeed) | |
| 1728 | end | |
| 1729 | if TARG3 ~= nil then | |
| 1730 | nc.C0 = nc.C0:lerp(TARG3,lspeed) | |
| 1731 | end | |
| 1732 | if TARG1 ~= nil then | |
| 1733 | w3.C0 = w3.C0:lerp(TARG1,Speed) | |
| 1734 | end | |
| 1735 | if TARG2 ~= nil then | |
| 1736 | w4.C0 = w4.C0:lerp(TARG2,Speed) | |
| 1737 | end | |
| 1738 | if TARG6 ~= nil then | |
| 1739 | ts.C0 = ts.C0:lerp(TARG6,Speed) | |
| 1740 | end | |
| 1741 | if TARG7 ~= nil and obj ~= nil then | |
| 1742 | obj.Scale = obj.Scale:lerp(TARG7,.05) | |
| 1743 | end | |
| 1744 | if TARG8 ~= nil and obj2 ~= nil then | |
| 1745 | obj2.Size = obj2.Size:lerp(TARG8,.05) | |
| 1746 | obj2.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0) | |
| 1747 | end | |
| 1748 | if TARG10 ~= nil and obj3 ~= nil and TARG11 ~= nil then | |
| 1749 | obj3.Size = obj3.Size:lerp(TARG10,.05) | |
| 1750 | obj3.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0) * TARG11 | |
| 1751 | end | |
| 1752 | if TARG10 ~= nil and obj3 ~= nil and obj3.Transparency ~= 1 then | |
| 1753 | obj2.Transparency = obj2.Transparency + .05 | |
| 1754 | obj3.Transparency = obj3.Transparency + .05 | |
| 1755 | wait(.1) | |
| 1756 | end | |
| 1757 | if char.Humanoid.Jump == true then | |
| 1758 | gd.Value = true | |
| 1759 | else | |
| 1760 | gd.Value = false | |
| 1761 | end | |
| 1762 | if energy < 100 and current == true then | |
| 1763 | energy = energy + .05 | |
| 1764 | end | |
| 1765 | for i=1,#parts do | |
| 1766 | local Part = parts[i] | |
| 1767 | Part.Size = Part.Size:lerp(Vector3.new(6, 32, 7),.05) | |
| 1768 | for x=1,#poses do | |
| 1769 | Part.CFrame = poses[i] | |
| 1770 | end | |
| 1771 | end | |
| 1772 | if blt.Value < 99 and bl.Value == false and stun.Value == false then | |
| 1773 | blt.Value = blt.Value + 0.03 | |
| 1774 | end | |
| 1775 | if bl.Value == true and blt.Value < 5 then | |
| 1776 | bl.Value = false | |
| 1777 | current = true | |
| 1778 | skl = false | |
| 1779 | end | |
| 1780 | if posd.Value == true and pt.Value > 0 then | |
| 1781 | pt.Value = pt.Value - .02 | |
| 1782 | char.Humanoid.Health = char.Humanoid.Health - .11 | |
| 1783 | end | |
| 1784 | if pt.Value < 1 then | |
| 1785 | posd.Value = false | |
| 1786 | end | |
| 1787 | if bl.Value == true then | |
| 1788 | blt.Value = blt.Value - .5 | |
| 1789 | end | |
| 1790 | if atkt.Value > 0 then | |
| 1791 | atkt.Value = atkt.Value - .02 | |
| 1792 | else | |
| 1793 | atk.Value = 1 | |
| 1794 | end | |
| 1795 | if deft.Value > 0 then | |
| 1796 | deft.Value = deft.Value - .02 | |
| 1797 | else | |
| 1798 | def.Value = 1 | |
| 1799 | end | |
| 1800 | if spdt.Value > 0 then | |
| 1801 | spdt.Value = spdt.Value - .02 | |
| 1802 | else | |
| 1803 | wait() | |
| 1804 | if spdt.Value < 1 then | |
| 1805 | spd.Value = 1 | |
| 1806 | end | |
| 1807 | end | |
| 1808 | ||
| 1809 | --Skill 1 | |
| 1810 | local DV2 = S1T / S1TF | |
| 1811 | local initX6 = f1.Size.X.Scale | |
| 1812 | f1f:TweenSize( UDim2.new( initX6*DV2* 1.665, 0, 1, 0),"In","Linear",1 ) | |
| 1813 | ||
| 1814 | ||
| 1815 | ||
| 1816 | if S1T < 14 then | |
| 1817 | S1T = S1T + .02 | |
| 1818 | S1 = false | |
| 1819 | else | |
| 1820 | S1 = true | |
| 1821 | end | |
| 1822 | if S1T == 14 then | |
| 1823 | S1 = true | |
| 1824 | end | |
| 1825 | ||
| 1826 | ||
| 1827 | --Skill 2 | |
| 1828 | local DV2 = S2T / S2TF | |
| 1829 | local initX6 = f2.Size.X.Scale | |
| 1830 | f2f:TweenSize( UDim2.new( initX6*DV2* 3.566, 0, 1, 0),"In","Linear",1 ) | |
| 1831 | ||
| 1832 | ||
| 1833 | ||
| 1834 | if S2T < 14 then | |
| 1835 | S2T = S2T + .01 | |
| 1836 | S2 = false | |
| 1837 | else | |
| 1838 | S2 = true | |
| 1839 | end | |
| 1840 | if S2T == 15 then | |
| 1841 | S2 = true | |
| 1842 | end | |
| 1843 | ||
| 1844 | ||
| 1845 | --Skill 3 | |
| 1846 | local DV2 = S3T / S3TF | |
| 1847 | local initX6 = f3.Size.X.Scale | |
| 1848 | f3f:TweenSize( UDim2.new( initX6*DV2* 2.855, 0, 1, 0),"In","Linear",1 ) | |
| 1849 | ||
| 1850 | ||
| 1851 | ||
| 1852 | if S3T < 14 then | |
| 1853 | S3T = S3T + .01 | |
| 1854 | S3 = false | |
| 1855 | else | |
| 1856 | S3 = true | |
| 1857 | end | |
| 1858 | if S3T == 15 then | |
| 1859 | S3 = true | |
| 1860 | end | |
| 1861 | ||
| 1862 | --Skill 4 | |
| 1863 | local DV2 = S4T / S4TF | |
| 1864 | local initX6 = f4.Size.X.Scale | |
| 1865 | f4f:TweenSize( UDim2.new( initX6*DV2*3.45, 0, 1, 0),"In","Linear",1 ) | |
| 1866 | ||
| 1867 | ||
| 1868 | if S4T < 29 then | |
| 1869 | S4T = S4T + .015 | |
| 1870 | S4 = false | |
| 1871 | else | |
| 1872 | S4= true | |
| 1873 | end | |
| 1874 | if S4T == 30 then | |
| 1875 | S4 = true | |
| 1876 | end | |
| 1877 | ||
| 1878 | end) | |
| 1879 | --SEC HANDLER | |
| 1880 | --[[ | |
| 1881 | S1 = true | |
| 1882 | S1T = 7 | |
| 1883 | S1TF = 7 | |
| 1884 | S2 = true | |
| 1885 | S2T = 15 | |
| 1886 | S2TF = 15 | |
| 1887 | S3 = true | |
| 1888 | S3T = 12 | |
| 1889 | S3TF = 12 | |
| 1890 | S4 = true | |
| 1891 | S4T = 30 | |
| 1892 | S4TF = 30 | |
| 1893 | energy = 0 | |
| 1894 | --]] | |
| 1895 | ||
| 1896 | ||
| 1897 | ||
| 1898 | ||
| 1899 | --makeui(Color3.new(0,255,0),"+Speed") | |
| 1900 | --makeui(Color3.new(255,0,0),"+Damage") | |
| 1901 | --makeui(Color3.new(0,0,255),"+Defense") | |
| 1902 | ---VALUE CHANGERS | |
| 1903 | satk = atk.Value | |
| 1904 | sdef = def.Value | |
| 1905 | sspd = spd.Value | |
| 1906 | atk.Changed:connect(function() | |
| 1907 | if satk > atk.Value then | |
| 1908 | atkt.Value = atkt.Value + 4 | |
| 1909 | makeui(Color3.new(255,0,0),"-Damage") | |
| 1910 | satk = atk.Value | |
| 1911 | else | |
| 1912 | atkt.Value = atkt.Value + 4 | |
| 1913 | makeui(Color3.new(255,0,0),"+Damage") | |
| 1914 | satk = atk.Value | |
| 1915 | end | |
| 1916 | end) | |
| 1917 | posd.Changed:connect(function() | |
| 1918 | if posd.Value == false then | |
| 1919 | makeui(Color3.new(255,0,0),"-Poison") | |
| 1920 | else | |
| 1921 | makeui(Color3.new(255,0,0),"+Poison") | |
| 1922 | end | |
| 1923 | end) | |
| 1924 | ||
| 1925 | def.Changed:connect(function() | |
| 1926 | if sdef > def.Value then | |
| 1927 | deft.Value = deft.Value + 4 | |
| 1928 | makeui(Color3.new(0,0,255),"-Defense") | |
| 1929 | sdef = def.Value | |
| 1930 | else | |
| 1931 | deft.Value = deft.Value + 4 | |
| 1932 | makeui(Color3.new(0,0,255),"+Defense") | |
| 1933 | sdef = def.Value | |
| 1934 | end | |
| 1935 | end) | |
| 1936 | spd.Changed:connect(function() | |
| 1937 | if sspd > spd.Value then | |
| 1938 | spdt.Value = spdt.Value + 4 | |
| 1939 | makeui(Color3.new(0,255,0),"-Speed") | |
| 1940 | sspd = spd.Value | |
| 1941 | else | |
| 1942 | spdt.Value = spdt.Value + 4 | |
| 1943 | makeui(Color3.new(0,255,0),"+Speed") | |
| 1944 | sspd = spd.Value | |
| 1945 | end | |
| 1946 | end) | |
| 1947 | bll.Changed:connect(function() | |
| 1948 | if bll.Value == true then | |
| 1949 | ||
| 1950 | local c = Instance.new("Part",game.Workspace)
| |
| 1951 | c.Anchored = true | |
| 1952 | c.CanCollide = false | |
| 1953 | c.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1954 | c.Shape = "Ball" | |
| 1955 | c.Size = Vector3.new(1,1,1) | |
| 1956 | c.CFrame = char.Torso.CFrame | |
| 1957 | c.TopSurface = "Smooth" | |
| 1958 | c.BottomSurface = "Smooth" | |
| 1959 | c.Transparency = .1 | |
| 1960 | local v = Instance.new("Part",game.Workspace)
| |
| 1961 | v.Anchored = true | |
| 1962 | v.CanCollide = false | |
| 1963 | v.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1964 | v.Size = Vector3.new(1,1,1) | |
| 1965 | v.CFrame = char.Torso.CFrame | |
| 1966 | v.TopSurface = "Smooth" | |
| 1967 | v.BottomSurface = "Smooth" | |
| 1968 | v.Transparency = .1 | |
| 1969 | obj2 = c | |
| 1970 | TARG8 = Vector3.new(30,30,30) | |
| 1971 | obj3 = v | |
| 1972 | TARG10 = Vector3.new(15,21,15) | |
| 1973 | TARG11 = CFrame.new(0,0,0) | |
| 1974 | makeui(BrickColor.new("Bright bluish green").Color,"Blocked!")
| |
| 1975 | bll.Value = false | |
| 1976 | end | |
| 1977 | end) | |
| 1978 | stun.Changed:connect(function() | |
| 1979 | if stun.Value == true then | |
| 1980 | makeui(Color3.new(255,255,0),"+Stunned") | |
| 1981 | wait(2) | |
| 1982 | if opend == true then | |
| 1983 | stun.Value = false | |
| 1984 | end | |
| 1985 | end | |
| 1986 | if stun.Value == false then | |
| 1987 | makeui(Color3.new(255,255,0),"-Stunned") | |
| 1988 | end | |
| 1989 | end) | |
| 1990 | ------------------- | |
| 1991 | while wait() do | |
| 1992 | wait() | |
| 1993 | fa.Text = "Attack : "..atk.Value | |
| 1994 | fa2.Text = "Speed : "..spd.Value | |
| 1995 | fa3.Text = "Defense : "..def.Value | |
| 1996 | ----HP | |
| 1997 | local initX5 = f5.Size.X.Scale | |
| 1998 | local maxhp = char.Humanoid.MaxHealth | |
| 1999 | local hp = char.Humanoid.Health | |
| 2000 | local Pie = (hp / maxhp) | |
| 2001 | f5f:TweenSize( UDim2.new( initX5*Pie*3.33, 0, 1, 0),"In","Linear",1 ) | |
| 2002 | ---Energy | |
| 2003 | local DV1 = energy / 100 | |
| 2004 | local initX6 = f6.Size.X.Scale | |
| 2005 | f6f:TweenSize( UDim2.new( initX6*DV1*3.33, 0, 1, 0),"In","Linear",1 ) | |
| 2006 | ---Block | |
| 2007 | local DV1 = blt.Value / blm | |
| 2008 | local initX6 = f9.Size.X.Scale | |
| 2009 | f9f:TweenSize( UDim2.new( initX6*DV1*1.63, 0, 1, 0),"In","Linear",1 ) | |
| 2010 | if opend == true and current == true and idleq == false then | |
| 2011 | if stun.Value == true then | |
| 2012 | TARG1 = stunned[3] -- LEFT ARM | |
| 2013 | TARG2 = stunned[2]-- RIGHT ARM | |
| 2014 | TARG3 = stunned[1] -- NECK | |
| 2015 | TARG4 = stunned[5] -- RIGHT LEG | |
| 2016 | TARG5 = stunned[4] -- LEFT LEG | |
| 2017 | TARG6 = stunned[6] -- TORSO TILT | |
| 2018 | char.Humanoid.WalkSpeed = 0 | |
| 2019 | end | |
| 2020 | if stun.Value == true then | |
| 2021 | char.Humanoid.JumpPower = 0 | |
| 2022 | else | |
| 2023 | char.Humanoid.JumpPower = 50 | |
| 2024 | end | |
| 2025 | if stun.Value == false and skl == false then | |
| 2026 | char.Humanoid.WalkSpeed = 16 * spd.Value | |
| 2027 | end | |
| 2028 | if char.Humanoid.Jump == true and stun.Value == false and bl.Value == false then | |
| 2029 | TARG1 = jump[3] -- LEFT ARM | |
| 2030 | TARG2 = jump[2]-- RIGHT ARM | |
| 2031 | TARG3 = jump[1] -- NECK | |
| 2032 | TARG4 = jump[5] -- RIGHT LEG | |
| 2033 | TARG5 = jump[4] -- LEFT LEG | |
| 2034 | TARG6 = CFrame.new(0,0,0) | |
| 2035 | end | |
| 2036 | --ts.C0 = ts.C0:lerp(stunned[6],.4) | |
| 2037 | --nc.C0 = nc.C0:lerp(stunned[1],.4) | |
| 2038 | --ll.C0 = ll.C0:lerp(stunned[4],.4) | |
| 2039 | --rl.C0 = rl.C0:lerp(stunned[5],.4) | |
| 2040 | --w3.C0 = w3.C0:lerp(stunned[3],.4) | |
| 2041 | --w4.C0 = w4.C0:lerp(stunned[2],.4) | |
| 2042 | local lilwl = ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0)) | |
| 2043 | local lirwl = rl.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)) | |
| 2044 | ||
| 2045 | --RIGHT | |
| 2046 | local lilwr = ll.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)) | |
| 2047 | local lirwr = rl.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0)) | |
| 2048 | ||
| 2049 | ||
| 2050 | -- | |
| 2051 | if bl.Value == false then | |
| 2052 | if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false then | |
| 2053 | TARG1 = walk[8] -- LEFT ARM | |
| 2054 | TARG2 = walk[7]-- RIGHT ARM | |
| 2055 | TARG3 = walk[6] -- NECK | |
| 2056 | TARG4 = walk[4] -- RIGHT LEG | |
| 2057 | TARG5 = walk[3] -- LEFT LEG | |
| 2058 | TARG6 = walk[5] -- TORSO | |
| 2059 | if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then | |
| 2060 | wait(.05) | |
| 2061 | end | |
| 2062 | if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then | |
| 2063 | wait(.05) | |
| 2064 | end | |
| 2065 | if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then | |
| 2066 | wait(.05) | |
| 2067 | end | |
| 2068 | if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then | |
| 2069 | wait(.05) | |
| 2070 | end | |
| 2071 | if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then | |
| 2072 | TARG1 = walk[8] -- LEFT ARM | |
| 2073 | TARG2 = walk[7]-- RIGHT ARM | |
| 2074 | TARG3 = walk[6] -- NECK | |
| 2075 | TARG4 = walk[2] -- RIGHT LEG | |
| 2076 | TARG5 = walk[1] -- LEFT LEG | |
| 2077 | TARG6 = walk[5] -- TORSO | |
| 2078 | end | |
| 2079 | if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then | |
| 2080 | wait(.05) | |
| 2081 | end | |
| 2082 | if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then | |
| 2083 | wait(.05) | |
| 2084 | end | |
| 2085 | if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then | |
| 2086 | wait(.05) | |
| 2087 | end | |
| 2088 | if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then | |
| 2089 | wait(.05) | |
| 2090 | end | |
| 2091 | else | |
| 2092 | if IdleAndWalk == false and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then | |
| 2093 | TARG1 = idle[5] | |
| 2094 | TARG2 = idle[6] | |
| 2095 | TARG3 = idle[2] | |
| 2096 | TARG4 = idle[4] | |
| 2097 | TARG5 = idle[3] | |
| 2098 | TARG6 = idle[1] | |
| 2099 | end | |
| 2100 | end | |
| 2101 | end | |
| 2102 | -- | |
| 2103 | end | |
| 2104 | end | |
| 2105 | ||
| 2106 | --[[ | |
| 2107 | ||
| 2108 | ||
| 2109 | ||
| 2110 | ||
| 2111 | ts.C0 = ts.C0:lerp(idle[1],.4) | |
| 2112 | nc.C0 = nc.C0:lerp(idle[2],.4) | |
| 2113 | ll.C0 = ll.C0:lerp(idle[3],.4) | |
| 2114 | rl.C0 = rl.C0:lerp(idle[4],.4) | |
| 2115 | w3.C0 = w3.C0:lerp(idle[5],.4) | |
| 2116 | w4.C0 = w4.C0:lerp(idle[6],.4) | |
| 2117 | ||
| 2118 | TARG1 = idle[5] | |
| 2119 | TARG2 = idle[6] | |
| 2120 | TARG3 = idle[2] | |
| 2121 | TARG4 = idle[5] | |
| 2122 | TARG5 = idle[3] | |
| 2123 | TARG6 = idle[2] | |
| 2124 | if TARG4 ~= nil then | |
| 2125 | rl.C0 = rl.C0:lerp(TARG4,lspeed) | |
| 2126 | end | |
| 2127 | if TARG5 ~= nil then | |
| 2128 | ll.C0 = ll.C0:lerp(TARG5,lspeed) | |
| 2129 | end | |
| 2130 | if TARG3 ~= nil then | |
| 2131 | nc.C0 = nc.C0:lerp(TARG3,lspeed) | |
| 2132 | end | |
| 2133 | if TARG1 ~= nil then | |
| 2134 | w3.C0 = w3.C0:lerp(TARG1,Speed) | |
| 2135 | end | |
| 2136 | if TARG2 ~= nil then | |
| 2137 | w4.C0 = w4.C0:lerp(TARG2,Speed) | |
| 2138 | end | |
| 2139 | ||
| 2140 | ll.C0 = ll.C0:lerp(walk[3],.4) | |
| 2141 | rl.C0 = rl.C0:lerp(walk[4],.4) | |
| 2142 | ---OTHER ANIMS | |
| 2143 | ts.C0 = ts.C0:lerp(walk[5],.4) | |
| 2144 | nc.C0 = nc.C0:lerp(walk[6],.4) | |
| 2145 | w4.C0 = w4.C0:lerp(walk[7],.4) | |
| 2146 | w3.C0 = w3.C0:lerp(walk[8],.4) | |
| 2147 | ||
| 2148 | TARG1 = walk[8] -- LEFT ARM | |
| 2149 | TARG2 = walk[7]-- RIGHT ARM | |
| 2150 | TARG3 = walk[6] -- NECK | |
| 2151 | TARG4 = walk[] -- RIGHT LEG | |
| 2152 | TARG5 = walk[] -- LEFT LEG | |
| 2153 | TARG6 = walk[5] -- TORSO | |
| 2154 | ||
| 2155 | for i = 0,1,wait() do | |
| 2156 | wait() | |
| 2157 | ll.C0 = ll.C0:lerp(walk[3],.4) | |
| 2158 | rl.C0 = rl.C0:lerp(walk[4],.4) | |
| 2159 | ---OTHER ANIMS | |
| 2160 | ts.C0 = ts.C0:lerp(walk[5],.4) | |
| 2161 | nc.C0 = nc.C0:lerp(walk[6],.4) | |
| 2162 | w4.C0 = w4.C0:lerp(walk[7],.4) | |
| 2163 | w3.C0 = w3.C0:lerp(walk[8],.4) | |
| 2164 | end--]] |