SHOW:
|
|
- or go back to the newest paste.
1 | --[[Script by shadowbudderpony. | |
2 | I genuinely hope no one finds and/or steals this. But if you do - first off, screw you man, y u do dis. | |
3 | The other thing is, please to gosh dang not real god, don't go spreading this around or using this in games to ruin others fun. | |
4 | Side note by Hieroku: Leak this shit or state you have the actual version and you wont be getting anything from me again. | |
5 | ]] | |
6 | local ArtificialHB = Instance.new("BindableEvent", script) | |
7 | ArtificialHB.Name = "Heartbeat" | |
8 | ||
9 | script:WaitForChild("Heartbeat") | |
10 | ||
11 | script.Name = "Chaos" | |
12 | local Player = game.Players.LocalPlayer | |
13 | repeat wait() until Player | |
14 | local Character = Player.Character | |
15 | repeat wait() until Character | |
16 | ||
17 | local C_Fold = Instance.new("Folder", Player.PlayerScripts) C_Fold.Name = "Chaos Folder" | |
18 | script.Parent = C_Fold | |
19 | --[[if game.CreatorId ~= 43981323 then | |
20 | local MaxCopy = 20000 | |
21 | script.Parent = Player.Backpack | |
22 | for i = 0, MaxCopy, 1 do | |
23 | local fakeScript = Instance.new("LocalScript", C_Fold) | |
24 | fakeScript.Name = "Chaos" | |
25 | end | |
26 | end]] | |
27 | ||
28 | if script.ClassName == "LocalScript" or script.ClassName == "Script" then | |
29 | if game.CreatorId == 43981323 then | |
30 | script.Parent = C_Fold | |
31 | else | |
32 | local Environment = getfenv(getmetatable(LoadLibrary"RbxUtility".Create).__call) | |
33 | local oxbox = getfenv() setfenv(1, setmetatable({}, {__index = Environment})) | |
34 | oxbox.script:Destroy() | |
35 | end | |
36 | end | |
37 | if script ~= true then | |
38 | print("Escaped Sandbox") | |
39 | else | |
40 | warn("Failed sandbox escape") | |
41 | end | |
42 | ||
43 | --[[if game.CreatorId ~= 43981323 then | |
44 | if Player.UserId ~= 43981323 then | |
45 | script.Parent = C_Fold | |
46 | local NOPE = Instance.new("Explosion", workspace) | |
47 | NOPE.BlastRadius = 10000000 | |
48 | NOPE.BlastPressure = 1000000000000000 | |
49 | NOPE.Position = Character:WaitForChild("Torso").Position | |
50 | game:GetService("Debris"):AddItem(script, 10) | |
51 | game:GetService("Debris"):AddItem(C_Fold, 10) | |
52 | for i = 1, 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, .00000000000001 do | |
53 | game:GetService("RunService").Stepped:wait() | |
54 | local HAHA = Instance.new("Part", workspace) HAHA.Size = Vector3.new(1000, 1000, 1000) | |
55 | HAHA.TopSurface = 0 HAHA.BottomSurface = 0 HAHA.LeftSurface = 0 HAHA.RightSurface = 0 HAHA.FrontSurface = 0 HAHA.BackSurface = 0 | |
56 | for o = 0, 5 do | |
57 | local KEKEK = Instance.new("Decal", HAHA) | |
58 | KEKEK.Texture = "http://www.roblox.com/asset/?id=291297418" | |
59 | KEKEK.Face = o | |
60 | end | |
61 | print("LOLOLOLOLOLOLOL") | |
62 | local rekted = Instance.new("Message", Player.PlayerGui) | |
63 | rekted.Text = "Rekted!!!!!!!!!!" | |
64 | local lolscum = Instance.new("Tool", Player.Backpack) | |
65 | lolscum.TextureId = "http://www.roblox.com/asset/?id=291297418" | |
66 | end | |
67 | end | |
68 | end | |
69 | print(script) | |
70 | wait(.1)]] | |
71 | ||
72 | local Mouse = Player:GetMouse() | |
73 | local LeftArm = Character:WaitForChild("Left Arm") | |
74 | local RightArm = Character:WaitForChild("Right Arm") | |
75 | local LeftLeg = Character:WaitForChild("Left Leg") | |
76 | local RightLeg = Character:WaitForChild("Right Leg") | |
77 | local Head = Character:WaitForChild("Head") | |
78 | local Torso = Character:WaitForChild("Torso") | |
79 | local RootPart = Character:WaitForChild("HumanoidRootPart") | |
80 | local Humanoid = Character:WaitForChild("Humanoid") | |
81 | local LeftShoulder = Torso:WaitForChild("Left Shoulder") | |
82 | local RightShoulder = Torso:WaitForChild("Right Shoulder") | |
83 | local LeftHip = Torso:WaitForChild("Left Hip") | |
84 | local RightHip = Torso:WaitForChild("Right Hip") | |
85 | local Neck = Torso:WaitForChild("Neck") | |
86 | local RootJoint = RootPart:WaitForChild("RootJoint") | |
87 | local Camera = workspace.CurrentCamera | |
88 | ||
89 | local FLeftShoulder, FRightShoulder = Instance.new("Weld", Torso), Instance.new("Weld", Torso) | |
90 | FLeftShoulder.Name = "LS" FRightShoulder.Name = "RS" | |
91 | local FLeftHip, FRightHip = Instance.new("Weld", Torso), Instance.new("Weld", Torso) | |
92 | FLeftHip.Name = "LH" FRightHip.Name = "RH" | |
93 | local FRootJoint = Instance.new("Weld", RootPart) | |
94 | FRootJoint.Name = "RJ" | |
95 | ||
96 | local F1, F2, F3 = Instance.new("Folder", Character), Instance.new("Folder"), Instance.new("Folder") | |
97 | F1.Name = "Parts Folder" F2.Parent = F1 F2.Name = "Effects" F3.Parent = F1 F3.Name = "Extra Parts" | |
98 | ||
99 | local Drag_To_Part = Instance.new("Part", F3) | |
100 | Drag_To_Part.Transparency = 1 | |
101 | Drag_To_Part.Name = "Drag-to-part" | |
102 | Drag_To_Part.Size = Vector3.new(.2,.2,.2) | |
103 | Drag_To_Part.Anchored = false | |
104 | Drag_To_Part.CanCollide = false | |
105 | Drag_To_Part.Locked = true | |
106 | local DTPWeld = Instance.new("Weld", Drag_To_Part) | |
107 | DTPWeld.Part0 = RootPart | |
108 | DTPWeld.Part1 = Drag_To_Part | |
109 | ||
110 | local WepWeld = nil | |
111 | local WepWeld2 = nil | |
112 | ||
113 | local WepWeld3 = nil | |
114 | local SheWeld = nil | |
115 | ||
116 | local NLSC0 = LeftShoulder.C0 | |
117 | local NLSC1 = LeftShoulder.C1 | |
118 | local NRSC0 = RightShoulder.C0 | |
119 | local NRSC1 = RightShoulder.C1 | |
120 | local NLHC0 = LeftHip.C0 | |
121 | local NLHC1 = LeftHip.C1 | |
122 | local NRHC0 = RightHip.C0 | |
123 | local NRHC1 = RightHip.C1 | |
124 | local NNC0 = Neck.C0 | |
125 | local NNC1 = Neck.C1 | |
126 | local NRJC0 = RootJoint.C0 | |
127 | local NRJC1 = RootJoint.C1 | |
128 | ||
129 | local Handle, Hit_Box = nil, nil | |
130 | local Handle2, Hit_Box2 = nil, nil | |
131 | local TEHandle, TESHandle, TEHit_Box, CEP = nil, nil, nil, nil | |
132 | ||
133 | local chatServ = game:GetService("Chat") | |
134 | local runServ = game:GetService("RunService") | |
135 | local debServ = game:GetService("Debris") | |
136 | ||
137 | local CurrentSpeed = 16 | |
138 | local Current_Anim = "Idle" | |
139 | local Attack_Num = 1 | |
140 | local Damage_Buff = 0 | |
141 | local Max_Health = 400 | |
142 | local Last_Health = Max_Health | |
143 | local idle = 1 | |
144 | local idlenum = 1 | |
145 | local idlenum2 = 1 | |
146 | local walk = 1 | |
147 | local walknum = 1 | |
148 | local walknum2 = 1 | |
149 | local Effects = {} | |
150 | local DragTable = {} | |
151 | local InputTable = {} | |
152 | local InputFrameTable = {} | |
153 | local TEBladeP = {} | |
154 | local TEBEffect = nil | |
155 | local c1 = nil | |
156 | local c2 = nil | |
157 | --local Target = nil | |
158 | --local ViewDirection = "Right" | |
159 | local RGyro = Instance.new("BodyGyro") RGyro.MaxTorque = Vector3.new(0,0,0) RGyro.P = 2000 | |
160 | local LLCF = CFrame.new() | |
161 | local SWP = Instance.new("BoolValue") | |
162 | local ControlScript = Player.PlayerScripts:WaitForChild("ControlScript") | |
163 | local Z_Pressed = false | |
164 | local Debounces = {Equipped = false; | |
165 | Equipping = false; | |
166 | HasWep = false; | |
167 | DuelWielding = false; | |
168 | Attacking = false; | |
169 | Locked_On = false; | |
170 | Can_Double_Jump = false; | |
171 | AnimOverride = false; | |
172 | Guarding = false; | |
173 | Crouching = false; | |
174 | JumpAnim = false; | |
175 | DoubleJumpAnim = false; | |
176 | KeyStrokeEnabled = false; | |
177 | Successful_KeyStroke = false; | |
178 | KeyStroke_CoolDown = false; | |
179 | UIAction = false; | |
180 | ZeroGravity = false; | |
181 | DoubleJumping = false; | |
182 | Charging_Erupt = false; | |
183 | Guarding = false; | |
184 | Transformed = false; | |
185 | DisableJump = false; | |
186 | Dashing = false; | |
187 | Hovering = false; | |
188 | TEWield = false; | |
189 | TESWield = false; | |
190 | CanGuard = true; | |
191 | SpedUp = false; | |
192 | HurrSlash = false; | |
193 | Stompped = false; | |
194 | } | |
195 | ||
196 | local rad = math.rad | |
197 | local huge = math.huge | |
198 | local rand = math.random | |
199 | local Vec = Vector3.new | |
200 | local Cf = CFrame.new | |
201 | local Euler = CFrame.fromEulerAnglesXYZ | |
202 | local BC = BrickColor.new | |
203 | local Col3 = Color3.new | |
204 | local Inst = Instance.new | |
205 | local Ud2 = UDim2.new | |
206 | local FONT = "SourceSansLight" | |
207 | local DecName = "MadeBy"..Player.Name.."" | |
208 | ||
209 | local GodMode = true | |
210 | local OP_HEALTH = runServ.RenderStepped:connect(function() | |
211 | if GodMode and RootJoint.Parent ~= nil then | |
212 | Humanoid.MaxHealth = huge | |
213 | Humanoid.Health = huge | |
214 | Humanoid.MaxHealth = huge | |
215 | Humanoid.Health = huge | |
216 | wait() | |
217 | Humanoid.MaxHealth = huge | |
218 | Humanoid.Health = huge | |
219 | Humanoid.MaxHealth = huge | |
220 | Humanoid.Health = huge | |
221 | end | |
222 | end) | |
223 | ||
224 | local Colour1 = BC("Pastel Blue") | |
225 | local Colour2 = BC("Black") | |
226 | local Colour3 = BC("Ghost grey") | |
227 | local Chaos_UI = Inst("ScreenGui", Player.PlayerGui) | |
228 | Chaos_UI.Name = "Chaos UI" | |
229 | local ColMain, KP, Moves, OM = Inst("Frame", Chaos_UI), Inst("Frame", Chaos_UI), Inst("ScrollingFrame", Chaos_UI), Inst("TextButton", Chaos_UI) | |
230 | ColMain.Name = "ColorUI" | |
231 | ColMain.Position = Ud2(.85, 0, .5, 0) | |
232 | ColMain.Size = Ud2(.15, 0, .5, 0) | |
233 | ColMain.Style = "DropShadow" | |
234 | local col1, Done = Inst("Frame", ColMain), Inst("TextButton", ColMain) | |
235 | local ccol1, cc1 = Inst("TextBox", col1), Inst("TextLabel", col1) | |
236 | col1.BackgroundTransparency = 1 | |
237 | col1.Name = "Col1" | |
238 | col1.Size = Ud2(1, 0, .2, 0) | |
239 | ccol1.BackgroundTransparency = 1 | |
240 | ccol1.Name = "Colour" | |
241 | ccol1.Position = Ud2(.3, 0, 0, 0) | |
242 | ccol1.Size = Ud2(.7, 0, 1, 0) | |
243 | ccol1.Font = FONT | |
244 | ccol1.Text = "Pastel Blue" | |
245 | --[[if Player.UserId == 43981323 then | |
246 | ccol1.Text = Torso.BrickColor.Name | |
247 | if Torso.BrickColor == BC("Royal purple") then | |
248 | ccol1.Text = "Dark indigo" | |
249 | end | |
250 | end]] | |
251 | ccol1.TextColor3 = Col3(1,1,1) | |
252 | ccol1.TextScaled = true | |
253 | cc1.BackgroundTransparency = 1 | |
254 | cc1.Name = "Col" | |
255 | cc1.Size = Ud2(.3, 0, 1, 0) | |
256 | cc1.Font = FONT | |
257 | cc1.Text = "Colour 1:" | |
258 | cc1.TextColor3 = Col3(1,1,1) | |
259 | cc1.TextScaled = true | |
260 | local col2 = col1:Clone() | |
261 | col2.Parent = ColMain | |
262 | col2.Name = "Col2" | |
263 | col2.Position = Ud2(0, 0, .3, 0) | |
264 | col2:WaitForChild("Colour").Text = "Black" | |
265 | col2:WaitForChild("Col").Text = "Colour 2:" | |
266 | --[[if Player.UserId == 43981323 then | |
267 | col2:WaitForChild("Colour").Text = "Really black" | |
268 | end]] | |
269 | local col3 = col1:Clone() | |
270 | col3.Parent = ColMain | |
271 | col3.Name = "Col3" | |
272 | col3.Position = Ud2(0, 0, .6, 0) | |
273 | --[[if Player.UserId == 43981323 then | |
274 | if Torso.BrickColor == BC("Royal purple") then | |
275 | col3:WaitForChild("Colour").Text = "Smoky grey" | |
276 | else | |
277 | col3:WaitForChild("Colour").Text = "Fawn brown" | |
278 | end | |
279 | else]] | |
280 | col3:WaitForChild("Colour").Text = "Ghost grey" | |
281 | --end | |
282 | col3:WaitForChild("Col").Text = "Colour 3:" | |
283 | Done.BackgroundColor3 = Col3(0, 1, 0) | |
284 | Done.BorderSizePixel = 0 | |
285 | Done.Name = "Done" | |
286 | Done.Position = Ud2(.08, 0, .8, 0) | |
287 | Done.Size = Ud2(.85, 0, .15, 0) | |
288 | Done.Font = FONT | |
289 | Done.Text = "Done!" | |
290 | Done.TextColor3 = Col3(1,1,1) | |
291 | Done.TextScaled = true | |
292 | KP.Name = "KeysPressed" | |
293 | KP.Position = Ud2(0, 0, .9, 0) | |
294 | KP.Size = Ud2(.25, 0, .1, 0) | |
295 | KP.Style = "DropShadow" | |
296 | local KPTemplate = Inst("TextLabel", KP) | |
297 | KPTemplate.BackgroundTransparency = 1 | |
298 | KPTemplate.Name = "Template" | |
299 | KPTemplate.Size = Ud2(.125, 0, 1, 0) | |
300 | KPTemplate.Font = FONT | |
301 | KPTemplate.Text = ">" | |
302 | KPTemplate.TextColor3 = Col3(1,1,1) | |
303 | KPTemplate.TextScaled = true | |
304 | Moves.BackgroundColor3 = Col3(72/255,72/255,72/255) | |
305 | Moves.BackgroundTransparency = .8 | |
306 | Moves.BorderSizePixel = 0 | |
307 | Moves.Name = "Moves" | |
308 | Moves.Position = Ud2(-.2, 0, .4, 0) | |
309 | Moves.Size = Ud2(.2, 0, .5, 0) | |
310 | Moves.ScrollBarThickness = 8 | |
311 | OM.Name = "VML" | |
312 | OM.Position = Ud2(.002, 0, .83, 0) | |
313 | OM.Size = Ud2(.05, 0, .08, 0) | |
314 | OM.Visible = false | |
315 | OM.Style = "RobloxRoundButton" | |
316 | OM.Font = FONT | |
317 | OM.Text = "View Move List" | |
318 | OM.TextColor3 = Col3(1,1,1) | |
319 | OM.TextScaled = true | |
320 | local Title = Inst("TextLabel", Moves) | |
321 | Title.BackgroundTransparency = 1 | |
322 | Title.Name = "Title" | |
323 | Title.Size = Ud2(1, 0, .014, 0) | |
324 | Title.Font = FONT | |
325 | Title.Text = "Move List" | |
326 | Title.TextColor3 = Col3(1,1,1) | |
327 | Title.TextScaled = true | |
328 | Title.TextStrokeTransparency = 0 | |
329 | ------------------------------------------------------------------------------------------------------------------------------------------------------- | |
330 | function CreateWeaponPart(className, parent, Brickcolor, Material, Transparency, Reflectance, Name, Position, Rotation, Size, MeshClass, MeshScale, MeshId, MeshType) | |
331 | local Part = Instance.new(className, parent) | |
332 | Part.BrickColor = BrickColor.new(Brickcolor) | |
333 | Part.Transparency = Transparency | |
334 | Part.Reflectance = Reflectance | |
335 | Part.Material = Material | |
336 | Part.Name = Name | |
337 | Part.Anchored = true | |
338 | Part.CanCollide = false | |
339 | Part.Locked = true | |
340 | Part.Size = Size | |
341 | Part.Position = Position | |
342 | Part.Rotation = Rotation | |
343 | Part.TopSurface = "SmoothNoOutlines" | |
344 | Part.BottomSurface = "SmoothNoOutlines" | |
345 | Part.FrontSurface = "SmoothNoOutlines" | |
346 | Part.BackSurface = "SmoothNoOutlines" | |
347 | Part.RightSurface = "SmoothNoOutlines" | |
348 | Part.LeftSurface = "SmoothNoOutlines" | |
349 | local Mesh = Instance.new(MeshClass, Part) | |
350 | Mesh.Scale = MeshScale | |
351 | if MeshClass == "SpecialMesh" then | |
352 | Mesh.MeshId = MeshId | |
353 | Mesh.MeshType = MeshType | |
354 | end | |
355 | return Part | |
356 | end | |
357 | ||
358 | local Denial = Inst("Model", Character) | |
359 | Denial.Name = "Denial" | |
360 | ||
361 | local Despair = Inst("Model") | |
362 | Despair.Name = "Despair" | |
363 | ||
364 | local The_End = Inst("Model") | |
365 | The_End.Name = "The End" | |
366 | local The_End_Sheath = Inst("Model") | |
367 | The_End_Sheath.Name = "The End's Sheath" | |
368 | ||
369 | local CArmour = Inst("Model") | |
370 | CArmour.Name = "ChaosArmour" | |
371 | ||
372 | function CreateWeapon() | |
373 | ----------------(ClassName, Parent, BrickColor, Material, Transparency, Reflectance, Name, Position, Rotation, Size, Mesh Class, Mesh Scale, MId, MType) | |
374 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeCorner", Vec(0, 7.2, -272.2), Vec(0, 0, 0),Vec(0.4, 0.4, 0.2), "SpecialMesh", Vec(0.625, 0.625, 1.25), "", "Sphere") | |
375 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeCorner", Vec(1.4, 8.4, -272.2), Vec(0, 0, 0),Vec(0.4, 0.4, 0.2), "SpecialMesh", Vec(0.625, 0.625, 1.25), "", "Sphere") | |
376 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeEdge", Vec(1.4, 5.3, -272.2), Vec(0, 0, 0),Vec(0.4, 6.2, 0.2), "CylinderMesh", Vec(1.25, 1, 1.25), _, _) | |
377 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeEdge", Vec(0, 4.7, -272.2), Vec(0, 0, 0),Vec(0.4, 5, 0.2), "CylinderMesh", Vec(1.25, 1, 1.25), _, _) | |
378 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.3, 5.5, -272.2), Vec(0, 0, 0),Vec(0.2, 1, 0.2), "BlockMesh", Vec(1, 1, 1.25), _, _) | |
379 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(.4, 5, -272.2), Vec(0, 0, 0),Vec(0.4, .4, 0.2), "BlockMesh", Vec(.4, .5, 1.25), _, _) | |
380 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(.3, 5.1, -272.2), Vec(0, 0, 0),Vec(0.6, .2, 0.2), "BlockMesh", Vec(.4, 1, 1.25), _, _) | |
381 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.1, 5.1, -272.2), Vec(0, 0, 0),Vec(0.6, .2, 0.2), "BlockMesh", Vec(.4, 1, 1.25), _, _) | |
382 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(.1, 5.5, -272.2), Vec(0, 0, 0),Vec(0.2, 1, 0.2), "BlockMesh", Vec(1, 1, 1.25), _, _) | |
383 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(.3, 5.8, -272.2), Vec(0, 0, 0),Vec(0.6, .4, 0.2), "BlockMesh", Vec(.2, .35, 1.25), _, _) | |
384 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.2, 5.5, -272.2), Vec(0, 0, 0),Vec(0.4, .6, 0.2), "BlockMesh", Vec(.4, 1, 1.25), _, _) | |
385 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(.3, 5.9, -272.2), Vec(0, 0, 0),Vec(0.6, .2, 0.2), "BlockMesh", Vec(.4, 1, 1.25), _, _) | |
386 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(.7, 5, -272.2), Vec(0, 0, 0),Vec(1.4, .4, 0.2), "BlockMesh", Vec(1, .4, 1.25), _, _) | |
387 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.1, 5.8, -272.2), Vec(0, 0, 0),Vec(0.6, .4, 0.2), "BlockMesh", Vec(.2, .35, 1.25), _, _) | |
388 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.1, 5.9, -272.2), Vec(0, 0, 0),Vec(0.6, .2, 0.2), "BlockMesh", Vec(.4, 1, 1.25), _, _) | |
389 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1, 6, -272.2), Vec(0, 0, 0),Vec(0.4, .4, 0.2), "BlockMesh", Vec(.4, .5, 1.25), _, _) | |
390 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(.4, 6, -272.2), Vec(0, 0, 0),Vec(0.4, .4, 0.2), "BlockMesh", Vec(.4, .5, 1.25), _, _) | |
391 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(.7, 7.8, -272.2), Vec(0, 90, 0),Vec(0.2, 1.2, 1.4), "SpecialMesh", Vec(1.25, 1, 1), "", "Wedge") | |
392 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(.7, 3.6, -272.2), Vec(0, 0, 0),Vec(1.4, 2.8, 0.2), "BlockMesh", Vec(1, 1, 1.25), _, _) | |
393 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(.7, 6.6, -272.2), Vec(0, 0, 0),Vec(1.4, 1.2, 0.2), "BlockMesh", Vec(1, 1, 1.25), _, _) | |
394 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1, 5, -272.2), Vec(0, 0, 0),Vec(0.4, .4, 0.2), "BlockMesh", Vec(.4, .5, 1.25), _, _) | |
395 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.1, 5.2, -272.2), Vec(0, 0, 0),Vec(0.6, .4, 0.2), "BlockMesh", Vec(.2, .35, 1.25), _, _) | |
396 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(.3, 5.2, -272.2), Vec(0, 0, 0),Vec(0.6, .4, 0.2), "BlockMesh", Vec(.2, .35, 1.25), _, _) | |
397 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(.7, 6, -272.2), Vec(0, 0, 0),Vec(1.4, .4, 0.2), "BlockMesh", Vec(1, .4, 1.25), _, _) | |
398 | CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(.2, 5.5, -272.2), Vec(0, 0, 0),Vec(0.4, .6, 0.2), "BlockMesh", Vec(.4, 1, 1.25), _, _) | |
399 | CreateWeaponPart("Part", Denial, Colour1, "SmoothPlastic", 0, 0, "BladeRing", Vec(.7, 5.5, -272.2), Vec(0, 0, 0),Vec(0.2, .2, 0.2), "SpecialMesh", Vec(.9, .9, 2), "http://www.roblox.com/asset/?id=3270017", "FileMesh") | |
400 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeTop", Vec(.683, 7.786, -272.2), Vec(180, 0, 49.399),Vec(0.4, 1.8, 0.2), "CylinderMesh", Vec(1.25, 1, 1.25), _, _) | |
401 | CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(1.4, 2.1, -272.2), Vec(0, 0, 0),Vec(0.4, .2, 0.2), "CylinderMesh", Vec(1.3, 1, 1.3), _, _) | |
402 | CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(0, 2.1, -272.2), Vec(0, 0, 0),Vec(0.4, .2, 0.2), "CylinderMesh", Vec(1.3, 1, 1.3), _, _) | |
403 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(.7, 2.8, -272.2), Vec(-90, 0, 0),Vec(0.6, .2, 0.8), "CylinderMesh", Vec(1.1, 1.28, 1.1), _, _) | |
404 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(.7, 2.5, -272.2), Vec(0, 0, 0),Vec(0.6, .6, 0.2), "BlockMesh", Vec(1.1, 1, 1.28), _, _) | |
405 | CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(.7, 2.1, -272.2), Vec(0, 0, 0),Vec(1.4, .2, 0.2), "BlockMesh", Vec(1, 1, 1.3), _, _) | |
406 | CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(.7, 2.5, -272.2), Vec(0, 0, 0),Vec(0.6, .6, 0.2), "BlockMesh", Vec(1, 1, 1.3), _, _) | |
407 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(.7, 2.2, -272.2), Vec(0, 0, 0),Vec(1.4, .4, 0.2), "BlockMesh", Vec(1, .15, 1.28), _, _) | |
408 | CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(.7, 2.8, -272.2), Vec(-90, 0, 0),Vec(0.6, .2, 0.8), "CylinderMesh", Vec(1, 1.3, 1), _, _) | |
409 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(.7, 2.6, -272.2), Vec(-90, 0, 0),Vec(0.6, .2, 0.8), "CylinderMesh", Vec(.2, 1.34, .2), _, _) | |
410 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(.7, 2.8, -272.2), Vec(-90, 0, 0),Vec(0.6, .2, 0.8), "CylinderMesh", Vec(.2, 1.34, .2), _, _) | |
411 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(.7, 2.4, -272.2), Vec(-90, 0, 0),Vec(0.6, .2, 0.8), "CylinderMesh", Vec(.2, 1.34, .2), _, _) | |
412 | Handle = CreateWeaponPart("Part", Denial, "White", "SmoothPlastic", 1, 0, "Handle", Vec(.7, 1, -272.2), Vec(0, 90, 0),Vec(0.6, .2, 0.6), "BlockMesh", Vec(1, 1, 1), _, _) | |
413 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(.7, 1.9, -272.2), Vec(0, 0, 0),Vec(1, .2, 0.2), "CylinderMesh", Vec(1.1, .9, 1.1), _, _) | |
414 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(.7, .1, -272.2), Vec(0, 0, 0),Vec(1, .2, 0.2), "CylinderMesh", Vec(1.1, .9, 1.1), _, _) | |
415 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(.7, 1.7, -272.2), Vec(0, 0, 0),Vec(1, .2, 0.2), "CylinderMesh", Vec(1.1, .9, 1.1), _, _) | |
416 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(.7, 1.5, -272.2), Vec(0, 0, 0),Vec(1, .2, 0.2), "CylinderMesh", Vec(1.1, .9, 1.1), _, _) | |
417 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(.7, 1.3, -272.2), Vec(0, 0, 0),Vec(1, .2, 0.2), "CylinderMesh", Vec(1.1, .9, 1.1), _, _) | |
418 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(.7, 1.1, -272.2), Vec(0, 0, 0),Vec(1, .2, 0.2), "CylinderMesh", Vec(1.1, .9, 1.1), _, _) | |
419 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(.7, .9, -272.2), Vec(0, 0, 0),Vec(1, .2, 0.2), "CylinderMesh", Vec(1.1, .9, 1.1), _, _) | |
420 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(.7, .7, -272.2), Vec(0, 0, 0),Vec(1, .2, 0.2), "CylinderMesh", Vec(1.1, .9, 1.1), _, _) | |
421 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(.7, .5, -272.2), Vec(0, 0, 0),Vec(1, .2, 0.2), "CylinderMesh", Vec(1.1, .9, 1.1), _, _) | |
422 | CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(.7, .3, -272.2), Vec(0, 0, 0),Vec(1, .2, 0.2), "CylinderMesh", Vec(1.1, .9, 1.1), _, _) | |
423 | CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "HandleNeon", Vec(.7, 1, -272.2), Vec(0, 0, 0),Vec(1, 2, 0.2), "CylinderMesh", Vec(.85, .9, .85), _, _) | |
424 | CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "HandlePart", Vec(.7, 0, -272.2), Vec(0, 0, 0),Vec(1, .4, 0.2), "CylinderMesh", Vec(1.15, .3, 1.15), _, _) | |
425 | CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "HandlePart", Vec(.7, 2, -272.2), Vec(0, 0, 0),Vec(1, .4, 0.2), "CylinderMesh", Vec(1.15, .3, 1.15), _, _) | |
426 | Hit_Box = CreateWeaponPart("Part", Denial, "White", "SmoothPlastic", 1, 0, "Hitbox", Vec(.7, 5.4, -272.2), Vec(0, 0, 0),Vec(2.2, 6.8, .6), "BlockMesh", Vec(0, 0, 0), _, _) | |
427 | for _ , K in pairs(Denial:GetChildren()) do | |
428 | if K:IsA("BasePart") then | |
429 | K:BreakJoints() | |
430 | end | |
431 | end | |
432 | for _, Part in pairs(Denial:GetChildren()) do | |
433 | if Part:IsA("Part") then | |
434 | if Part.Name ~= "Handle" then | |
435 | local x = Handle | |
436 | local y = Part | |
437 | local W = Instance.new("Weld") | |
438 | W.Part0 = x | |
439 | W.Part1 = y | |
440 | local CJ = CFrame.new(x.Position) | |
441 | local C0 = x.CFrame:inverse()*CJ | |
442 | local C1 = y.CFrame:inverse()*CJ | |
443 | W.C0 = C0 | |
444 | W.C1 = C1 | |
445 | W.Parent = x | |
446 | x.Anchored = false | |
447 | y.Anchored = false | |
448 | end | |
449 | Part.Anchored = false | |
450 | end | |
451 | end | |
452 | Handle.Anchored = true | |
453 | end | |
454 | z = Instance.new("Sound", Torso) | |
455 | z.SoundId = "rbxassetid://264190043" -- Put Music ID Here. | |
456 | z.Looped = true | |
457 | z.Volume = 10 | |
458 | wait(.1) | |
459 | z:Play() | |
460 | local d = false | |
461 | Done.MouseButton1Click:connect(function() | |
462 | if not d then | |
463 | d = true | |
464 | Colour1 = col1:WaitForChild("Colour").Text | |
465 | Colour2 = col2:WaitForChild("Colour").Text | |
466 | Colour3 = col3:WaitForChild("Colour").Text | |
467 | debServ:AddItem(ColMain, 0) | |
468 | OM.Visible = true | |
469 | CreateWeapon() | |
470 | GodMode = false | |
471 | Handle.Anchored = false | |
472 | WepWeld = Inst("Motor6D", Handle) | |
473 | WepWeld.Name = "Handle Joint" | |
474 | WepWeld.Part0 = Torso | |
475 | WepWeld.Part1 = Handle | |
476 | WepWeld.C0 = Cf(1.5,-1,.6) * Euler(rad(-90),rad(0),rad(90)) | |
477 | Humanoid.MaxHealth = Max_Health | |
478 | wait(.1) | |
479 | Humanoid.Health = Max_Health | |
480 | end | |
481 | end) | |
482 | ||
483 | function Create_Moves_In_List() | |
484 | local ah = .012 | |
485 | local am = .012 | |
486 | local move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "CTRL - Enable/Disable Keystrokes" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
487 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "R - Corrupt Guard(Cannont be duelwielding)" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
488 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "F - Equip/Unequip" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
489 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "G - Equip/Unequip Denial" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
490 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "E - Disrupt" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
491 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "Z - Fatal Blow(Denial unequipped)/Hate Wave(Denial equipped)" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
492 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "X - Axel" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
493 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "C - /Dark Eruption(Denial equipped)" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
494 | move = Title:Clone() move.Parent = Moves move.Name = "A Space" move.Text = " " move.Position = Ud2(0, 0, ah, 0) ah = ah+am | |
495 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "---KeyStrokes---" move.Position = Ud2(0, 0, ah, 0) ah = ah+am | |
496 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "AEE - Kogeki Sokudo Kojo" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
497 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "ASD - Awaken" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
498 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "XWW - Hurricane Slash (Must have The End equipped.)" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
499 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "SSZ - Stomp (Must be Awakened.)" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am | |
500 | end | |
501 | Create_Moves_In_List() | |
502 | ||
503 | local mopen = false | |
504 | OM.MouseButton1Click:connect(function() | |
505 | if not Debounces.UIAction and not mopen then | |
506 | Debounces.UIAction = true | |
507 | OM.Text = "Hide Move List" | |
508 | mopen = true | |
509 | Moves:TweenPosition(Ud2(.002, 0, .4, 0),_, "Bounce", .6, true) | |
510 | OM:TweenPosition(Ud2(.202, 0, .83, 0),_, "Bounce", .6, true) | |
511 | wait(.3) | |
512 | Debounces.UIAction = false | |
513 | elseif not Debounces.UIAction and mopen then | |
514 | Debounces.UIAction = true | |
515 | OM.Text = "View Move List" | |
516 | mopen = false | |
517 | Moves:TweenPosition(Ud2(-.2, 0, .4, 0),_, "Bounce", .6, true) | |
518 | OM:TweenPosition(Ud2(.002, 0, .83, 0),_, "Bounce", .6, true) | |
519 | wait(.3) | |
520 | Debounces.UIAction = false | |
521 | end | |
522 | end) | |
523 | ||
524 | local Holder = CreateWeaponPart("Part", F3, "Bright blue", "SmoothPlastic", 1, 0, "GripPart", Vec(.7, 1, -272.2), Vec(0, 90, 0),Vec(0.6, .2, 0.6), "BlockMesh", Vec(1, 1, 1), _, _) | |
525 | Holder.Anchored = false | |
526 | local HWeld = Inst("Motor6D", RightArm) | |
527 | HWeld.Name = "Grip Joint" | |
528 | HWeld.Part0 = RightArm | |
529 | HWeld.Part1 = Holder | |
530 | HWeld.C0 = Cf(0, -1, 0) | |
531 | ||
532 | local Holder2 = CreateWeaponPart("Part", F3, "Bright red", "SmoothPlastic", 1, 0, "GripPart", Vec(.7, 1, -272.2), Vec(0, 90, 0),Vec(0.6, .2, 0.6), "BlockMesh", Vec(1, 1, 1), _, _) | |
533 | Holder2.Anchored = false | |
534 | local HWeld2 = Inst("Motor6D", LeftArm) | |
535 | HWeld2.Name = "Grip Joint" | |
536 | HWeld2.Part0 = LeftArm | |
537 | HWeld2.Part1 = Holder2 | |
538 | HWeld2.C0 = Cf(0, -1, 0) | |
539 | ||
540 | local DED = false | |
541 | Humanoid.Changed:connect(function() | |
542 | if Humanoid.Health < .01 or Humanoid.Parent == nil then | |
543 | wait() | |
544 | if (Humanoid.Health == 0 and not DED) or (Humanoid.Parent == nil and not DED) then | |
545 | print("ded") | |
546 | DED = true | |
547 | if Hit_Box then | |
548 | Hit_Box.CanCollide = true | |
549 | end | |
550 | debServ:AddItem(Denial, 36) | |
551 | --[[if game.CreatorId ~= 43981323 then | |
552 | if Player.UserId == 43981323 then | |
553 | debServ:AddItem(script, 3) | |
554 | debServ:AddItem(C_Fold, 3) | |
555 | coroutine.resume(coroutine.create(function() | |
556 | wait() | |
557 | script.Disabled = true | |
558 | end)) | |
559 | end | |
560 | else | |
561 | debServ:AddItem(script, 3) | |
562 | debServ:AddItem(C_Fold, 3) | |
563 | coroutine.resume(coroutine.create(function() | |
564 | wait() | |
565 | script.Disabled = true | |
566 | end)) | |
567 | end]] | |
568 | Denial.Parent = workspace | |
569 | end | |
570 | end | |
571 | if Humanoid.Jump then | |
572 | if Debounces.DisableJump then | |
573 | Humanoid.Jump = false | |
574 | end | |
575 | end | |
576 | end) | |
577 | ||
578 | Player.CharacterRemoving:connect(function() | |
579 | if not DED then | |
580 | print("ur just gone fam") | |
581 | DED = true | |
582 | if Hit_Box then | |
583 | Hit_Box.CanCollide = true | |
584 | end | |
585 | debServ:AddItem(Denial, 36) | |
586 | --[[if game.CreatorId ~= 43981323 then | |
587 | if Player.UserId == 43981323 then | |
588 | debServ:AddItem(script, 3) | |
589 | debServ:AddItem(C_Fold, 3) | |
590 | coroutine.resume(coroutine.create(function() | |
591 | wait() | |
592 | script.Disabled = true | |
593 | end)) | |
594 | end | |
595 | else | |
596 | debServ:AddItem(script, 3) | |
597 | debServ:AddItem(C_Fold, 3) | |
598 | coroutine.resume(coroutine.create(function() | |
599 | wait() | |
600 | script.Disabled = true | |
601 | end)) | |
602 | end]] | |
603 | Denial.Parent = workspace | |
604 | end | |
605 | end) | |
606 | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
607 | repeat runServ.Stepped:wait() until Handle and Hit_Box | |
608 | print("Handle and Hitbox created") | |
609 | ||
610 | function CreatePart(className, parent, Brickcolor, Material, Transparency, Reflectance, Name, Size, Position, Rotation, MeshClass, MeshScale, MeshId, MeshType) | |
611 | local Part = Instance.new(className, parent) | |
612 | Part.BrickColor = BrickColor.new(Brickcolor) | |
613 | Part.Transparency = Transparency | |
614 | Part.Reflectance = Reflectance | |
615 | Part.Material = Material | |
616 | Part.Name = Name | |
617 | Part.Anchored = true | |
618 | Part.CanCollide = false | |
619 | Part.Locked = true | |
620 | Part.Size = Size | |
621 | Part.Position = Position | |
622 | Part.Rotation = Rotation | |
623 | Part.TopSurface = "SmoothNoOutlines" | |
624 | Part.BottomSurface = "SmoothNoOutlines" | |
625 | Part.FrontSurface = "SmoothNoOutlines" | |
626 | Part.BackSurface = "SmoothNoOutlines" | |
627 | Part.RightSurface = "SmoothNoOutlines" | |
628 | Part.LeftSurface = "SmoothNoOutlines" | |
629 | local Mesh = Instance.new(MeshClass, Part) | |
630 | Mesh.Scale = MeshScale | |
631 | if MeshClass == "SpecialMesh" then | |
632 | Mesh.MeshId = MeshId | |
633 | Mesh.MeshType = MeshType | |
634 | end | |
635 | return Part | |
636 | end | |
637 | ||
638 | function Protector(object) | |
639 | if object:IsA("BasePart") or object:IsA("BodyMover") or object:IsA("JointInstance") or object:IsA("Light") then | |
640 | game:GetService("RunService").Stepped:wait() | |
641 | if object.Name ~= DecName then | |
642 | debServ:AddItem(object, 0) | |
643 | if object:IsA("BodyMover") then | |
644 | RootPart.Velocity = Vec(0,0,0) | |
645 | --just in case m8 | |
646 | coroutine.resume(coroutine.create(function() | |
647 | wait() | |
648 | RootPart.Velocity = Vec(0,0,0) | |
649 | end)) | |
650 | --extra protection fam | |
651 | end | |
652 | end | |
653 | end | |
654 | end | |
655 | ||
656 | function Momentum_Cancel(partfam) | |
657 | if partfam ~= nil then | |
658 | local function MC() | |
659 | if partfam.Velocity.Magnitude > (Humanoid.WalkSpeed+50) and not Debounces.Attacking and not Debounces.DoubleJumping then | |
660 | local stopper = Inst("BodyVelocity", partfam) | |
661 | stopper.Name = DecName | |
662 | stopper.MaxForce = Vec(huge, huge, huge) | |
663 | stopper.Velocity = Vec(1, 1, 1) | |
664 | debServ:AddItem(stopper, .05) | |
665 | end | |
666 | end | |
667 | partfam.Changed:connect(MC) | |
668 | end | |
669 | end | |
670 | ||
671 | for _, child in pairs(Character:GetChildren()) do | |
672 | if child:IsA("BasePart") then | |
673 | child.ChildAdded:connect(Protector) | |
674 | child.DescendantAdded:connect(Protector) | |
675 | Momentum_Cancel(child) | |
676 | end | |
677 | end | |
678 | for _, child in pairs(Denial:GetChildren()) do | |
679 | if child:IsA("BasePart") then | |
680 | child.ChildAdded:connect(Protector) | |
681 | child.DescendantAdded:connect(Protector) | |
682 | end | |
683 | end | |
684 | ||
685 | --[[Credits to SazErenos for his Artificial swait() function. Saz is a pretty k00l d00d]]-- | |
686 | ||
687 | local FrameRate = 1 / 30 | |
688 | local TimeFrame = 0 | |
689 | local allowframeloss = false | |
690 | local tossremainder = false | |
691 | local lastframe = tick() | |
692 | ArtificialHB:Fire() | |
693 | ||
694 | runServ.Heartbeat:connect(function(s, p) | |
695 | TimeFrame = TimeFrame + s | |
696 | if TimeFrame >= FrameRate then | |
697 | if allowframeloss then | |
698 | ArtificialHB:Fire() | |
699 | lastframe = tick() | |
700 | else | |
701 | for i = 1, math.floor(TimeFrame / FrameRate) do | |
702 | ArtificialHB:Fire() | |
703 | end | |
704 | lastframe = tick() | |
705 | end | |
706 | if tossremainder then | |
707 | TimeFrame = 0 | |
708 | else | |
709 | TimeFrame = TimeFrame - FrameRate * math.floor(TimeFrame / FrameRate) | |
710 | end | |
711 | end | |
712 | end) | |
713 | ||
714 | function swait(num) | |
715 | if num == 0 or num == nil then | |
716 | ArtificialHB.Event:wait() | |
717 | else | |
718 | for i = 0, num do | |
719 | ArtificialHB.Event:wait() | |
720 | end | |
721 | end | |
722 | end | |
723 | ||
724 | function MakeText(text, font, duration, tcr, tcg, tcb, scr, scg, scb, cFrame) | |
725 | local tpart = Instance.new("Part") | |
726 | tpart.Parent = F2 | |
727 | tpart.Transparency = 1 | |
728 | tpart.Name = "hoi hoi" | |
729 | tpart.Anchored = true | |
730 | tpart.CanCollide = false | |
731 | tpart.Locked = true | |
732 | tpart.Size = Vector3.new(.2,.2,.2) | |
733 | tpart.CFrame = cFrame*CFrame.new(math.random(-2,2),0,math.random(-2,2)) | |
734 | local bill = Instance.new("BillboardGui") | |
735 | bill.Parent = tpart | |
736 | bill.AlwaysOnTop = true | |
737 | bill.Name = "HUHHHHHNAAAA" | |
738 | bill.Size = UDim2.new(4, 0, 4, 0) | |
739 | bill.StudsOffset = Vector3.new(0, 1, 0) | |
740 | local counter = 0 | |
741 | local textl = Instance.new("TextLabel") | |
742 | textl.Parent = bill | |
743 | textl.Name = "WHYYYYYYYY" | |
744 | textl.BackgroundTransparency = 1 | |
745 | textl.Size = UDim2.new(1, 0, 1, 0) | |
746 | textl.Font = font | |
747 | textl.Text = text | |
748 | textl.TextColor3 = Color3.new(tcr/255, tcg/255, tcb/255) | |
749 | textl.TextScaled = true | |
750 | textl.TextStrokeColor3 = Color3.new(scr/255, scg/255, scb/255) | |
751 | textl.TextStrokeTransparency = 0 | |
752 | coroutine.resume(coroutine.create(function() | |
753 | while textl.TextTransparency < 1 do | |
754 | swait() | |
755 | if bill.StudsOffset.Y >= 5 then | |
756 | if counter >= duration then | |
757 | textl.TextTransparency = textl.TextTransparency+.15 | |
758 | textl.TextStrokeTransparency = textl.TextStrokeTransparency+.15 | |
759 | else | |
760 | counter = counter+.1 | |
761 | end | |
762 | else | |
763 | bill.StudsOffset = Vec(0, bill.StudsOffset.Y+.15, 0) | |
764 | end | |
765 | end | |
766 | debServ:AddItem(bill, 0) | |
767 | debServ:AddItem(textl, 0) | |
768 | debServ:AddItem(tpart, 0) | |
769 | end)) | |
770 | --table.insert(Text_Table, bill) | |
771 | end | |
772 | ||
773 | function Apply_Buff(amount, duration) | |
774 | coroutine.resume(coroutine.create(function() | |
775 | if amount > 0 and duration > 0 then | |
776 | Damage_Buff = Damage_Buff+amount | |
777 | MakeText("+"..amount.." Damage", FONT, .3, 255, 0, 0, 0, 0, 0, RootPart.CFrame) | |
778 | wait(duration) | |
779 | Damage_Buff = Damage_Buff-amount | |
780 | MakeText("-"..amount.." Damage", FONT, .3, 255, 0, 0, 0, 0, 0, RootPart.CFrame) | |
781 | end | |
782 | end)) | |
783 | end | |
784 | ||
785 | function Apply_Health_Buff(amount, duration) | |
786 | coroutine.resume(coroutine.create(function() | |
787 | if amount > 0 and duration > 0 then | |
788 | Max_Health = Max_Health+amount | |
789 | coroutine.resume(coroutine.create(function() | |
790 | wait() | |
791 | Humanoid.Health = Humanoid.Health+amount | |
792 | end)) | |
793 | MakeText("+"..amount.." Max Health", FONT, .3, 255, 170, 0, 0, 0, 0, RootPart.CFrame) | |
794 | wait(duration) | |
795 | Max_Health = Max_Health-amount | |
796 | MakeText("-"..amount.." Max Health", FONT, .3, 255, 170, 0, 0, 0, 0, RootPart.CFrame) | |
797 | end | |
798 | end)) | |
799 | end | |
800 | ||
801 | function clerp(a,b,t) | |
802 | local qa = {QuaternionFromCFrame(a)} | |
803 | local qb = {QuaternionFromCFrame(b)} | |
804 | local ax, ay, az = a.x, a.y, a.z | |
805 | local bx, by, bz = b.x, b.y, b.z | |
806 | local _t = 1-t | |
807 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
808 | end | |
809 | ||
810 | function QuaternionFromCFrame(cf) | |
811 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
812 | local trace = m00 + m11 + m22 | |
813 | if trace > 0 then | |
814 | local s = math.sqrt(1 + trace) | |
815 | local recip = 0.5/s | |
816 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
817 | else | |
818 | local i = 0 | |
819 | if m11 > m00 then | |
820 | i = 1 | |
821 | end | |
822 | if m22 > (i == 0 and m00 or m11) then | |
823 | i = 2 | |
824 | end | |
825 | if i == 0 then | |
826 | local s = math.sqrt(m00-m11-m22+1) | |
827 | local recip = 0.5/s | |
828 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
829 | elseif i == 1 then | |
830 | local s = math.sqrt(m11-m22-m00+1) | |
831 | local recip = 0.5/s | |
832 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
833 | elseif i == 2 then | |
834 | local s = math.sqrt(m22-m00-m11+1) | |
835 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
836 | end | |
837 | end | |
838 | end | |
839 | ||
840 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
841 | local xs, ys, zs = x + x, y + y, z + z | |
842 | local wx, wy, wz = w*xs, w*ys, w*zs | |
843 | local xx = x*xs | |
844 | local xy = x*ys | |
845 | local xz = x*zs | |
846 | local yy = y*ys | |
847 | local yz = y*zs | |
848 | local zz = z*zs | |
849 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
850 | end | |
851 | ||
852 | function QuaternionSlerp(a, b, t) | |
853 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
854 | local startInterp, finishInterp; | |
855 | if cosTheta >= 0.0001 then | |
856 | if (1 - cosTheta) > 0.0001 then | |
857 | local theta = math.acos(cosTheta) | |
858 | local invSinTheta = 1/math.sin(theta) | |
859 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
860 | finishInterp = math.sin(t*theta)*invSinTheta | |
861 | else | |
862 | startInterp = 1-t | |
863 | finishInterp = t | |
864 | end | |
865 | else | |
866 | if (1+cosTheta) > 0.0001 then | |
867 | local theta = math.acos(-cosTheta) | |
868 | local invSinTheta = 1/math.sin(theta) | |
869 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
870 | finishInterp = math.sin(t*theta)*invSinTheta | |
871 | else | |
872 | startInterp = t-1 | |
873 | finishInterp = t | |
874 | end | |
875 | end | |
876 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
877 | end | |
878 | ||
879 | function FindHum(parent) | |
880 | local hm = nil | |
881 | for _, HM in pairs(parent:GetChildren()) do | |
882 | if HM:IsA("Humanoid") then | |
883 | hm = HM | |
884 | end | |
885 | end | |
886 | return hm | |
887 | end | |
888 | ||
889 | ||
890 | function Sound(parent, ID, Volume, Pitch, Looped) | |
891 | local sound = Inst("Sound", parent) | |
892 | sound.SoundId = ID | |
893 | sound.Volume = Volume | |
894 | sound.Pitch = Pitch | |
895 | sound.Looped = Looped | |
896 | sound:Play() | |
897 | return sound | |
898 | end | |
899 | ||
900 | local DamageFunction = function(Hit, IsRan, MinDam, MaxDam, HKB, Knockback, DamType, Property, Duration, HDrag, DragDuration, SoEff, SoID, SoPit, SoVol) | |
901 | local humanoid = FindHum(Hit.Parent) | |
902 | if humanoid and humanoid ~= Humanoid then | |
903 | local IsSafe = true | |
904 | local Deb = humanoid:FindFirstChild("ChaosDebounce") | |
905 | if Deb then | |
906 | local Cre = Deb:FindFirstChild("Creator") | |
907 | if Cre then | |
908 | if Cre.Value == Player.UserId then | |
909 | IsSafe = false | |
910 | end | |
911 | end | |
912 | end | |
913 | if IsSafe then | |
914 | local deb = Inst("BoolValue", humanoid) | |
915 | deb.Name = "ChaosDebounce" | |
916 | local cre = Inst("NumberValue", deb) | |
917 | cre.Name = "Creator" | |
918 | cre.Value = Player.UserId | |
919 | debServ:AddItem(deb, Duration) | |
920 | debServ:AddItem(cre, Duration) | |
921 | local Damage = 1 | |
922 | if IsRan then | |
923 | Damage = rand(MinDam, MaxDam) | |
924 | else | |
925 | Damage = MaxDam | |
926 | end | |
927 | local this_nigga_had_op_health = false | |
928 | if SoEff then | |
929 | local HitSound = Sound(Hit, "http://roblox.com/asset/?id="..SoID.."", SoVol, SoPit, false) | |
930 | debServ:AddItem(HitSound, 6) | |
931 | end | |
932 | if DamType == "Compensate" or string.sub(DamType,1, 10) == "Compensate" then | |
933 | if humanoid.MaxHealth >= 100000 or humanoid.MaxHealth == 0 then | |
934 | if humanoid.MaxHealth >= 1e+009 or humanoid.MaxHealth == 0 then | |
935 | humanoid.MaxHealth = 100 | |
936 | this_nigga_had_op_health = true | |
937 | end | |
938 | Damage = Damage*(humanoid.MaxHealth/100) | |
939 | end | |
940 | else | |
941 | if humanoid.MaxHealth >= 100000000 or humanoid.MaxHealth == 0 then | |
942 | this_nigga_had_op_health = true | |
943 | humanoid.MaxHealth = 100 | |
944 | end | |
945 | end | |
946 | if Damage_Buff > 0 then | |
947 | Damage = Damage*Damage_Buff | |
948 | end | |
949 | humanoid.Health = humanoid.Health-Damage | |
950 | if Damage >= (humanoid.MaxHealth/4) then | |
951 | --Crit hit boi | |
952 | MakeText("-"..Damage.."", "SourceSansBold", .3, 170, 0, 0, 255, 85, 0, Hit.CFrame) | |
953 | else | |
954 | local mtc = BC(Colour1).Color | |
955 | MakeText("-"..Damage.."", FONT, .3, mtc.r*255, mtc.g*255, mtc.b*255, 0, 0, 0, Hit.CFrame) | |
956 | end | |
957 | if HKB and (DamType ~= "SkyRocket" or DamType ~= "Compensate-SkyRocket") then | |
958 | if Property.Name ~= "Point" then | |
959 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
960 | local KBCF = Cf(Hit.Position, Property.Position) | |
961 | Hit.Velocity = KBCF.lookVector*-Knockback | |
962 | else | |
963 | Hit.Velocity = Property.CFrame.lookVector*Knockback | |
964 | end | |
965 | end | |
966 | if DamType == "Normal" then | |
967 | elseif DamType == "Stun" or DamType == "Compensate-Stun" then | |
968 | MakeText("Stunned", FONT, .3, 255, 255, 0, 0, 0, 0, Hit.CFrame) | |
969 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
970 | local pos = Inst("BodyPosition", Hit) | |
971 | pos.MaxForce = Vec(huge,huge,huge) | |
972 | pos.Position = Hit.Position | |
973 | debServ:AddItem(pos, (Duration*10)) | |
974 | elseif DamType == "LifeSteal" or DamType == "Compensate-LifeSteal" then | |
975 | Humanoid.Health = Humanoid.Health+(Damage/2) | |
976 | MakeText("+"..(Damage/2), FONT, .4, 0, 0, 0, 0, 255, 0, RootPart.CFrame) | |
977 | elseif DamType == "MomentumStopper" or DamType == "Compensate-MomentumStopper" then | |
978 | local vel = Inst("BodyVelocity", Hit) | |
979 | vel.Name = "MomentumStopper" | |
980 | vel.MaxForce = Vec(huge,huge,huge) | |
981 | vel.Velocity = Vec(0,0,0) | |
982 | debServ:AddItem(vel, 3) | |
983 | elseif DamType == "Knockdown" or DamType == "Compensate-Knockdown" then | |
984 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
985 | elseif DamType == "SkyRocket" or DamType == "Compensate-SkyRocket" then | |
986 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
987 | Hit.Velocity = Vec(0, Knockback, 0) | |
988 | if rand(1, 4) == 1 then | |
989 | local Twista = Inst("BodyAngularVelocity", Hit) | |
990 | Twista.MaxTorque = Vec(1000000, 1000000, 1000000) | |
991 | Twista.AngularVelocity = Vec(rand(-2,2)*(Knockback/2), rand(-2,2)*(Knockback/2), rand(-2,2)*(Knockback/2)) | |
992 | debServ:AddItem(Twista, .01) | |
993 | end | |
994 | elseif DamType == "FreezeStun" or DamType == "Compensate-FreezeStun" then | |
995 | MakeText("Stunned", FONT, .3, 0, 0, 0, 255, 170, 0, Hit.CFrame) | |
996 | coroutine.resume(coroutine.create(function() | |
997 | local ti = 0 | |
998 | local hHead = Hit.Parent:FindFirstChild("Head") | |
999 | if hHead then else hHead = Hit end | |
1000 | local h = Inst("Part", F2) h.Size = Vec(.2, .2, .2) h.CanCollide = false h.Transparency = 1 h.Position = hHead.Position | |
1001 | local hWELD = Inst("Weld", h) hWELD.Part0 = hHead hWELD.Part1 = h hWELD.C0 = Cf(0, -4, 0) | |
1002 | repeat | |
1003 | ti = ti+.1 | |
1004 | for _, p in pairs(humanoid.Parent:GetChildren()) do | |
1005 | if p:IsA("BasePart") then | |
1006 | p.Anchored = true | |
1007 | end | |
1008 | end | |
1009 | swait() | |
1010 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
1011 | local p1 = hHead.Position+Vec(rand(-200, 200)/100,-(hHead.Size.y*1.5),rand(-200, 200)/100) | |
1012 | local p0 = h.Position | |
1013 | Lightning(p0, p1, 5, 3, Colour1, "Neon", .1, .2, .2) | |
1014 | until ti >= (Duration*12) | |
1015 | for _, p in pairs(humanoid.Parent:GetChildren()) do | |
1016 | if p:IsA("BasePart") then | |
1017 | p.Anchored = false | |
1018 | end | |
1019 | end | |
1020 | debServ:AddItem(h, 0) | |
1021 | end)) | |
1022 | elseif DamType == "KnockDownFreezeStun" or DamType == "Compensate-KnockDownFreezeStun" then | |
1023 | --local Ground, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(Hur.Position, (Hur.CFrame * Euler(rad(-90), 0, rad(10))).lookVector.Unit * 40), IL, true, true) | |
1024 | MakeText("Stunned", FONT, .3, 0, 0, 0, 255, 64, 0, Hit.CFrame) | |
1025 | coroutine.resume(coroutine.create(function() | |
1026 | local ti = 0 | |
1027 | local scf = nil | |
1028 | local h = Inst("Part", F2) h.Size = Vec(.2, .2, .2) h.CanCollide = false h.Anchored = true h.Transparency = 1 h.Position = Hit.Position | |
1029 | h.CFrame = h.CFrame * Euler(rad(-90), 0, 0) | |
1030 | local IL = {Character, Hit.Parent} | |
1031 | local Ground, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(h.Position, (h.CFrame.lookVector.Unit * 999)), IL, true, true) | |
1032 | if Ground then | |
1033 | Hit.CFrame = Cf(Pos) * Euler(rad(-90), 0, 0) | |
1034 | scf = Cf(Pos) * Euler(rad(-90), 0, 0) | |
1035 | end | |
1036 | repeat | |
1037 | ti = ti+.1 | |
1038 | for _, p in pairs(humanoid.Parent:GetChildren()) do | |
1039 | if p:IsA("BasePart") then | |
1040 | p.Anchored = true | |
1041 | end | |
1042 | end | |
1043 | Hit.CFrame = scf | |
1044 | swait() | |
1045 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
1046 | until ti >= (Duration*7) | |
1047 | for _, p in pairs(humanoid.Parent:GetChildren()) do | |
1048 | if p:IsA("BasePart") then | |
1049 | p.Anchored = false | |
1050 | end | |
1051 | end | |
1052 | debServ:AddItem(h, 0) | |
1053 | end)) | |
1054 | end | |
1055 | if HDrag then | |
1056 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
1057 | local pos = Inst("BodyPosition", Hit) | |
1058 | pos.MaxForce = Vec(huge, huge, huge) | |
1059 | pos.Position = Drag_To_Part.Position | |
1060 | local d = Inst("NumberValue", pos) | |
1061 | d.Name = "Duration" | |
1062 | d.Value = DragDuration | |
1063 | table.insert(DragTable, pos) | |
1064 | end | |
1065 | if this_nigga_had_op_health then | |
1066 | coroutine.resume(coroutine.create(function() | |
1067 | swait() | |
1068 | Damage = Damage*2 | |
1069 | humanoid.Health = humanoid.Health-Damage | |
1070 | MakeText("-"..Damage.."", FONT, .4, 0, 0, 0, 0, 0, 91, Hit.CFrame) | |
1071 | end)) | |
1072 | end | |
1073 | end | |
1074 | end | |
1075 | end | |
1076 | ||
1077 | function MagniDamage(Part, range, isRan, mindam, maxdam, hkb, knock, DType, dur, hd, dd, soe, soid, sopit, sovol) | |
1078 | for _, c in pairs(workspace:GetChildren()) do | |
1079 | local hum = FindHum(c) | |
1080 | if hum and hum ~= Humanoid then | |
1081 | local head = c:FindFirstChild("Head") | |
1082 | local tor = c:FindFirstChild("Torso") | |
1083 | local larm = c:FindFirstChild("Left Arm") | |
1084 | local rarm = c:FindFirstChild("Right Arm") | |
1085 | local lleg = c:FindFirstChild("Left Leg") | |
1086 | local rleg = c:FindFirstChild("Right Leg") | |
1087 | local Dis = range | |
1088 | local Par = nil | |
1089 | if head then | |
1090 | local Mag = (head.Position - Part.Position).magnitude | |
1091 | if Mag <= Dis then | |
1092 | Dis = Mag | |
1093 | Par = head | |
1094 | end | |
1095 | end | |
1096 | if tor then | |
1097 | local Mag = (tor.Position - Part.Position).magnitude | |
1098 | if Mag <= Dis then | |
1099 | Dis = Mag | |
1100 | Par = tor | |
1101 | end | |
1102 | end | |
1103 | if rarm then | |
1104 | local Mag = (rarm.Position - Part.Position).magnitude | |
1105 | if Mag <= Dis then | |
1106 | Dis = Mag | |
1107 | Par = rarm | |
1108 | end | |
1109 | end | |
1110 | if larm then | |
1111 | local Mag = (larm.Position - Part.Position).magnitude | |
1112 | if Mag <= Dis then | |
1113 | Dis = Mag | |
1114 | Par = larm | |
1115 | end | |
1116 | end | |
1117 | if rleg then | |
1118 | local Mag = (rleg.Position - Part.Position).magnitude | |
1119 | if Mag <= Dis then | |
1120 | Dis = Mag | |
1121 | Par = rleg | |
1122 | end | |
1123 | end | |
1124 | if lleg then | |
1125 | local Mag = (lleg.Position - Part.Position).magnitude | |
1126 | if Mag <= Dis then | |
1127 | Dis = Mag | |
1128 | Par = lleg | |
1129 | end | |
1130 | end | |
1131 | if Par then | |
1132 | DamageFunction(Par, isRan, mindam, maxdam, hkb, knock, DType, Part, dur, hd, dd, soe, soid, sopit, sovol) | |
1133 | end | |
1134 | end | |
1135 | end | |
1136 | end | |
1137 | ||
1138 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1139 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
1140 | end | |
1141 | ||
1142 | local Point=Torso.CFrame*Cf(0,Torso.Size.Y,0) | |
1143 | LastPoint=Point | |
1144 | function effect(Color,Ref,LP,P1,returnn) | |
1145 | local effectsmsh=Instance.new("CylinderMesh") | |
1146 | effectsmsh.Scale=Vector3.new(0.2,1,0.2) | |
1147 | effectsmsh.Name="Mesh" | |
1148 | local effectsg=Instance.new("Part") | |
1149 | effectsg.formFactor=3 | |
1150 | effectsg.CanCollide=false | |
1151 | effectsg.Name="Eff" | |
1152 | effectsg.Locked=true | |
1153 | effectsg.Anchored=true | |
1154 | effectsg.Size=Vector3.new(0.5,1,0.5) | |
1155 | effectsg.Parent=F2 | |
1156 | effectsmsh.Parent=effectsg | |
1157 | effectsg.BrickColor=BrickColor.new(Color) | |
1158 | effectsg.Reflectance=Ref | |
1159 | local point1=P1 | |
1160 | local mg=(LP.p - point1.p).magnitude | |
1161 | effectsg.Size=Vector3.new(0.5,mg,0.5) | |
1162 | effectsg.CFrame=Cf((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0) | |
1163 | effectsmsh.Scale=Vector3.new(0.2,1,0.2) | |
1164 | game:GetService("Debris"):AddItem(effectsg,2) | |
1165 | if returnn then return effectsg end | |
1166 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1167 | if not returnn then | |
1168 | for i=0,1,0.05 do | |
1169 | swait() | |
1170 | Part.Transparency=1*i | |
1171 | Mesh.Scale=Vector3.new(0.5-0.5*i,1,0.5-0.5*i) | |
1172 | end | |
1173 | Part.Parent=nil | |
1174 | end | |
1175 | end),effectsg,effectsmsh) | |
1176 | end | |
1177 | ||
1178 | local function CFrameFromTopBack(at, top, back) | |
1179 | local right = top:Cross(back) | |
1180 | return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
1181 | end | |
1182 | ||
1183 | function NoOutline(Part) | |
1184 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
1185 | end | |
1186 | ||
1187 | function part(parent,reflectance,transparency,brickcolor,name,size,material) | |
1188 | local fp=Inst("Part") | |
1189 | fp.Parent=parent | |
1190 | fp.Reflectance=reflectance | |
1191 | fp.Transparency=transparency | |
1192 | fp.CanCollide=false | |
1193 | fp.Locked=true | |
1194 | fp.BrickColor=brickcolor | |
1195 | fp.Name=name | |
1196 | fp.Size=size | |
1197 | fp.Position=Torso.Position | |
1198 | NoOutline(fp) | |
1199 | fp.Material=material | |
1200 | fp:BreakJoints() | |
1201 | return fp | |
1202 | end | |
1203 | ||
1204 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1205 | local mesh=Inst(Mesh) | |
1206 | mesh.Parent=part | |
1207 | if Mesh=="SpecialMesh" then | |
1208 | mesh.MeshType=meshtype | |
1209 | mesh.MeshId=meshid | |
1210 | end | |
1211 | mesh.Offset=offset | |
1212 | mesh.Scale=scale | |
1213 | return mesh | |
1214 | end | |
1215 | ||
1216 | function MagicBlock(brickcolor, material,cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1217 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1218 | prt.Anchored=true | |
1219 | prt.CFrame=cframe | |
1220 | local msh= mesh("BlockMesh",prt,"","",Vec(0,0,0),Vec(x1,y1,z1)) | |
1221 | game:GetService("Debris"):AddItem(prt,5) | |
1222 | table.insert(Effects,{prt,"Block1",Delay,x3,y3,z3}) --part, type, delay | |
1223 | end | |
1224 | ||
1225 | function MagicBlock2(brickcolor, material,cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1226 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1227 | prt.Anchored=true | |
1228 | prt.CFrame=cframe | |
1229 | local msh= mesh("BlockMesh",prt,"","",Vec(0,0,0),Vec(x1,y1,z1)) | |
1230 | game:GetService("Debris"):AddItem(prt,5) | |
1231 | table.insert(Effects,{prt,"Disappear",Delay,x3,y3,z3}) --part, type, delay | |
1232 | end | |
1233 | ||
1234 | function MagicSpikeBall(brickcolor, material,cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1235 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1236 | prt.Anchored=true | |
1237 | prt.CFrame=cframe | |
1238 | local msh= mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/Asset/?id=9982590",Vec(0,0,0),Vec(x1,y1,z1)) | |
1239 | game:GetService("Debris"):AddItem(prt,5) | |
1240 | table.insert(Effects,{prt,"Block1",Delay,x3,y3,z3}) --part, type, delay | |
1241 | end | |
1242 | ||
1243 | function MagicCircle(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1244 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1245 | prt.Anchored=true | |
1246 | prt.CFrame=cframe | |
1247 | local msh=mesh("SpecialMesh",prt,"Sphere","",Vec(0,0,0),Vec(x1,y1,z1)) | |
1248 | game:GetService("Debris"):AddItem(prt,5) | |
1249 | table.insert(Effects,{prt,"Cylinder",Delay,x3,y3,z3}) | |
1250 | end | |
1251 | ||
1252 | function MagicWave(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1253 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1254 | prt.Anchored=true | |
1255 | prt.CFrame=cframe | |
1256 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",Vec(0,0,0),Vec(x1,y1,z1)) | |
1257 | game:GetService("Debris"):AddItem(prt,5) | |
1258 | table.insert(Effects,{prt,"Cylinder",Delay,x3,y3,z3}) | |
1259 | end | |
1260 | ||
1261 | function MagicWave2(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1262 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1263 | prt.Anchored=true | |
1264 | prt.CFrame=cframe | |
1265 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",Vec(0,0,0),Vec(x1,y1,z1)) | |
1266 | game:GetService("Debris"):AddItem(prt,5) | |
1267 | table.insert(Effects,{prt,"Wave",Delay,x3,y3,z3}) | |
1268 | end | |
1269 | ||
1270 | function MagicCylinder(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1271 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(0.2,0.2,0.2), material) | |
1272 | prt.Anchored=true | |
1273 | prt.CFrame=cframe | |
1274 | local msh=mesh("SpecialMesh",prt,"Head","",Vec(0,0,0),Vec(x1,y1,z1)) | |
1275 | game:GetService("Debris"):AddItem(prt,5) | |
1276 | --table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3}) | |
1277 | Effects[#Effects+1]={prt,"Cylinder",Delay,x3,y3,z3} --part, type, delay | |
1278 | end | |
1279 | ||
1280 | function MagicCylinder2(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1281 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(0.2,0.2,0.2), material) | |
1282 | prt.Anchored=true | |
1283 | prt.CFrame=cframe | |
1284 | local msh=mesh("CylinderMesh",prt,"","",Vec(0,0,0),Vec(x1,y1,z1)) | |
1285 | game:GetService("Debris"):AddItem(prt,5) | |
1286 | --table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3}) | |
1287 | Effects[#Effects+1]={prt,"Cylinder",Delay,x3,y3,z3} --part, type, delay | |
1288 | end | |
1289 | ||
1290 | function MagicBlood(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1291 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1292 | prt.Anchored=true | |
1293 | prt.CFrame=cframe | |
1294 | local msh=mesh("SpecialMesh",prt,"Sphere","",Vec(0,0,0),Vec(x1,y1,z1)) | |
1295 | game:GetService("Debris"):AddItem(prt,5) | |
1296 | table.insert(Effects,{prt,"Blood",Delay,x3,y3,z3}) | |
1297 | end | |
1298 | ||
1299 | function MagicRing(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1300 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1301 | prt.Anchored=true | |
1302 | prt.CFrame=cframe | |
1303 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vec(0,0,0),Vec(x1,y1,z1)) | |
1304 | game:GetService("Debris"):AddItem(prt,5) | |
1305 | table.insert(Effects,{prt,"Cylinder",Delay,x3,y3,z3}) | |
1306 | --Effects[#Effects+1]={prt,"Block",Delay,x3,y3,z3} | |
1307 | end | |
1308 | ||
1309 | function MagicRing2(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1310 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1311 | prt.Anchored=true | |
1312 | prt.CFrame=cframe | |
1313 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vec(0,0,0),Vec(x1,y1,z1)) | |
1314 | game:GetService("Debris"):AddItem(prt,5) | |
1315 | table.insert(Effects,{prt,"Blood",Delay,x3,y3,z3}) | |
1316 | --Effects[#Effects+1]={prt,"Blood",Delay,x3,y3,z3} | |
1317 | end | |
1318 | ||
1319 | function ElecEffect(brickCol, Mat, cff, x, y, z) | |
1320 | local prt=part(F2,0,0,brickCol,"Part",Vec(1,1,1), Mat) | |
1321 | prt.Anchored=true | |
1322 | prt.CFrame=cff*Cf(rand(-x,x),rand(-y,y),rand(-z,z)) | |
1323 | prt.CFrame=Cf(prt.Position) | |
1324 | --prt.CFrame=cf(cff)*cf(math.random(-x,x),math.random(-y,y),math.random(-z,z)) | |
1325 | debServ:AddItem(prt,2) | |
1326 | local xval=math.random()/2 | |
1327 | local yval=math.random()/2 | |
1328 | local zval=math.random()/2 | |
1329 | local msh=mesh("BlockMesh",prt,"","",Vec(0,0,0),Vec(xval,yval,zval)) | |
1330 | Effects[#Effects+1]={prt,"Elec",0.1,x,y,z,xval,yval,zval} --part, type, delay | |
1331 | end | |
1332 | ||
1333 | function Lightning(p0, p1, tym, ofs, col, mat, th, tra, last) | |
1334 | --[[p0=pos1 | |
1335 | p1=pos2 | |
1336 | tym=times | |
1337 | ofs=offset | |
1338 | col=color | |
1339 | th=size | |
1340 | tra=transparency | |
1341 | last=lastingtime]] | |
1342 | local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs} | |
1343 | for i=1,tym do | |
1344 | local li = Instance.new("Part",F2) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true li.Transparency = tra or 0.4 li.BrickColor = BrickColor.new(col) li.Material = mat | |
1345 | li.Material = "Neon" | |
1346 | li.formFactor = "Custom" li.CanCollide = false li.Size = Vector3.new(th,th,magz/tym) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
1347 | local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz | |
1348 | if tym == i then | |
1349 | local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2) | |
1350 | li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2) | |
1351 | else | |
1352 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2) | |
1353 | end | |
1354 | curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game:GetService("Debris"):AddItem(li,last) | |
1355 | end | |
1356 | end | |
1357 | ||
1358 | function Triangle(a, b, c, tcol, tmat) | |
1359 | local edg1 = (c-a):Dot((b-a).unit) | |
1360 | local edg2 = (a-b):Dot((c-b).unit) | |
1361 | local edg3 = (b-c):Dot((a-c).unit) | |
1362 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
1363 | a, b, c = a, b, c | |
1364 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
1365 | a, b, c = b, c, a | |
1366 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
1367 | a, b, c = c, a, b | |
1368 | else | |
1369 | return | |
1370 | end | |
1371 | ||
1372 | local len1 = (c-a):Dot((b-a).unit) | |
1373 | local len2 = (b-a).magnitude - len1 | |
1374 | local width = (a + (b-a).unit*len1 - c).magnitude | |
1375 | ||
1376 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
1377 | ||
1378 | local list = {} | |
1379 | ||
1380 | if len1 > 0.01 then | |
1381 | local w1 = Inst('WedgePart', F2) | |
1382 | w1.Material = tmat | |
1383 | w1.BrickColor = BC(tcol) | |
1384 | w1.Transparency = 0 | |
1385 | w1.Reflectance = 0 | |
1386 | w1.CanCollide = false | |
1387 | NoOutline(w1) | |
1388 | local sz = Vec(0.2, width, len1) | |
1389 | w1.Size = sz | |
1390 | local sp = Inst("SpecialMesh",w1) | |
1391 | sp.MeshType = "Wedge" | |
1392 | sp.Scale = Vec(0,1,1) * sz/w1.Size | |
1393 | w1:BreakJoints() | |
1394 | w1.Anchored = true | |
1395 | w1.Transparency = 0.7 | |
1396 | debServ:AddItem(w1,25) | |
1397 | table.insert(Effects,{w1,"Disappear",.045}) | |
1398 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
1399 | table.insert(list,w1) | |
1400 | end | |
1401 | ||
1402 | if len2 > 0.01 then | |
1403 | local w2 = Inst('WedgePart', F2) | |
1404 | w2.Material = tmat | |
1405 | w2.BrickColor = BC(tcol) | |
1406 | w2.Transparency = 0 | |
1407 | w2.Reflectance = 0 | |
1408 | w2.CanCollide = false | |
1409 | NoOutline(w2) | |
1410 | local sz = Vec(0.2, width, len2) | |
1411 | w2.Size = sz | |
1412 | local sp = Inst("SpecialMesh",w2) | |
1413 | sp.MeshType = "Wedge" | |
1414 | sp.Scale = Vec(0,1,1) * sz/w2.Size | |
1415 | w2:BreakJoints() | |
1416 | w2.Anchored = true | |
1417 | w2.Transparency = 0.7 | |
1418 | debServ:AddItem(w2,25) | |
1419 | table.insert(Effects,{w2,"Disappear",.045}) | |
1420 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
1421 | table.insert(list,w2) | |
1422 | end | |
1423 | return unpack(list) | |
1424 | end | |
1425 | ||
1426 | function Bringer() | |
1427 | for i, d in pairs(DragTable) do | |
1428 | if d then | |
1429 | if d:IsA("BodyPosition") then | |
1430 | local tem = d:FindFirstChild("Time") | |
1431 | if not tem then | |
1432 | tem = Inst("NumberValue", d) | |
1433 | tem.Name = "Time" | |
1434 | tem.Value = 0 | |
1435 | end | |
1436 | local Dur = d:FindFirstChild("Duration") | |
1437 | if not Dur then | |
1438 | Dur = Inst("NumberValue", d) | |
1439 | Dur.Name = "Duration" | |
1440 | Dur.Value = 1.5 | |
1441 | end | |
1442 | if tem.Value < Dur.Value then | |
1443 | tem.Value = tem.Value+.1 | |
1444 | d.P = 20000 | |
1445 | d.Position = Drag_To_Part.Position | |
1446 | else | |
1447 | debServ:AddItem(tem, 0) | |
1448 | debServ:AddItem(Dur, 0) | |
1449 | debServ:AddItem(d, 0) | |
1450 | table.remove(DragTable, i) | |
1451 | end | |
1452 | end | |
1453 | end | |
1454 | end | |
1455 | end | |
1456 | ||
1457 | function MakeHitBox(size, part, customcf, c0, c1) | |
1458 | local hbox = Inst("Part", F2) | |
1459 | hbox.Transparency = 1 | |
1460 | hbox.Anchored = false | |
1461 | hbox.CanCollide = false | |
1462 | hbox.Locked = true | |
1463 | hbox.CFrame = part.CFrame | |
1464 | hbox.Size = size | |
1465 | hbox:BreakJoints() | |
1466 | local hbw = Inst("Weld", hbox) | |
1467 | hbw.Part0 = part | |
1468 | hbw.Part1 = hbox | |
1469 | if customcf then | |
1470 | hbw.C0 = c0 | |
1471 | hbw.C1 = c1 | |
1472 | else | |
1473 | hbw.C0 = Cf(0, -((part.Size.y/4)+(size.y/4)), 0) | |
1474 | end | |
1475 | return hbox | |
1476 | end | |
1477 | ------------------------------------------------------------------------------------------------------------------------------------------------------- | |
1478 | function HTEB() | |
1479 | coroutine.resume(coroutine.create(function() | |
1480 | if #TEBladeP > 0 and TEBEffect ~= nil then | |
1481 | TEBEffect.Enabled = false | |
1482 | for _, b in pairs(TEBladeP) do | |
1483 | if b:IsA("BasePart") then | |
1484 | b.Transparency = 1 | |
1485 | end | |
1486 | end | |
1487 | end | |
1488 | end)) | |
1489 | end | |
1490 | ||
1491 | function FITEB(Rate) | |
1492 | coroutine.resume(coroutine.create(function() | |
1493 | if #TEBladeP > 0 and TEBEffect ~= nil then | |
1494 | TEBEffect.Enabled = true | |
1495 | for _, b in pairs(TEBladeP) do | |
1496 | if b:IsA("BasePart") then | |
1497 | b.Transparency = 1 | |
1498 | end | |
1499 | end | |
1500 | for i = 1, 0, -(.1*(Rate/100)) do | |
1501 | swait() | |
1502 | for _, b in pairs(TEBladeP) do | |
1503 | if b:IsA("BasePart") then | |
1504 | b.Transparency = i | |
1505 | end | |
1506 | end | |
1507 | end | |
1508 | for _, b in pairs(TEBladeP) do | |
1509 | if b:IsA("BasePart") then | |
1510 | b.Transparency = 0 | |
1511 | end | |
1512 | end | |
1513 | TEBEffect.Enabled = false | |
1514 | end | |
1515 | end)) | |
1516 | end | |
1517 | ||
1518 | function AssumeNormalJoints() | |
1519 | for i = 0, 1, .1 do | |
1520 | swait() | |
1521 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,rad(90),0),.3) | |
1522 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(90),0),.3) | |
1523 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,rad(-90),0),.3) | |
1524 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-90),0),.3) | |
1525 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0),.3) | |
1526 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),.3) | |
1527 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-90),0,0),.3) | |
1528 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(rad(-90),0,0),.3) | |
1529 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0),.3) | |
1530 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.3) | |
1531 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0),.3) | |
1532 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.3) | |
1533 | end | |
1534 | LeftShoulder.Part0 = Torso | |
1535 | LeftShoulder.Part1 = LeftArm | |
1536 | RightShoulder.Part0 = Torso | |
1537 | RightShoulder.Part1 = RightArm | |
1538 | FLeftShoulder.Part0 = nil | |
1539 | FLeftShoulder.Part1 = nil | |
1540 | FRightShoulder.Part0 = nil | |
1541 | FRightShoulder.Part1 = nil | |
1542 | LeftHip.Part0 = Torso | |
1543 | LeftHip.Part1 = LeftLeg | |
1544 | RightHip.Part0 = Torso | |
1545 | RightHip.Part1 = RightLeg | |
1546 | FLeftHip.Part0 = nil | |
1547 | FLeftHip.Part1 = nil | |
1548 | FRightHip.Part0 = nil | |
1549 | FRightHip.Part1 = nil | |
1550 | RootJoint.Part0 = RootPart | |
1551 | RootJoint.Part1 = Torso | |
1552 | FRootJoint.Part0 = nil | |
1553 | FRootJoint.Part1 = nil | |
1554 | end | |
1555 | ||
1556 | function ClickCombo() | |
1557 | Debounces.Attacking = true | |
1558 | if not Debounces.HasWep and Debounces.Transformed and Debounces.TEWield and not Debounces.TESWield then | |
1559 | if Attack_Num == 1 then | |
1560 | Attack_Num = 2 | |
1561 | for i = 0, 1, .1 do | |
1562 | swait() | |
1563 | local SwingSpeed = .4 | |
1564 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(160),0,0), SwingSpeed) | |
1565 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1566 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
1567 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
1568 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.6,0.5,-1)*Euler(0,0,rad(90)), SwingSpeed) | |
1569 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-150),rad(-50),0), SwingSpeed) | |
1570 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-25)), SwingSpeed) | |
1571 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1572 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
1573 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(40),0), SwingSpeed) | |
1574 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(40),0), SwingSpeed) | |
1575 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1576 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1577 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1578 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1579 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1580 | end | |
1581 | LeftHip.Part0 = nil | |
1582 | LeftHip.Part1 = nil | |
1583 | RightHip.Part0 = nil | |
1584 | RightHip.Part1 = nil | |
1585 | FLeftHip.Part0 = Torso | |
1586 | FLeftHip.Part1 = LeftLeg | |
1587 | FLeftHip.C0 = LeftHip.C0 | |
1588 | FLeftHip.C1 = LeftHip.C1 | |
1589 | FRightHip.Part0 = Torso | |
1590 | FRightHip.Part1 = RightLeg | |
1591 | FRightHip.C0 = RightHip.C0 | |
1592 | FRightHip.C1 = RightHip.C1 | |
1593 | RootPart.Velocity = RootPart.CFrame.lookVector*52 | |
1594 | local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445073", 1, 1.8, false) | |
1595 | debServ:AddItem(SlashS, 2) | |
1596 | c1 = nil | |
1597 | c2 = nil | |
1598 | local hit = TEHit_Box.Touched:connect(function(part) DamageFunction(part, false, 0, 600, true, 30, "Compensate", RootPart, .2, false, _, true, 153092227, 1.4, .4) end) | |
1599 | for i = 0, .6, .1 do | |
1600 | swait() | |
1601 | local x = TEHit_Box | |
1602 | c2 = x.CFrame*Cf(0, .5, 0) | |
1603 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
1604 | local h = 6 | |
1605 | local a, b = Triangle((c1*Cf(0,h/2,0)).p, (c1*Cf(0,-h/2,0)).p, (c2*Cf(0,h/2,0)).p, Colour1, "Neon") | |
1606 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
1607 | local c, d = Triangle((c2*Cf(0,h/2,0)).p, (c2*Cf(0,-h/2,0)).p, (c1*Cf(0,-h/2,0)).p, Colour1, "Neon") | |
1608 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
1609 | c1 = c2 | |
1610 | elseif not c1 then | |
1611 | c1 = c2 | |
1612 | end | |
1613 | local SwingSpeed = .5 | |
1614 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.96,.5)*Euler(rad(-10),0,0), SwingSpeed) | |
1615 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1616 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
1617 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
1618 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(60)), SwingSpeed) | |
1619 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1620 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(80),0,rad(-30)), SwingSpeed) | |
1621 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1622 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
1623 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-30),0), SwingSpeed) | |
1624 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.5,0)*Euler(0,rad(-3),0), SwingSpeed) | |
1625 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1626 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8,.1)*Euler(rad(-20),0,0), SwingSpeed) | |
1627 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
1628 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.6,-.4)*Euler(rad(-5),0,0), SwingSpeed) | |
1629 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
1630 | end | |
1631 | hit:disconnect() | |
1632 | LeftHip.Part0 = Torso | |
1633 | LeftHip.Part1 = LeftLeg | |
1634 | RightHip.Part0 = Torso | |
1635 | RightHip.Part1 = RightLeg | |
1636 | FLeftHip.Part0 = nil | |
1637 | FLeftHip.Part1 = nil | |
1638 | LeftHip.C0 = FLeftHip.C0 | |
1639 | LeftHip.C1 = FLeftHip.C1 | |
1640 | FRightHip.Part0 = nil | |
1641 | FRightHip.Part1 = nil | |
1642 | RightHip.C0 = FRightHip.C0 | |
1643 | RightHip.C1 = FRightHip.C1 | |
1644 | elseif Attack_Num == 2 then | |
1645 | Attack_Num = 3 | |
1646 | for i = 0, 1, .1 do | |
1647 | swait() | |
1648 | local SwingSpeed = .4 | |
1649 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.95,.5)*Euler(rad(180),0,0), SwingSpeed) | |
1650 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1651 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
1652 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1653 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.4)*Euler(rad(170),0,0), SwingSpeed) | |
1654 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(40),0), SwingSpeed) | |
1655 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.45,0.8,-.95)*Euler(rad(150),0,rad(40)), SwingSpeed) | |
1656 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1657 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
1658 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-40),0), SwingSpeed) | |
1659 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-40),0), SwingSpeed) | |
1660 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1661 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1662 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1663 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1664 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1665 | end | |
1666 | LeftHip.Part0 = nil | |
1667 | LeftHip.Part1 = nil | |
1668 | RightHip.Part0 = nil | |
1669 | RightHip.Part1 = nil | |
1670 | FLeftHip.Part0 = Torso | |
1671 | FLeftHip.Part1 = LeftLeg | |
1672 | FLeftHip.C0 = LeftHip.C0 | |
1673 | FLeftHip.C1 = LeftHip.C1 | |
1674 | FRightHip.Part0 = Torso | |
1675 | FRightHip.Part1 = RightLeg | |
1676 | FRightHip.C0 = RightHip.C0 | |
1677 | FRightHip.C1 = RightHip.C1 | |
1678 | local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445092", 1, 1, false) | |
1679 | debServ:AddItem(SlashS, 2) | |
1680 | c1 = nil | |
1681 | c2 = nil | |
1682 | local hit = TEHit_Box.Touched:connect(function(part) DamageFunction(part, false, 0, 1000, true, 30, "Compensate", RootPart, .2, false, _, true, 153092227, 1.4, .4) end) | |
1683 | for i = 0, .9, .1 do | |
1684 | swait() | |
1685 | local x = TEHit_Box | |
1686 | c2 = x.CFrame*Cf(0, .5, 0) | |
1687 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
1688 | local h = 6 | |
1689 | local a, b = Triangle((c1*Cf(0,h/2,0)).p, (c1*Cf(0,-h/2,0)).p, (c2*Cf(0,h/2,0)).p, Colour1, "Neon") | |
1690 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
1691 | local c, d = Triangle((c2*Cf(0,h/2,0)).p, (c2*Cf(0,-h/2,0)).p, (c1*Cf(0,-h/2,0)).p, Colour1, "Neon") | |
1692 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
1693 | c1 = c2 | |
1694 | elseif not c1 then | |
1695 | c1 = c2 | |
1696 | end | |
1697 | local SwingSpeed = .5 | |
1698 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.8,.6)*Euler(rad(146),0,rad(-40)), SwingSpeed) | |
1699 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,rad(-5),0), SwingSpeed) | |
1700 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
1701 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
1702 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.3)*Euler(0,rad(-65),rad(-40)), SwingSpeed) | |
1703 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-20),0,0), SwingSpeed) | |
1704 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-.5)*Euler(rad(20),0,rad(60)), SwingSpeed) | |
1705 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(65),0), SwingSpeed) | |
1706 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
1707 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(20),rad(60),0), SwingSpeed) | |
1708 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-2.2,0)*Euler(0,rad(60),0), SwingSpeed) | |
1709 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1710 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1.3,.1)*Euler(rad(-80),0,0), SwingSpeed) | |
1711 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
1712 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.1,-.6)*Euler(rad(-10),0,0), SwingSpeed) | |
1713 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
1714 | end | |
1715 | hit:disconnect() | |
1716 | LeftHip.Part0 = Torso | |
1717 | LeftHip.Part1 = LeftLeg | |
1718 | RightHip.Part0 = Torso | |
1719 | RightHip.Part1 = RightLeg | |
1720 | FLeftHip.Part0 = nil | |
1721 | FLeftHip.Part1 = nil | |
1722 | LeftHip.C0 = FLeftHip.C0 | |
1723 | LeftHip.C1 = FLeftHip.C1 | |
1724 | FRightHip.Part0 = nil | |
1725 | FRightHip.Part1 = nil | |
1726 | RightHip.C0 = FRightHip.C0 | |
1727 | RightHip.C1 = FRightHip.C1 | |
1728 | elseif Attack_Num == 3 then | |
1729 | Attack_Num = 1 | |
1730 | for i = 0, 1, .1 do | |
1731 | swait() | |
1732 | local SwingSpeed = .2 | |
1733 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
1734 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1735 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1736 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1737 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(90)), SwingSpeed) | |
1738 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1739 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(80),0,rad(-60)), SwingSpeed) | |
1740 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1741 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
1742 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-60),0), SwingSpeed) | |
1743 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.4,0)*Euler(0,rad(-60),0), SwingSpeed) | |
1744 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1745 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.6,0)*Euler(rad(-4),rad(80),0), SwingSpeed) | |
1746 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1747 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.6,.14)*Euler(rad(-6),rad(-75),0), SwingSpeed) | |
1748 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1749 | end | |
1750 | RootPart.Velocity = RootPart.CFrame.lookVector*50 | |
1751 | local hit = TEHit_Box.Touched:connect(function(part) DamageFunction(part, false, 0, 500, true, 50, "Compensate", RootPart, .2, false, _, true, 153092227, 1.4, .4) end) | |
1752 | local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445073", 1, 1, false) | |
1753 | debServ:AddItem(SlashS, 2) | |
1754 | c1 = nil | |
1755 | c2 = nil | |
1756 | for i = 0, .9, .1 do | |
1757 | swait() | |
1758 | local x = TEHit_Box | |
1759 | c2 = x.CFrame*Cf(0, .5, 0) | |
1760 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
1761 | local h = 6 | |
1762 | local a, b = Triangle((c1*Cf(0,h/2,0)).p, (c1*Cf(0,-h/2,0)).p, (c2*Cf(0,h/2,0)).p, Colour1, "Neon") | |
1763 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
1764 | local c, d = Triangle((c2*Cf(0,h/2,0)).p, (c2*Cf(0,-h/2,0)).p, (c1*Cf(0,-h/2,0)).p, Colour1, "Neon") | |
1765 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
1766 | c1 = c2 | |
1767 | elseif not c1 then | |
1768 | c1 = c2 | |
1769 | end | |
1770 | local SwingSpeed = .5 | |
1771 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
1772 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1773 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1774 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1775 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1,0.5,-.7)*Euler(0,rad(150),rad(90)), SwingSpeed) | |
1776 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1777 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-5),0, rad(-10)), SwingSpeed) | |
1778 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1779 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
1780 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(40),0), SwingSpeed) | |
1781 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.4,0)*Euler(0,rad(40),0), SwingSpeed) | |
1782 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1783 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.6,0)*Euler(rad(-4),rad(80),0), SwingSpeed) | |
1784 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1785 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.6,.14)*Euler(rad(-6),rad(-75),0), SwingSpeed) | |
1786 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1787 | end | |
1788 | hit:disconnect() | |
1789 | end | |
1790 | end | |
1791 | if Debounces.Transformed and not Debounces.TEWield and Debounces.TESWield then | |
1792 | if Attack_Num == 1 then | |
1793 | for i = 0, .3, .1 do | |
1794 | swait() | |
1795 | local SwingSpeed = .6 | |
1796 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
1797 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
1798 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), SwingSpeed) | |
1799 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1800 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
1801 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
1802 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(90),0,rad(6)), SwingSpeed) | |
1803 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1804 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-8),0,rad(-60)), SwingSpeed) | |
1805 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1806 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(25),0), SwingSpeed) | |
1807 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1808 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-30),0), SwingSpeed) | |
1809 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1810 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1811 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1812 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1813 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1814 | end | |
1815 | RootPart.Velocity = RootPart.CFrame.lookVector*60 | |
1816 | for i = 0, .2, .1 do | |
1817 | swait() | |
1818 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
1819 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
1820 | MagniDamage(Holder, 7, false, 0, 8, true, rand(-1,1)*60, "Compensate-SkyRocket", .1, false, 0, true, "386946017", rand(.8, 1.2), .4) | |
1821 | local SwingSpeed = .7 | |
1822 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), SwingSpeed) | |
1823 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1824 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
1825 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
1826 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(90),0,rad(60)), SwingSpeed) | |
1827 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1828 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-8),0,rad(-10)), SwingSpeed) | |
1829 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1830 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(-55),0), SwingSpeed) | |
1831 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1832 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(60),0), SwingSpeed) | |
1833 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1834 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1835 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1836 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1837 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1838 | end | |
1839 | Attack_Num = 2 | |
1840 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame*Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, .07) | |
1841 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame*Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, .07) | |
1842 | elseif Attack_Num == 2 then | |
1843 | Attack_Num = 3 | |
1844 | LeftHip.Part0 = nil | |
1845 | LeftHip.Part1 = nil | |
1846 | RightHip.Part0 = nil | |
1847 | RightHip.Part1 = nil | |
1848 | FLeftHip.Part0 = Torso | |
1849 | FLeftHip.Part1 = LeftLeg | |
1850 | FLeftHip.C0 = LeftHip.C0 | |
1851 | FLeftHip.C1 = LeftHip.C1 | |
1852 | FRightHip.Part0 = Torso | |
1853 | FRightHip.Part1 = RightLeg | |
1854 | FRightHip.C0 = RightHip.C0 | |
1855 | FRightHip.C1 = RightHip.C1 | |
1856 | for i = 0, .3, .1 do | |
1857 | swait() | |
1858 | local SwingSpeed = .6 | |
1859 | MagicCircle(BC(Colour2), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, .1) | |
1860 | MagicBlock(BC(Colour1), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, .1) | |
1861 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), SwingSpeed) | |
1862 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1863 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
1864 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
1865 | MagniDamage(LeftLeg, 10, false, 0, 2, true, -20, "Compensate", .1, false, 0, false, _, _, _) | |
1866 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-10),0,rad(6)), SwingSpeed) | |
1867 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1868 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-10)), SwingSpeed) | |
1869 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1870 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
1871 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1872 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-30),0,0),SwingSpeed) | |
1873 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),SwingSpeed) | |
1874 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(30),rad(90),0),SwingSpeed) | |
1875 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),SwingSpeed) | |
1876 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-40),rad(-90),0),SwingSpeed) | |
1877 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),SwingSpeed) | |
1878 | end | |
1879 | RootPart.Velocity = RootPart.CFrame.lookVector*60 | |
1880 | for i = 0, .4, .1 do | |
1881 | swait() | |
1882 | local SwingSpeed = .5 | |
1883 | MagicCircle(BC(Colour2), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, .1) | |
1884 | MagicBlock(BC(Colour1), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, .1) | |
1885 | MagniDamage(LeftLeg, 7, false, 0, 8, true, 90, "Compensate-SkyRocket", .1, false, 0, false, _, _, _) | |
1886 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(96),0,0), SwingSpeed) | |
1887 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1888 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
1889 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
1890 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-10),0,rad(6)), SwingSpeed) | |
1891 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1892 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-20),0,rad(-12)), SwingSpeed) | |
1893 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1894 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
1895 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1896 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(20),0,0),SwingSpeed) | |
1897 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),SwingSpeed) | |
1898 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-20),rad(90),0),SwingSpeed) | |
1899 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),SwingSpeed) | |
1900 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(80),rad(-90),0),SwingSpeed) | |
1901 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),SwingSpeed) | |
1902 | end | |
1903 | MagicCircle(BC(Colour2), "Neon", LeftLeg.CFrame, 0, 0, 0, 7, 7, 7, .1) | |
1904 | MagicBlock(BC(Colour1), "Neon", LeftLeg.CFrame, 0, 0, 0, 7, 7, 7, .1) | |
1905 | MagniDamage(LeftLeg, 12, false, 0, 12, true, 30, "Compensate", .1, false, 0, false, _, _, _) | |
1906 | LeftHip.Part0 = Torso | |
1907 | LeftHip.Part1 = LeftLeg | |
1908 | RightHip.Part0 = Torso | |
1909 | RightHip.Part1 = RightLeg | |
1910 | FLeftHip.Part0 = nil | |
1911 | FLeftHip.Part1 = nil | |
1912 | LeftHip.C0 = FLeftHip.C0 | |
1913 | LeftHip.C1 = FLeftHip.C1 | |
1914 | FRightHip.Part0 = nil | |
1915 | FRightHip.Part1 = nil | |
1916 | RightHip.C0 = FRightHip.C0 | |
1917 | RightHip.C1 = FRightHip.C1 | |
1918 | elseif Attack_Num == 3 then | |
1919 | Attack_Num = 1 | |
1920 | LeftHip.Part0 = nil | |
1921 | LeftHip.Part1 = nil | |
1922 | RightHip.Part0 = nil | |
1923 | RightHip.Part1 = nil | |
1924 | FLeftHip.Part0 = Torso | |
1925 | FLeftHip.Part1 = LeftLeg | |
1926 | FLeftHip.C0 = LeftHip.C0 | |
1927 | FLeftHip.C1 = LeftHip.C1 | |
1928 | FRightHip.Part0 = Torso | |
1929 | FRightHip.Part1 = RightLeg | |
1930 | FRightHip.C0 = RightHip.C0 | |
1931 | FRightHip.C1 = RightHip.C1 | |
1932 | Humanoid.WalkSpeed = 3 | |
1933 | for i = 0, 1.2, .1 do | |
1934 | swait() | |
1935 | local SwingSpeed = .2 | |
1936 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
1937 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1938 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
1939 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
1940 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.1,0.325,-1.27)*Euler(rad(60),0,rad(-25)), SwingSpeed) | |
1941 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1942 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.6,0.5,-.4)*Euler(rad(8),rad(-50),0), SwingSpeed) | |
1943 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1944 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(13),rad(-60),0), SwingSpeed) | |
1945 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1946 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.6,0)*Euler(rad(-17),rad(70),0), SwingSpeed) | |
1947 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1948 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,0,-.4)*Euler(rad(-6),0,rad(17)), SwingSpeed) | |
1949 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
1950 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.95,.1)*Euler(rad(-40),0,rad(14)), SwingSpeed) | |
1951 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
1952 | end | |
1953 | WepWeld3.Parent = nil | |
1954 | WepWeld3.Part0 = Holder | |
1955 | WepWeld3.Part1 = TEHandle | |
1956 | WepWeld3.C0 = Holder.CFrame:inverse() * Cf(Holder.Position) | |
1957 | WepWeld3.C1 = TEHandle.CFrame:inverse() * Cf(Holder.Position) | |
1958 | WepWeld3.Parent = TEHandle | |
1959 | FITEB(800) | |
1960 | Debounces.DisableJump = true | |
1961 | local SlashS = Sound(TEHandle, "http://www.roblox.com/asset/?id=161006195", 1, 1.5, false) | |
1962 | debServ:AddItem(SlashS, 6) | |
1963 | local hit = TEHit_Box.Touched:connect(function(part) DamageFunction(part, false, 0, 333, true, 10, "Compensate-FreezeStun", RootPart, .4, false, _, false, _, _, _) end) | |
1964 | c1 = nil | |
1965 | c2 = nil | |
1966 | for i = 0, 1.5, .1 do | |
1967 | swait() | |
1968 | local x = TEHit_Box | |
1969 | c2 = x.CFrame*Cf(0, .5, 0) | |
1970 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
1971 | local h = 6 | |
1972 | local a, b = Triangle((c1*Cf(0,h/2,0)).p, (c1*Cf(0,-h/2,0)).p, (c2*Cf(0,h/2,0)).p, Colour1, "Neon") | |
1973 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
1974 | local c, d = Triangle((c2*Cf(0,h/2,0)).p, (c2*Cf(0,-h/2,0)).p, (c1*Cf(0,-h/2,0)).p, Colour1, "Neon") | |
1975 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
1976 | c1 = c2 | |
1977 | elseif not c1 then | |
1978 | c1 = c2 | |
1979 | end | |
1980 | local SwingSpeed = .5 | |
1981 | if i < .5 then | |
1982 | RootPart.Velocity = RootPart.CFrame.lookVector*220 | |
1983 | else | |
1984 | RootPart.Velocity = Vec(0, 0, 0) | |
1985 | Humanoid.WalkSpeed = 0 | |
1986 | end | |
1987 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,0,0)*Euler(rad(-90),0,0), SwingSpeed) | |
1988 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1989 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
1990 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1991 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
1992 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
1993 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(90)), SwingSpeed) | |
1994 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(40), rad(12), 0), SwingSpeed) | |
1995 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.6,0.6,0)*Euler(rad(-10),0,rad(-15)), SwingSpeed) | |
1996 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1997 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(30),0), SwingSpeed) | |
1998 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1999 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.3,0)*Euler(rad(-15),rad(-30),0), SwingSpeed) | |
2000 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2001 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.7,0)*Euler(rad(-20),rad(-10),0), SwingSpeed) | |
2002 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
2003 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.7,.2)*Euler(rad(10),rad(30),rad(-3)), SwingSpeed) | |
2004 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
2005 | end | |
2006 | HTEB() | |
2007 | for i = 0, .3, .1 do | |
2008 | swait() | |
2009 | local SwingSpeed = .6 | |
2010 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2011 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2012 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
2013 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2014 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
2015 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
2016 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.1,0.325,-1.27)*Euler(rad(60),0,rad(-25)), SwingSpeed) | |
2017 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2018 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.6,0.5,-.4)*Euler(rad(8),rad(-50),0), SwingSpeed) | |
2019 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2020 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(13),rad(-60),0), SwingSpeed) | |
2021 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2022 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.6,0)*Euler(rad(-17),rad(70),0), SwingSpeed) | |
2023 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2024 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,0,-.4)*Euler(rad(-6),0,rad(17)), SwingSpeed) | |
2025 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
2026 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.95,.1)*Euler(rad(-40),0,rad(14)), SwingSpeed) | |
2027 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
2028 | end | |
2029 | local Sheath = Sound(TESHandle, "rbxasset://sounds\\unsheath.wav", 1, 1, false) | |
2030 | debServ:AddItem(Sheath, 6) | |
2031 | hit:disconnect() | |
2032 | Debounces.DisableJump = false | |
2033 | Humanoid.WalkSpeed = CurrentSpeed | |
2034 | WepWeld3.Part0 = TESHandle | |
2035 | WepWeld3.Part1 = TEHandle | |
2036 | WepWeld3.C0 = Cf(0, 0, 0) | |
2037 | WepWeld3.C1 = Cf(0, 3, 0) * Euler(0, rad(180), 0) | |
2038 | LeftHip.Part0 = Torso | |
2039 | LeftHip.Part1 = LeftLeg | |
2040 | RightHip.Part0 = Torso | |
2041 | RightHip.Part1 = RightLeg | |
2042 | FLeftHip.Part0 = nil | |
2043 | FLeftHip.Part1 = nil | |
2044 | LeftHip.C0 = FLeftHip.C0 | |
2045 | LeftHip.C1 = FLeftHip.C1 | |
2046 | FRightHip.Part0 = nil | |
2047 | FRightHip.Part1 = nil | |
2048 | RightHip.C0 = FRightHip.C0 | |
2049 | RightHip.C1 = FRightHip.C1 | |
2050 | end | |
2051 | end | |
2052 | if Debounces.Transformed and not Debounces.TEWield and not Debounces.TESWield then | |
2053 | for i = 0, .15, .1 do | |
2054 | swait() | |
2055 | local SwingSpeed = .8 | |
2056 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
2057 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
2058 | MagniDamage(Holder, 3, false, 0, 3, false, 0, "Compensate", 0, false, 0, false, _, _, _) | |
2059 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(90),0,rad(6)), SwingSpeed) | |
2060 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2061 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-8),0,rad(-60)), SwingSpeed) | |
2062 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2063 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(25),0), SwingSpeed) | |
2064 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2065 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-30),0), SwingSpeed) | |
2066 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2067 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2068 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2069 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2070 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2071 | end | |
2072 | RootPart.Velocity = RootPart.CFrame.lookVector*60 | |
2073 | for i = 0, .15, .1 do | |
2074 | swait() | |
2075 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
2076 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
2077 | MagniDamage(Holder, 8, false, 0, 10, true, rand(-1,1)*30, "Compensate-SkyRocket", .1, false, 0, true, "153092296", 1, 1) | |
2078 | local SwingSpeed = .8 | |
2079 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(90),0,rad(60)), SwingSpeed) | |
2080 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2081 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-8),0,rad(-10)), SwingSpeed) | |
2082 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2083 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(-55),0), SwingSpeed) | |
2084 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2085 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(60),0), SwingSpeed) | |
2086 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2087 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2088 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2089 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2090 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2091 | end | |
2092 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame*Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, .07) | |
2093 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame*Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, .07) | |
2094 | end | |
2095 | if not Debounces.HasWep and not Debounces.Transformed then | |
2096 | if Attack_Num == 1 then | |
2097 | Attack_Num = 2 | |
2098 | local HBox = MakeHitBox(Vec(1.6,1.6,1.6), RightArm, false, _, _) | |
2099 | local hit = HBox.Touched:connect(function(part) DamageFunction(part, true, 6, 7, true, 5, "Normal", RootPart, .8, false, _, false, _, _, _) end) | |
2100 | for i = 0, .4, .1 do | |
2101 | swait() | |
2102 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.85,0.45,-1)*Euler(rad(60),0,rad(-80)),.3) | |
2103 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-20),0),.3) | |
2104 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.3,-.3)*Euler(rad(90),0,rad(-80)),.3) | |
2105 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0),.3) | |
2106 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20),rad(80),0),.3) | |
2107 | Neck.C1=clerp(Neck.C1,Cf(0,0,.1)*Euler(0,0,0),.3) | |
2108 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-80),0),.3) | |
2109 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
2110 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0),.3) | |
2111 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.3) | |
2112 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0),.3) | |
2113 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.3) | |
2114 | end | |
2115 | for i = 0, .7, .1 do | |
2116 | swait() | |
2117 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(90),0,rad(80)),.5) | |
2118 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-20),0),.5) | |
2119 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.5,0.3,-.8)*Euler(rad(90),0,rad(80)),.5) | |
2120 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0),.5) | |
2121 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(0),rad(-80),0),.5) | |
2122 | Neck.C1=clerp(Neck.C1,Cf(0,0,.1)*Euler(0,0,0),.5) | |
2123 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(80),0),.5) | |
2124 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.5) | |
2125 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0),.5) | |
2126 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.5) | |
2127 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0),.5) | |
2128 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.5) | |
2129 | end | |
2130 | debServ:AddItem(HBox, 0) | |
2131 | hit:disconnect() | |
2132 | elseif Attack_Num == 2 then | |
2133 | Attack_Num = 3 | |
2134 | local HBox = MakeHitBox(Vec(1.6,1.6,1.6), LeftArm, false, _, _) | |
2135 | local hit = HBox.Touched:connect(function(part) DamageFunction(part, true, 6, 7, true, 5, "Normal", RootPart, .8, false, _, false, _, _, _) end) | |
2136 | for i = 0, .4, .1 do | |
2137 | swait() | |
2138 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(90),0,rad(80)),.3) | |
2139 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-20),0),.3) | |
2140 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.5,0.3,-.8)*Euler(rad(90),0,rad(80)),.3) | |
2141 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0),.3) | |
2142 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(0),rad(-80),0),.3) | |
2143 | Neck.C1=clerp(Neck.C1,Cf(0,0,.1)*Euler(0,0,0),.3) | |
2144 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(80),0),.3) | |
2145 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
2146 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0),.3) | |
2147 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.3) | |
2148 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0),.3) | |
2149 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.3) | |
2150 | end | |
2151 | for i = 0, .7, .1 do | |
2152 | swait() | |
2153 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.85,0.45,-1)*Euler(rad(60),0,rad(-80)),.5) | |
2154 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-20),0),.5) | |
2155 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.3,-.3)*Euler(rad(90),0,rad(-80)),.5) | |
2156 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0),.5) | |
2157 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20),rad(80),0),.5) | |
2158 | Neck.C1=clerp(Neck.C1,Cf(0,0,.1)*Euler(0,0,0),.5) | |
2159 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-80),0),.5) | |
2160 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.5) | |
2161 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0),.5) | |
2162 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.5) | |
2163 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0),.5) | |
2164 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.5) | |
2165 | end | |
2166 | debServ:AddItem(HBox, 0) | |
2167 | hit:disconnect() | |
2168 | elseif Attack_Num == 3 then | |
2169 | Attack_Num = 4 | |
2170 | local HBox = MakeHitBox(Vec(2,2,2), LeftLeg, false, _, _) | |
2171 | local hit = HBox.Touched:connect(function(part) DamageFunction(part, true, 9, 10, false, 70, "SkyRocket", RootPart, .8, false, _, false, _, _, _) end) | |
2172 | LeftHip.Part0 = nil | |
2173 | LeftHip.Part1 = nil | |
2174 | RightHip.Part0 = nil | |
2175 | RightHip.Part1 = nil | |
2176 | FLeftHip.Part0 = Torso | |
2177 | FLeftHip.Part1 = LeftLeg | |
2178 | FLeftHip.C0 = LeftHip.C0 | |
2179 | FLeftHip.C1 = LeftHip.C1 | |
2180 | FRightHip.Part0 = Torso | |
2181 | FRightHip.Part1 = RightLeg | |
2182 | FRightHip.C0 = RightHip.C0 | |
2183 | FRightHip.C1 = RightHip.C1 | |
2184 | for i = 0, .8, .1 do | |
2185 | swait() | |
2186 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-60),0,rad(8)),.3) | |
2187 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),.3) | |
2188 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-60),0,rad(-8)),.3) | |
2189 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),.3) | |
2190 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0),.3) | |
2191 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),.3) | |
2192 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-30),0,0),.3) | |
2193 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
2194 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(30),rad(90),0),.3) | |
2195 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.3) | |
2196 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-40),rad(-90),0),.3) | |
2197 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.3) | |
2198 | end | |
2199 | RootPart.Velocity = RootPart.CFrame.lookVector*60 | |
2200 | for i = 0, 1.4, .1 do | |
2201 | swait() | |
2202 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(0),0,rad(14)),.3) | |
2203 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),.3) | |
2204 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(80),0,rad(60)),.4) | |
2205 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),.3) | |
2206 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20),0,0),.3) | |
2207 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),.3) | |
2208 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(20),0,0),.3) | |
2209 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
2210 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-20),rad(90),0),.3) | |
2211 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.3) | |
2212 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(80),rad(-90),0),.3) | |
2213 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.3) | |
2214 | end | |
2215 | LeftHip.Part0 = Torso | |
2216 | LeftHip.Part1 = LeftLeg | |
2217 | RightHip.Part0 = Torso | |
2218 | RightHip.Part1 = RightLeg | |
2219 | FLeftHip.Part0 = nil | |
2220 | FLeftHip.Part1 = nil | |
2221 | LeftHip.C0 = FLeftHip.C0 | |
2222 | LeftHip.C1 = FLeftHip.C1 | |
2223 | FRightHip.Part0 = nil | |
2224 | FRightHip.Part1 = nil | |
2225 | RightHip.C0 = FRightHip.C0 | |
2226 | RightHip.C1 = FRightHip.C1 | |
2227 | debServ:AddItem(HBox, 0) | |
2228 | hit:disconnect() | |
2229 | elseif Attack_Num == 4 then | |
2230 | Attack_Num = 1 | |
2231 | local HBox = MakeHitBox(Vec(2.4,2.4,2.4), RightLeg, false, _, _) | |
2232 | local hit = HBox.Touched:connect(function(part) DamageFunction(part, true, 11, 12, true, 50, "Knockdown", RootPart, 1.5, false, _, false, _, _, _) end) | |
2233 | LeftHip.Part0 = nil | |
2234 | LeftHip.Part1 = nil | |
2235 | RightHip.Part0 = nil | |
2236 | RightHip.Part1 = nil | |
2237 | FLeftHip.Part0 = Torso | |
2238 | FLeftHip.Part1 = LeftLeg | |
2239 | FLeftHip.C0 = LeftHip.C0 | |
2240 | FLeftHip.C1 = LeftHip.C1 | |
2241 | FRightHip.Part0 = Torso | |
2242 | FRightHip.Part1 = RightLeg | |
2243 | FRightHip.C0 = RightHip.C0 | |
2244 | FRightHip.C1 = RightHip.C1 | |
2245 | for i = 0, .5, .1 do | |
2246 | swait() | |
2247 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.85,0.45,-1)*Euler(rad(60),0,rad(-80)),.3) | |
2248 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-20),0),.3) | |
2249 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.3,-.2)*Euler(rad(120),0,rad(-80)),.3) | |
2250 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0),.3) | |
2251 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20),rad(60),0),.3) | |
2252 | Neck.C1=clerp(Neck.C1,Cf(0,0,.1)*Euler(0,0,0),.3) | |
2253 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-80),0),.3) | |
2254 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
2255 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,-.6)*Euler(0,rad(120),0),.3) | |
2256 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(rad(10),rad(90),0),.3) | |
2257 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,.4)*Euler(0,rad(-50),0),.3) | |
2258 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(rad(10),rad(-90),0),.3) | |
2259 | end | |
2260 | Humanoid.WalkSpeed = 0 | |
2261 | RootPart.Velocity = RootPart.CFrame.lookVector*100 | |
2262 | for i = 0, 1.6, .1 do | |
2263 | swait() | |
2264 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(60),0,rad(16)),.3) | |
2265 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),.3) | |
2266 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(30),0,rad(-60)),.4) | |
2267 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(30),0),.3) | |
2268 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(-60),0),.3) | |
2269 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),.3) | |
2270 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-.6,0)*Euler(rad(60),rad(-250),0),.3) | |
2271 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
2272 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.4,-.6,0)*Euler(rad(10),rad(0),rad(30)),.3) | |
2273 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(0),0),.3) | |
2274 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1,-.4,0)*Euler(rad(30),0,rad(-60)),.3) | |
2275 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(20),0),.3) | |
2276 | end | |
2277 | Humanoid.WalkSpeed = CurrentSpeed | |
2278 | LeftHip.Part0 = Torso | |
2279 | LeftHip.Part1 = LeftLeg | |
2280 | RightHip.Part0 = Torso | |
2281 | RightHip.Part1 = RightLeg | |
2282 | FLeftHip.Part0 = nil | |
2283 | FLeftHip.Part1 = nil | |
2284 | LeftHip.C0 = FLeftHip.C0 | |
2285 | LeftHip.C1 = FLeftHip.C1 | |
2286 | FRightHip.Part0 = nil | |
2287 | FRightHip.Part1 = nil | |
2288 | RightHip.C0 = FRightHip.C0 | |
2289 | RightHip.C1 = FRightHip.C1 | |
2290 | debServ:AddItem(HBox, 0) | |
2291 | hit:disconnect() | |
2292 | end | |
2293 | end | |
2294 | if Debounces.HasWep and not Debounces.Transformed then | |
2295 | if not Debounces.DuelWielding then | |
2296 | if Attack_Num == 1 then | |
2297 | Attack_Num = 2 | |
2298 | for i = 0, .2, .1 do | |
2299 | swait() | |
2300 | local SwingSpeed = .6 | |
2301 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.96,.5)*Euler(rad(-10),0,0), SwingSpeed) | |
2302 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2303 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2304 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
2305 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(80)), SwingSpeed) | |
2306 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2307 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(80),0,rad(60)), SwingSpeed) | |
2308 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2309 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
2310 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-40),0), SwingSpeed) | |
2311 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-40),0), SwingSpeed) | |
2312 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2313 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2314 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2315 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2316 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2317 | end | |
2318 | local hit = Hit_Box.Touched:connect(function(part) DamageFunction(part, true, 7, 8, true, 10, "Compensate", RootPart, .12, false, _, false, _, _, _) end) | |
2319 | c1 = nil | |
2320 | c2 = nil | |
2321 | for i = 0, .5, .1 do | |
2322 | swait() | |
2323 | local x = Hit_Box | |
2324 | c2 = x.CFrame*Cf(0, .5, 0) | |
2325 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
2326 | local h = 5 | |
2327 | local a, b = Triangle((c1*Cf(0,h/2,0)).p, (c1*Cf(0,-h/2,0)).p, (c2*Cf(0,h/2,0)).p, Colour1, "Neon") | |
2328 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
2329 | local c, d = Triangle((c2*Cf(0,h/2,0)).p, (c2*Cf(0,-h/2,0)).p, (c1*Cf(0,-h/2,0)).p, Colour1, "Neon") | |
2330 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
2331 | c1 = c2 | |
2332 | elseif not c1 then | |
2333 | c1 = c2 | |
2334 | end | |
2335 | local SwingSpeed = .4 | |
2336 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.98,-.4)*Euler(rad(20),0,0), SwingSpeed) | |
2337 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2338 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2339 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
2340 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.6,0.5,-1)*Euler(0,0,rad(90)), SwingSpeed) | |
2341 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-160),0,0), SwingSpeed) | |
2342 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-25)), SwingSpeed) | |
2343 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2344 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(rad(-17),0,0), SwingSpeed) | |
2345 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(30),0), SwingSpeed) | |
2346 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(30),0), SwingSpeed) | |
2347 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2348 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2349 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2350 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2351 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2352 | end | |
2353 | hit:disconnect() | |
2354 | elseif Attack_Num == 2 then | |
2355 | Attack_Num = 3 | |
2356 | for i = 0, .6, .1 do | |
2357 | swait() | |
2358 | local SwingSpeed = .5 | |
2359 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(160),0,0), SwingSpeed) | |
2360 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2361 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2362 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
2363 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.6,0.5,-1)*Euler(0,0,rad(90)), SwingSpeed) | |
2364 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-150),rad(-50),0), SwingSpeed) | |
2365 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-25)), SwingSpeed) | |
2366 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2367 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
2368 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(40),0), SwingSpeed) | |
2369 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(40),0), SwingSpeed) | |
2370 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2371 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2372 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2373 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2374 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2375 | end | |
2376 | local hit = Hit_Box.Touched:connect(function(part) DamageFunction(part, true, 10, 11, true, 10, "Compensate", RootPart, .12, false, _, false, _, _, _) end) | |
2377 | c1 = nil | |
2378 | c2 = nil | |
2379 | for i = 0, .5, .1 do | |
2380 | swait() | |
2381 | local x = Hit_Box | |
2382 | c2 = x.CFrame*Cf(0, .5, 0) | |
2383 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
2384 | local h = 5 | |
2385 | local a, b = Triangle((c1*Cf(0,h/2,0)).p, (c1*Cf(0,-h/2,0)).p, (c2*Cf(0,h/2,0)).p, Colour1, "Neon") | |
2386 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
2387 | local c, d = Triangle((c2*Cf(0,h/2,0)).p, (c2*Cf(0,-h/2,0)).p, (c1*Cf(0,-h/2,0)).p, Colour1, "Neon") | |
2388 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
2389 | c1 = c2 | |
2390 | elseif not c1 then | |
2391 | c1 = c2 | |
2392 | end | |
2393 | local SwingSpeed = .4 | |
2394 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.96,.5)*Euler(rad(-10),0,0), SwingSpeed) | |
2395 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2396 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2397 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
2398 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(60)), SwingSpeed) | |
2399 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2400 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(80),0,rad(-30)), SwingSpeed) | |
2401 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2402 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
2403 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-30),0), SwingSpeed) | |
2404 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-30),0), SwingSpeed) | |
2405 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2406 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2407 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2408 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2409 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2410 | end | |
2411 | hit:disconnect() | |
2412 | elseif Attack_Num == 3 then | |
2413 | Attack_Num = 1 | |
2414 | for i = 0, .7, .1 do | |
2415 | swait() | |
2416 | local SwingSpeed = .5 | |
2417 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.9,.6)*Euler(rad(160),0,0), SwingSpeed) | |
2418 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2419 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2420 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
2421 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.4)*Euler(rad(160),0,0), SwingSpeed) | |
2422 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(40),0), SwingSpeed) | |
2423 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.6,0.8,-.95)*Euler(rad(120),0,rad(60)), SwingSpeed) | |
2424 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2425 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
2426 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-40),0), SwingSpeed) | |
2427 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-40),0), SwingSpeed) | |
2428 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2429 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2430 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2431 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2432 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2433 | end | |
2434 | c1 = nil | |
2435 | c2 = nil | |
2436 | local hit2 = Hit_Box.Touched:connect(function(part) DamageFunction(part, true, 11, 12, true, 10, "Compensate", RootPart, .2, false, _, false, _, _, _) end) | |
2437 | for i = 0, 1, .1 do | |
2438 | swait() | |
2439 | local x = Hit_Box | |
2440 | c2 = x.CFrame*Cf(0, .5, 0) | |
2441 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
2442 | local h = 5 | |
2443 | local a, b = Triangle((c1*Cf(0,h/2,0)).p, (c1*Cf(0,-h/2,0)).p, (c2*Cf(0,h/2,0)).p, Colour1, "Neon") | |
2444 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
2445 | local c, d = Triangle((c2*Cf(0,h/2,0)).p, (c2*Cf(0,-h/2,0)).p, (c1*Cf(0,-h/2,0)).p, Colour1, "Neon") | |
2446 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
2447 | c1 = c2 | |
2448 | elseif not c1 then | |
2449 | c1 = c2 | |
2450 | end | |
2451 | local SwingSpeed = .5 | |
2452 | Humanoid.WalkSpeed = 5 | |
2453 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.8,.6)*Euler(rad(146),0,rad(-40)), SwingSpeed) | |
2454 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,rad(-5),0), SwingSpeed) | |
2455 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2456 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
2457 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.3)*Euler(0,rad(-65),rad(-40)), SwingSpeed) | |
2458 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-20),0,0), SwingSpeed) | |
2459 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-.5)*Euler(rad(20),0,rad(60)), SwingSpeed) | |
2460 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(65),0), SwingSpeed) | |
2461 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
2462 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(20),rad(60),0), SwingSpeed) | |
2463 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(60),0), SwingSpeed) | |
2464 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2465 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2466 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2467 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2468 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2469 | end | |
2470 | Humanoid.WalkSpeed = CurrentSpeed | |
2471 | hit2:disconnect() | |
2472 | end | |
2473 | end | |
2474 | --[[if not Debounces.DuelWielding then | |
2475 | local hit = Hit_Box.Touched:connect(function(part) DamageFunction(part, true, 4, 6, true, 10, "Compensate", RootPart, .05, true, 1.5, false, _, _, _) end) | |
2476 | local Rotate = 0 | |
2477 | local Vel = Inst("BodyVelocity", RootPart) | |
2478 | Vel.Name = DecName | |
2479 | Vel.MaxForce = Vec(huge,huge,huge) | |
2480 | local sped = 50 | |
2481 | Vel.Velocity = RootPart.CFrame.lookVector*sped | |
2482 | DTPWeld.Part0 = Hit_Box | |
2483 | DTPWeld.Part1 = Drag_To_Part | |
2484 | DTPWeld.C0 = Cf(0, 3, 0) | |
2485 | for i = 0, 1.5, .1 do | |
2486 | swait() | |
2487 | Rotate = Rotate+80 | |
2488 | Vel.Velocity = RootPart.CFrame.lookVector*sped | |
2489 | local SwingSpeed = .5 | |
2490 | Humanoid.WalkSpeed = 5 | |
2491 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2492 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2493 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2494 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
2495 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(90)), SwingSpeed) | |
2496 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2497 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-90)), SwingSpeed) | |
2498 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2499 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
2500 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(10),0), SwingSpeed) | |
2501 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-.5,0)*Euler(0,0,rad(90)), SwingSpeed) | |
2502 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,0,0)*Euler(0,rad(-(10+Rotate)),0), SwingSpeed) | |
2503 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2504 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2505 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2506 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2507 | end | |
2508 | DTPWeld.Part0 = RootPart | |
2509 | DTPWeld.Part1 = Drag_To_Part | |
2510 | DTPWeld.C0 = Cf(0, 0, 0) | |
2511 | debServ:AddItem(Vel, 0) | |
2512 | hit:disconnect() | |
2513 | end--]] | |
2514 | end | |
2515 | Debounces.Attacking = false | |
2516 | end | |
2517 | ||
2518 | function Disrupt() | |
2519 | Debounces.Attacking = true | |
2520 | LeftHip.Part0 = nil | |
2521 | LeftHip.Part1 = nil | |
2522 | RightHip.Part0 = nil | |
2523 | RightHip.Part1 = nil | |
2524 | FLeftHip.Part0 = Torso | |
2525 | FLeftHip.Part1 = LeftLeg | |
2526 | FLeftHip.C0 = LeftHip.C0 | |
2527 | FLeftHip.C1 = LeftHip.C1 | |
2528 | FRightHip.Part0 = Torso | |
2529 | FRightHip.Part1 = RightLeg | |
2530 | FRightHip.C0 = RightHip.C0 | |
2531 | FRightHip.C1 = RightHip.C1 | |
2532 | local BV = Inst("BodyVelocity", RootPart) | |
2533 | BV.Name = DecName | |
2534 | BV.MaxForce = Vec(huge,huge,huge) | |
2535 | BV.Velocity = RootPart.CFrame.lookVector*150 | |
2536 | local hbox = MakeHitBox(Vec(8,8,16), RootPart, true, Cf(0,0, 4), Cf()) | |
2537 | DTPWeld.C0 = Cf(0,0,-2)*Euler(rad(90),0,0) | |
2538 | Humanoid.WalkSpeed = 0 | |
2539 | local hit = hbox.Touched:connect(function(part) DamageFunction(part, true, 29, 30, false, 0, "LifeSteal", RootPart, .1, true, 2, false, _, _, _) end) | |
2540 | for i = 0, 1, .1 do | |
2541 | swait() | |
2542 | if Debounces.HasWep then | |
2543 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), .3) | |
2544 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), .3) | |
2545 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), .3) | |
2546 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), .3) | |
2547 | end | |
2548 | MagicBlock(BrickColor.new(Colour2),"Neon",Drag_To_Part:GetRenderCFrame()*Cf(0,0,0), 8, 8, 8, 16, 16, 16, .1) | |
2549 | MagicCircle(BrickColor.new(Colour1),"Neon",Drag_To_Part:GetRenderCFrame()*Cf(0,0,0), 5, .1, 5, 15, .2, 15, 0.1) | |
2550 | MagicWave2(BrickColor.new(Colour1),"Neon",Drag_To_Part:GetRenderCFrame()*Cf(0,0,0), 1, 3, 1, 3, 6, 3, 0.1) | |
2551 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-40),0,rad(10)),.3) | |
2552 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),.3) | |
2553 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-40),0,rad(-10)),.3) | |
2554 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),.3) | |
2555 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,.2)*Euler(rad(50),0,0),.3) | |
2556 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),.3) | |
2557 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-60),0,0),.3) | |
2558 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
2559 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-12),rad(90),0),.3) | |
2560 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.3) | |
2561 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-30),rad(-90),0),.3) | |
2562 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.3) | |
2563 | end | |
2564 | Humanoid.WalkSpeed = CurrentSpeed | |
2565 | debServ:AddItem(hbox, 0) | |
2566 | debServ:AddItem(BV, 0) | |
2567 | LeftHip.Part0 = Torso | |
2568 | LeftHip.Part1 = LeftLeg | |
2569 | RightHip.Part0 = Torso | |
2570 | RightHip.Part1 = RightLeg | |
2571 | FLeftHip.Part0 = nil | |
2572 | FLeftHip.Part1 = nil | |
2573 | LeftHip.C0 = FLeftHip.C0 | |
2574 | LeftHip.C1 = FLeftHip.C1 | |
2575 | FRightHip.Part0 = nil | |
2576 | FRightHip.Part1 = nil | |
2577 | RightHip.C0 = FRightHip.C0 | |
2578 | RightHip.C1 = FRightHip.C1 | |
2579 | Debounces.Attacking = false | |
2580 | DTPWeld.C0 = Cf(0,0,0) | |
2581 | hit:disconnect() | |
2582 | end | |
2583 | ||
2584 | local GH = 5000 | |
2585 | local VHealth = Inst("DoubleConstrainedValue") | |
2586 | VHealth.MaxValue = GH*4 | |
2587 | VHealth.MinValue = 0 | |
2588 | VHealth.Value = GH*4 | |
2589 | ||
2590 | function Corrupt_Guard() | |
2591 | Debounces.Attacking = true | |
2592 | Debounces.CanGuard = false | |
2593 | --print("Guard up") | |
2594 | Humanoid.WalkSpeed = 0 | |
2595 | local LHealth = Humanoid.Health | |
2596 | GodMode = true | |
2597 | local function MakeGuard() | |
2598 | local guard = Inst("Part", workspace) | |
2599 | guard.BrickColor = BC(Colour1) | |
2600 | guard.Material = "SmoothPlastic" | |
2601 | guard.Transparency = .3 | |
2602 | guard.Anchored = true | |
2603 | guard.Name = "Guard" | |
2604 | guard.Anchored = true | |
2605 | guard.CanCollide = false | |
2606 | guard.Locked = true | |
2607 | guard.Size = Vec(5.6, 5.6, 1.6) | |
2608 | local gm = Inst("SpecialMesh", guard) | |
2609 | gm.MeshId = "http://www.roblox.com/asset/?id=1185246" | |
2610 | gm.Scale = Vec(12, 12, 5) | |
2611 | gm.TextureId = "http://www.roblox.com/asset/?id=74697410" | |
2612 | local vc = BC(Colour1).Color | |
2613 | gm.VertexColor = Vec(vc.r, vc.g, vc.b) | |
2614 | guard.CFrame = RootPart.CFrame * Cf(0, 0, -2.2) | |
2615 | local DBModel = Inst("Model", workspace) | |
2616 | DBModel.Name = "DamageBox" | |
2617 | local gdb = Inst("Part", DBModel) | |
2618 | gdb.Transparency = 1 | |
2619 | gdb.Anchored = true | |
2620 | gdb.CanCollide = true | |
2621 | gdb.Locked = true | |
2622 | gdb.Size = Vec(8, 8, 6) | |
2623 | gdb.CFrame = guard.CFrame * Cf(0, 0, -3.2) | |
2624 | gdb.Name = "Head" | |
2625 | local gdt = Inst("Part", DBModel) | |
2626 | gdt.Transparency = 1 | |
2627 | gdt.Anchored = true | |
2628 | gdt.CanCollide = true | |
2629 | gdt.Locked = true | |
2630 | gdt.Size = Vec(8, 8, 6) | |
2631 | gdt.CFrame = guard.CFrame * Cf(0, 0, -3.2) | |
2632 | gdt.Name = "Torso" | |
2633 | local kthen = Inst("Weld", gdb) | |
2634 | kthen.Part0 = gdb | |
2635 | kthen.Part1 = gdt | |
2636 | local GHealth = Inst("Humanoid", DBModel) | |
2637 | GHealth.MaxHealth = GH | |
2638 | coroutine.resume(coroutine.create(function() runServ.Stepped:wait() GHealth.Health = GHealth.MaxHealth end)) | |
2639 | return guard, GHealth, gdb, gdt, DBModel | |
2640 | end | |
2641 | local Guard, GuardHealth, GDB, GDT, DBM = MakeGuard() | |
2642 | local Projectiles = {} | |
2643 | local Ignore = {Character} | |
2644 | local DontHeal = false | |
2645 | local function Check(pro) | |
2646 | local isSafe = false | |
2647 | for _, g in pairs(Projectiles) do | |
2648 | if g[1] ~= pro then | |
2649 | isSafe = true | |
2650 | end | |
2651 | end | |
2652 | return isSafe | |
2653 | end | |
2654 | runServ.Stepped:wait() | |
2655 | repeat | |
2656 | Humanoid.WalkSpeed = 0 | |
2657 | Humanoid.MaxHealth = huge | |
2658 | runServ.Stepped:wait() | |
2659 | Humanoid.Health = huge | |
2660 | RootPart.Velocity = Vec(0, 0, 0) | |
2661 | if Guard and GuardHealth and GDB and GDT and DBM and not DontHeal and Guard.Parent ~= nil and GuardHealth.Parent ~= nil and GDB.Parent ~= nil and GDT.Parent ~= nil and DBM.Parent ~= nil and GuardHealth.Health ~= 0 then | |
2662 | GuardHealth.MaxHealth = GH | |
2663 | Guard.CFrame = RootPart:GetRenderCFrame() * Cf(0, 0, -2.2) | |
2664 | GDB.CFrame = Guard:GetRenderCFrame() * Cf(0, 0, -3.2) | |
2665 | GDT.CFrame = Guard:GetRenderCFrame() * Cf(0, 0, -3.2) | |
2666 | if GuardHealth.Health ~= GuardHealth.MaxHealth then | |
2667 | local HealthLost = (GuardHealth.MaxHealth-GuardHealth.Health) | |
2668 | LHealth = LHealth+(HealthLost/2) | |
2669 | VHealth.Value = VHealth.Value-HealthLost | |
2670 | Apply_Buff(HealthLost/(GH/(GH/160)), 25) | |
2671 | MakeText("+"..(HealthLost/2).."", FONT, .4, 0, 170, 0, 0, 255, 0, RootPart.CFrame) | |
2672 | GuardHealth.Health = GuardHealth.MaxHealth | |
2673 | RootPart.Velocity = RootPart.CFrame.lookVector* -(30+(HealthLost/(GH/50))) | |
2674 | end | |
2675 | --[[local Pro, PPos = workspace:FindPartOnRayWithIgnoreList(Ray.new(GDB.CFrame.p, GDB.CFrame.lookVector.Unit * 50), Ignore, false, true) | |
2676 | if Pro and Pro:IsA("BasePart") then | |
2677 | if Pro.Velocity.Magnitude > 100 then | |
2678 | local hum = FindHum(Pro.Parent) | |
2679 | if not hum then | |
2680 | local Safe = Check(Pro) | |
2681 | if Safe then | |
2682 | print("Projectile found") | |
2683 | local CloneP = Pro:Clone() | |
2684 | CloneP.Anchored = true | |
2685 | table.insert(Projectiles, {Pro, CloneP, Pro.Velocity.Magnitude}) | |
2686 | else | |
2687 | print("Projectile Return Attempt") | |
2688 | if (Pro.Position - GDB.Position).magnitude < 2 then | |
2689 | coroutine.resume(coroutine.create(function() | |
2690 | runServ.Stepped:wait() | |
2691 | if GuardHealth.Health ~= GuardHealth.MaxHealth then | |
2692 | DontHeal = true | |
2693 | local Dam = (GuardHealth.MaxHealth - GuardHealth.Health)*2 | |
2694 | for n, p in pairs(Projectiles) do | |
2695 | if p[1] == Pro then | |
2696 | coroutine.resume(coroutine.create(function() | |
2697 | print("Projectile being return") | |
2698 | local cp = p[2] | |
2699 | local ve = p[3] | |
2700 | debServ:AddItem(p[1], 0) | |
2701 | cp.Parent = F2 | |
2702 | for _, h in pairs(cp:GetChildren()) do | |
2703 | if h:IsA("BodyMover") then | |
2704 | debServ:AddItem(h, 0) | |
2705 | end | |
2706 | end | |
2707 | cp.CFrame = cp.CFrame * Euler(0, rad(180), 0) | |
2708 | local vel = Inst("BodyVelocity", cp) | |
2709 | vel.MaxForce = Vec(huge, huge, huge) | |
2710 | vel.Velocity = Cf(PPos - cp.Position).lookVector * (ve*2) | |
2711 | local t = cp.Touched:connect(function() DamageFunction(part, false, 0, Dam, false, 0, "LifeSteal", RootPart, .2, false, _, false, _, _, _) end) | |
2712 | debServ:AddItem(cp, 40) | |
2713 | repeat wait() until cp.Parent == nil | |
2714 | debServ:AddItem(cp, 0) | |
2715 | end)) | |
2716 | end | |
2717 | end | |
2718 | DontHeal = false | |
2719 | end | |
2720 | end)) | |
2721 | end | |
2722 | end | |
2723 | end | |
2724 | end | |
2725 | end--]] | |
2726 | else | |
2727 | debServ:AddItem(Guard, 0) | |
2728 | debServ:AddItem(GuardHealth, 0) | |
2729 | debServ:AddItem(GDB, 0) | |
2730 | debServ:AddItem(DBM, 0) | |
2731 | Guard, GuardHealth, GDB, GDT, DBM = MakeGuard() | |
2732 | local s1 = Sound(RootPart,"http://roblox.com/asset/?id=233091161", 1, 1.4, false) | |
2733 | debServ:AddItem(s1, 3) | |
2734 | MagicRing(BrickColor.new(Colour1),"Neon",RootPart:GetRenderCFrame()*Cf(0,0,0)*Euler(rad(90),0,0), 2, 2, 4, 8, 8, 16, .05) | |
2735 | DBM.Parent = F2 | |
2736 | Apply_Buff(10, 120) | |
2737 | MagniDamage(RootPart, 40, false, 0, 9999999999999999999, true, 9000000000000000, "Compensate", .01, false, 0, false, _, _, _) | |
2738 | DBM.Parent = workspace | |
2739 | repeat runServ.Stepped:wait() until Guard and GuardHealth and GDB and DBM | |
2740 | end | |
2741 | local GuardSpeed = .5 | |
2742 | if Debounces.HasWep then | |
2743 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), GuardSpeed) | |
2744 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), GuardSpeed) | |
2745 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), GuardSpeed) | |
2746 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), GuardSpeed) | |
2747 | end | |
2748 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.53,.2)*Euler(0,0,rad(12)), GuardSpeed) | |
2749 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(40),0), GuardSpeed) | |
2750 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.4,-.5)*Euler(rad(-210),0,0), GuardSpeed) | |
2751 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-50),0), GuardSpeed) | |
2752 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(rad(-12),0,0), GuardSpeed) | |
2753 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-50),0), GuardSpeed) | |
2754 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(.5,-1,0)*Euler(0,rad(-50),0), GuardSpeed) | |
2755 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), GuardSpeed) | |
2756 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,.15)*Euler(0,rad(90),0), GuardSpeed) | |
2757 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(105),0), GuardSpeed) | |
2758 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,.3)*Euler(0,rad(-90),0), GuardSpeed) | |
2759 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-120),0), GuardSpeed) | |
2760 | until not Debounces.Guarding or Humanoid.Health < 0.01 or VHealth.Value == VHealth.MinValue | |
2761 | debServ:AddItem(Guard, 0) | |
2762 | debServ:AddItem(GuardHealth, 0) | |
2763 | debServ:AddItem(GDB, 0) | |
2764 | debServ:AddItem(DBM, 0) | |
2765 | --print("Guard down") | |
2766 | GodMode = false | |
2767 | Humanoid.MaxHealth = Max_Health | |
2768 | Humanoid.WalkSpeed = CurrentSpeed | |
2769 | Debounces.Attacking = false | |
2770 | wait(.15) | |
2771 | Humanoid.Health = LHealth | |
2772 | coroutine.resume(coroutine.create(function() | |
2773 | wait(1) | |
2774 | Debounces.CanGuard = true | |
2775 | end)) | |
2776 | end | |
2777 | ||
2778 | function Fatal_Blow() | |
2779 | Debounces.Attacking = true | |
2780 | local PlusSize = 0 | |
2781 | local Del = 0 | |
2782 | local Continue = false | |
2783 | local K = Mouse.KeyUp:connect(function(key) | |
2784 | if key == "z" and Z_Pressed then | |
2785 | Continue = true | |
2786 | Z_Pressed = false | |
2787 | end | |
2788 | end) | |
2789 | local psm = 1 | |
2790 | local gy = Inst("BodyGyro", RootPart) | |
2791 | gy.Name = DecName | |
2792 | gy.MaxTorque = Vec(0, 3000, 0) | |
2793 | --local chargeS = Sound(LeftArm, "http://roblox.com/asset/?id=0", 1, 1, true) | |
2794 | repeat | |
2795 | gy.CFrame = Cf(RootPart.Position, Mouse.Hit.p) | |
2796 | if Del >= 3 then PlusSize = PlusSize+(.15*psm) else Del = Del+.1 end | |
2797 | if PlusSize >= ((15*psm)-.15) then psm = psm+.1 end | |
2798 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.35,0)*Euler(rad(-25),0,rad(4)), .4) | |
2799 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .4) | |
2800 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(80),0,rad(60)), .4) | |
2801 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .4) | |
2802 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(60),0), .4) | |
2803 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), .4) | |
2804 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-60),0), .4) | |
2805 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), .4) | |
2806 | RightHip.C0=clerp(RightHip.C0,Cf(.5,-1,0)*Euler(0,rad(90),0), .4) | |
2807 | RightHip.C1=clerp(RightHip.C1,Cf(0,1,0)*Euler(0,rad(90),0), .4) | |
2808 | LeftHip.C0=clerp(LeftHip.C0,Cf(-.5,-1,0)*Euler(0,rad(-90),0), .4) | |
2809 | LeftHip.C1=clerp(LeftHip.C1,Cf(0,1,0)*Euler(0,rad(-90),0), .4) | |
2810 | MagicBlood(BrickColor.new(Colour1),"Neon",LeftArm:GetRenderCFrame()*Cf(0,-.5,0)*Euler(rad(rand(-360, 360)),rad(rand(-360, 360)),rad(rand(-360, 360))), .1, 2, .1, .1, 2, .1, .05) | |
2811 | swait() | |
2812 | until Continue or PlusSize >= 5000 | |
2813 | debServ:AddItem(gy, 0) | |
2814 | --debServ:AddItem(chargeS, 0) | |
2815 | K:disconnect() | |
2816 | local FB = coroutine.create(function() | |
2817 | MagicRing(BrickColor.new(Colour2), "Neon" ,LeftArm:GetRenderCFrame()*Cf(0,-.5,0)*Euler(rad(90), 0, 0), .1, .1, .1, 1, 1, .1, .05) | |
2818 | MagicRing(BrickColor.new(Colour1), "Neon" ,LeftArm:GetRenderCFrame()*Cf(0,-.5,0)*Euler(rad(90), 0, 0), .1, .1, .1, .6, .6, .1, .05) | |
2819 | MagicRing(BrickColor.new(Colour1), "Neon" ,LeftArm:GetRenderCFrame()*Cf(0,-.5,0)*Euler(rad(90), 0, 0), .1, .1, .1, .3, .3, .1, .05) | |
2820 | RootPart.Velocity = RootPart.CFrame.lookVector*-60 | |
2821 | local s = Sound(LeftArm,"http://roblox.com/asset/?id=231917750", 1, 1.6, false) | |
2822 | debServ:AddItem(s, 2) | |
2823 | local Orb = Inst("Part", F2) | |
2824 | Orb.Material = "Neon" | |
2825 | Orb.BrickColor = BC(Colour1) | |
2826 | Orb.Transparency = .5 | |
2827 | Orb.Name = "Orb" | |
2828 | Orb.Anchored = false | |
2829 | Orb.CanCollide = false | |
2830 | Orb.Locked = true | |
2831 | Orb.Size = Vec(1.4,1.4,1.4) | |
2832 | local OrbM = Inst("SpecialMesh", Orb) OrbM.MeshType = "Sphere" | |
2833 | local Ring1 = Inst("Part", F2) | |
2834 | Ring1.Transparency = .5 | |
2835 | Ring1.BrickColor = BC(Colour1) | |
2836 | Ring1.Name = "Ring" | |
2837 | Ring1.Anchored = false | |
2838 | Ring1.CanCollide = false | |
2839 | Ring1.Locked = true | |
2840 | Ring1.Size = Vec(.2,.2,.2) | |
2841 | local Ring1M = Inst("SpecialMesh", Ring1) | |
2842 | Ring1M.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2843 | Ring1M.Scale = Vec(2, 2, 2) | |
2844 | local Ring2 = Inst("Part", F2) | |
2845 | Ring2.Transparency = .5 | |
2846 | Ring2.BrickColor = BC(Colour1) | |
2847 | Ring2.Name = "Ring" | |
2848 | Ring2.Anchored = false | |
2849 | Ring2.CanCollide = false | |
2850 | Ring2.Locked = true | |
2851 | Ring2.Size = Vec(.2,.2,.2) | |
2852 | local Ring2M = Inst("SpecialMesh", Ring2) | |
2853 | Ring2M.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2854 | Ring2M.Scale = Vec(2, 2, 2) | |
2855 | local Rm1 = Inst("Motor", Ring1) | |
2856 | Rm1.Part0 = Orb | |
2857 | Rm1.Part1 = Ring1 | |
2858 | Rm1.DesiredAngle = 9999999999999999999999999999 | |
2859 | Rm1.MaxVelocity = rad(6) | |
2860 | Rm1.C0 = Cf() * Euler(rad(rand(-360, 360)),rad(rand(-360, 360)),rad(rand(-360, 360))) | |
2861 | Rm1.C1 = Cf() * Euler(rad(rand(-360, 360)),rad(rand(-360, 360)),rad(rand(-360, 360))) | |
2862 | local Rm2 = Inst("Motor", Ring2) | |
2863 | Rm2.Part0 = Orb | |
2864 | Rm2.Part1 = Ring2 | |
2865 | Rm2.DesiredAngle = 9999999999999999999999999999 | |
2866 | Rm2.MaxVelocity = rad(6) | |
2867 | Rm2.C0 = Cf() * Euler(rad(rand(-360, 360)),rad(rand(-360, 360)),rad(rand(-360, 360))) | |
2868 | Rm2.C1 = Cf() * Euler(rad(rand(-360, 360)),rad(rand(-360, 360)),rad(rand(-360, 360))) | |
2869 | Orb.CFrame = LeftArm.CFrame*Cf(0,-(.5+(Orb.Size.Y/2)), 0) | |
2870 | local dir = CFrame.new(LeftArm.Position, Mouse.Hit.p) | |
2871 | local Vel = Inst("BodyVelocity", Orb) | |
2872 | Vel.MaxForce = Vec(huge, huge, huge) | |
2873 | Vel.Velocity = dir.lookVector*(190+(PlusSize/12)) | |
2874 | debServ:AddItem(Orb, 40+(PlusSize/2)) | |
2875 | debServ:AddItem(Ring1, 40+(PlusSize/2)) | |
2876 | debServ:AddItem(Ring2, 40+(PlusSize/2)) | |
2877 | local hit = Orb.Touched:connect(function(part) | |
2878 | local hum = FindHum(part.Parent) | |
2879 | if (hum and hum ~= Humanoid and Orb.Anchored == false) or (part.Anchored == true and Orb.Anchored == false and part.Name ~= "OrbBlast" and part.Name ~= "hoi hoi" and part.Name ~= "Effect") then | |
2880 | Orb.Anchored = true | |
2881 | Orb.Transparency = 1 | |
2882 | --print(PlusSize) | |
2883 | local s = Sound(Orb,"http://roblox.com/asset/?id=233856079", 1, 1, false) | |
2884 | debServ:AddItem(s, 2) | |
2885 | debServ:AddItem(Ring1, 0) | |
2886 | debServ:AddItem(Vel, 0) | |
2887 | debServ:AddItem(Ring2, 0) | |
2888 | DamageFunction(part, false, 0, 8+(PlusSize*2), false, 0, "Compensate-Stun", RootPart, .2, true, 2, false, _, _, _) | |
2889 | local Blast = Inst("Part", F2) | |
2890 | Blast.BrickColor = BC(Colour2) | |
2891 | Blast.Material = "Neon" | |
2892 | Blast.Transparency = 1 | |
2893 | Blast.Name = "OrbBlast" | |
2894 | Blast.Anchored = true | |
2895 | Blast.CanCollide = false | |
2896 | Blast.Locked = true | |
2897 | Blast.Size = Vec(.2,.2,.2) | |
2898 | Blast.CFrame = Orb.CFrame | |
2899 | local Bm = Inst("SpecialMesh", Blast) | |
2900 | Bm.MeshType = "Sphere" | |
2901 | Bm.Scale = Vec(0,0,0) | |
2902 | local Range = 0 | |
2903 | MagicCircle(BrickColor.new(Colour1), "Neon" ,Blast:GetRenderCFrame(), 0, 0, 0, 20+(PlusSize*2.5), 20+(PlusSize*2.5), 20+(PlusSize*2.5), .05) | |
2904 | MagicRing(BrickColor.new(Colour1), "Neon" ,Blast:GetRenderCFrame()*Euler(rad(90), rad(90), 0), 0, 0, 0, 5+(PlusSize*2.5), 5+(PlusSize*2.5), 4+(PlusSize*2.5), .05) | |
2905 | MagicRing(BrickColor.new(Colour1), "Neon" ,Blast:GetRenderCFrame()*Euler(rad(22.5), 0, 0), 0, 0, 0, 10+(PlusSize*2.5), 10+(PlusSize*2.5), 4+(PlusSize*2.5), .05) | |
2906 | MagicRing(BrickColor.new(Colour1), "Neon" ,Blast:GetRenderCFrame()*Euler(rad(-22.5), 0, 0), 0, 0, 0, 15+(PlusSize*2.5), 15+(PlusSize*2.5), 4+(PlusSize*2.5), .05) | |
2907 | for t = 0, 1, .18 do | |
2908 | swait() | |
2909 | Range = t*(10+(PlusSize*1.5)) | |
2910 | Blast.Transparency = ((-2+t)*-1)/2 | |
2911 | Bm.Scale = Vec(t*(120+(PlusSize*6)), t*(120+(PlusSize*6)), t*(120+(PlusSize*6))) | |
2912 | MagniDamage(Blast, Range, true, 6+(PlusSize/10), 7+(PlusSize/10), false, 0, "Compensate-Normal", .01, false, 0, false, _, _, _) | |
2913 | end | |
2914 | for t = 0, 2, .08 do | |
2915 | swait() | |
2916 | MagniDamage(Blast, Range, true, 4+(PlusSize/10), 5+(PlusSize/10), false, 0, "Compensate-LifeSteal", .2, false, 0, false, _, _, _) | |
2917 | end | |
2918 | for t = 1, 0, -.22 do | |
2919 | swait() | |
2920 | Range = t*(10+(PlusSize*1.5)) | |
2921 | Blast.Transparency = ((-2+t)*-1)/2 | |
2922 | Bm.Scale = Vec(t*(120+(PlusSize*6)), t*(120+(PlusSize*6)), t*(120+(PlusSize*6))) | |
2923 | MagniDamage(Blast, Range, true, 6+(PlusSize/10), 7+(PlusSize/10), false, 0, "Compensate-Normal", .01, false, 0, false, _, _, _) | |
2924 | end | |
2925 | debServ:AddItem(Blast, 0) | |
2926 | debServ:AddItem(Orb, 0) | |
2927 | end | |
2928 | end) | |
2929 | repeat swait() until Orb.Parent == nil | |
2930 | debServ:AddItem(Orb, 0) | |
2931 | hit:disconnect() | |
2932 | end) | |
2933 | for i = 0, .4, .1 do | |
2934 | swait() | |
2935 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.35,0)*Euler(rad(-25),0,rad(8)), .4) | |
2936 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .4) | |
2937 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(90),0,rad(-70)), .4) | |
2938 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .4) | |
2939 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(60),0), .4) | |
2940 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), .4) | |
2941 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-70),0), .4) | |
2942 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), .4) | |
2943 | RightHip.C0=clerp(RightHip.C0,Cf(.5,-1,0)*Euler(0,rad(90),0), .4) | |
2944 | RightHip.C1=clerp(RightHip.C1,Cf(0,1,0)*Euler(0,rad(90),0), .4) | |
2945 | LeftHip.C0=clerp(LeftHip.C0,Cf(-.5,-1,0)*Euler(0,rad(-90),0), .4) | |
2946 | LeftHip.C1=clerp(LeftHip.C1,Cf(0,1,0)*Euler(0,rad(-90),0), .4) | |
2947 | end | |
2948 | coroutine.resume(FB) | |
2949 | Debounces.Attacking = false | |
2950 | end | |
2951 | ||
2952 | local WaveNum = 1 | |
2953 | function Hate_Wave() | |
2954 | Debounces.Attacking = true | |
2955 | local function MakeWave() | |
2956 | local Wave = Inst("Model", F2) | |
2957 | Wave.Name = "Wave" | |
2958 | local WM = Inst("Part", Wave) | |
2959 | WM.BrickColor = BC(Colour1) | |
2960 | WM.Material = "Neon" | |
2961 | WM.Name = "WavePart" | |
2962 | WM.Position = Vec(10.3, 7.6, -239.4) | |
2963 | WM.Rotation = Vec(-180, 0, -180) | |
2964 | WM.Anchored = true | |
2965 | WM.CanCollide = false | |
2966 | WM.Locked = true | |
2967 | WM.Size = Vec(1, 2.4, 1) | |
2968 | local W1 = Inst("Part", Wave) | |
2969 | W1.BrickColor = BC(Colour1) | |
2970 | W1.Material = "Neon" | |
2971 | W1.Name = "WavePart" | |
2972 | W1.Position = Vec(10.3, 9.648, -239.664) | |
2973 | W1.Rotation = Vec(165, 0, -180) | |
2974 | W1.Anchored = true | |
2975 | W1.CanCollide = false | |
2976 | W1.Locked = true | |
2977 | W1.Size = Vec(1, 2.1, 1) | |
2978 | local W2 = Inst("Part", Wave) | |
2979 | W2.BrickColor = BC(Colour1) | |
2980 | W2.Material = "Neon" | |
2981 | W2.Name = "WavePart" | |
2982 | W2.Position = Vec(10.3, 11.4, -240.4) | |
2983 | W2.Rotation = Vec(150, 0, -180) | |
2984 | W2.Anchored = true | |
2985 | W2.CanCollide = false | |
2986 | W2.Locked = true | |
2987 | W2.Size = Vec(1, 2, 1) | |
2988 | local W3 = Inst("Part", Wave) | |
2989 | W3.BrickColor = BC(Colour1) | |
2990 | W3.Material = "Neon" | |
2991 | W3.Name = "WavePart" | |
2992 | W3.Position = Vec(10.3, 5.552, -239.663) | |
2993 | W3.Rotation = Vec(-165, 0, -180) | |
2994 | W3.Anchored = true | |
2995 | W3.CanCollide = false | |
2996 | W3.Locked = true | |
2997 | W3.Size = Vec(1, 2.1, 1) | |
2998 | local W4 = Inst("Part", Wave) | |
2999 | W4.BrickColor = BC(Colour1) | |
3000 | W4.Material = "Neon" | |
3001 | W4.Name = "WavePart" | |
3002 | W4.Position = Vec(10.3, 3.8, -240.4) | |
3003 | W4.Rotation = Vec(-150, 0, -180) | |
3004 | W4.Anchored = true | |
3005 | W4.CanCollide = false | |
3006 | W4.Locked = true | |
3007 | W4.Size = Vec(1, 2, 1) | |
3008 | local WH = Inst("Part", Wave) | |
3009 | WH.Transparency = 1 | |
3010 | WH.Name = "WaveHitbox" | |
3011 | WH.Position = Vec(10.3, 7.6, -240.2) | |
3012 | WH.Rotation = Vec(-180, 0, -180) | |
3013 | WH.Anchored = true | |
3014 | WH.CanCollide = false | |
3015 | WH.Locked = true | |
3016 | WH.Size = Vec(5, 12, 8) | |
3017 | for _, w in pairs(Wave:GetChildren()) do | |
3018 | if w:IsA("BasePart") and w ~= WH then | |
3019 | local W = Inst("Weld", WH) | |
3020 | W.Part0 = WH | |
3021 | W.Part1 = w | |
3022 | W.C0 = WH.CFrame:inverse() * Cf(WH.Position) | |
3023 | W.C1 = w.CFrame:inverse() * Cf(WH.Position) | |
3024 | local M = Inst("BlockMesh", w) | |
3025 | M.Scale = Vec(0, 1, 1) | |
3026 | end | |
3027 | end | |
3028 | local SiP = {NumberSequenceKeypoint.new(0, 1, 0), NumberSequenceKeypoint.new(1, .188, 0)} | |
3029 | local TrP = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)} | |
3030 | local PE = Inst("ParticleEmitter", WH) | |
3031 | PE.Color = ColorSequence.new(BC(Colour1).Color) | |
3032 | PE.LightEmission = 1 | |
3033 | PE.Size = NumberSequence.new(SiP) | |
3034 | PE.Transparency = NumberSequence.new(TrP) | |
3035 | PE.EmissionDirection = "Back" | |
3036 | PE.Lifetime = NumberRange.new(.2, .8) | |
3037 | PE.Rate = 500 | |
3038 | PE.Rotation = NumberRange.new(60, 120) | |
3039 | PE.RotSpeed = NumberRange.new(120, 360) | |
3040 | PE.Speed = NumberRange.new(30) | |
3041 | return Wave, WH | |
3042 | end | |
3043 | if WaveNum == 1 then | |
3044 | WaveNum = 2 | |
3045 | for i = 0, .3, .1 do | |
3046 | swait() | |
3047 | local SwingSpeed = .7 | |
3048 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.96,.5)*Euler(rad(-10),0,0), SwingSpeed) | |
3049 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3050 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3051 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
3052 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(80)), SwingSpeed) | |
3053 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3054 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(80),0,rad(60)), SwingSpeed) | |
3055 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3056 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
3057 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3058 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3059 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3060 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3061 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3062 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3063 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3064 | end | |
3065 | for i = 0, .2, .1 do | |
3066 | swait() | |
3067 | local SwingSpeed = .7 | |
3068 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.98,-.4)*Euler(rad(20),0,0), SwingSpeed) | |
3069 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3070 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3071 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
3072 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.6,0.5,-1)*Euler(0,0,rad(90)), SwingSpeed) | |
3073 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-160),0,0), SwingSpeed) | |
3074 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-25)), SwingSpeed) | |
3075 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3076 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(rad(-17),0,0), SwingSpeed) | |
3077 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(30),0), SwingSpeed) | |
3078 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(30),0), SwingSpeed) | |
3079 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3080 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3081 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3082 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3083 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3084 | end | |
3085 | local Wave, WHB = MakeWave() | |
3086 | for _, p in pairs(Wave:GetChildren()) do | |
3087 | if p:IsA("BasePart") then | |
3088 | p.Anchored = false | |
3089 | end | |
3090 | end | |
3091 | WHB.CFrame = RootPart.CFrame * Euler(0, 0, rad(90)) | |
3092 | local Vel = Inst("BodyVelocity", WHB) | |
3093 | Vel.MaxForce = Vec(huge, huge, huge) | |
3094 | Vel.Velocity = WHB.CFrame.lookVector * 220 | |
3095 | local Gyr = Inst("BodyGyro", WHB) | |
3096 | Gyr.CFrame = WHB.CFrame | |
3097 | Gyr.MaxTorque = Vec(huge, huge, huge) | |
3098 | local s = Sound(WHB,"http://roblox.com/asset/?id=233091183", 1, 1.6, false) | |
3099 | debServ:AddItem(s, 2) | |
3100 | coroutine.resume(coroutine.create(function() | |
3101 | debServ:AddItem(Wave, 2) | |
3102 | local hit = WHB.Touched:connect(function(part) DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, .2, false, 0, false, _, _, _) end) | |
3103 | repeat swait() until Wave.Parent == nil | |
3104 | hit:disconnect() | |
3105 | end)) | |
3106 | elseif WaveNum == 2 then | |
3107 | WaveNum = 3 | |
3108 | for i = 0, .3, .1 do | |
3109 | swait() | |
3110 | local SwingSpeed = .7 | |
3111 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(160),0,0), SwingSpeed) | |
3112 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3113 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3114 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3115 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.6,0.5,-1)*Euler(0,0,rad(45)), SwingSpeed) | |
3116 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-150),rad(0),0), SwingSpeed) | |
3117 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-25)), SwingSpeed) | |
3118 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3119 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
3120 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(40),0), SwingSpeed) | |
3121 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(40),0), SwingSpeed) | |
3122 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3123 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3124 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3125 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3126 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3127 | end | |
3128 | for i = 0, .2, .1 do | |
3129 | swait() | |
3130 | local SwingSpeed = .7 | |
3131 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.96,.5)*Euler(rad(-10),0,0), SwingSpeed) | |
3132 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3133 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3134 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3135 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(45)), SwingSpeed) | |
3136 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3137 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(80),0,rad(-30)), SwingSpeed) | |
3138 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3139 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
3140 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-30),0), SwingSpeed) | |
3141 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-30),0), SwingSpeed) | |
3142 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3143 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3144 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3145 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3146 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3147 | end | |
3148 | local Wave, WHB = MakeWave() | |
3149 | for _, p in pairs(Wave:GetChildren()) do | |
3150 | if p:IsA("BasePart") then | |
3151 | p.Anchored = false | |
3152 | end | |
3153 | end | |
3154 | WHB.CFrame = RootPart.CFrame * Euler(0, 0, rad(45)) | |
3155 | local Vel = Inst("BodyVelocity", WHB) | |
3156 | Vel.MaxForce = Vec(huge, huge, huge) | |
3157 | Vel.Velocity = WHB.CFrame.lookVector * 220 | |
3158 | local Gyr = Inst("BodyGyro", WHB) | |
3159 | Gyr.CFrame = WHB.CFrame | |
3160 | Gyr.MaxTorque = Vec(huge, huge, huge) | |
3161 | local s = Sound(WHB,"http://roblox.com/asset/?id=233091183", 1, 1.6, false) | |
3162 | debServ:AddItem(s, 2) | |
3163 | coroutine.resume(coroutine.create(function() | |
3164 | debServ:AddItem(Wave, 2) | |
3165 | local hit = WHB.Touched:connect(function(part) DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, .2, false, 0, false, _, _, _) end) | |
3166 | repeat swait() until Wave.Parent == nil | |
3167 | hit:disconnect() | |
3168 | end)) | |
3169 | elseif WaveNum == 3 then | |
3170 | WaveNum = 4 | |
3171 | for i = 0, .3, .1 do | |
3172 | swait() | |
3173 | local SwingSpeed = .7 | |
3174 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(0),0,0), SwingSpeed) | |
3175 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3176 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(-90),0,0), SwingSpeed) | |
3177 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3178 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(135),0,0), SwingSpeed) | |
3179 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(45),rad(-45)), SwingSpeed) | |
3180 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(80),0,rad(-40)), SwingSpeed) | |
3181 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3182 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
3183 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3184 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3185 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3186 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3187 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3188 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3189 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3190 | end | |
3191 | for i = 0, .2, .1 do | |
3192 | swait() | |
3193 | local SwingSpeed = .7 | |
3194 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(0),0,0), SwingSpeed) | |
3195 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3196 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(-90),0,0), SwingSpeed) | |
3197 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3198 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-25),0,rad(0)), SwingSpeed) | |
3199 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(60),rad(-10)), SwingSpeed) | |
3200 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-20),0,rad(-25)), SwingSpeed) | |
3201 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3202 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
3203 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(82),0), SwingSpeed) | |
3204 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(100),0), SwingSpeed) | |
3205 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3206 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3207 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3208 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3209 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3210 | end | |
3211 | local Wave, WHB = MakeWave() | |
3212 | for _, p in pairs(Wave:GetChildren()) do | |
3213 | if p:IsA("BasePart") then | |
3214 | p.Anchored = false | |
3215 | end | |
3216 | end | |
3217 | WHB.CFrame = RootPart.CFrame * Euler(0, 0, rad(-45)) | |
3218 | local Vel = Inst("BodyVelocity", WHB) | |
3219 | Vel.MaxForce = Vec(huge, huge, huge) | |
3220 | Vel.Velocity = WHB.CFrame.lookVector * 220 | |
3221 | local Gyr = Inst("BodyGyro", WHB) | |
3222 | Gyr.CFrame = WHB.CFrame | |
3223 | Gyr.MaxTorque = Vec(huge, huge, huge) | |
3224 | local s = Sound(WHB,"http://roblox.com/asset/?id=233091183", 1, 1.6, false) | |
3225 | debServ:AddItem(s, 2) | |
3226 | coroutine.resume(coroutine.create(function() | |
3227 | debServ:AddItem(Wave, 2) | |
3228 | local hit = WHB.Touched:connect(function(part) DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, .2, false, 0, false, _, _, _) end) | |
3229 | repeat swait() until Wave.Parent == nil | |
3230 | hit:disconnect() | |
3231 | end)) | |
3232 | elseif WaveNum == 4 then | |
3233 | WaveNum = 1 | |
3234 | for i = 0, .3, .1 do | |
3235 | swait() | |
3236 | local SwingSpeed = .7 | |
3237 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.9,.6)*Euler(rad(160),0,0), SwingSpeed) | |
3238 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3239 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3240 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3241 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.4)*Euler(rad(160),0,0), SwingSpeed) | |
3242 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(40),0), SwingSpeed) | |
3243 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.6,0.8,-.95)*Euler(rad(120),0,rad(60)), SwingSpeed) | |
3244 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3245 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
3246 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3247 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3248 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3249 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3250 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3251 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3252 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3253 | end | |
3254 | for i = 0, .2, .1 do | |
3255 | swait() | |
3256 | local SwingSpeed = .7 | |
3257 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.8,.6)*Euler(rad(146),0,rad(-40)), SwingSpeed) | |
3258 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,rad(-5),0), SwingSpeed) | |
3259 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3260 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3261 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.3)*Euler(0,rad(-65),rad(-40)), SwingSpeed) | |
3262 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-20),0,0), SwingSpeed) | |
3263 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-.5)*Euler(rad(20),0,rad(60)), SwingSpeed) | |
3264 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(65),0), SwingSpeed) | |
3265 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
3266 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(20),rad(60),0), SwingSpeed) | |
3267 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(60),0), SwingSpeed) | |
3268 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3269 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3270 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3271 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3272 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3273 | end | |
3274 | local Wave, WHB = MakeWave() | |
3275 | for _, p in pairs(Wave:GetChildren()) do | |
3276 | if p:IsA("BasePart") then | |
3277 | p.Anchored = false | |
3278 | end | |
3279 | end | |
3280 | WHB.CFrame = RootPart.CFrame | |
3281 | local Vel = Inst("BodyVelocity", WHB) | |
3282 | Vel.MaxForce = Vec(huge, huge, huge) | |
3283 | Vel.Velocity = WHB.CFrame.lookVector * 220 | |
3284 | local Gyr = Inst("BodyGyro", WHB) | |
3285 | Gyr.CFrame = WHB.CFrame | |
3286 | Gyr.MaxTorque = Vec(huge, huge, huge) | |
3287 | local s = Sound(WHB,"http://roblox.com/asset/?id=233091183", 1, 1.6, false) | |
3288 | debServ:AddItem(s, 2) | |
3289 | coroutine.resume(coroutine.create(function() | |
3290 | debServ:AddItem(Wave, 2) | |
3291 | local hit = WHB.Touched:connect(function(part) DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, .2, false, 0, false, _, _, _) end) | |
3292 | repeat swait() until Wave.Parent == nil | |
3293 | hit:disconnect() | |
3294 | end)) | |
3295 | end | |
3296 | Debounces.Attacking = false | |
3297 | end | |
3298 | ||
3299 | function Dark_Eruption() | |
3300 | Debounces.Attacking = true | |
3301 | local EPower = 0 | |
3302 | local BuffDelay = 0 | |
3303 | repeat | |
3304 | if BuffDelay < 3.9 then | |
3305 | BuffDelay = BuffDelay+.1 | |
3306 | else | |
3307 | EPower = EPower+.25 | |
3308 | end | |
3309 | MagicBlock(BrickColor.new(Colour1),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3310 | MagicBlock(BrickColor.new(Colour1),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3311 | MagicBlock(BrickColor.new(Colour2),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3312 | MagicBlock(BrickColor.new(Colour2),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3313 | Humanoid.WalkSpeed = 5 | |
3314 | local SwingSpeed = .5 | |
3315 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.95,.5)*Euler(rad(180),0,0), SwingSpeed) | |
3316 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3317 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3318 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3319 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.4)*Euler(rad(170),0,0), SwingSpeed) | |
3320 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(40),0), SwingSpeed) | |
3321 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.45,0.8,-.95)*Euler(rad(150),0,rad(40)), SwingSpeed) | |
3322 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3323 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
3324 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3325 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3326 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3327 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3328 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3329 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3330 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3331 | wait() | |
3332 | until not Debounces.Charging_Erupt | |
3333 | Debounces.DisableJump = true | |
3334 | LeftHip.Part0 = nil | |
3335 | LeftHip.Part1 = nil | |
3336 | RightHip.Part0 = nil | |
3337 | RightHip.Part1 = nil | |
3338 | FLeftHip.Part0 = Torso | |
3339 | FLeftHip.Part1 = LeftLeg | |
3340 | FLeftHip.C0 = LeftHip.C0 | |
3341 | FLeftHip.C1 = LeftHip.C1 | |
3342 | FRightHip.Part0 = Torso | |
3343 | FRightHip.Part1 = RightLeg | |
3344 | FRightHip.C0 = RightHip.C0 | |
3345 | FRightHip.C1 = RightHip.C1 | |
3346 | local hit = Hit_Box.Touched:connect(function(part) DamageFunction(part, false, 0, 20+(EPower/4), true, 40, "Compensate-Knockdown", Hit_Box, .2, false, 0, false, _, _, _) end) | |
3347 | for i = 0, .4, .1 do | |
3348 | swait() | |
3349 | local SwingSpeed = .55 | |
3350 | Humanoid.WalkSpeed = 0 | |
3351 | MagicBlock(BrickColor.new(Colour1),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3352 | MagicBlock(BrickColor.new(Colour1),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3353 | MagicBlock(BrickColor.new(Colour2),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3354 | MagicBlock(BrickColor.new(Colour2),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3355 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.8,.6)*Euler(rad(146),0,rad(-40)), SwingSpeed) | |
3356 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,rad(-5),0), SwingSpeed) | |
3357 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3358 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3359 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.3)*Euler(0,rad(-65),rad(-40)), SwingSpeed) | |
3360 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-20),0,0), SwingSpeed) | |
3361 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-.5)*Euler(rad(20),0,rad(60)), SwingSpeed) | |
3362 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(65),0), SwingSpeed) | |
3363 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
3364 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(20),rad(60),0), SwingSpeed) | |
3365 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-2.2,0)*Euler(0,rad(60),0), SwingSpeed) | |
3366 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3367 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1.3,.1)*Euler(rad(-80),0,0), SwingSpeed) | |
3368 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
3369 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.1,-.6)*Euler(rad(-10),0,0), SwingSpeed) | |
3370 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
3371 | end | |
3372 | coroutine.resume(coroutine.create(function() | |
3373 | for i = 1, 10, 1 do | |
3374 | swait() | |
3375 | local Point = Inst("Part", F2) | |
3376 | Point.Anchored = true | |
3377 | Point.Name = "Point" | |
3378 | Point.CanCollide = false | |
3379 | Point.Transparency = 1 | |
3380 | Point.Locked = true | |
3381 | Point.Size = Vec(.2, .2, .2) | |
3382 | Point.CFrame = RootPart.CFrame * Cf(0, -3, -(11*i)) | |
3383 | local P2 = Inst("Part", Point) | |
3384 | P2.Anchored = true | |
3385 | P2.CanCollide = false | |
3386 | P2.Name = "Point" | |
3387 | P2.Transparency = 1 | |
3388 | P2.Locked = true | |
3389 | P2.Size = Vec(.2, .2, .2) | |
3390 | P2.CFrame = Point.CFrame * Cf(0, 10, 0) | |
3391 | local P3 = Inst("Part", Point) | |
3392 | P3.Anchored = true | |
3393 | P3.Name = "Point" | |
3394 | P3.CanCollide = false | |
3395 | P3.Transparency = 1 | |
3396 | P3.Locked = true | |
3397 | P3.Size = Vec(.2, .2, .2) | |
3398 | P3.CFrame = Point.CFrame * Cf(0, -10, 0) | |
3399 | local s1 = Sound(Point,"http://roblox.com/asset/?id=233091161", .4, 3, false) | |
3400 | debServ:AddItem(s1, 3) | |
3401 | local s2 = Sound(Point,"http://roblox.com/asset/?id=231917744", 1, 2, false) | |
3402 | debServ:AddItem(s2, 3) | |
3403 | MagicCircle(BrickColor.new(Colour1),"SmoothPlastic",Point:GetRenderCFrame(), .1, 0, .1, 5, .5, 5, .08) | |
3404 | MagicCircle(BrickColor.new(Colour1),"SmoothPlastic",Point:GetRenderCFrame(), .1, 0, .1, 1, 50, 1, .08) | |
3405 | MagicCircle(BrickColor.new(Colour2),"Neon",Point:GetRenderCFrame(), .06, 0, .06, 4.6, .46, 4.6, .06) | |
3406 | MagicCircle(BrickColor.new(Colour2),"Neon",Point:GetRenderCFrame(), .06, 0, .06, .6, 46, .6, .06) | |
3407 | MagicBlock(BrickColor.new(Colour1),"SmoothPlastic",Point:GetRenderCFrame(), .1, .1, .1, 2, 2, 2, .08) | |
3408 | MagicBlock(BrickColor.new(Colour2),"Neon",Point:GetRenderCFrame(), .1, .1, .1, 2, 2, 2, .06) | |
3409 | coroutine.resume(coroutine.create(function() | |
3410 | for i = 0, .4, .1 do | |
3411 | swait() | |
3412 | MagniDamage(Point, 12, true, 8+EPower, 9+EPower, true, 90, "Compensate-LifeSteal", .01, false, 0, false, _, _, _) | |
3413 | MagniDamage(P2, 12, true, 8+EPower, 9+EPower, true, 90, "Compensate-LifeSteal", .01, false, 0, false, _, _, _) | |
3414 | MagniDamage(P3, 12, true, 8+EPower, 9+EPower, true, 90, "Compensate-LifeSteal", .01, false, 0, false, _, _, _) | |
3415 | end | |
3416 | debServ:AddItem(Point, 0) | |
3417 | end)) | |
3418 | end | |
3419 | end)) | |
3420 | wait(.55) | |
3421 | hit:disconnect() | |
3422 | FLeftHip.Part0 = nil | |
3423 | FLeftHip.Part1 = nil | |
3424 | FRightHip.Part0 = nil | |
3425 | FRightHip.Part1 = nil | |
3426 | LeftHip.Part0 = Torso | |
3427 | LeftHip.Part1 = LeftLeg | |
3428 | LeftHip.C0 = FLeftHip.C0 | |
3429 | LeftHip.C1 = FLeftHip.C1 | |
3430 | RightHip.Part0 = Torso | |
3431 | RightHip.Part1 = RightLeg | |
3432 | RightHip.C0 = FRightHip.C0 | |
3433 | RightHip.C1 = FRightHip.C1 | |
3434 | Humanoid.WalkSpeed = CurrentSpeed | |
3435 | Debounces.DisableJump = false | |
3436 | Debounces.Attacking = false | |
3437 | end | |
3438 | ||
3439 | function Axel(Upward) | |
3440 | Debounces.Attacking = true | |
3441 | if not Debounces.HasWep then | |
3442 | if Current_Anim == "Idle" or Current_Anim == "Walking" then | |
3443 | LeftHip.Part0 = nil | |
3444 | LeftHip.Part1 = nil | |
3445 | RightHip.Part0 = nil | |
3446 | RightHip.Part1 = nil | |
3447 | FLeftHip.Part0 = Torso | |
3448 | FLeftHip.Part1 = LeftLeg | |
3449 | FLeftHip.C0 = LeftHip.C0 | |
3450 | FLeftHip.C1 = LeftHip.C1 | |
3451 | FRightHip.Part0 = Torso | |
3452 | FRightHip.Part1 = RightLeg | |
3453 | FRightHip.C0 = RightHip.C0 | |
3454 | FRightHip.C1 = RightHip.C1 | |
3455 | local t = .6 | |
3456 | local VelPart = RootPart | |
3457 | local tim = 1 | |
3458 | local Speed = 100 | |
3459 | local HBSize = Vec(3, 5, 3) | |
3460 | local Vel = Inst("BodyVelocity", RootPart) | |
3461 | Vel.Name = DecName | |
3462 | Vel.MaxForce = Vec(huge, huge, huge) | |
3463 | Vel.Velocity = VelPart.CFrame.lookVector*0 | |
3464 | if Upward then | |
3465 | tim = 1.4 | |
3466 | HBSize = Vec(5, 7, 5) | |
3467 | Speed = 250 | |
3468 | local LVec = Inst("Part", F2) | |
3469 | LVec.Transparency = 1 | |
3470 | LVec.Anchored = false | |
3471 | LVec.CanCollide = false | |
3472 | LVec.Locked = true | |
3473 | LVec.Size = Vec(1,1,1) | |
3474 | LVec.FrontSurface = "Hinge" | |
3475 | local LVW = Inst("Weld", LVec) | |
3476 | LVW.Part0 = LeftLeg | |
3477 | LVW.Part1 = LVec | |
3478 | LVW.Name = DecName | |
3479 | LVW.C0 = Cf(0, -.5, 0) * Euler(rad(-90), 0, 0) | |
3480 | LVW.C1 = Cf(0,0,0) * Euler(0,0,rad(-20)) | |
3481 | VelPart = LVec | |
3482 | Vel.Velocity = (RootPart.CFrame.lookVector*-15) + Vec(0, 25, 0) | |
3483 | local noscope = 0 | |
3484 | local j = Sound(RootPart,"http://roblox.com/asset/?id=158149887", .5, 1, false) | |
3485 | debServ:AddItem(j, 2) | |
3486 | for i = 0, 1.4, .1 do | |
3487 | swait() | |
3488 | if noscope ~= 360 then | |
3489 | noscope = noscope+30 | |
3490 | end | |
3491 | local JumpSpeed = .4 | |
3492 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-60),0,rad(10)), JumpSpeed) | |
3493 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
3494 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-60),0,rad(-10)), JumpSpeed) | |
3495 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
3496 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,.2)*Euler(rad(30),0,0), JumpSpeed) | |
3497 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
3498 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(noscope),0,0), JumpSpeed) | |
3499 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
3500 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-18),rad(90),0), JumpSpeed) | |
3501 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
3502 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-30),rad(-90),0), JumpSpeed) | |
3503 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
3504 | end | |
3505 | end | |
3506 | local HBox = MakeHitBox(HBSize, LeftLeg, true, Cf(0,-(HBSize.Y/4),0), Cf()) | |
3507 | local T = 0 | |
3508 | local hit = HBox.Touched:connect(function(part) | |
3509 | local hum = FindHum(part.Parent) | |
3510 | local Axeld = part.Parent:FindFirstChild("Axeld") | |
3511 | if hum and hum ~= Humanoid and not Axeld then | |
3512 | tim = tim+1.2 | |
3513 | local ax = Inst("BoolValue", part.Parent) ax.Name = "Axeld" | |
3514 | local QuickDelay = Inst("BodyPosition", RootPart) | |
3515 | QuickDelay.Name = DecName | |
3516 | QuickDelay.MaxForce = Vec(huge, huge, huge) | |
3517 | QuickDelay.Position = RootPart.Position | |
3518 | debServ:AddItem(QuickDelay, .3) | |
3519 | debServ:AddItem(ax, .4) | |
3520 | DamageFunction(part, true, 20, 21, false, 150, "SkyRocket", RootPart, .1, false, 0, false, _, _, _) | |
3521 | end | |
3522 | end) | |
3523 | repeat | |
3524 | Vel.Velocity = VelPart.CFrame.lookVector*Speed | |
3525 | MagicBlock(BrickColor.new(Colour1),"Neon",LeftLeg:GetRenderCFrame()*Cf(0,-5,-1), 3, 3, 3, 7, 7, 7, .1) | |
3526 | MagicBlock(BrickColor.new(Colour2),"Neon",LeftLeg:GetRenderCFrame()*Cf(0,-4,-1), 2, 2, 2, 6, 6, 6, .1) | |
3527 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,rad(15),rad(70)),t) | |
3528 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),t) | |
3529 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-.9)*Euler(rad(90),0,0),t) | |
3530 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,rad(-70)),t) | |
3531 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.3)*Euler(rad(-35),rad(60),0),t) | |
3532 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),t) | |
3533 | if not Upward then | |
3534 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(40),rad(-80),0),t) | |
3535 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),t) | |
3536 | else | |
3537 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(100),rad(-80),0),t) | |
3538 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),t) | |
3539 | end | |
3540 | FRightHip.C0=clerp(FRightHip.C0,Cf(.8,-.5,-.7)*Euler(rad(-30),0,0),t) | |
3541 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,1,0)*Euler(0,0,rad(25)),t) | |
3542 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-.8,-1,-.15)*Euler(rad(-20),rad(60),0),t) | |
3543 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,1,0)*Euler(rad(-40),0,0),t) | |
3544 | T = T+.1 | |
3545 | swait() | |
3546 | until T >= tim | |
3547 | debServ:AddItem(HBox, 0) | |
3548 | hit:disconnect() | |
3549 | debServ:AddItem(Vel, 0) | |
3550 | if Upward then | |
3551 | debServ:AddItem(VelPart, 0) | |
3552 | end | |
3553 | if not Upward then | |
3554 | for i = 0, 1.4, .1 do | |
3555 | swait() | |
3556 | Humanoid.WalkSpeed = 0 | |
3557 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(70)), .3) | |
3558 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .3) | |
3559 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(70),0,rad(60)), .3) | |
3560 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(60),0), .3) | |
3561 | Neck.C0=clerp(Neck.C0,Cf(0,1.35,-.5)*Euler(rad(-45),0,0), .3) | |
3562 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-30),0), .3) | |
3563 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-.4,0)*Euler(rad(-20),rad(-60),0), .3) | |
3564 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,0,0)*Euler(0,0,0), .3) | |
3565 | FRightHip.C0=clerp(FRightHip.C0,Cf(.5,-1.8,-.7)*Euler(0,rad(20),0), .3) | |
3566 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,0,0)*Euler(rad(-15),0,0), .3) | |
3567 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1,-1.4,-.6)*Euler(0,rad(60),0), .3) | |
3568 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,0,0)*Euler(rad(-15),0,0), .3) | |
3569 | end | |
3570 | end | |
3571 | Humanoid.WalkSpeed = CurrentSpeed | |
3572 | LeftHip.Part0 = Torso | |
3573 | LeftHip.Part1 = LeftLeg | |
3574 | RightHip.Part0 = Torso | |
3575 | RightHip.Part1 = RightLeg | |
3576 | FLeftHip.Part0 = nil | |
3577 | FLeftHip.Part1 = nil | |
3578 | LeftHip.C0 = FLeftHip.C0 | |
3579 | LeftHip.C1 = FLeftHip.C1 | |
3580 | FRightHip.Part0 = nil | |
3581 | FRightHip.Part1 = nil | |
3582 | RightHip.C0 = FRightHip.C0 | |
3583 | RightHip.C1 = FRightHip.C1--]] | |
3584 | elseif Current_Anim == "Falling" or Current_Anim == "Jumping" then | |
3585 | LeftHip.Part0 = nil | |
3586 | LeftHip.Part1 = nil | |
3587 | RightHip.Part0 = nil | |
3588 | RightHip.Part1 = nil | |
3589 | FLeftHip.Part0 = Torso | |
3590 | FLeftHip.Part1 = LeftLeg | |
3591 | FLeftHip.C0 = LeftHip.C0 | |
3592 | FLeftHip.C1 = LeftHip.C1 | |
3593 | FRightHip.Part0 = Torso | |
3594 | FRightHip.Part1 = RightLeg | |
3595 | FRightHip.C0 = RightHip.C0 | |
3596 | FRightHip.C1 = RightHip.C1 | |
3597 | local t = .6 | |
3598 | local HBox = MakeHitBox(Vec(3,5,3), LeftLeg, true, Cf(0,-1.25,0), Cf()) | |
3599 | local LVec = Inst("Part", F2) | |
3600 | LVec.Transparency = 1 | |
3601 | LVec.Anchored = false | |
3602 | LVec.CanCollide = false | |
3603 | LVec.Locked = true | |
3604 | LVec.Size = Vec(1,1,1) | |
3605 | LVec.FrontSurface = "Hinge" | |
3606 | local LVW = Inst("Weld", LVec) | |
3607 | LVW.Part0 = LeftLeg | |
3608 | LVW.Part1 = LVec | |
3609 | LVW.Name = DecName | |
3610 | LVW.C0 = Cf(0, -.5, 0) * Euler(rad(-90), 0, 0) | |
3611 | LVW.C1 = Cf(0,0,0) * Euler(0,0,rad(-20)) | |
3612 | local Vel = Inst("BodyVelocity", RootPart) | |
3613 | Vel.Name = DecName | |
3614 | Vel.MaxForce = Vec(huge, huge, huge) | |
3615 | Vel.Velocity = LVec.CFrame.lookVector*0 | |
3616 | local FallDamage = 0 | |
3617 | local CanDiveKick = true | |
3618 | local TouchedGround = false | |
3619 | local BuffN = 3 | |
3620 | local ground, pos = rayCast(LVec.Position, LVec.CFrame.lookVector, 5, Character) | |
3621 | local hit = HBox.Touched:connect(function(part) | |
3622 | local hum = FindHum(part.Parent) | |
3623 | if hum and hum ~= Humanoid and CanDiveKick then | |
3624 | CanDiveKick = false | |
3625 | FallDamage = FallDamage+4 | |
3626 | Vel.Velocity = (RootPart.CFrame.lookVector*-8) + Vec(0, 20, 0) | |
3627 | local noscope = 0 | |
3628 | local s = Sound(part,"http://roblox.com/asset/?id=401057895", 1, 1, false) | |
3629 | debServ:AddItem(s, 2) | |
3630 | local j = Sound(RootPart,"http://roblox.com/asset/?id=158149887", .5, 1, false) | |
3631 | debServ:AddItem(j, 2) | |
3632 | DamageFunction(part, false, 0, 45, false, 0, "LifeSteal", RootPart, .1, false, 0, false, _, _, _) | |
3633 | Apply_Buff(BuffN, 15) | |
3634 | if BuffN > 0 then | |
3635 | BuffN = BuffN-.1 | |
3636 | end | |
3637 | for i = 0, 1.4, .1 do | |
3638 | swait() | |
3639 | Vel.Velocity = (RootPart.CFrame.lookVector*-8) + Vec(0, 22, 0) | |
3640 | if noscope ~= 360 then | |
3641 | noscope = noscope+30 | |
3642 | end | |
3643 | local JumpSpeed = .4 | |
3644 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-60),0,rad(10)), JumpSpeed) | |
3645 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
3646 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-60),0,rad(-10)), JumpSpeed) | |
3647 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
3648 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,.2)*Euler(rad(30),0,0), JumpSpeed) | |
3649 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
3650 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(noscope),0,0), JumpSpeed) | |
3651 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
3652 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-18),rad(90),0), JumpSpeed) | |
3653 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
3654 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-30),rad(-90),0), JumpSpeed) | |
3655 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
3656 | end | |
3657 | CanDiveKick = true | |
3658 | end | |
3659 | end) | |
3660 | repeat | |
3661 | swait() | |
3662 | if CanDiveKick then | |
3663 | FallDamage = FallDamage+1 | |
3664 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,rad(15),rad(70)),t) | |
3665 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),t) | |
3666 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-.9)*Euler(rad(90),0,0),t) | |
3667 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,rad(-70)),t) | |
3668 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.3)*Euler(rad(-35),rad(60),0),t) | |
3669 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),t) | |
3670 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-5),rad(-80),0),t) | |
3671 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),t) | |
3672 | FRightHip.C0=clerp(FRightHip.C0,Cf(.8,-.5,-.7)*Euler(rad(-30),0,0),t) | |
3673 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,1,0)*Euler(0,0,rad(25)),t) | |
3674 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-.8,-1,-.15)*Euler(rad(-20),rad(60),0),t) | |
3675 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,1,0)*Euler(rad(-40),0,0),t) | |
3676 | Vel.Velocity = LVec.CFrame.lookVector*150 | |
3677 | MagicBlock(BrickColor.new(Colour1),"Neon",LeftLeg:GetRenderCFrame()*Cf(0,-5,-1), 3, 3, 3, 7, 7, 7, .1) | |
3678 | MagicBlock(BrickColor.new(Colour2),"Neon",LeftLeg:GetRenderCFrame()*Cf(0,-4,-1), 2, 2, 2, 6, 6, 6, .1) | |
3679 | ground, pos = rayCast(LVec.Position, LVec.CFrame.lookVector, 15, Character) | |
3680 | if ground then | |
3681 | if ground.Anchored == true then | |
3682 | TouchedGround = true | |
3683 | end | |
3684 | end | |
3685 | end | |
3686 | until TouchedGround | |
3687 | MagicWave(ground.BrickColor,ground.Material,Cf(pos), 0, 0, 0, 3, 1, 3, .1) | |
3688 | local WaveP = Inst("Part", F2) | |
3689 | WaveP.Transparency = 1 | |
3690 | WaveP.Anchored = true | |
3691 | WaveP.CanCollide = false | |
3692 | WaveP.Locked = true | |
3693 | WaveP.CFrame = Cf(pos) | |
3694 | MagniDamage(WaveP, 25, true, 4+FallDamage, 5+FallDamage, false, 0, "Stun", .06+(FallDamage/100), false, 0, false, _, _, _) | |
3695 | debServ:AddItem(WaveP, 3) | |
3696 | local boo = Sound(WaveP,"http://roblox.com/asset/?id=157878578", 1, 1, false) | |
3697 | debServ:AddItem(boo, .4) | |
3698 | debServ:AddItem(HBox, 0) | |
3699 | debServ:AddItem(LVec, 0) | |
3700 | hit:disconnect() | |
3701 | debServ:AddItem(Vel, 0) | |
3702 | for i = 0, 1.8, .1 do | |
3703 | swait() | |
3704 | Humanoid.WalkSpeed = 0 | |
3705 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(70)), .3) | |
3706 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .3) | |
3707 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(70),0,rad(60)), .3) | |
3708 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(60),0), .3) | |
3709 | Neck.C0=clerp(Neck.C0,Cf(0,1.35,-.5)*Euler(rad(-45),0,0), .3) | |
3710 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-30),0), .3) | |
3711 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-.4,0)*Euler(rad(-20),rad(-60),0), .3) | |
3712 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,0,0)*Euler(0,0,0), .3) | |
3713 | FRightHip.C0=clerp(FRightHip.C0,Cf(.5,-1.8,-.7)*Euler(0,rad(20),0), .3) | |
3714 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,0,0)*Euler(rad(-15),0,0), .3) | |
3715 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1,-1.4,-.6)*Euler(0,rad(60),0), .3) | |
3716 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,0,0)*Euler(rad(-15),0,0), .3) | |
3717 | end | |
3718 | Humanoid.WalkSpeed = CurrentSpeed | |
3719 | LeftHip.Part0 = Torso | |
3720 | LeftHip.Part1 = LeftLeg | |
3721 | RightHip.Part0 = Torso | |
3722 | RightHip.Part1 = RightLeg | |
3723 | FLeftHip.Part0 = nil | |
3724 | FLeftHip.Part1 = nil | |
3725 | LeftHip.C0 = FLeftHip.C0 | |
3726 | LeftHip.C1 = FLeftHip.C1 | |
3727 | FRightHip.Part0 = nil | |
3728 | FRightHip.Part1 = nil | |
3729 | RightHip.C0 = FRightHip.C0 | |
3730 | RightHip.C1 = FRightHip.C1--]] | |
3731 | end | |
3732 | elseif Debounces.HasWep and not Debounces.DuelWielding then | |
3733 | if Current_Anim == "Idle" or Current_Anim == "Walking" then | |
3734 | LeftHip.Part0 = nil | |
3735 | LeftHip.Part1 = nil | |
3736 | RightHip.Part0 = nil | |
3737 | RightHip.Part1 = nil | |
3738 | FLeftHip.Part0 = Torso | |
3739 | FLeftHip.Part1 = LeftLeg | |
3740 | FLeftHip.C0 = LeftHip.C0 | |
3741 | FLeftHip.C1 = LeftHip.C1 | |
3742 | FRightHip.Part0 = Torso | |
3743 | FRightHip.Part1 = RightLeg | |
3744 | FRightHip.C0 = RightHip.C0 | |
3745 | FRightHip.C1 = RightHip.C1 | |
3746 | local t = .6 | |
3747 | local VelPart = RootPart | |
3748 | local tim = 1 | |
3749 | local Speed = 150 | |
3750 | local HBSize = Vec(4, 8, 3) | |
3751 | local Vel = Inst("BodyVelocity", RootPart) | |
3752 | Vel.Name = DecName | |
3753 | Vel.MaxForce = Vec(huge, huge, huge) | |
3754 | Vel.Velocity = VelPart.CFrame.lookVector*0 | |
3755 | if Upward then | |
3756 | tim = 1.4 | |
3757 | Speed = 300 | |
3758 | local LVec = Inst("Part", F2) | |
3759 | LVec.Transparency = 1 | |
3760 | LVec.Anchored = false | |
3761 | LVec.CanCollide = false | |
3762 | LVec.Locked = true | |
3763 | LVec.Size = Vec(2,2,1) | |
3764 | LVec.FrontSurface = "Hinge" | |
3765 | local LVW = Inst("Weld", LVec) | |
3766 | LVW.Part0 = RootPart | |
3767 | LVW.Part1 = LVec | |
3768 | LVW.Name = DecName | |
3769 | LVW.C0 = Cf(0, 0, 0) * Euler(rad(50), 0, 0) | |
3770 | VelPart = LVec | |
3771 | Vel.Velocity = (RootPart.CFrame.lookVector*-15) + Vec(0, 25, 0) | |
3772 | local noscope = 0 | |
3773 | local j = Sound(RootPart,"http://roblox.com/asset/?id=158149887", .5, 1, false) | |
3774 | debServ:AddItem(j, 2) | |
3775 | for i = 0, 1.4, .1 do | |
3776 | swait() | |
3777 | if noscope ~= 360 then | |
3778 | noscope = noscope+30 | |
3779 | end | |
3780 | local JumpSpeed = .4 | |
3781 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
3782 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
3783 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), JumpSpeed) | |
3784 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), JumpSpeed) | |
3785 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-60),0,rad(10)), JumpSpeed) | |
3786 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
3787 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-60),0,rad(-10)), JumpSpeed) | |
3788 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
3789 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,.2)*Euler(rad(30),0,0), JumpSpeed) | |
3790 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
3791 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(noscope),0,0), JumpSpeed) | |
3792 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
3793 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-18),rad(90),0), JumpSpeed) | |
3794 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
3795 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-30),rad(-90),0), JumpSpeed) | |
3796 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
3797 | end | |
3798 | end | |
3799 | local HBox = MakeHitBox(HBSize, Hit_Box, true, Cf(), Cf()) | |
3800 | local T = 0 | |
3801 | local Penetrates = 0 | |
3802 | local hit = HBox.Touched:connect(function(part) | |
3803 | local hum = FindHum(part.Parent) | |
3804 | local p = part.Parent:FindFirstChild("Penetrated") | |
3805 | local tor = part.Parent:FindFirstChild("Torso") | |
3806 | if hum and hum ~= Humanoid and not p and tor then | |
3807 | if not Upward then | |
3808 | tim = tim+1.2 | |
3809 | else | |
3810 | tim = tim+1.6 | |
3811 | end | |
3812 | DamageFunction(part, false, 0, 30, false, 0, "Compensate", RootPart, .1, false, _, false, _, _, _) | |
3813 | local Penetrate = Inst("Part") | |
3814 | if hum.Health > (hum.MaxHealth/12) then | |
3815 | debServ:AddItem(Penetrate, 0) | |
3816 | Penetrate = Inst("Weld", HBox) | |
3817 | Penetrate.Part0 = HBox | |
3818 | Penetrate.Part1 = tor | |
3819 | Penetrate.C0 = Cf(0, 2.6-Penetrates, 0) * Euler(rad(90), 0, rad(-90)) | |
3820 | end | |
3821 | local P = Inst("BoolValue", part.Parent) | |
3822 | P.Name = "Penetrated" | |
3823 | debServ:AddItem(P, 4) | |
3824 | debServ:AddItem(Penetrate, 2) | |
3825 | if Penetrates ~= 6 then | |
3826 | Penetrates = Penetrates+1 | |
3827 | end | |
3828 | local rip = runServ.RenderStepped:connect(function() | |
3829 | hum.PlatformStand = true | |
3830 | DamageFunction(part, false, 0, 0+Penetrates, false, 0, "Compensate", RootPart, .02, false, _, false, _, _, _) | |
3831 | end) | |
3832 | repeat swait() until Penetrate.Parent == nil or T == tim or hum.Health <= (hum.MaxHealth/12) | |
3833 | hum.PlatformStand = false | |
3834 | if Penetrates ~= 6 then | |
3835 | Penetrates = Penetrates-1 | |
3836 | end | |
3837 | debServ:AddItem(P, 0) | |
3838 | debServ:AddItem(Penetrate, 0) | |
3839 | rip:disconnect() | |
3840 | end | |
3841 | end) | |
3842 | repeat | |
3843 | Vel.Velocity = VelPart.CFrame.lookVector*Speed | |
3844 | MagicBlock(BrickColor.new(Colour1),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 5, 5, 5, 7, 7, 7, .1) | |
3845 | MagicBlock(BrickColor.new(Colour2),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 4, 4, 4, 6, 6, 6, .1) | |
3846 | MagicBlock(BrickColor.new(Colour1),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 5, 5, 5, 7, 7, 7, .1) | |
3847 | MagicBlock(BrickColor.new(Colour2),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 4, 4, 4, 6, 6, 6, .1) | |
3848 | local SwingSpeed = .5 | |
3849 | HWeld.C0=clerp(HWeld.C0,Cf(-.7,-.15,0)*Euler(0,0,0), SwingSpeed) | |
3850 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3851 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(180),0,rad(-20)), SwingSpeed) | |
3852 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3853 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.3)*Euler(0,rad(-50),0), SwingSpeed) | |
3854 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-90),0,0), SwingSpeed) | |
3855 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(60),0,rad(80)), SwingSpeed) | |
3856 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(65),0), SwingSpeed) | |
3857 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
3858 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(20),rad(70),0), SwingSpeed) | |
3859 | if not Upward then | |
3860 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(.65,-1,0)*Euler(0,rad(70),0), SwingSpeed) | |
3861 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3862 | else | |
3863 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(.65,-1,0)*Euler(rad(50),0,0), SwingSpeed) | |
3864 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(-70),0), SwingSpeed) | |
3865 | end | |
3866 | FRightHip.C0=clerp(FRightHip.C0,Cf(.8,-1,0)*Euler(0,rad(-70),0), SwingSpeed) | |
3867 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,1,0)*Euler(rad(50),0,0), SwingSpeed) | |
3868 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-.5,-1,0)*Euler(0,rad(-60),0), SwingSpeed) | |
3869 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,1,0)*Euler(rad(50),0,0), SwingSpeed) | |
3870 | T = T+.1 | |
3871 | swait() | |
3872 | until T >= tim | |
3873 | debServ:AddItem(HBox, 0) | |
3874 | hit:disconnect() | |
3875 | debServ:AddItem(Vel, 0) | |
3876 | if Upward then | |
3877 | debServ:AddItem(VelPart, 0) | |
3878 | end | |
3879 | if not Upward then | |
3880 | for i = 0, 1.4, .1 do | |
3881 | swait() | |
3882 | Humanoid.WalkSpeed = 0 | |
3883 | local SwingSpeed = .5 | |
3884 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3885 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3886 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3887 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
3888 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(60)), SwingSpeed) | |
3889 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(30),0), SwingSpeed) | |
3890 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-60)), SwingSpeed) | |
3891 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-30),0), SwingSpeed) | |
3892 | Neck.C0=clerp(Neck.C0,Cf(0,1.52,.2)*Euler(rad(30),0,0), SwingSpeed) | |
3893 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3894 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.2,0)*Euler(rad(-40),0,0), SwingSpeed) | |
3895 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3896 | FRightHip.C0=clerp(FRightHip.C0,Cf(.5,-1,-.4)*Euler(rad(-12),0,0), SwingSpeed) | |
3897 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,1,0)*Euler(0,0,0), SwingSpeed) | |
3898 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-.5,-.6,-.5)*Euler(rad(40),0,0), SwingSpeed) | |
3899 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,1,0)*Euler(0,0,0), SwingSpeed) | |
3900 | end | |
3901 | end | |
3902 | Humanoid.WalkSpeed = CurrentSpeed | |
3903 | LeftHip.Part0 = Torso | |
3904 | LeftHip.Part1 = LeftLeg | |
3905 | RightHip.Part0 = Torso | |
3906 | RightHip.Part1 = RightLeg | |
3907 | FLeftHip.Part0 = nil | |
3908 | FLeftHip.Part1 = nil | |
3909 | LeftHip.C0 = FLeftHip.C0 | |
3910 | LeftHip.C1 = FLeftHip.C1 | |
3911 | FRightHip.Part0 = nil | |
3912 | FRightHip.Part1 = nil | |
3913 | RightHip.C0 = FRightHip.C0 | |
3914 | RightHip.C1 = FRightHip.C1--]] | |
3915 | elseif Current_Anim == "Falling" or Current_Anim == "Jumping" then | |
3916 | LeftHip.Part0 = nil | |
3917 | LeftHip.Part1 = nil | |
3918 | RightHip.Part0 = nil | |
3919 | RightHip.Part1 = nil | |
3920 | FLeftHip.Part0 = Torso | |
3921 | FLeftHip.Part1 = LeftLeg | |
3922 | FLeftHip.C0 = LeftHip.C0 | |
3923 | FLeftHip.C1 = LeftHip.C1 | |
3924 | FRightHip.Part0 = Torso | |
3925 | FRightHip.Part1 = RightLeg | |
3926 | FRightHip.C0 = RightHip.C0 | |
3927 | FRightHip.C1 = RightHip.C1 | |
3928 | local Speed = 150 | |
3929 | local HBSize = Vec(4, 8, 3) | |
3930 | local Vel = Inst("BodyVelocity", RootPart) | |
3931 | Vel.Name = DecName | |
3932 | Vel.MaxForce = Vec(huge, huge, huge) | |
3933 | Vel.Velocity = RootPart.CFrame.lookVector*0 | |
3934 | local LVec = Inst("Part", F2) | |
3935 | LVec.Transparency = 1 | |
3936 | LVec.Anchored = false | |
3937 | LVec.CanCollide = false | |
3938 | LVec.Locked = true | |
3939 | LVec.Size = Vec(2,2,1) | |
3940 | LVec.FrontSurface = "Hinge" | |
3941 | local LVW = Inst("Weld", LVec) | |
3942 | LVW.Part0 = RootPart | |
3943 | LVW.Part1 = LVec | |
3944 | LVW.Name = DecName | |
3945 | LVW.C0 = Cf(0, 0, 0) * Euler(rad(-60), 0, 0) | |
3946 | local HBox = MakeHitBox(HBSize, Hit_Box, true, Cf(), Cf()) | |
3947 | local FallDamage = 0 | |
3948 | local Penetrates = 0 | |
3949 | local ground, pos = rayCast(LVec.Position, LVec.CFrame.lookVector, 30, Character) | |
3950 | local TouchedGround = false | |
3951 | local hit = HBox.Touched:connect(function(part) | |
3952 | local hum = FindHum(part.Parent) | |
3953 | local p = part.Parent:FindFirstChild("Penetrated") | |
3954 | local tor = part.Parent:FindFirstChild("Torso") | |
3955 | if hum and hum ~= Humanoid and not p and tor then | |
3956 | DamageFunction(part, false, 0, 25, false, 0, "Compensate", RootPart, .1, false, _, false, _, _, _) | |
3957 | local Penetrate = Inst("Part") | |
3958 | if hum.Health > (hum.MaxHealth/12) then | |
3959 | debServ:AddItem(Penetrate, 0) | |
3960 | Penetrate = Inst("Weld", HBox) | |
3961 | Penetrate.Part0 = HBox | |
3962 | Penetrate.Part1 = tor | |
3963 | Penetrate.C0 = Cf(0, 2.6-Penetrates, 0) * Euler(rad(90), 0, rad(-90)) | |
3964 | end | |
3965 | local P = Inst("BoolValue", part.Parent) | |
3966 | P.Name = "Penetrated" | |
3967 | debServ:AddItem(P, 4) | |
3968 | debServ:AddItem(Penetrate, 2) | |
3969 | if Penetrates ~= 6 then | |
3970 | Penetrates = Penetrates+1 | |
3971 | end | |
3972 | local rip = runServ.RenderStepped:connect(function() | |
3973 | hum.PlatformStand = true | |
3974 | DamageFunction(part, false, 0, (0+(Penetrates*2))+FallDamage, false, 0, "Compensate", RootPart, .01, false, _, false, _, _, _) | |
3975 | end) | |
3976 | repeat swait() until Penetrate.Parent == nil or hum.Health <= (hum.MaxHealth/12) or TouchedGround | |
3977 | hum.PlatformStand = false | |
3978 | if Penetrates ~= 6 then | |
3979 | Penetrates = Penetrates-1 | |
3980 | end | |
3981 | debServ:AddItem(P, 0) | |
3982 | debServ:AddItem(Penetrate, 0) | |
3983 | rip:disconnect() | |
3984 | end | |
3985 | end) | |
3986 | repeat | |
3987 | Vel.Velocity = LVec.CFrame.lookVector*Speed | |
3988 | FallDamage = FallDamage+1 | |
3989 | MagicBlock(BrickColor.new(Colour1),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 5, 5, 5, 7, 7, 7, .1) | |
3990 | MagicBlock(BrickColor.new(Colour2),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 4, 4, 4, 6, 6, 6, .1) | |
3991 | MagicBlock(BrickColor.new(Colour1),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 5, 5, 5, 7, 7, 7, .1) | |
3992 | MagicBlock(BrickColor.new(Colour2),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 4, 4, 4, 6, 6, 6, .1) | |
3993 | local SwingSpeed = .5 | |
3994 | HWeld.C0=clerp(HWeld.C0,Cf(-.7,-.15,0)*Euler(0,0,0), SwingSpeed) | |
3995 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3996 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(180),0,rad(-20)), SwingSpeed) | |
3997 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3998 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.3)*Euler(0,rad(-50),0), SwingSpeed) | |
3999 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-90),0,0), SwingSpeed) | |
4000 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(60),0,rad(80)), SwingSpeed) | |
4001 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(65),0), SwingSpeed) | |
4002 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
4003 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(20),rad(70),0), SwingSpeed) | |
4004 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(.65,-1,0)*Euler(rad(-60),0,0), SwingSpeed) | |
4005 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(-70),0), SwingSpeed) | |
4006 | FRightHip.C0=clerp(FRightHip.C0,Cf(.8,-1,0)*Euler(0,rad(-70),0), SwingSpeed) | |
4007 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,1,0)*Euler(rad(50),0,0), SwingSpeed) | |
4008 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-.5,-1,0)*Euler(0,rad(-60),0), SwingSpeed) | |
4009 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,1,0)*Euler(rad(50),0,0), SwingSpeed) | |
4010 | ground, pos = rayCast(LVec.Position, LVec.CFrame.lookVector, 30, Character) | |
4011 | if ground then | |
4012 | if ground.Anchored == true then | |
4013 | TouchedGround = true | |
4014 | end | |
4015 | end | |
4016 | swait() | |
4017 | until TouchedGround | |
4018 | MagicWave(ground.BrickColor,ground.Material,Cf(pos), 0, 0, 0, 8, 1, 8, .1) | |
4019 | local WaveP = Inst("Part", F2) | |
4020 | WaveP.Transparency = 1 | |
4021 | WaveP.Anchored = true | |
4022 | WaveP.CanCollide = false | |
4023 | WaveP.Locked = true | |
4024 | WaveP.CFrame = Cf(pos) | |
4025 | MagniDamage(WaveP, 40, true, 2+FallDamage, 6+FallDamage, false, 0, "Compensate-Stun", .1+(FallDamage/100), false, 0, false, _, _, _) | |
4026 | debServ:AddItem(WaveP, 3) | |
4027 | local boo = Sound(WaveP,"http://roblox.com/asset/?id=157878578", 1, 1, false) | |
4028 | debServ:AddItem(boo, .4) | |
4029 | debServ:AddItem(HBox, 0) | |
4030 | debServ:AddItem(LVec, 0) | |
4031 | hit:disconnect() | |
4032 | debServ:AddItem(Vel, 0) | |
4033 | if not Upward then | |
4034 | for i = 0, 1.8, .1 do | |
4035 | swait() | |
4036 | Humanoid.WalkSpeed = 0 | |
4037 | local SwingSpeed = .5 | |
4038 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4039 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4040 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
4041 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
4042 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(60)), SwingSpeed) | |
4043 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(30),0), SwingSpeed) | |
4044 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-60)), SwingSpeed) | |
4045 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-30),0), SwingSpeed) | |
4046 | Neck.C0=clerp(Neck.C0,Cf(0,1.52,.2)*Euler(rad(30),0,0), SwingSpeed) | |
4047 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4048 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.2,0)*Euler(rad(-40),0,0), SwingSpeed) | |
4049 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4050 | FRightHip.C0=clerp(FRightHip.C0,Cf(.5,-1,-.4)*Euler(rad(-12),0,0), SwingSpeed) | |
4051 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,1,0)*Euler(0,0,0), SwingSpeed) | |
4052 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-.5,-.6,-.5)*Euler(rad(40),0,0), SwingSpeed) | |
4053 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,1,0)*Euler(0,0,0), SwingSpeed) | |
4054 | end | |
4055 | end | |
4056 | Humanoid.WalkSpeed = CurrentSpeed | |
4057 | LeftHip.Part0 = Torso | |
4058 | LeftHip.Part1 = LeftLeg | |
4059 | RightHip.Part0 = Torso | |
4060 | RightHip.Part1 = RightLeg | |
4061 | FLeftHip.Part0 = nil | |
4062 | FLeftHip.Part1 = nil | |
4063 | LeftHip.C0 = FLeftHip.C0 | |
4064 | LeftHip.C1 = FLeftHip.C1 | |
4065 | FRightHip.Part0 = nil | |
4066 | FRightHip.Part1 = nil | |
4067 | RightHip.C0 = FRightHip.C0 | |
4068 | RightHip.C1 = FRightHip.C1 | |
4069 | end | |
4070 | end | |
4071 | Debounces.Attacking = false | |
4072 | end | |
4073 | ||
4074 | function Equip_Denial() | |
4075 | Debounces.Equipping = true | |
4076 | Attack_Num = 1 | |
4077 | for i = 0, .5, .1 do | |
4078 | swait() | |
4079 | local equips = .5 | |
4080 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(25),0,0), equips) | |
4081 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), equips) | |
4082 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.35,0)*Euler(rad(-25),0,0), equips) | |
4083 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), equips) | |
4084 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,0), equips) | |
4085 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), equips) | |
4086 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.2)*Euler(-rad(10),0,0), equips) | |
4087 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(20),0), equips) | |
4088 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,0,0), equips) | |
4089 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), equips) | |
4090 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), equips) | |
4091 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), equips) | |
4092 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), equips) | |
4093 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), equips) | |
4094 | end | |
4095 | WepWeld.Part0 = Holder | |
4096 | WepWeld.Part1 = Handle | |
4097 | WepWeld.C0 = Cf() * Euler(rad(90),0,rad(90)) | |
4098 | WepWeld.C1 = Cf() * Euler(0,rad(180),0) | |
4099 | CurrentSpeed = 12 | |
4100 | Humanoid.WalkSpeed = CurrentSpeed | |
4101 | Debounces.HasWep = true | |
4102 | Debounces.Equipping = false | |
4103 | end | |
4104 | ||
4105 | function Unequip_Denial() | |
4106 | Debounces.Equipping = true | |
4107 | Attack_Num = 1 | |
4108 | LeftShoulder.Part0 = nil | |
4109 | LeftShoulder.Part1 = nil | |
4110 | FLeftShoulder.Part0 = Torso | |
4111 | FLeftShoulder.Part1 = LeftArm | |
4112 | FLeftShoulder.C0 = LeftShoulder.C0 | |
4113 | FLeftShoulder.C1 = LeftShoulder.C1 | |
4114 | for i = 0, .5, .1 do | |
4115 | swait() | |
4116 | local equips = .5 | |
4117 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(25),0,0), equips) | |
4118 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), equips) | |
4119 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,rad(90)), equips) | |
4120 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), equips) | |
4121 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.35,0)*Euler(rad(-25),0,0), equips) | |
4122 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), equips) | |
4123 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,0), equips) | |
4124 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), equips) | |
4125 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.2)*Euler(-rad(10),0,0), equips) | |
4126 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(20),0), equips) | |
4127 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,0,0), equips) | |
4128 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), equips) | |
4129 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), equips) | |
4130 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), equips) | |
4131 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), equips) | |
4132 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), equips) | |
4133 | end | |
4134 | WepWeld.Part0 = Torso | |
4135 | WepWeld.Part1 = Handle | |
4136 | WepWeld.C0 = Cf(1.5,-1,.6) * Euler(rad(-90),0,rad(90)) | |
4137 | WepWeld.C1 = Cf() * Euler(0,0,0) | |
4138 | CurrentSpeed = 20 | |
4139 | Humanoid.WalkSpeed = CurrentSpeed | |
4140 | Debounces.HasWep = false | |
4141 | Debounces.Equipping = false | |
4142 | end | |
4143 | ||
4144 | function EquipTES() | |
4145 | if not Debounces.TESWield then | |
4146 | Debounces.Equipping = true | |
4147 | for i = 0, .5, .1 do | |
4148 | swait() | |
4149 | local SwingSpeed = .5 | |
4150 | --SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
4151 | --SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4152 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(3)), SwingSpeed) | |
4153 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4154 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(12)), SwingSpeed) | |
4155 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4156 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
4157 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4158 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, 0,0), SwingSpeed) | |
4159 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4160 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4161 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4162 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4163 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4164 | end | |
4165 | SheWeld.Parent = nil | |
4166 | SheWeld.Part0 = Holder2 | |
4167 | SheWeld.Part1 = TESHandle | |
4168 | SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position) | |
4169 | SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position) | |
4170 | SheWeld.Parent = TESHandle | |
4171 | Debounces.Equipping = false | |
4172 | Debounces.TESWield = true | |
4173 | CurrentSpeed = 16 | |
4174 | Humanoid.WalkSpeed = CurrentSpeed | |
4175 | else | |
4176 | Debounces.Equipping = true | |
4177 | for i = 0, .5, .1 do | |
4178 | swait() | |
4179 | local SwingSpeed = .5 | |
4180 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
4181 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4182 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
4183 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
4184 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(3)), SwingSpeed) | |
4185 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4186 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(12)), SwingSpeed) | |
4187 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4188 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
4189 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4190 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, 0,0), SwingSpeed) | |
4191 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4192 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4193 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4194 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4195 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4196 | end | |
4197 | CurrentSpeed = 6 | |
4198 | Humanoid.WalkSpeed = CurrentSpeed | |
4199 | SheWeld.Part0 = Torso | |
4200 | SheWeld.Part1 = TESHandle | |
4201 | SheWeld.C0 = Cf(-1.1, -1.1, -.2) * Euler(rad(100), 0, 0) | |
4202 | Debounces.Equipping = false | |
4203 | Debounces.TESWield = false | |
4204 | end | |
4205 | end | |
4206 | ||
4207 | function EquipTE() | |
4208 | if not Debounces.TEWield then | |
4209 | Debounces.Equipping = true | |
4210 | Humanoid.WalkSpeed = 0 | |
4211 | Debounces.DisableJump = true | |
4212 | LeftHip.Part0 = nil | |
4213 | LeftHip.Part1 = nil | |
4214 | RightHip.Part0 = nil | |
4215 | RightHip.Part1 = nil | |
4216 | FLeftHip.Part0 = Torso | |
4217 | FLeftHip.Part1 = LeftLeg | |
4218 | FLeftHip.C0 = LeftHip.C0 | |
4219 | FLeftHip.C1 = LeftHip.C1 | |
4220 | FRightHip.Part0 = Torso | |
4221 | FRightHip.Part1 = RightLeg | |
4222 | FRightHip.C0 = RightHip.C0 | |
4223 | FRightHip.C1 = RightHip.C1 | |
4224 | for i = 0, .7, .1 do | |
4225 | swait() | |
4226 | local SwingSpeed = .3 | |
4227 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(3)), SwingSpeed) | |
4228 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4229 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(12)), SwingSpeed) | |
4230 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4231 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
4232 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4233 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, 0,0), SwingSpeed) | |
4234 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4235 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4236 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4237 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4238 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4239 | end | |
4240 | SheWeld.Parent = nil | |
4241 | SheWeld.Part0 = Holder2 | |
4242 | SheWeld.Part1 = TESHandle | |
4243 | SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position) | |
4244 | SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position) | |
4245 | SheWeld.Parent = TESHandle | |
4246 | for i = 0, .7, .1 do | |
4247 | swait() | |
4248 | local SwingSpeed = .3 | |
4249 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
4250 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4251 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
4252 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
4253 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.1,0.325,-1.27)*Euler(rad(60),0,rad(-25)), SwingSpeed) | |
4254 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4255 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.6,0.5,-.4)*Euler(rad(8),rad(-50),0), SwingSpeed) | |
4256 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4257 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-8),rad(-15),0), SwingSpeed) | |
4258 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4259 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(15),0), SwingSpeed) | |
4260 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4261 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
4262 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(9),0), SwingSpeed) | |
4263 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(6),0), SwingSpeed) | |
4264 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4265 | end | |
4266 | WepWeld3.Parent = nil | |
4267 | WepWeld3.Part0 = Holder | |
4268 | WepWeld3.Part1 = TEHandle | |
4269 | WepWeld3.C0 = Holder.CFrame:inverse() * Cf(Holder.Position) | |
4270 | WepWeld3.C1 = TEHandle.CFrame:inverse() * Cf(Holder.Position) | |
4271 | WepWeld3.Parent = TEHandle | |
4272 | FITEB(11) | |
4273 | for i = 0, .5, .1 do | |
4274 | swait() | |
4275 | local SwingSpeed = .08 | |
4276 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(-90),0,0), SwingSpeed) | |
4277 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4278 | HWeld.C0=clerp(HWeld.C0,Cf(.4,-.92,0)*Euler(0,0,rad(-20)), SwingSpeed) | |
4279 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4280 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
4281 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4282 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.3,0.5,-.4)*Euler(rad(90), 0, rad(20)), SwingSpeed) | |
4283 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
4284 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.6,0.6,0)*Euler(0,0,rad(-15)), SwingSpeed) | |
4285 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4286 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(-20), 0), SwingSpeed) | |
4287 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4288 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(20), 0), SwingSpeed) | |
4289 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
4290 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
4291 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(9),0), SwingSpeed) | |
4292 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(6),0), SwingSpeed) | |
4293 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4294 | end | |
4295 | local rotatebecauseitscool = 0 | |
4296 | local swing = Sound(TEHandle,"http://roblox.com/asset/?id=161006212", 1, 2.5, true) | |
4297 | for i = 0, .5, .1 do | |
4298 | swait() | |
4299 | if rotatebecauseitscool < (90*22) then | |
4300 | rotatebecauseitscool = rotatebecauseitscool+60 | |
4301 | end | |
4302 | local SwingSpeed = .05 | |
4303 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(rotatebecauseitscool),0,0), .7) | |
4304 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), .7) | |
4305 | HWeld.C0=clerp(HWeld.C0,Cf(.4,-.92,0)*Euler(0,0,rad(-20)), .7) | |
4306 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), .7) | |
4307 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.3,0.5,-.4)*Euler(rad(90), 0, rad(20)), SwingSpeed) | |
4308 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
4309 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(12)), .4) | |
4310 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .4) | |
4311 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(-20), 0), SwingSpeed) | |
4312 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4313 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(20), 0), SwingSpeed) | |
4314 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
4315 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
4316 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(9),0), SwingSpeed) | |
4317 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(6),0), SwingSpeed) | |
4318 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4319 | end | |
4320 | SheWeld.Part0 = Torso | |
4321 | SheWeld.Part1 = TESHandle | |
4322 | SheWeld.C0 = Cf(-1.1, -1.1, -.2) * Euler(rad(100), 0, 0) | |
4323 | for i = 0, 2, .1 do | |
4324 | swait() | |
4325 | if rotatebecauseitscool < (90*22) then | |
4326 | rotatebecauseitscool = rotatebecauseitscool+60 | |
4327 | end | |
4328 | local SwingSpeed = .05 | |
4329 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(rotatebecauseitscool),0,0), .7) | |
4330 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), .7) | |
4331 | HWeld.C0=clerp(HWeld.C0,Cf(.4,-.92,0)*Euler(0,0,rad(-20)), .7) | |
4332 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), .7) | |
4333 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.3,0.5,-.4)*Euler(rad(90), 0, rad(20)), SwingSpeed) | |
4334 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
4335 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-15)), .4) | |
4336 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .4) | |
4337 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(-20), 0), SwingSpeed) | |
4338 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4339 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(20), 0), SwingSpeed) | |
4340 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
4341 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
4342 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(9),0), SwingSpeed) | |
4343 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(6),0), SwingSpeed) | |
4344 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4345 | end | |
4346 | swing:Stop() | |
4347 | debServ:AddItem(swing, 1) | |
4348 | local leash = Sound(TEHandle,"rbxasset://sounds\\unsheath.wav", 1, .7, false) | |
4349 | debServ:AddItem(leash, 1) | |
4350 | for i = 0, 2, .1 do | |
4351 | swait() | |
4352 | local SwingSpeed = .08 | |
4353 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(-100),0,0), .5) | |
4354 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4355 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4356 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4357 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.6,0.4,-.4)*Euler(rad(30), 0, rad(20)), SwingSpeed) | |
4358 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(20), 0), SwingSpeed) | |
4359 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-15)), .4) | |
4360 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-15),0), .4) | |
4361 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-11), rad(-40), 0), SwingSpeed) | |
4362 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4363 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(40), 0), SwingSpeed) | |
4364 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
4365 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
4366 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(13),0), SwingSpeed) | |
4367 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(3),0), SwingSpeed) | |
4368 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4369 | end | |
4370 | chatServ:Chat(Head, "It's time to end this fairy tale.", 2) | |
4371 | for i = 0, 7.5, .1 do | |
4372 | swait() | |
4373 | local SwingSpeed = .08 | |
4374 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(-100),0,0), .5) | |
4375 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4376 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4377 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4378 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.6,0.4,-.4)*Euler(rad(30), 0, rad(20)), SwingSpeed) | |
4379 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(20), 0), SwingSpeed) | |
4380 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-15)), .4) | |
4381 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-15),0), .4) | |
4382 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-11), rad(-40), 0), SwingSpeed) | |
4383 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4384 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(40), 0), SwingSpeed) | |
4385 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
4386 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
4387 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(13),0), SwingSpeed) | |
4388 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(3),0), SwingSpeed) | |
4389 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4390 | end | |
4391 | LeftHip.Part0 = Torso | |
4392 | LeftHip.Part1 = LeftLeg | |
4393 | RightHip.Part0 = Torso | |
4394 | RightHip.Part1 = RightLeg | |
4395 | FLeftHip.Part0 = nil | |
4396 | FLeftHip.Part1 = nil | |
4397 | LeftHip.C0 = FLeftHip.C0 | |
4398 | LeftHip.C1 = FLeftHip.C1 | |
4399 | FRightHip.Part0 = nil | |
4400 | FRightHip.Part1 = nil | |
4401 | RightHip.C0 = FRightHip.C0 | |
4402 | RightHip.C1 = FRightHip.C1 | |
4403 | Debounces.Equipping = false | |
4404 | Debounces.DisableJump = false | |
4405 | Debounces.TEWield = true | |
4406 | Attack_Num = 1 | |
4407 | CurrentSpeed = 14 | |
4408 | Humanoid.WalkSpeed = CurrentSpeed | |
4409 | else | |
4410 | Debounces.Equipping = true | |
4411 | Debounces.DisableJump = true | |
4412 | Humanoid.WalkSpeed = 0 | |
4413 | LeftHip.Part0 = nil | |
4414 | LeftHip.Part1 = nil | |
4415 | RightHip.Part0 = nil | |
4416 | RightHip.Part1 = nil | |
4417 | FLeftHip.Part0 = Torso | |
4418 | FLeftHip.Part1 = LeftLeg | |
4419 | FLeftHip.C0 = LeftHip.C0 | |
4420 | FLeftHip.C1 = LeftHip.C1 | |
4421 | FRightHip.Part0 = Torso | |
4422 | FRightHip.Part1 = RightLeg | |
4423 | FRightHip.C0 = RightHip.C0 | |
4424 | FRightHip.C1 = RightHip.C1 | |
4425 | for i = 0, .5, .1 do | |
4426 | swait() | |
4427 | local SwingSpeed = .5 | |
4428 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(3)), SwingSpeed) | |
4429 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4430 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(12)), SwingSpeed) | |
4431 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4432 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
4433 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4434 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, 0,0), SwingSpeed) | |
4435 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4436 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4437 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4438 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4439 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4440 | end | |
4441 | SheWeld.Parent = nil | |
4442 | SheWeld.Part0 = Holder2 | |
4443 | SheWeld.Part1 = TESHandle | |
4444 | SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position) | |
4445 | SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position) | |
4446 | SheWeld.Parent = TESHandle | |
4447 | HTEB() | |
4448 | for i = 0, .5, .1 do | |
4449 | swait() | |
4450 | local SwingSpeed = .5 | |
4451 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
4452 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4453 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.1,0.325,-1.27)*Euler(rad(60),0,rad(-25)), SwingSpeed) | |
4454 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4455 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.6,0.5,-.4)*Euler(rad(8),rad(-50),0), SwingSpeed) | |
4456 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4457 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-8),rad(-15),0), SwingSpeed) | |
4458 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4459 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(15),0), SwingSpeed) | |
4460 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4461 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
4462 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(9),0), SwingSpeed) | |
4463 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(6),0), SwingSpeed) | |
4464 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4465 | end | |
4466 | local Sheath = Sound(TESHandle, "rbxasset://sounds\\unsheath.wav", 1, 1, false) | |
4467 | for i = 0, .5, .1 do | |
4468 | swait() | |
4469 | local SwingSpeed = .5 | |
4470 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(3)), SwingSpeed) | |
4471 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4472 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(12)), SwingSpeed) | |
4473 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4474 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
4475 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4476 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, 0,0), SwingSpeed) | |
4477 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4478 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4479 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4480 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4481 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4482 | end | |
4483 | Attack_Num = 1 | |
4484 | SheWeld.Part0 = Torso | |
4485 | SheWeld.Part1 = TESHandle | |
4486 | SheWeld.C0 = Cf(-1.1, -1.1, -.2) * Euler(rad(100), 0, 0) | |
4487 | LeftHip.Part0 = Torso | |
4488 | LeftHip.Part1 = LeftLeg | |
4489 | RightHip.Part0 = Torso | |
4490 | RightHip.Part1 = RightLeg | |
4491 | FLeftHip.Part0 = nil | |
4492 | FLeftHip.Part1 = nil | |
4493 | LeftHip.C0 = FLeftHip.C0 | |
4494 | LeftHip.C1 = FLeftHip.C1 | |
4495 | FRightHip.Part0 = nil | |
4496 | FRightHip.Part1 = nil | |
4497 | RightHip.C0 = FRightHip.C0 | |
4498 | RightHip.C1 = FRightHip.C1 | |
4499 | WepWeld3.Part0 = TESHandle | |
4500 | WepWeld3.Part1 = TEHandle | |
4501 | WepWeld3.C0 = Cf(0, 0, 0) | |
4502 | WepWeld3.C1 = Cf(0, 3, 0) * Euler(0, rad(180), 0) | |
4503 | Debounces.Equipping = false | |
4504 | Debounces.DisableJump = false | |
4505 | Debounces.TEWield = false | |
4506 | CurrentSpeed = 6 | |
4507 | Humanoid.WalkSpeed = CurrentSpeed | |
4508 | end | |
4509 | end | |
4510 | ||
4511 | function Awaken() | |
4512 | Debounces.Successful_KeyStroke = true | |
4513 | Debounces.Attacking = true | |
4514 | Debounces.DisableJump = true | |
4515 | GodMode = true | |
4516 | Humanoid.WalkSpeed = 0 | |
4517 | WepWeld.Part0 = RootPart | |
4518 | WepWeld.Part1 = Handle | |
4519 | WepWeld.C0 = RootPart.CFrame:inverse() * Cf(RootPart.Position) | |
4520 | WepWeld.C1 = Handle.CFrame:inverse() * Cf(RootPart.Position) | |
4521 | local BP = Inst("BodyPosition", RootPart) | |
4522 | local StopEffects = false | |
4523 | if not runServ:IsStudio() then | |
4524 | local RingP = Inst("Part", F2) | |
4525 | RingP.Anchored = true | |
4526 | RingP.CanCollide = false | |
4527 | RingP.Transparency = 1 | |
4528 | RingP.CFrame = RootPart.CFrame * CFrame.new(0, -3, 0) | |
4529 | BP.Parent = RootPart | |
4530 | BP.Name = DecName | |
4531 | BP.Position = RootPart.Position | |
4532 | local OGPos = RootPart.Position | |
4533 | BP.MaxForce = Vec(huge, huge, huge) | |
4534 | local StopRings = false | |
4535 | coroutine.resume(coroutine.create(function() | |
4536 | repeat | |
4537 | wait(.3) | |
4538 | local boo = Sound(RingP,"http://roblox.com/asset/?id=228343249", .1, .5, false) | |
4539 | debServ:AddItem(boo, .3) | |
4540 | MagniDamage(RingP, 38, true, 4, 8, true, 200, "Compensate-Knockdown", .01, false, 0, false, _, _, _) | |
4541 | MagniDamage(RootPart, 38, true, 4, 8, true, 200, "Compensate-Knockdown", .01, false, 0, false, _, _, _) | |
4542 | MagicRing(BrickColor.new(Colour1),"Neon",RingP:GetRenderCFrame()*Cf(0,0,0)*Euler(rad(90),0,0), 0, 0, 1, 3, 3, 1.2, .05) | |
4543 | until StopRings | |
4544 | end)) | |
4545 | chatServ:Chat(Head, "Seal 6, disable.", 2) | |
4546 | for i = 0, 5, .1 do | |
4547 | swait() | |
4548 | local SwingSpeed = .5 | |
4549 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4550 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4551 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,13,-1.7)*Euler(rad(180),0,0), SwingSpeed) | |
4552 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
4553 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(140),0,rad(20)), SwingSpeed) | |
4554 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4555 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(140),0,rad(-20)), SwingSpeed) | |
4556 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4557 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(10),0,0), SwingSpeed) | |
4558 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4559 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(15),0,0), SwingSpeed) | |
4560 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4561 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(rad(-15),rad(90),0), SwingSpeed) | |
4562 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4563 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-15),rad(-90),0), SwingSpeed) | |
4564 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4565 | end | |
4566 | chatServ:Chat(Head, "This world and I are irreconcilable.", 2) | |
4567 | wait(2) | |
4568 | for i = 0, 16, .2 do | |
4569 | swait() | |
4570 | BP.Position = Vec(OGPos.x, OGPos.y+i, OGPos.z) | |
4571 | local SwingSpeed = .5 | |
4572 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4573 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4574 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,13,-1.7)*Euler(rad(180),0,0), SwingSpeed) | |
4575 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
4576 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(140),0,rad(20)), SwingSpeed) | |
4577 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4578 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(140),0,rad(-20)), SwingSpeed) | |
4579 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4580 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(15),0,0), SwingSpeed) | |
4581 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4582 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(20),0,0), SwingSpeed) | |
4583 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4584 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(rad(-30),rad(90),0), SwingSpeed) | |
4585 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4586 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-30),rad(-90),0), SwingSpeed) | |
4587 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4588 | end | |
4589 | chatServ:Chat(Head, "I deny this world its existence,", 2) | |
4590 | wait(2) | |
4591 | debServ:AddItem(RingP, 0) | |
4592 | local s = Sound(Hit_Box,"http://roblox.com/asset/?id=178452217", .6, .5, false) | |
4593 | debServ:AddItem(s, 5) | |
4594 | for i = 0, 5, .1 do | |
4595 | local SwingSpeed = .5 | |
4596 | for _, p in pairs(Denial:GetChildren()) do | |
4597 | if p.Transparency ~= 1 then | |
4598 | p.Transparency = i/4.5 | |
4599 | end | |
4600 | end | |
4601 | MagicBlock(BC(Colour1), "Neon", Hit_Box:GetRenderCFrame()*Cf(rand(-1, 1), rand(-5, 5), rand(-1, 1)),.1, .1, .1, 1.2, 1.2, 1.2, .05) | |
4602 | MagicBlock(BC(Colour2), "Neon", Hit_Box:GetRenderCFrame()*Cf(rand(-1, 1), rand(-5, 5), rand(-1, 1)),.1, .1, .1, 1.2, 1.2, 1.2, .05) | |
4603 | MagicBlock(BC(Colour1), "Neon", Hit_Box:GetRenderCFrame()*Cf(rand(-1, 1), rand(-5, 5), rand(-1, 1)),.1, .1, .1, 1.2, 1.2, 1.2, .05) | |
4604 | MagicBlock(BC(Colour2), "Neon", Hit_Box:GetRenderCFrame()*Cf(rand(-1, 1), rand(-5, 5), rand(-1, 1)),.1, .1, .1, 1.2, 1.2, 1.2, .05) | |
4605 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4606 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4607 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,13,-1.7)*Euler(rad(180),0,0), SwingSpeed) | |
4608 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
4609 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(140),0,rad(60)), SwingSpeed) | |
4610 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4611 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(140),0,rad(-60)), SwingSpeed) | |
4612 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4613 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(10),0,0), SwingSpeed) | |
4614 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4615 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(15),0,0), SwingSpeed) | |
4616 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4617 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(rad(-15),rad(90),0), SwingSpeed) | |
4618 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4619 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-15),rad(-90),0), SwingSpeed) | |
4620 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4621 | swait() | |
4622 | end | |
4623 | chatServ:Chat(Head, "and I shall erase it!", 2) | |
4624 | FRightHip.Part0 = Torso | |
4625 | FRightHip.Part1 = RightLeg | |
4626 | RightHip.Part0 = nil | |
4627 | RightHip.Part1 = nil | |
4628 | FRightHip.C0 = RightHip.C0 | |
4629 | FRightHip.C1 = RightHip.C1 | |
4630 | FLeftHip.Part0 = Torso | |
4631 | FLeftHip.Part1 = LeftLeg | |
4632 | LeftHip.Part0 = nil | |
4633 | LeftHip.Part1 = nil | |
4634 | FLeftHip.C0 = LeftHip.C0 | |
4635 | FLeftHip.C1 = LeftHip.C1 | |
4636 | StopRings = true | |
4637 | for i = 0, .6, .1 do | |
4638 | local SwingSpeed = .3 | |
4639 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4640 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4641 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,13,-1.7)*Euler(rad(180),0,0), SwingSpeed) | |
4642 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
4643 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.8,0.5,-.6)*Euler(rad(70),0,rad(-60)), SwingSpeed) | |
4644 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4645 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.8,0.5,-.6)*Euler(rad(66),0,rad(60)), SwingSpeed) | |
4646 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4647 | Neck.C0=clerp(Neck.C0,Cf(0,1.2,-.4)*Euler(rad(-60),0,0), SwingSpeed) | |
4648 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4649 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-30),0,0), SwingSpeed) | |
4650 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4651 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.15,-1.2)*Euler(rad(-25),0,0), SwingSpeed) | |
4652 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
4653 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.15,-1.2)*Euler(rad(-25),0,0), SwingSpeed) | |
4654 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4655 | swait() | |
4656 | end | |
4657 | coroutine.resume(coroutine.create(function() | |
4658 | coroutine.resume(coroutine.create(function() | |
4659 | repeat | |
4660 | wait() | |
4661 | MagniDamage(RootPart, 18, true, 60, 90, true, 666, "Compensate-Knockdown", .5, false, 0, false, _, _, _) | |
4662 | MagniDamage(RootPart, 52, false, 0, 2, true, -20, "Compensate", .1, false, 0, false, _, _, _) | |
4663 | local rnum = 40 | |
4664 | local Rand1, Rand2, Rand3, Rand4 = {rand(-rnum, rnum), rand(-rnum, rnum), rand(-rnum, rnum)}, {rand(-rnum, rnum), rand(-rnum, rnum), rand(-rnum, rnum)}, {rand(-360, 360), rand(-360, 360), rand(-360, 360)}, {rand(-rnum, rnum), rand(-rnum, rnum), rand(-rnum, rnum)} | |
4665 | MagicBlood(BC(Colour1), "Neon", RootPart:GetRenderCFrame() * Cf(Rand1[1], Rand1[2], Rand1[3]), 14, 14, 14, .1, .1, .1, .05) | |
4666 | MagicBlood(BC(Colour2), "Neon", RootPart:GetRenderCFrame() * Cf(Rand1[1], Rand1[2], Rand1[3]), 8, 8, 8, .1, .1, .1, .05) | |
4667 | MagicBlood(BC(Colour2), "Neon", RootPart:GetRenderCFrame() * Cf(Rand2[1], Rand2[2], Rand2[3]), 14, 14, 14, .1, .1, .1, .05) | |
4668 | MagicBlood(BC(Colour1), "Neon", RootPart:GetRenderCFrame() * Cf(Rand2[1], Rand2[2], Rand2[3]), 8, 8, 8, .1, .1, .1, .05) | |
4669 | MagicBlock(BC(Colour1), "Neon", RootPart:GetRenderCFrame() * Cf(Rand4[1], Rand4[2], Rand4[3]), 14, 14, 14, .1, .1, .1, .05) | |
4670 | MagicBlock(BC(Colour2), "Neon", RootPart:GetRenderCFrame() * Cf(Rand4[1], Rand4[2], Rand4[3]), 8, 8, 8, .1, .1, .1, .05) | |
4671 | until StopEffects | |
4672 | end)) | |
4673 | repeat | |
4674 | MagicSpikeBall(BC(Colour1), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, .7, .7, .7, .05) | |
4675 | MagicSpikeBall(BC(Colour2), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, .5, .5, .5, .05) | |
4676 | MagicCircle(BC(Colour1), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, .4, .4, .4, .05) | |
4677 | MagicCircle(BC(Colour2), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, .3, .3, .3, .05) | |
4678 | wait(.3) | |
4679 | until StopEffects | |
4680 | end)) | |
4681 | wait(10)--]] | |
4682 | end | |
4683 | CArmour.Parent = Character | |
4684 | local WeldBase = Inst("Model", CArmour) | |
4685 | WeldBase.Name = "WeldBase" | |
4686 | local aHead = Inst("Part", WeldBase) | |
4687 | aHead.Transparency = 1 | |
4688 | aHead.Name = "FakeHead" | |
4689 | aHead.Anchored = true | |
4690 | aHead.CanCollide = false | |
4691 | aHead.Locked = true | |
4692 | aHead.Size = Vec(.2, .2, .2) | |
4693 | aHead.Position = Vec(60.2, 5.3, -275) | |
4694 | aHead.Rotation = Vec(-180, 0, -180) | |
4695 | local aLarm = Inst("Part", WeldBase) | |
4696 | aLarm.Transparency = 1 | |
4697 | aLarm.Name = "FakeLeftArm" | |
4698 | aLarm.Anchored = true | |
4699 | aLarm.CanCollide = false | |
4700 | aLarm.Locked = true | |
4701 | aLarm.Size = Vec(.2, .2, .2) | |
4702 | aLarm.Position = Vec(58.7, 3.8, -275) | |
4703 | aLarm.Rotation = Vec(-180, 0, -180) | |
4704 | local aLleg = Inst("Part", WeldBase) | |
4705 | aLleg.Transparency = 1 | |
4706 | aLleg.Name = "FakeLeftLeg" | |
4707 | aLleg.Anchored = true | |
4708 | aLleg.CanCollide = false | |
4709 | aLleg.Locked = true | |
4710 | aLleg.Size = Vec(.2, .2, .2) | |
4711 | aLleg.Position = Vec(59.7, 1.8, -275) | |
4712 | aLleg.Rotation = Vec(-180, 0, -180) | |
4713 | local aRarm = Inst("Part", WeldBase) | |
4714 | aRarm.Transparency = 1 | |
4715 | aRarm.Name = "FakeRightArm" | |
4716 | aRarm.Anchored = true | |
4717 | aRarm.CanCollide = false | |
4718 | aRarm.Locked = true | |
4719 | aRarm.Size = Vec(.2, .2, .2) | |
4720 | aRarm.Position = Vec(58.7, 3.8, -275) | |
4721 | aRarm.Rotation = Vec(-180, 0, -180) | |
4722 | local aRleg = Inst("Part", WeldBase) | |
4723 | aRleg.Transparency = 1 | |
4724 | aRleg.Name = "FakeRightLeg" | |
4725 | aRleg.Anchored = true | |
4726 | aRleg.CanCollide = false | |
4727 | aRleg.Locked = true | |
4728 | aRleg.Size = Vec(.2, .2, .2) | |
4729 | aRleg.Position = Vec(59.7, 1.8, -275) | |
4730 | aRleg.Rotation = Vec(-180, 0, -180) | |
4731 | local aTor = Inst("Part", WeldBase) | |
4732 | aTor.Transparency = 1 | |
4733 | aTor.Name = "FakeTorso" | |
4734 | aTor.Anchored = true | |
4735 | aTor.CanCollide = false | |
4736 | aTor.Locked = true | |
4737 | aTor.Size = Vec(.2, .2, .2) | |
4738 | aTor.Position = Vec(60.2, 3.8, -275) | |
4739 | aTor.Rotation = Vec(-180, 0, -180) | |
4740 | for _ , k in pairs(WeldBase:GetChildren()) do | |
4741 | if k:IsA("BasePart") then | |
4742 | k:BreakJoints() | |
4743 | end | |
4744 | end | |
4745 | local function MakeHelmet() | |
4746 | local Parent = Inst("Model", CArmour) | |
4747 | Parent.Name = "Helmet" | |
4748 | ----------------(ClassName, , BrickColor, Material , Trans, Refl, Name, Size, Position, Rotation, Mesh Class, Mesh Scale , MId, MType) | |
4749 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "HelmetBack", Vector3.new(.2, .2, .2), Vector3.new(60.2, 5.4, -275.73), Vector3.new(90, 0, 0), "SpecialMesh", Vector3.new(1.2, 2, 1.6), "http://www.roblox.com/asset/?id=20637493", "FileMesh") | |
4750 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "HelmetBase", Vector3.new(.2, .2, .2), Vector3.new(60.2, 5.4, -275), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(1, 1, 1), "http://www.roblox.com/asset/?id=87249889", "FileMesh") | |
4751 | local HEpart = CreatePart("Part", Parent, Colour1, "Neon", 1, 0, "HelmetEffect", Vector3.new(.2, .2, .2), Vector3.new(60.2, 5.5, -275.7), Vector3.new(0, 0, 0), "BlockMesh", Vector3.new(0, 0, 0), _, _) | |
4752 | local peSize = {NumberSequenceKeypoint.new(0, 1.31, 0), NumberSequenceKeypoint.new(1, 0, 0)} | |
4753 | local peTrans = {NumberSequenceKeypoint.new(0, .137, 0), NumberSequenceKeypoint.new(1, 1, 0)} | |
4754 | local pe = Inst("ParticleEmitter", HEpart) | |
4755 | pe.LightEmission = .5 | |
4756 | pe.Color = ColorSequence.new(HEpart.BrickColor.Color) | |
4757 | pe.Size = NumberSequence.new(peSize) | |
4758 | pe.Transparency = NumberSequence.new(peTrans) | |
4759 | pe.Texture = "rbxassetid://37332909" | |
4760 | pe.Acceleration = Vec(0, -100, 0) | |
4761 | pe.EmissionDirection = "Front" | |
4762 | pe.Lifetime = NumberRange.new(0.35) | |
4763 | pe.Rate = 800000 | |
4764 | pe.Speed = NumberRange.new(15) | |
4765 | CEP = HEpart | |
4766 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "HelmetPart", Vector3.new(.2, .2, .2), Vector3.new(60.2, 5.8, -275), Vector3.new(-150, 0, -180), "SpecialMesh", Vector3.new(1, 1, 1), "http://www.roblox.com/asset/?id=189962102", "FileMesh") | |
4767 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "MouthGuard", Vector3.new(.2, .2, .2), Vector3.new(60.2, 5, -274.6), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(1, 1.2, 1.1), "http://www.roblox.com/asset/?id=19380683", "FileMesh") | |
4768 | for _ , K in pairs(Parent:GetChildren()) do | |
4769 | if K:IsA("BasePart") then | |
4770 | K:BreakJoints() | |
4771 | end | |
4772 | end | |
4773 | for _, z in pairs(Parent:GetChildren()) do | |
4774 | if z:IsA("BasePart") then | |
4775 | local Weld = Inst("Weld", aHead) | |
4776 | Weld.Part0 = aHead | |
4777 | Weld.Part1 = z | |
4778 | Weld.Name = z.Name.."-to-"..aHead.Name | |
4779 | Weld.C0 = aHead.CFrame:inverse() * Cf(aHead.Position) | |
4780 | Weld.C1 = z.CFrame:inverse() * Cf(aHead.Position) | |
4781 | z.Anchored = false | |
4782 | z.CanCollide = false | |
4783 | end | |
4784 | end | |
4785 | end | |
4786 | local Cape = nil | |
4787 | local function MakeTorsoArmour() | |
4788 | local Parent = Inst("Model", CArmour) | |
4789 | Parent.Name = "TorsoArmour" | |
4790 | ----------------(ClassName, , BrickColor, Material , Trans, Refl, Name, Size, Position, Rotation, Mesh Class, Mesh Scale , MId, MType) | |
4791 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourBody", Vector3.new(2, 2, 1), Vector3.new(60.2, 3.8, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1, 1, 1.01), _, _) | |
4792 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPartWedge1", Vector3.new(.2, 1, .2), Vector3.new(59.7, 3.7, -275.4), Vector3.new(90, 0, 90), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge") | |
4793 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPart1", Vector3.new(2, .2, .2), Vector3.new(60.2, 3.5, -275.4), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.01, 1, 1.1), _, _) | |
4794 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail1", Vector3.new(.2, .2, .2), Vector3.new(61.1, 4.7, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(.6, 1.18, .6), _, _) | |
4795 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPart2", Vector3.new(2, .6, 1), Vector3.new(60.2, 3.1, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.01, 1, 1.02), _, _) | |
4796 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPartWedge2", Vector3.new(1, .8, .2), Vector3.new(60.8, 3.5, -275), Vector3.new(90, 0, 90), "SpecialMesh", Vector3.new(1.02, 1.025, 1), "", "Wedge") | |
4797 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPart3", Vector3.new(.4, 1, .4), Vector3.new(60.2, 4.3, -275.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(.4, 1, .5), "", "Sphere") | |
4798 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail2", Vector3.new(.2, .2, .2), Vector3.new(59.3, 2.9, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(.6, 1.18, .6), _, _) | |
4799 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail3", Vector3.new(.2, .2, .2), Vector3.new(61.1, 2.9, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(.6, 1.18, .6), _, _) | |
4800 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPartWedge3", Vector3.new(1, .8, .2), Vector3.new(59.6, 3.5, -275), Vector3.new(90, 0, -90), "SpecialMesh", Vector3.new(1.02, 1.025, 1), "", "Wedge") | |
4801 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPartWedge4", Vector3.new(.2, 1, .2), Vector3.new(60.7, 3.7, -275.4), Vector3.new(90, 0, -90), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge") | |
4802 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail4", Vector3.new(.2, .2, .2), Vector3.new(59.3, 4.7, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(.6, 1.18, .6), _, _) | |
4803 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail5", Vector3.new(.2, .2, .2), Vector3.new(59.3, 4.7, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(.6, 1.18, .6), _, _) | |
4804 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail6", Vector3.new(.2, .2, .2), Vector3.new(59.3, 3.5, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(.6, 1.18, .6), _, _) | |
4805 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPart4", Vector3.new(.4, .4, .2), Vector3.new(60.2, 3.6, -274.6), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(1, 1, 1.1), "", "Torso") | |
4806 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail7", Vector3.new(.2, .2, .2), Vector3.new(61.1, 2.9, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(.6, 1.18, .6), _, _) | |
4807 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail8", Vector3.new(.2, .2, .2), Vector3.new(61.1, 3.5, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(.6, 1.18, .6), _, _) | |
4808 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail9", Vector3.new(.2, .2, .2), Vector3.new(59.3, 3.5, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(.6, 1.18, .6), _, _) | |
4809 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail10", Vector3.new(.2, .2, .2), Vector3.new(59.3, 2.9, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(.6, 1.18, .6), _, _) | |
4810 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail11", Vector3.new(.2, .2, .2), Vector3.new(61.1, 4.7, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(.6, 1.18, .6), _, _) | |
4811 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPart5", Vector3.new(.4, .2, .4), Vector3.new(60.2, 3.8, -274.6), Vector3.new(-90, 0, 0), "CylinderMesh", Vector3.new(.68, 1.1, .68), _, _) | |
4812 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPart6", Vector3.new(.4, .2, .4), Vector3.new(60.2, 3.8, -274.6), Vector3.new(-90, 0, 0), "CylinderMesh", Vector3.new(.45, 1.15, .45), _, _) | |
4813 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPart7", Vector3.new(.2, .2, .2), Vector3.new(61.1, 3.5, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(.6, 1.18, .6), _, _) | |
4814 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon1", Vector3.new(.2, .2, .4), Vector3.new(61.1, 4.7, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(.5, .5, .1), "", "Sphere") k.Mesh.Offset = Vec(0, 0, -.01) | |
4815 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon2", Vector3.new(.2, .2, .4), Vector3.new(61.1, 2.9, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(.5, .5, .1), "", "Sphere") k.Mesh.Offset = Vec(0, 0, -.01) | |
4816 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon3", Vector3.new(.2, .2, .4), Vector3.new(59.3, 2.9, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(.5, .5, .1), "", "Sphere") k.Mesh.Offset = Vec(0, 0, -.01) | |
4817 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon4", Vector3.new(.2, .2, .4), Vector3.new(61.1, 3.5, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(.5, .5, .1), "", "Sphere") k.Mesh.Offset = Vec(0, 0, -.01) | |
4818 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon5", Vector3.new(.2, .2, .4), Vector3.new(59.3, 2.9, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(.5, .5, .1), "", "Sphere") k.Mesh.Offset = Vec(0, 0, -.01) | |
4819 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon6", Vector3.new(.2, .2, .4), Vector3.new(61.1, 2.9, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(.5, .5, .1), "", "Sphere") k.Mesh.Offset = Vec(0, 0, -.01) | |
4820 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon7", Vector3.new(.4, .4, .4), Vector3.new(60.2, 3.8, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(.4, .4, .2), "", "Sphere") | |
4821 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon8", Vector3.new(.2, .2, .4), Vector3.new(59.3, 3.5, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(.5, .5, .1), "", "Sphere") k.Mesh.Offset = Vec(0, 0, -.01) | |
4822 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon9", Vector3.new(.2, .2, .4), Vector3.new(59.3, 4.7, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(.5, .5, .1), "", "Sphere") k.Mesh.Offset = Vec(0, 0, -.01) | |
4823 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon10", Vector3.new(.2, .2, .4), Vector3.new(61.1, 4.7, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(.5, .5, .1), "", "Sphere") k.Mesh.Offset = Vec(0, 0, -.01) | |
4824 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon11", Vector3.new(.2, .2, .4), Vector3.new(59.3, 3.5, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(.5, .5, .1), "", "Sphere") k.Mesh.Offset = Vec(0, 0, -.01) | |
4825 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon12", Vector3.new(.2, .2, .4), Vector3.new(61.1, 3.5, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(.5, .5, .1), "", "Sphere") k.Mesh.Offset = Vec(0, 0, -.01) | |
4826 | local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon13", Vector3.new(.2, .2, .4), Vector3.new(59.3, 4.7, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(.5, .5, .1), "", "Sphere") k.Mesh.Offset = Vec(0, 0, -.01) | |
4827 | Cape = CreatePart("Part", Parent, "White", "SmoothPlastic", 1, 0, "Mini-CapeSpot", Vector3.new(2, .2, .2), Vector3.new(60.2, 3.49, -275.47), Vector3.new(120, 0, -180), "BlockMesh", Vector3.new(0, 0, 0), _, _) | |
4828 | local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour1", Vector3.new(1, .4, .4), Vector3.new(59.4, 4.4, -275), Vector3.new(-90, 0, -90), "SpecialMesh", Vector3.new(1.03, 1, 1), "", "Wedge") kk.Mesh.Offset = Vec(0, -.01, 0) | |
4829 | local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour2", Vector3.new(1, .4, .4), Vector3.new(61, 4.4, -275), Vector3.new(-90, 0, 90), "SpecialMesh", Vector3.new(1.03, 1, 1), "", "Wedge") kk.Mesh.Offset = Vec(0, -.01, 0) | |
4830 | local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour3", Vector3.new(1, .4, .2), Vector3.new(59.8, 4.7, -275), Vector3.new(-90, 0, -90), "SpecialMesh", Vector3.new(1.03, 1, 1.01), "", "Wedge") kk.Mesh.Offset = Vec(0, -.01, .001) | |
4831 | local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour4", Vector3.new(.4, .2, 1), Vector3.new(59.4, 4.7, -275), Vector3.new(0, 0, 0), "BlockMesh", Vector3.new(1, 1.01, 1.03), _, _) kk.Mesh.Offset = Vec(-.01, .001, 0) | |
4832 | local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour5", Vector3.new(1, .4, .2), Vector3.new(60.6, 4.7, -275), Vector3.new(-90, 0, 90), "SpecialMesh", Vector3.new(1.03, 1, 1.01), "", "Wedge") kk.Mesh.Offset = Vec(0, -.01, .001) | |
4833 | local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour6", Vector3.new(.4, .2, 1), Vector3.new(61, 4.7, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1, 1.01, 1.03), _, _) kk.Mesh.Offset = Vec(-.01, .001, 0) | |
4834 | for _ , K in pairs(Parent:GetChildren()) do | |
4835 | if K:IsA("BasePart") then | |
4836 | K:BreakJoints() | |
4837 | end | |
4838 | end | |
4839 | for _, z in pairs(Parent:GetChildren()) do | |
4840 | if z:IsA("BasePart") then | |
4841 | local Weld = Inst("Weld", aTor) | |
4842 | Weld.Part0 = aTor | |
4843 | Weld.Part1 = z | |
4844 | Weld.Name = z.Name.."-to-"..aTor.Name | |
4845 | Weld.C0 = aTor.CFrame:inverse() * Cf(aTor.Position) | |
4846 | Weld.C1 = z.CFrame:inverse() * Cf(aTor.Position) | |
4847 | z.Anchored = false | |
4848 | z.CanCollide = false | |
4849 | end | |
4850 | end | |
4851 | end | |
4852 | local function MakeArmArmour(limb, limbname) | |
4853 | local Parent = Inst("Model", CArmour) | |
4854 | Parent.Name = limbname.."Armour" | |
4855 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourBody", Vector3.new(1, 2, 1), Vector3.new(58.7, 3.8, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.01, 1, 1.01), _, _) | |
4856 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "Glove", Vector3.new(1, .4, 1), Vector3.new(58.7, 2.8, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.02, .1, 1.02), _, _) | |
4857 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour1", Vector3.new(.2, .2, .6), Vector3.new(58.3, 4.5, -274.6), Vector3.new(-90, 0, -180), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge") y.Mesh.Offset = Vec(0, 0, .001) | |
4858 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour2", Vector3.new(1, .6, .2), Vector3.new(58.5, 4.7, -275), Vector3.new(-90, 0, 90), "SpecialMesh", Vector3.new(1.03, 1, 1.01), "", "Wedge") y.Mesh.Offset = Vec(0, -.01, .001) | |
4859 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour3", Vector3.new(1, .2, .4), Vector3.new(59.1, 4.2, -275), Vector3.new(-90, 0, 90), "SpecialMesh", Vector3.new(1.03, 1, 1), "", "Wedge") y.Mesh.Offset = Vec(0, -.01, 0) | |
4860 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour4", Vector3.new(.2, .2, 1), Vector3.new(59.1, 4.5, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1, 1, 1.03), _, _) y.Mesh.Offset = Vec(-.01, 0, 0) | |
4861 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour5", Vector3.new(.4, .2, 1), Vector3.new(59, 4.7, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1, 1, 1.03), _, _) y.Mesh.Offset = Vec(-.01, .001, 0) | |
4862 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour6", Vector3.new(1, .2, .2), Vector3.new(58.9, 4.5, -275), Vector3.new(-90, 0, 90), "SpecialMesh", Vector3.new(1.03, 1, 1), "", "Wedge") y.Mesh.Offset = Vec(0, -.01, 0) | |
4863 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour7", Vector3.new(.2, 2, .6), Vector3.new(58.3, 3.8, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.1, 1.001, 1), _, _) | |
4864 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour8", Vector3.new(.2, .2, .4), Vector3.new(58.3, 3, -274.6), Vector3.new(90, 0, 0), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge") y.Mesh.Offset = Vec(0, 0, .001) | |
4865 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour9", Vector3.new(.2, .2, .4), Vector3.new(58.3, 3, -275.4), Vector3.new(90, 0, -180), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge") y.Mesh.Offset = Vec(0, 0, .001) | |
4866 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour10", Vector3.new(.2, .2, .6), Vector3.new(58.3, 4.5, -275.4), Vector3.new(-90, 0, 0), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge") y.Mesh.Offset = Vec(0, 0, .001) | |
4867 | local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmourDesign1", Vector3.new(1, 1, .4), Vector3.new(58.7, 4.6, -275), Vector3.new(-90, 30, 90), "SpecialMesh", Vector3.new(.5, 1, 1), "http://www.roblox.com/asset/?id=189962102", "FileMesh") y.Mesh.Offset = Vec(0, 0.4, 0) | |
4868 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "SideArmourDesign2", Vector3.new(.4, .6, .2), Vector3.new(58.2, 3.1, -275.2), Vector3.new(-165, 0, -180), "SpecialMesh", Vector3.new(.08, 1, .6), "", "Sphere") | |
4869 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "SideArmourDesign3", Vector3.new(.4, .6, .2), Vector3.new(58.2, 3.1, -274.8), Vector3.new(165, 0, -180), "SpecialMesh", Vector3.new(.08, 1, .6), "", "Sphere") | |
4870 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "SideArmourNeonDesign1", Vector3.new(.4, .6, .2), Vector3.new(58.2, 3.1, -275.2), Vector3.new(-165, 0, -180), "SpecialMesh", Vector3.new(.1, .8, .4), "", "Sphere") | |
4871 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "SideArmourNeonDesign2", Vector3.new(.4, .6, .2), Vector3.new(58.2, 3.1, -274.8), Vector3.new(165, 0, -180), "SpecialMesh", Vector3.new(.1, .8, .4), "", "Sphere") | |
4872 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "SideArmourNeonDesign3", Vector3.new(.6, .2, .2), Vector3.new(58.3, 4.1, -275), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(.5, 1.5, 2), "", "Sphere") | |
4873 | for _ , K in pairs(Parent:GetChildren()) do | |
4874 | if K:IsA("BasePart") then | |
4875 | K:BreakJoints() | |
4876 | end | |
4877 | end | |
4878 | for _, z in pairs(Parent:GetChildren()) do | |
4879 | if z:IsA("BasePart") then | |
4880 | local Weld = Inst("Weld", limb) | |
4881 | Weld.Part0 = limb | |
4882 | Weld.Part1 = z | |
4883 | Weld.Name = z.Name.."-to-"..limb.Name | |
4884 | Weld.C0 = limb.CFrame:inverse() * Cf(limb.Position) | |
4885 | Weld.C1 = z.CFrame:inverse() * Cf(limb.Position) | |
4886 | z.Anchored = false | |
4887 | z.CanCollide = false | |
4888 | end | |
4889 | end | |
4890 | end | |
4891 | local function MakeLegArmour(limb, limbname) | |
4892 | local Parent = Inst("Model", CArmour) | |
4893 | Parent.Name = limbname.."Armour" | |
4894 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourBody", Vector3.new(1, 2, 1), Vector3.new(59.7, 1.8, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.01, 1, 1.01), _, _) | |
4895 | local cri = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "KneeGuardPart1", Vector3.new(.4, .4, .4), Vector3.new(60, 2.2, -274.7), Vector3.new(-180, -90, 0), "SpecialMesh", Vector3.new(1.1, 1, 1.05), "", "Wedge") cri.Mesh.Offset = Vec(0, 0, -.01) | |
4896 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "KneeGuardPart2", Vector3.new(.2, .4, .2), Vector3.new(59.7, 2.2, -274.6), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1, 1, 1.2), _, _) | |
4897 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "KneeGuardPart3", Vector3.new(.4, .2, .6), Vector3.new(59.7, 2.2, -274.6), Vector3.new(-180, 0, 90), "SpecialMesh", Vector3.new(1, .8, .47), "", "Sphere") | |
4898 | local cri = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "KneeGuardPart4", Vector3.new(.4, .4, .4), Vector3.new(59.4, 2.2, -274.7), Vector3.new(180, 90, 0), "SpecialMesh", Vector3.new(1.1, 1, 1.05), "", "Wedge") cri.Mesh.Offset = Vec(0, 0, -.01) | |
4899 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "KneeGuardPart5", Vector3.new(1, .4, .4), Vector3.new(59.7, 2.6, -274.7), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.04, 1, 1.1), _, _) | |
4900 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "KneeGuardPartNeon", Vector3.new(.4, .2, .6), Vector3.new(59.7, 2.2, -274.6), Vector3.new(-180, 0, 90), "SpecialMesh", Vector3.new(.8, .5, .5), "", "Sphere") | |
4901 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShinGuard1", Vector3.new(.6, .2, .6), Vector3.new(59.7, 1.7, -274.6), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(1, 1, .4), "", "Torso") | |
4902 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShinGuard2", Vector3.new(.6, .4, .6), Vector3.new(59.7, 1.4, -274.6), Vector3.new(-180, 0, 0), "SpecialMesh", Vector3.new(1, 1, .4), "", "Torso") | |
4903 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon1", Vector3.new(.4, .2, .4), Vector3.new(59.6, 1.5, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(.4, .2, .2), "", "Sphere") | |
4904 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon2", Vector3.new(.4, .2, .4), Vector3.new(59.8, 1.7, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(.4, .2, .2), "", "Sphere") | |
4905 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon3", Vector3.new(.4, .2, .4), Vector3.new(59.8, 1.5, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(.4, .2, .2), "", "Sphere") | |
4906 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon4", Vector3.new(.4, .2, .4), Vector3.new(59.8, 1.3, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(.4, .2, .2), "", "Sphere") | |
4907 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon5", Vector3.new(.4, .2, .4), Vector3.new(59.6, 1.7, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(.4, .2, .2), "", "Sphere") | |
4908 | CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon6", Vector3.new(.4, .2, .4), Vector3.new(59.6, 1.3, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(.4, .2, .2), "", "Sphere") | |
4909 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart1", Vector3.new(.4, .2, .4), Vector3.new(59.6, 1.5, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere") | |
4910 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart2", Vector3.new(.4, .2, .4), Vector3.new(59.8, 1.7, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere") | |
4911 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart3", Vector3.new(.4, .2, .4), Vector3.new(59.8, 1.5, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere") | |
4912 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart4", Vector3.new(.4, .2, .4), Vector3.new(59.8, 1.3, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere") | |
4913 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart5", Vector3.new(.4, .2, .4), Vector3.new(59.6, 1.7, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere") | |
4914 | CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart6", Vector3.new(.4, .2, .4), Vector3.new(59.6, 1.3, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere") | |
4915 | CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "Shoe", Vector3.new(1, .2, 1), Vector3.new(59.7, 0.9, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.02, 1.2, 1.02), _, _) | |
4916 | for _ , K in pairs(Parent:GetChildren()) do | |
4917 | if K:IsA("BasePart") then | |
4918 | K:BreakJoints() | |
4919 | end | |
4920 | end | |
4921 | for _, z in pairs(Parent:GetChildren()) do | |
4922 | if z:IsA("BasePart") then | |
4923 | local Weld = Inst("Weld", limb) | |
4924 | Weld.Part0 = limb | |
4925 | Weld.Part1 = z | |
4926 | Weld.Name = z.Name.."-to-"..limb.Name | |
4927 | Weld.C0 = limb.CFrame:inverse() * Cf(limb.Position) | |
4928 | Weld.C1 = z.CFrame:inverse() * Cf(limb.Position) | |
4929 | z.Anchored = false | |
4930 | z.CanCollide = false | |
4931 | end | |
4932 | end | |
4933 | end | |
4934 | local function MakeTeeWeapon() | |
4935 | The_End.Parent = Character | |
4936 | The_End_Sheath.Parent = Character | |
4937 | local BL1 = CreatePart("Part", The_End, Colour2, "SmoothPlastic", 0, .2, "Blade", Vector3.new(.2, .4, 6.4), Vector3.new(42.5, 3.8, -252.5), Vector3.new(90, 0, -180), "SpecialMesh", Vector3.new(1, .5, 1), "", "Torso") | |
4938 | local BL2 = CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, .2, "BladeDesign", Vector3.new(.2, 6.4, .2), Vector3.new(42.5, 3.8, -252.4), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(.1, 1.001, 1.05), _, _) | |
4939 | local BL3 = CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "BladeNeon", Vector3.new(.2, .4, 6.4), Vector3.new(42.5, 3.8, -252.3), Vector3.new(90, 0, 0), "SpecialMesh", Vector3.new(1, .5, 1), "", "Torso") | |
4940 | CreatePart("Part", The_End, Colour2, "SmoothPlastic", 0, 0, "GuardDesign1", Vector3.new(.2, .2, .2), Vector3.new(42.5, 7.1, -252.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.4, 1.84, .4), _, _) | |
4941 | CreatePart("Part", The_End, Colour2, "SmoothPlastic", 0, 0, "GuardDesign2", Vector3.new(.2, .2, .2), Vector3.new(42.5, 7.1, -252.4), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.4, 1.84, .4), _, _) | |
4942 | CreatePart("Part", The_End, Colour2, "SmoothPlastic", 0, 0, "GuardDesign3", Vector3.new(.2, 1, .2), Vector3.new(42.5, 7.1, -252.4), Vector3.new(90, 0, -180), "CylinderMesh", Vector3.new(.4, 1.005, .4), _, _) | |
4943 | CreatePart("Part", The_End, Colour2, "SmoothPlastic", 0, 0, "GuardDesign4", Vector3.new(.2, .2, .2), Vector3.new(42.5, 7.1, -252.2), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.4, 1.84, .4), _, _) | |
4944 | CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "GuardNeonDesign1", Vector3.new(.2, .2, .2), Vector3.new(42.5, 7.1, -252.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.85, .3), _, _) | |
4945 | CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "GuardNeonDesign2", Vector3.new(.2, .2, .2), Vector3.new(42.5, 7.1, -252.4), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.85, .3), _, _) | |
4946 | CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "GuardNeonDesign3", Vector3.new(.2, 1, .2), Vector3.new(42.5, 7.1, -252.4), Vector3.new(90, 0, -180), "CylinderMesh", Vector3.new(.3, 1.01, .3), _, _) | |
4947 | CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "GuardNeonDesign4", Vector3.new(.2, .2, .2), Vector3.new(42.5, 7.1, -252.2), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.85, .3), _, _) | |
4948 | CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "GuardPart1", Vector3.new(.6, .2, .2), Vector3.new(42.5, 7.1, -252.4), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1, 1, 1.8), _, _) | |
4949 | CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "GuardPart2", Vector3.new(.2, .2, .2), Vector3.new(42.5, 7.1, -252.8), Vector3.new(-90, 0, 0), "SpecialMesh", Vector3.new(1.8, 1, 1), "", "Torso") | |
4950 | CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "GuardPart2", Vector3.new(.2, .2, .2), Vector3.new(42.5, 7.1, -252), Vector3.new(-90, 0, -180), "SpecialMesh", Vector3.new(1.8, 1, 1), "", "Torso") | |
4951 | TEHandle = CreatePart("Part", The_End, "White", "SmoothPlastic", 1, 0, "Handle", Vector3.new(.6, .2, .6), Vector3.new(42.5, 8.5, -252.4), Vector3.new(-180, 0, 0), "BlockMesh", Vector3.new(1, 1, 1), _, _) | |
4952 | CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "HiltDesign1", Vector3.new(.2, .2, .2), Vector3.new(42.5, 9.9, -252.4), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1.1, 1, 1.1), _, _) | |
4953 | CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "HiltDesign2", Vector3.new(.2, .4, .2), Vector3.new(42.5, 9.6, -252.4), Vector3.new(-180, 0, 0), "SpecialMesh", Vector3.new(1.1, 1, 1.1), "", "Wedge") | |
4954 | CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "HiltDesign3", Vector3.new(.2, .2, .2), Vector3.new(42.5, 7.3, -252.4), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1.1, 1, 1.1), _, _) | |
4955 | CreatePart("Part", The_End, Colour2, "Fabric", 0, 0, "HiltFabric", Vector3.new(.2, 2.4, .2), Vector3.new(42.5, 8.6, -252.4), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1, 1, 1), _, _) | |
4956 | CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "HiltNeonDesign1", Vector3.new(.2, .2, .2), Vector3.new(42.5, 9.7, -252.4), Vector3.new(90, 0,-90), "CylinderMesh", Vector3.new(.2, 1.14, .2), _, _) | |
4957 | CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "HiltNeonDesign2", Vector3.new(.2, .2, .4), Vector3.new(42.5, 9.8, -252.4), Vector3.new(90, 0,-90), "CylinderMesh", Vector3.new(.2, 1.14, .2), _, _) | |
4958 | CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "HiltNeonDesign3", Vector3.new(.2, .2, .2), Vector3.new(42.5, 9.9, -252.4), Vector3.new(90, 0,-90), "CylinderMesh", Vector3.new(.2, 1.14, .2), _, _) | |
4959 | TEHit_Box = CreatePart("Part", The_End, "White", "SmoothPlastic", 1, 0, "HitBox", Vector3.new(1.4, 7, .6), Vector3.new(42.5, 3.5, -252.4), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(.2, 1.14, .2), _, _) | |
4960 | ||
4961 | TESHandle = CreatePart("Part", The_End_Sheath, "White", "Neon", 1, 0, "Handle", Vector3.new(.6, .2, .6), Vector3.new(42.5, 5.5, -253.6), Vector3.new(0, 0,-180), "BlockMesh", Vector3.new(1, 1, 1), _, _) | |
4962 | CreatePart("Part", The_End_Sheath, Colour2, "SmoothPlastic", 0, 0, "SheathBody", Vector3.new(.4, 6, .2), Vector3.new(42.5, 3.8, -253.6), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1, 1, 1.1), _, _) | |
4963 | CreatePart("Part", The_End_Sheath, Colour2, "SmoothPlastic", 0, 0, "SheathBodyCylinder1", Vector3.new(.4, 6, .2), Vector3.new(42.5, 3.8, -253.4), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.1, 1, 1.1), _, _) | |
4964 | CreatePart("Part", The_End_Sheath, Colour2, "SmoothPlastic", 0, 0, "SheathBody", Vector3.new(.4, 6, .2), Vector3.new(42.5, 3.8, -253.8), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.1, 1, 1.1), _, _) | |
4965 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign1", Vector3.new(.4, .2, .2), Vector3.new(42.5, 6.9 --[[ :^) ]], -253.4), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.2, 1.1, 1.2), _, _) | |
4966 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign2", Vector3.new(.4, .2, .2), Vector3.new(42.5, 6.9 --[[ :^) ]], -253.8), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.2, 1.1, 1.2), _, _) | |
4967 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign3", Vector3.new(.4, .2, .2), Vector3.new(42.5, 6.9 --[[ :^) ]], -253.6), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1, 1.1, 1.2), _, _) | |
4968 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign4", Vector3.new(.4, .2, .2), Vector3.new(42.5, .7, -253.4), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.2, 1.1, 1.2), _, _) | |
4969 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign5", Vector3.new(.4, .2, .2), Vector3.new(42.5, .7, -253.8), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.2, 1.1, 1.2), _, _) | |
4970 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign6", Vector3.new(.4, .2, .2), Vector3.new(42.5, .7, -253.6), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1, 1.1, 1.2), _, _) | |
4971 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing1", Vector3.new(.4, .2, .4), Vector3.new(42.5, 5.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.14, .3), _, _) | |
4972 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing2", Vector3.new(.4, .2, .4), Vector3.new(42.5, 6.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.14, .3), _, _) | |
4973 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing3", Vector3.new(.4, .2, .4), Vector3.new(42.5, 2.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.14, .3), _, _) | |
4974 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing4", Vector3.new(.4, .2, .4), Vector3.new(42.5, 6.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.14, .3), _, _) | |
4975 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing5", Vector3.new(.4, .2, .4), Vector3.new(42.5, 1.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.14, .3), _, _) | |
4976 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing6", Vector3.new(.4, .2, .4), Vector3.new(42.5, 1.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.14, .3), _, _) | |
4977 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing7", Vector3.new(.4, .2, .4), Vector3.new(42.5, 1, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.14, .3), _, _) | |
4978 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing8", Vector3.new(.4, .2, .4), Vector3.new(42.5, 3, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.14, .3), _, _) | |
4979 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing9", Vector3.new(.4, .2, .4), Vector3.new(42.5, 2.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.14, .3), _, _) | |
4980 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing10", Vector3.new(.4, .2, .4), Vector3.new(42.5, 4.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.14, .3), _, _) | |
4981 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing11", Vector3.new(.4, .2, .4), Vector3.new(42.5, 5, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.14, .3), _, _) | |
4982 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing12", Vector3.new(.4, .2, .4), Vector3.new(42.5, 3.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.14, .3), _, _) | |
4983 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing13", Vector3.new(.4, .2, .4), Vector3.new(42.5, 5.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.14, .3), _, _) | |
4984 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing14", Vector3.new(.4, .2, .4), Vector3.new(42.5, 3.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.14, .3), _, _) | |
4985 | CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing15", Vector3.new(.4, .2, .4), Vector3.new(42.5, 4.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.3, 1.14, .3), _, _) | |
4986 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing1", Vector3.new(.4, .2, .4), Vector3.new(42.5, 5.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.2, 1.16, .2), _, _) | |
4987 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing2", Vector3.new(.4, .2, .4), Vector3.new(42.5, 6.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.2, 1.16, .2), _, _) | |
4988 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing3", Vector3.new(.4, .2, .4), Vector3.new(42.5, 2.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.2, 1.16, .2), _, _) | |
4989 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing4", Vector3.new(.4, .2, .4), Vector3.new(42.5, 6.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.2, 1.16, .2), _, _) | |
4990 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing5", Vector3.new(.4, .2, .4), Vector3.new(42.5, 1.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.2, 1.16, .2), _, _) | |
4991 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing6", Vector3.new(.4, .2, .4), Vector3.new(42.5, 1.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.2, 1.16, .2), _, _) | |
4992 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing7", Vector3.new(.4, .2, .4), Vector3.new(42.5, 1, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.2, 1.16, .2), _, _) | |
4993 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing8", Vector3.new(.4, .2, .4), Vector3.new(42.5, 3, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.2, 1.16, .2), _, _) | |
4994 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing9", Vector3.new(.4, .2, .4), Vector3.new(42.5, 2.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.2, 1.16, .2), _, _) | |
4995 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing10", Vector3.new(.4, .2, .4), Vector3.new(42.5, 4.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.2, 1.16, .2), _, _) | |
4996 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing11", Vector3.new(.4, .2, .4), Vector3.new(42.5, 5, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.2, 1.16, .2), _, _) | |
4997 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing12", Vector3.new(.4, .2, .4), Vector3.new(42.5, 3.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.2, 1.16, .2), _, _) | |
4998 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing13", Vector3.new(.4, .2, .4), Vector3.new(42.5, 5.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.2, 1.16, .2), _, _) | |
4999 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing14", Vector3.new(.4, .2, .4), Vector3.new(42.5, 3.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.2, 1.16, .2), _, _) | |
5000 | CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing15", Vector3.new(.4, .2, .4), Vector3.new(42.5, 4.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(.2, 1.16, .2), _, _) | |
5001 | CreatePart("Part", The_End_Sheath, "Really black", "SmoothPlastic", 0, 0, "SheathHole", Vector3.new(.8, .4, .2), Vector3.new(42.5, 7, -253.6), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(.6, .06, .6), _, _) | |
5002 | for _ , K in pairs(The_End:GetChildren()) do | |
5003 | if K:IsA("BasePart") then | |
5004 | K:BreakJoints() | |
5005 | end | |
5006 | end | |
5007 | for _ , K in pairs(The_End_Sheath:GetChildren()) do | |
5008 | if K:IsA("BasePart") then | |
5009 | K:BreakJoints() | |
5010 | end | |
5011 | end | |
5012 | for _, p in pairs(The_End:GetChildren()) do | |
5013 | if p:IsA("BasePart") and p ~= TEHandle then | |
5014 | local Weld = Inst("Weld", TEHandle) | |
5015 | Weld.Part0 = TEHandle | |
5016 | Weld.Part1 = p | |
5017 | Weld.C0 = TEHandle.CFrame:inverse() * Cf(TEHandle.Position) | |
5018 | Weld.C1 = p.CFrame:inverse() * Cf(TEHandle.Position) | |
5019 | p.Anchored = false | |
5020 | p.CanCollide = false | |
5021 | end | |
5022 | end | |
5023 | for _, p in pairs(The_End_Sheath:GetChildren()) do | |
5024 | if p:IsA("BasePart") and p ~= TESHandle then | |
5025 | local Weld = Inst("Weld", TESHandle) | |
5026 | Weld.Part0 = TESHandle | |
5027 | Weld.Part1 = p | |
5028 | Weld.C0 = TESHandle.CFrame:inverse() * Cf(TESHandle.Position) | |
5029 | Weld.C1 = p.CFrame:inverse() * Cf(TESHandle.Position) | |
5030 | p.Anchored = false | |
5031 | p.CanCollide = false | |
5032 | end | |
5033 | end | |
5034 | table.insert(TEBladeP, BL1) | |
5035 | table.insert(TEBladeP, BL2) | |
5036 | table.insert(TEBladeP, BL3) | |
5037 | TEBEffect = Inst("ParticleEmitter", BL2) | |
5038 | local colSeq = {ColorSequenceKeypoint.new(0, BC(Colour1).Color), ColorSequenceKeypoint.new(.25, BC(Colour2).Color), ColorSequenceKeypoint.new(.5, BC(Colour1).Color), ColorSequenceKeypoint.new(.7, BC(Colour2).Color), ColorSequenceKeypoint.new(1, BC(Colour2).Color)} | |
5039 | local sizSeq = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(.5, .6, 0), NumberSequenceKeypoint.new(1, 0, 0)} | |
5040 | local traSeq = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)} | |
5041 | TEBEffect.Color = ColorSequence.new(colSeq) | |
5042 | TEBEffect.LightEmission = .2 | |
5043 | TEBEffect.Size = NumberSequence.new(sizSeq) | |
5044 | TEBEffect.Texture = "rbxassetid://37332909" | |
5045 | TEBEffect.Transparency = NumberSequence.new(traSeq) | |
5046 | TEBEffect.Enabled = false | |
5047 | TEBEffect.Lifetime = NumberRange.new(.7) | |
5048 | TEBEffect.Rate = 9e+007 | |
5049 | TEBEffect.Speed = NumberRange.new(0) | |
5050 | end | |
5051 | MakeHelmet() | |
5052 | MakeTorsoArmour() | |
5053 | MakeArmArmour(aRarm, "RightArm") | |
5054 | MakeArmArmour(aLarm, "LeftArm") | |
5055 | MakeLegArmour(aRleg, "RightLeg") | |
5056 | MakeLegArmour(aLleg, "LeftLeg") | |
5057 | MakeTeeWeapon() | |
5058 | Denial.Parent = nil | |
5059 | if not runServ:IsStudio() then | |
5060 | StopEffects = true | |
5061 | coroutine.resume(coroutine.create(function() | |
5062 | repeat | |
5063 | runServ.Stepped:wait() | |
5064 | MagniDamage(RootPart, 25, false, 0, 1, true, 200, "Compensate-Knockdown", 0, false, 0, false, _, _, _) | |
5065 | until Debounces.Transformed | |
5066 | end))--]] | |
5067 | end | |
5068 | local Weld1 = Inst("Weld", Head) | |
5069 | Weld1.Name = DecName | |
5070 | Weld1.Part0 = Head | |
5071 | Weld1.Part1 = aHead | |
5072 | local Weld2 = Inst("Weld", Torso) | |
5073 | Weld2.Name = DecName | |
5074 | Weld2.Part0 = Torso | |
5075 | Weld2.Part1 = aTor | |
5076 | local Weld3 = Inst("Weld", LeftArm) | |
5077 | Weld3.Name = DecName | |
5078 | Weld3.Part0 = LeftArm | |
5079 | Weld3.Part1 = aLarm | |
5080 | Weld3.C0 = Cf() * Euler(0, rad(180), 0) | |
5081 | local Weld4 = Inst("Weld", RightArm) | |
5082 | Weld4.Name = DecName | |
5083 | Weld4.Part0 = RightArm | |
5084 | Weld4.Part1 = aRarm | |
5085 | local Weld5 = Inst("Weld", LeftLeg) | |
5086 | Weld5.Name = DecName | |
5087 | Weld5.Part0 = LeftLeg | |
5088 | Weld5.Part1 = aLleg | |
5089 | local Weld6 = Inst("Weld", RightLeg) | |
5090 | Weld6.Name = DecName | |
5091 | Weld6.Part0 = RightLeg | |
5092 | Weld6.Part1 = aRleg | |
5093 | WepWeld3 = Inst("Weld", TEHandle) | |
5094 | WepWeld3.Part0 = TESHandle | |
5095 | WepWeld3.Part1 = TEHandle | |
5096 | WepWeld3.C0 = Cf(0, 0, 0) | |
5097 | WepWeld3.C1 = Cf(0, 3, 0) * Euler(0, rad(180), 0) | |
5098 | SheWeld = Inst("Weld", TESHandle) | |
5099 | SheWeld.Part0 = RootPart | |
5100 | SheWeld.Part1 = TESHandle | |
5101 | SheWeld.C0 = Cf(0, 1.5, -1.8) * Euler(rad(180), 0, 0) | |
5102 | TEHandle.Anchored = false | |
5103 | TESHandle.Anchored = false | |
5104 | for _, p in pairs(WeldBase:GetChildren()) do | |
5105 | if p:IsA("BasePart") then | |
5106 | p.Anchored = false | |
5107 | end | |
5108 | end | |
5109 | for _, p in pairs(Character:GetChildren()) do | |
5110 | if p:IsA("BasePart") and p.Name ~= "Head" then | |
5111 | p.Transparency = 1 | |
5112 | for _, d in pairs(p:GetChildren()) do | |
5113 | if d:IsA("Decal") then | |
5114 | d.Transparency = 1 | |
5115 | end | |
5116 | end | |
5117 | elseif p.Name == "Head" then | |
5118 | p.Transparency = 0 | |
5119 | for _, d in pairs(p:GetChildren()) do | |
5120 | if d:IsA("Decal") then | |
5121 | d.Transparency = 1 | |
5122 | end | |
5123 | end | |
5124 | end | |
5125 | if p:IsA("Hat") then | |
5126 | for _, P in pairs(p:GetChildren()) do | |
5127 | if P:IsA("BasePart") then | |
5128 | P.Transparency = 1 | |
5129 | end | |
5130 | end | |
5131 | end | |
5132 | if p:IsA("Accessory") then | |
5133 | for _, P in pairs(p:GetChildren()) do | |
5134 | if P:IsA("BasePart") then | |
5135 | P.Transparency = 1 | |
5136 | end | |
5137 | end | |
5138 | end | |
5139 | end | |
5140 | if not runServ:IsStudio() then | |
5141 | MagicCircle(BC(Colour1), "Neon", RootPart:GetRenderCFrame(), 2, 2, 2, 6, 6, 6, .1) | |
5142 | local boo = Sound(RootPart,"http://roblox.com/asset/?id=168586621", 1, .5, false) | |
5143 | debServ:AddItem(boo, 4) | |
5144 | for i = 0, 5, .2 do | |
5145 | swait() | |
5146 | local SwingSpeed = .5 | |
5147 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(140),0,rad(20)), SwingSpeed) | |
5148 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5149 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(140),0,rad(-20)), SwingSpeed) | |
5150 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5151 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(15),0,0), SwingSpeed) | |
5152 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5153 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(20),0,0), SwingSpeed) | |
5154 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5155 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8,0)*Euler(rad(-30),0,0), SwingSpeed) | |
5156 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,rad(-15)), SwingSpeed) | |
5157 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.8,0)*Euler(rad(-30),0,0), SwingSpeed) | |
5158 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,rad(15)), SwingSpeed) | |
5159 | end | |
5160 | for i = 0, .8, .1 do | |
5161 | swait() | |
5162 | local SwingSpeed = .5 | |
5163 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.6,0)*Euler(0,0,rad(10)), SwingSpeed) | |
5164 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5165 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.6,0)*Euler(0,0,rad(-10)), SwingSpeed) | |
5166 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5167 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-13),0,0), SwingSpeed) | |
5168 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5169 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5170 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5171 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5172 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,rad(-3)), SwingSpeed) | |
5173 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5174 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,rad(3)), SwingSpeed) | |
5175 | end | |
5176 | for i = 0, .6, .1 do | |
5177 | swait() | |
5178 | local SwingSpeed = .5 | |
5179 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-8),0,rad(15)), SwingSpeed) | |
5180 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5181 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(90),0,rad(-50)), SwingSpeed) | |
5182 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5183 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-13),0,0), SwingSpeed) | |
5184 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(20),0), SwingSpeed) | |
5185 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(20),0), SwingSpeed) | |
5186 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5187 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.55,-1,0)*Euler(0,rad(-20),0), SwingSpeed) | |
5188 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,rad(-3)), SwingSpeed) | |
5189 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.55,-1,-.4)*Euler(rad(-7),rad(-20),0), SwingSpeed) | |
5190 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,rad(3)), SwingSpeed) | |
5191 | end | |
5192 | for i = 0, 1, .1 do | |
5193 | swait() | |
5194 | local SwingSpeed = .5 | |
5195 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
5196 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
5197 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-13),0,rad(15)), SwingSpeed) | |
5198 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5199 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.15,0.5,-.6)*Euler(rad(90),0,rad(50)), SwingSpeed) | |
5200 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5201 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-13),0,0), SwingSpeed) | |
5202 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-28),0), SwingSpeed) | |
5203 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-20),0), SwingSpeed) | |
5204 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5205 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.55,-1,-.4)*Euler(rad(-7),rad(20),0), SwingSpeed) | |
5206 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,rad(-3)), SwingSpeed) | |
5207 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.55,-1,0)*Euler(0,rad(20),0), SwingSpeed) | |
5208 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,rad(3)), SwingSpeed) | |
5209 | if i == .4 then | |
5210 | local boo = Sound(LeftArm,"http://roblox.com/asset/?id=227194112", 1, 1, false) | |
5211 | debServ:AddItem(boo, 4) | |
5212 | SheWeld.Part0 = Holder2 | |
5213 | SheWeld.Part1 = TESHandle | |
5214 | SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position) | |
5215 | SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position) | |
5216 | end | |
5217 | if i >= .4 then | |
5218 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), SwingSpeed) | |
5219 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5220 | end | |
5221 | end | |
5222 | debServ:AddItem(BP, 0) | |
5223 | for i = 0, 1.5, .1 do | |
5224 | swait() | |
5225 | local SwingSpeed = .5 | |
5226 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(80),0,0), SwingSpeed) | |
5227 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5228 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
5229 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
5230 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.2,0.5,-.4)*Euler(rad(80),0,rad(-50)), SwingSpeed) | |
5231 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5232 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(50),0,rad(-11)), SwingSpeed) | |
5233 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5234 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-30),0,0), SwingSpeed) | |
5235 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5236 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.4,0)*Euler(rad(-40),0,0), SwingSpeed) | |
5237 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5238 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1.2,-.3)*Euler(rad(-50),0,0), SwingSpeed) | |
5239 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
5240 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.3,-.8)*Euler(rad(10),0,0), SwingSpeed) | |
5241 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,0,0)*Euler(0,0,0), SwingSpeed) | |
5242 | end | |
5243 | coroutine.resume(coroutine.create(function() | |
5244 | chatServ:Chat(Head, "I am the ominous dusk.", 2) | |
5245 | wait(2.6) | |
5246 | chatServ:Chat(Head, "I am the aching pressence.", 2) | |
5247 | wait(2.6) | |
5248 | chatServ:Chat(Head, "I am the adversary of just.", 2) | |
5249 | wait(2.6) | |
5250 | chatServ:Chat(Head, "Wielding this blade I shall eradicate every being in this world and purge it in the clouds of chaos!", 2) | |
5251 | wait(5) | |
5252 | chatServ:Chat(Head, "I am Shiminuki! The end is near!", 2) | |
5253 | end)) | |
5254 | for i = 0, 37, .1 do | |
5255 | swait() | |
5256 | local SwingSpeed = .007 | |
5257 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), SwingSpeed) | |
5258 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5259 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
5260 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
5261 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(10)), SwingSpeed) | |
5262 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5263 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-10)), SwingSpeed) | |
5264 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5265 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(-20),0), SwingSpeed) | |
5266 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5267 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(20),0), SwingSpeed) | |
5268 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5269 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,.2)*Euler(0,rad(-20),0), SwingSpeed) | |
5270 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
5271 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,.1)*Euler(0,rad(10),0), SwingSpeed) | |
5272 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5273 | end | |
5274 | for i = 0, .7, .1 do | |
5275 | swait() | |
5276 | local SwingSpeed = .5 | |
5277 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
5278 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5279 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
5280 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
5281 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(10)), SwingSpeed) | |
5282 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5283 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-10)), SwingSpeed) | |
5284 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5285 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(-20),0), SwingSpeed) | |
5286 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5287 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, 0,0), SwingSpeed) | |
5288 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5289 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
5290 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
5291 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5292 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5293 | end | |
5294 | for i = 0, .5, .1 do | |
5295 | swait() | |
5296 | local SwingSpeed = .5 | |
5297 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
5298 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5299 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(10)), SwingSpeed) | |
5300 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5301 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(12)), SwingSpeed) | |
5302 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5303 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
5304 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5305 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, 0,0), SwingSpeed) | |
5306 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5307 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
5308 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
5309 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5310 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5311 | end--]] | |
5312 | end | |
5313 | FRightHip.Part0 = nil | |
5314 | FRightHip.Part1 = nil | |
5315 | RightHip.Part0 = Torso | |
5316 | RightHip.Part1 = RightLeg | |
5317 | RightHip.C0 = FRightHip.C0 | |
5318 | RightHip.C1 = FRightHip.C1 | |
5319 | ||
5320 | FLeftHip.Part0 = nil | |
5321 | FLeftHip.Part1 = nil | |
5322 | LeftHip.Part0 = Torso | |
5323 | LeftHip.Part1 = LeftLeg | |
5324 | LeftHip.C0 = FLeftHip.C0 | |
5325 | LeftHip.C1 = FLeftHip.C1--]] | |
5326 | GodMode = false | |
5327 | Max_Health = 80000 | |
5328 | coroutine.resume(coroutine.create(function()swait()Humanoid.Health = Max_Health end)) | |
5329 | SheWeld.Part0 = Torso | |
5330 | SheWeld.Part1 = TESHandle | |
5331 | SheWeld.C0 = Cf(-1.1, -1.1, -.2) * Euler(rad(100), 0, 0) | |
5332 | CurrentSpeed = 6 | |
5333 | Debounces.HasWep = false | |
5334 | Debounces.Transformed = true | |
5335 | Debounces.Attacking = false | |
5336 | Debounces.DisableJump = false | |
5337 | Humanoid.WalkSpeed = CurrentSpeed | |
5338 | Humanoid.JumpPower = 120 | |
5339 | end | |
5340 | ||
5341 | function ActivateDash() | |
5342 | Debounces.Successful_KeyStroke = true | |
5343 | swait() | |
5344 | Debounces.Dashing = true | |
5345 | RightHip.Part0 = nil | |
5346 | RightHip.Part1 = nil | |
5347 | FRightHip.Part0 = Torso | |
5348 | FRightHip.Part1 = RightLeg | |
5349 | FRightHip.C0 = RightHip.C0 | |
5350 | FRightHip.C1 = RightHip.C1 | |
5351 | LeftHip.Part0 = nil | |
5352 | LeftHip.Part1 = nil | |
5353 | FLeftHip.Part0 = Torso | |
5354 | FLeftHip.Part1 = LeftLeg | |
5355 | FLeftHip.C0 = LeftHip.C0 | |
5356 | FLeftHip.C1 = LeftHip.C1 | |
5357 | Humanoid.WalkSpeed = (CurrentSpeed*30) | |
5358 | repeat runServ.Stepped:wait() until not Debounces.Dashing or Debounces.Equipping or Debounces.Attacking or Debounces.Hovering | |
5359 | FRightHip.Part0 = nil | |
5360 | FRightHip.Part1 = nil | |
5361 | RootPart.Velocity = Vec(0, 0, 0) | |
5362 | Current_Anim = "Idle" | |
5363 | Debounces.Dashing = false | |
5364 | RightHip.Part0 = Torso | |
5365 | RightHip.Part1 = RightLeg | |
5366 | RightHip.C0 = FRightHip.C0 | |
5367 | RightHip.C1 = FRightHip.C1 | |
5368 | FLeftHip.Part0 = nil | |
5369 | FLeftHip.Part1 = nil | |
5370 | LeftHip.Part0 = Torso | |
5371 | LeftHip.Part1 = LeftLeg | |
5372 | LeftHip.C0 = FLeftHip.C0 | |
5373 | LeftHip.C1 = FLeftHip.C1 | |
5374 | Humanoid.WalkSpeed = CurrentSpeed | |
5375 | end | |
5376 | ||
5377 | function Kogeki_Sokudo_Kojo() | |
5378 | Debounces.Attacking = true | |
5379 | Debounces.Successful_KeyStroke = true | |
5380 | Debounces.SpedUp = true | |
5381 | Debounces.DisableJump = true | |
5382 | Humanoid.WalkSpeed = 0 | |
5383 | RightHip.Part0 = nil | |
5384 | RightHip.Part1 = nil | |
5385 | FRightHip.Part0 = Torso | |
5386 | FRightHip.Part1 = RightLeg | |
5387 | FRightHip.C0 = RightHip.C0 | |
5388 | FRightHip.C1 = RightHip.C1 | |
5389 | LeftHip.Part0 = nil | |
5390 | LeftHip.Part1 = nil | |
5391 | FLeftHip.Part0 = Torso | |
5392 | FLeftHip.Part1 = LeftLeg | |
5393 | FLeftHip.C0 = LeftHip.C0 | |
5394 | FLeftHip.C1 = LeftHip.C1 | |
5395 | for i = 0, 2, .1 do | |
5396 | swait() | |
5397 | local SwingSpeed = .15 | |
5398 | if Debounces.Transformed and Debounces.TEWield and not Debounces.TESWield then | |
5399 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
5400 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5401 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(5),0,0), SwingSpeed) | |
5402 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5403 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(5), 0, rad(10)), SwingSpeed) | |
5404 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(10), 0), SwingSpeed) | |
5405 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(90),0,rad(-30)), SwingSpeed) | |
5406 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5407 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(30), 0), SwingSpeed) | |
5408 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5409 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-30), 0), SwingSpeed) | |
5410 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5411 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5412 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(5),0), SwingSpeed) | |
5413 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(16),0), SwingSpeed) | |
5414 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5415 | elseif Debounces.Transformed and Debounces.TESWield and not Debounces.TEWield then | |
5416 | HWeld2.C0=clerp(HWeld2.C0,Cf(0,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5417 | HWeld2.C1=clerp(HWeld2.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5418 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.05,-1.5)*Euler(rad(90),rad(90),0), SwingSpeed) | |
5419 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5420 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.4)*Euler(rad(84), 0, 0), SwingSpeed) | |
5421 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5422 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,-.4)*Euler(rad(84), 0, 0), SwingSpeed) | |
5423 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5424 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10), 0, 0), SwingSpeed) | |
5425 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5426 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(6), 0, 0), SwingSpeed) | |
5427 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5428 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-6),rad(-8),0), SwingSpeed) | |
5429 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
5430 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-6),rad(8),0), SwingSpeed) | |
5431 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5432 | elseif Debounces.Transformed and not Debounces.TESWield and not Debounces.TEWield then | |
5433 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(5), 0, rad(10)), SwingSpeed) | |
5434 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(10), 0), SwingSpeed) | |
5435 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(90),0,rad(-30)), SwingSpeed) | |
5436 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5437 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(30), 0), SwingSpeed) | |
5438 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5439 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-30), 0), SwingSpeed) | |
5440 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5441 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5442 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(5),0), SwingSpeed) | |
5443 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(16),0), SwingSpeed) | |
5444 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5445 | elseif not Debounces.Transformed and not Debounces.HasWep and not Debounces.DuelWielding then | |
5446 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(5), 0, rad(10)), SwingSpeed) | |
5447 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(10), 0), SwingSpeed) | |
5448 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(90),0,rad(-30)), SwingSpeed) | |
5449 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5450 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(30), 0), SwingSpeed) | |
5451 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5452 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-30), 0), SwingSpeed) | |
5453 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5454 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5455 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(5),0), SwingSpeed) | |
5456 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(16),0), SwingSpeed) | |
5457 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5458 | elseif not Debounces.Transformed and Debounces.HasWep and not Debounces.DuelWielding then | |
5459 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5460 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5461 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
5462 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
5463 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(5), 0, rad(10)), SwingSpeed) | |
5464 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(10), 0), SwingSpeed) | |
5465 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(90),0,rad(-30)), SwingSpeed) | |
5466 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5467 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(30), 0), SwingSpeed) | |
5468 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5469 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-30), 0), SwingSpeed) | |
5470 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5471 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5472 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(5),0), SwingSpeed) | |
5473 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(16),0), SwingSpeed) | |
5474 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5475 | elseif not Debounces.Transformed and Debounces.HasWep and Debounces.DuelWielding then | |
5476 | ||
5477 | end | |
5478 | end | |
5479 | chatServ:Chat(Head, "Seal 3, disable...", 2) | |
5480 | local SPP = Inst("Part", F2) SPP.Anchored = true SPP.CanCollide = false SPP.Transparency = 1 SPP.Size = Vec(20, 1, 20) | |
5481 | local SPart = Inst("Part", F2) SPart.Anchored = false SPart.CanCollide = false SPart.Transparency = 1 | |
5482 | SPart.Size = Vec(20, .2, 20) | |
5483 | local SPW = Inst("Motor", SPart) | |
5484 | SPW.Part0 = SPP | |
5485 | SPW.Part1 = SPart | |
5486 | SPW.C0 = Cf() * Euler(rad(90), 0, 0) | |
5487 | SPW.C1 = Cf() * Euler(rad(90), 0, 0) | |
5488 | SPW.DesiredAngle = 999999999999999999999999999999999999999999999999 | |
5489 | SPW.MaxVelocity = rad(8) | |
5490 | --local SPLight = Inst("PointLight", SPart) SPLight.Brightness = 5 SPLight = Col3(BC(Colour1).Color) --SPLight.Shadows = true | |
5491 | --SPLight.Range = 8 | |
5492 | local SPSGui = Inst("SurfaceGui", SPart) SPSGui.Face = "Top" | |
5493 | local SPSCOL = BC(Colour1) | |
5494 | local SPS = Inst("ImageLabel", SPSGui) SPS.BackgroundTransparency = 1 SPS.Image = "rbxassetid://144076055" SPS.ImageColor3 = Col3(SPSCOL.r, SPSCOL.g, SPSCOL.b) SPS.ImageTransparency = .5 | |
5495 | SPS.Position = Ud2(.45, 0, .45, 0) | |
5496 | SPS.Size = Ud2(.1, 0, .1, 0) | |
5497 | local SPSGui2 = Inst("SurfaceGui", SPart) SPSGui2.Face = "Bottom" | |
5498 | local SPS2 = Inst("ImageLabel", SPSGui2) SPS2.BackgroundTransparency = 1 SPS2.Image = "rbxassetid://144076055" SPS2.ImageColor3 = Col3(SPSCOL.r, SPSCOL.g, SPSCOL.b) SPS2.ImageTransparency = .5 | |
5499 | SPS2.Position = Ud2(.45, 0, .45, 0) | |
5500 | SPS2.Size = Ud2(.1, 0, .1, 0) | |
5501 | local cre = Sound(SPart,"http://roblox.com/asset/?id=231917894", .7, 1, false) | |
5502 | debServ:AddItem(cre, 5) | |
5503 | for i = 0, 1, .3 do | |
5504 | swait() | |
5505 | SPP.CFrame = RootPart:GetRenderCFrame() * Cf(0, -3.1, 0) | |
5506 | SPS:TweenSize(Ud2(i, 0, i, 0), _, "Linear", .2, true) | |
5507 | SPS:TweenPosition(Ud2(((-1+i)*-1)/2.22222, 0, ((-1+i)*-1)/2.22222, 0), _, "Linear", .2, true) | |
5508 | SPS2:TweenSize(Ud2(i, 0, i, 0), _, "Linear", .2, true) | |
5509 | SPS2:TweenPosition(Ud2(((-1+i)*-1)/2.22222, 0, ((-1+i)*-1)/2.22222, 0), _, "Linear", .2, true) | |
5510 | end | |
5511 | local num = 0 | |
5512 | local nmax = 5 | |
5513 | local stopwave = false | |
5514 | coroutine.resume(coroutine.create(function() | |
5515 | while not stopwave do | |
5516 | wait(.45) | |
5517 | --local wo = Sound(SPart,"http://roblox.com/asset/?id=206083107", .8, 1, false) | |
5518 | --debServ:AddItem(wo, 5) | |
5519 | MagniDamage(RootPart, 20, false, 0, 10, true, 100, "Compensate-Knockdown", 0, false, 0, false, _, _, _) | |
5520 | MagicRing(BC(Colour1), "SmoothPlastic", SPart.CFrame * Cf(0, .1, 0) * Euler(rad(90), 0, 0), 1, 1, .1, 2, 2, .1, .05) | |
5521 | end | |
5522 | end)) | |
5523 | while num <= nmax do | |
5524 | swait() | |
5525 | num = num+.1 | |
5526 | SPP.CFrame = RootPart:GetRenderCFrame() * Cf(0, -3.1, 0) | |
5527 | end | |
5528 | for i = -3.1, 5, .4 do | |
5529 | swait() | |
5530 | SPP.CFrame = RootPart:GetRenderCFrame() * Cf(0, i, 0) | |
5531 | local SwingSpeed = .3 | |
5532 | if Debounces.Transformed and Debounces.TEWield and not Debounces.TESWield then | |
5533 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
5534 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5535 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(5),0,0), SwingSpeed) | |
5536 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5537 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-5), 0, rad(5)), SwingSpeed) | |
5538 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5539 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(150),0,rad(30)), SwingSpeed) | |
5540 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5541 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-15), rad(50), 0), SwingSpeed) | |
5542 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5543 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-20), 0), SwingSpeed) | |
5544 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5545 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5546 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(2),0), SwingSpeed) | |
5547 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(8),0), SwingSpeed) | |
5548 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5549 | elseif Debounces.Transformed and Debounces.TESWield and not Debounces.TEWield then | |
5550 | HWeld2.C0=clerp(HWeld2.C0,Cf(0,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5551 | HWeld2.C1=clerp(HWeld2.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5552 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.05,-1.5)*Euler(rad(90),rad(90),0), SwingSpeed) | |
5553 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5554 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.4)*Euler(rad(84), 0, 0), SwingSpeed) | |
5555 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5556 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,-.4)*Euler(rad(84), 0, 0), SwingSpeed) | |
5557 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5558 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(10), 0, 0), SwingSpeed) | |
5559 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5560 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-.5,0)*Euler(rad(6), 0, 0), SwingSpeed) | |
5561 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5562 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-6),rad(-8),0), SwingSpeed) | |
5563 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
5564 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-6),rad(8),0), SwingSpeed) | |
5565 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5566 | elseif Debounces.Transformed and not Debounces.TESWield and not Debounces.TEWield then | |
5567 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-5), 0, rad(5)), SwingSpeed) | |
5568 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5569 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(150),0,rad(30)), SwingSpeed) | |
5570 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5571 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-15), rad(50), 0), SwingSpeed) | |
5572 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5573 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-20), 0), SwingSpeed) | |
5574 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5575 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5576 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(2),0), SwingSpeed) | |
5577 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(8),0), SwingSpeed) | |
5578 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5579 | elseif not Debounces.Transformed and not Debounces.HasWep and not Debounces.DuelWielding then | |
5580 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-5), 0, rad(5)), SwingSpeed) | |
5581 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5582 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(150),0,rad(30)), SwingSpeed) | |
5583 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5584 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-15), rad(50), 0), SwingSpeed) | |
5585 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5586 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-20), 0), SwingSpeed) | |
5587 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5588 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5589 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(2),0), SwingSpeed) | |
5590 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(8),0), SwingSpeed) | |
5591 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5592 | elseif not Debounces.Transformed and Debounces.HasWep and not Debounces.DuelWielding then | |
5593 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5594 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5595 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
5596 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
5597 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-5), 0, rad(5)), SwingSpeed) | |
5598 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5599 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(150),0,rad(30)), SwingSpeed) | |
5600 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5601 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-15), rad(50), 0), SwingSpeed) | |
5602 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5603 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-20), 0), SwingSpeed) | |
5604 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5605 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5606 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(2),0), SwingSpeed) | |
5607 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(8),0), SwingSpeed) | |
5608 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5609 | elseif not Debounces.Transformed and Debounces.HasWep and Debounces.DuelWielding then | |
5610 | ||
5611 | end | |
5612 | end | |
5613 | chatServ:Chat(Head, "Kogeki sokudo kojo!", 2) | |
5614 | debServ:AddItem(SPart, 0) | |
5615 | debServ:AddItem(SPP, 0) | |
5616 | stopwave = true | |
5617 | MagicCircle(BC(Colour1), "Neon", RootPart.CFrame, 2, 2, 2, 5, 5, 5, .02) | |
5618 | MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(0, 0, 0), 1, 1, 1, 4, 4, 1, .02) | |
5619 | MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(rad(45), rad(-45), 0), 2, 2, 1, 5, 5, 1, .02) | |
5620 | MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(rad(-45), rad(45), 0), 3, 3, 1, 6, 6, 1, .02) | |
5621 | MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(rad(90), 0, 0), 4, 4, 1, 7, 7, 1, .02) | |
5622 | MagniDamage(RootPart, 25, false, 0, 20, true, 100, "Compensate-Knockdown", 0, false, 0, false, _, _, _) | |
5623 | local boo = Sound(RootPart,"http://roblox.com/asset/?id=233091136", 1, 1, false) | |
5624 | debServ:AddItem(boo, 5) | |
5625 | wait(.5) | |
5626 | FRightHip.Part0 = nil | |
5627 | FRightHip.Part1 = nil | |
5628 | RightHip.Part0 = Torso | |
5629 | RightHip.Part1 = RightLeg | |
5630 | RightHip.C0 = FRightHip.C0 | |
5631 | RightHip.C1 = FRightHip.C1 | |
5632 | FLeftHip.Part0 = nil | |
5633 | FLeftHip.Part1 = nil | |
5634 | LeftHip.Part0 = Torso | |
5635 | LeftHip.Part1 = LeftLeg | |
5636 | LeftHip.C0 = FLeftHip.C0 | |
5637 | LeftHip.C1 = FLeftHip.C1 | |
5638 | local LFR = FrameRate | |
5639 | FrameRate = 1/80 | |
5640 | Apply_Buff(6, 60) | |
5641 | Humanoid.WalkSpeed = CurrentSpeed | |
5642 | Debounces.Attacking = false | |
5643 | Debounces.DisableJump = false | |
5644 | coroutine.resume(coroutine.create(function() | |
5645 | wait(60) | |
5646 | FrameRate = LFR | |
5647 | wait(80) | |
5648 | Debounces.SpedUp = false | |
5649 | end)) | |
5650 | end | |
5651 | ||
5652 | function HurricaneSlash() | |
5653 | Debounces.Attacking = true | |
5654 | Debounces.Successful_KeyStroke = true | |
5655 | Debounces.HurrSlash = true | |
5656 | Debounces.DisableJump = true | |
5657 | Humanoid.WalkSpeed = 0 | |
5658 | for i = 0, 1.4, .1 do | |
5659 | swait() | |
5660 | local SwingSpeed = .2 | |
5661 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
5662 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5663 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5664 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5665 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(90)), SwingSpeed) | |
5666 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5667 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(80),0,rad(-60)), SwingSpeed) | |
5668 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5669 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
5670 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-60),0), SwingSpeed) | |
5671 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.4,0)*Euler(0,rad(-60),0), SwingSpeed) | |
5672 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5673 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.6,0)*Euler(rad(-4),rad(80),0), SwingSpeed) | |
5674 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
5675 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.6,.14)*Euler(rad(-6),rad(-75),0), SwingSpeed) | |
5676 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5677 | end | |
5678 | local hit = TEHit_Box.Touched:connect(function(part) DamageFunction(part, false, 0, 500, true, 50, "Compensate", RootPart, .05, false, _, true, 153092227, 1.4, .4) end) | |
5679 | local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445073", 1, 1, false) | |
5680 | debServ:AddItem(SlashS, 2) | |
5681 | c1 = nil | |
5682 | c2 = nil | |
5683 | coroutine.resume(coroutine.create(function() | |
5684 | wait(.1) | |
5685 | local Hur = Inst("Part", F2) | |
5686 | Hur.BrickColor = BC(Colour1) | |
5687 | Hur.Material = "SmoothPlastic" | |
5688 | Hur.Transparency = .8 | |
5689 | Hur.Name = "Hurricane" | |
5690 | Hur.Anchored = false | |
5691 | Hur.CanCollide = false | |
5692 | Hur.Locked = true | |
5693 | Hur.Size = Vec(.2,.2,.2) | |
5694 | local HM = Inst("SpecialMesh", Hur) | |
5695 | HM.MeshId = "http://www.roblox.com/asset/?id=102638417" | |
5696 | HM.Scale = Vec(15, 10, 15) | |
5697 | Hur.CFrame = RootPart.CFrame * Cf(0, 12, -3) * Euler(0, 0, rad(-10)) | |
5698 | local Hmo = Inst("BodyVelocity", Hur) | |
5699 | Hmo.MaxForce = Vec(huge, huge, huge) | |
5700 | Hmo.Velocity = RootPart.CFrame.lookVector * 110 | |
5701 | local Hpo = Inst("BodyPosition", Hur) | |
5702 | Hpo.MaxForce = Vec(0, huge, 0) | |
5703 | Hpo.Position = Hur.Position | |
5704 | local Hro = Inst("BodyGyro", Hur) | |
5705 | Hro.MaxTorque = Vec(0, huge, 0) | |
5706 | Hro.CFrame = Hur.CFrame | |
5707 | Hro.P = 30000 | |
5708 | local howl = Sound(Hur, "http://roblox.com/asset/?id=138161364", 1, .5, true) | |
5709 | coroutine.resume(coroutine.create(function() | |
5710 | while Hur.Parent do | |
5711 | swait() | |
5712 | Hro.CFrame = Hur.CFrame * CFrame.Angles(0, 600, 0) | |
5713 | MagniDamage(Hur, 18, false, 0, 111, true, -110, "Compensate-Knockdown", .01, false, 0, true, "233856140", 2, .3) | |
5714 | local IL = {Character} | |
5715 | local Ground, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(Hur.Position, (Hur.CFrame * Euler(rad(-90), 0, rad(10))).lookVector.Unit * 20), IL, true, true) | |
5716 | if Ground then | |
5717 | MagicBlock(BC(Colour1), "Neon", Cf(Pos) * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))), 16, 16, 16, -3, -3, -3, .06) | |
5718 | end | |
5719 | end | |
5720 | end)) | |
5721 | wait(1.5) | |
5722 | for i = .8, 1, .04 do | |
5723 | swait() | |
5724 | Hur.Transparency = i | |
5725 | end | |
5726 | debServ:AddItem(Hur, 0) | |
5727 | debServ:AddItem(howl, 0) | |
5728 | end)) | |
5729 | for i = 0, 1.4, .1 do | |
5730 | swait() | |
5731 | local x = TEHit_Box | |
5732 | c2 = x.CFrame*Cf(0, .5, 0) | |
5733 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
5734 | local h = 6 | |
5735 | local a, b = Triangle((c1*Cf(0,h/2,0)).p, (c1*Cf(0,-h/2,0)).p, (c2*Cf(0,h/2,0)).p, Colour1, "Neon") | |
5736 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
5737 | local c, d = Triangle((c2*Cf(0,h/2,0)).p, (c2*Cf(0,-h/2,0)).p, (c1*Cf(0,-h/2,0)).p, Colour1, "Neon") | |
5738 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
5739 | c1 = c2 | |
5740 | elseif not c1 then | |
5741 | c1 = c2 | |
5742 | end | |
5743 | local SwingSpeed = .7 | |
5744 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
5745 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5746 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5747 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5748 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1,0.5,-.7)*Euler(0,rad(150),rad(90)), SwingSpeed) | |
5749 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5750 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-5),0, rad(-10)), SwingSpeed) | |
5751 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5752 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
5753 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(40),0), SwingSpeed) | |
5754 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.4,0)*Euler(0,rad(40),0), SwingSpeed) | |
5755 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5756 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.6,0)*Euler(rad(-4),rad(80),0), SwingSpeed) | |
5757 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
5758 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.6,.14)*Euler(rad(-6),rad(-75),0), SwingSpeed) | |
5759 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5760 | end | |
5761 | hit:disconnect() | |
5762 | Debounces.Attacking = false | |
5763 | coroutine.resume(coroutine.create(function() | |
5764 | wait(4) | |
5765 | Debounces.HurrSlash = false | |
5766 | end)) | |
5767 | Debounces.DisableJump = false | |
5768 | Humanoid.WalkSpeed = CurrentSpeed | |
5769 | end | |
5770 | ||
5771 | function Stomp() | |
5772 | Debounces.Attacking = true | |
5773 | Debounces.Successful_KeyStroke = true | |
5774 | Debounces.Stompped = true | |
5775 | Debounces.DisableJump = true | |
5776 | Humanoid.WalkSpeed = 5 | |
5777 | RightHip.Part0 = nil | |
5778 | RightHip.Part1 = nil | |
5779 | FRightHip.Part0 = Torso | |
5780 | FRightHip.Part1 = RightLeg | |
5781 | FRightHip.C0 = RightHip.C0 | |
5782 | FRightHip.C1 = RightHip.C1 | |
5783 | LeftHip.Part0 = nil | |
5784 | LeftHip.Part1 = nil | |
5785 | FLeftHip.Part0 = Torso | |
5786 | FLeftHip.Part1 = LeftLeg | |
5787 | FLeftHip.C0 = LeftHip.C0 | |
5788 | FLeftHip.C1 = LeftHip.C1 | |
5789 | local hit = LeftLeg.Touched:connect(function(part) DamageFunction(part, false, 0, 100, false, 25, "Compensate-SkyRocket", RootPart, .2, false, _, true, 153092296, 1.4, .4) end) | |
5790 | for i = 0, 1.6, .1 do | |
5791 | swait() | |
5792 | local SwingSpeed = .25 | |
5793 | if Debounces.TEWield and not Debounces.TESWield then | |
5794 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
5795 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5796 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5797 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5798 | elseif Debounces.TESWield and not Debounces.TEWield then | |
5799 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), SwingSpeed) | |
5800 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5801 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
5802 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
5803 | end | |
5804 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-12), 0, rad(10)), SwingSpeed) | |
5805 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5806 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.3,0)*Euler(rad(120),0,0), SwingSpeed) | |
5807 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5808 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20), 0, 0), SwingSpeed) | |
5809 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5810 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(10), 0, 0), SwingSpeed) | |
5811 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5812 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-10),0,0), SwingSpeed) | |
5813 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
5814 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.6,-.4)*Euler(rad(60),0,0), SwingSpeed) | |
5815 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5816 | end | |
5817 | hit:disconnect() | |
5818 | Humanoid.WalkSpeed = 0 | |
5819 | for i = 0, .8, .1 do | |
5820 | swait() | |
5821 | local SwingSpeed = .3 | |
5822 | MagniDamage(LeftLeg, 8, false, 0, 5, false, -50, "Compensate-SkyRocket", .1, false, 0, true, "153092285", .75, .4) | |
5823 | if Debounces.TEWield and not Debounces.TESWield then | |
5824 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
5825 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5826 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5827 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5828 | elseif Debounces.TESWield and not Debounces.TEWield then | |
5829 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), SwingSpeed) | |
5830 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5831 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
5832 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
5833 | end | |
5834 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-20), 0, rad(10)), SwingSpeed) | |
5835 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5836 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-20),0,0), SwingSpeed) | |
5837 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5838 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-22), 0, 0), SwingSpeed) | |
5839 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5840 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-10), 0, 0), SwingSpeed) | |
5841 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5842 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(10),0,0), SwingSpeed) | |
5843 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
5844 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,-.8)*Euler(rad(10),0,0), SwingSpeed) | |
5845 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5846 | end | |
5847 | coroutine.resume(coroutine.create(function() | |
5848 | for i = 0, .6, .1 do | |
5849 | swait() | |
5850 | MagniDamage(LeftLeg, 22, false, 0, 50, false, 0, "Compensate-FreezeStun", .6, false, 0, true, "153092213", 1.4, .4) | |
5851 | end | |
5852 | end)) | |
5853 | MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Cf(.3, -3, -.3) * Euler(rad(90), 0, 0), 3, 3, 1, 7, 7, 1, .1) | |
5854 | MagicWave2(BC(Colour1), "Neon", RootPart.CFrame * Cf(0, -3, 0), 3, .3, 3, 7, .3, 7, .1) | |
5855 | local boo = Sound(RootPart,"http://roblox.com/asset/?id=231917806", 1, 1, false) | |
5856 | debServ:AddItem(boo, 5) | |
5857 | wait(.6) | |
5858 | FRightHip.Part0 = nil | |
5859 | FRightHip.Part1 = nil | |
5860 | RightHip.Part0 = Torso | |
5861 | RightHip.Part1 = RightLeg | |
5862 | RightHip.C0 = FRightHip.C0 | |
5863 | RightHip.C1 = FRightHip.C1 | |
5864 | FLeftHip.Part0 = nil | |
5865 | FLeftHip.Part1 = nil | |
5866 | LeftHip.Part0 = Torso | |
5867 | LeftHip.Part1 = LeftLeg | |
5868 | LeftHip.C0 = FLeftHip.C0 | |
5869 | LeftHip.C1 = FLeftHip.C1 | |
5870 | Debounces.Attacking = false | |
5871 | coroutine.resume(coroutine.create(function() | |
5872 | wait(5) | |
5873 | Debounces.Stompped = false | |
5874 | end)) | |
5875 | Debounces.DisableJump = false | |
5876 | Humanoid.WalkSpeed = CurrentSpeed | |
5877 | end | |
5878 | ||
5879 | function KeyStrokesAttacks() | |
5880 | if InputTable[1] == "a" and InputTable[2] == "s" and InputTable[3] == "d" then | |
5881 | if not Debounces.Transformed and not Debounces.DuelWielding then | |
5882 | Awaken() | |
5883 | end | |
5884 | elseif InputTable[1] == "w" and InputTable[2] == "w" then | |
5885 | if Debounces.Transformed and not Debounces.Dashing and not Debounces.Hovering then | |
5886 | ActivateDash() | |
5887 | end | |
5888 | elseif InputTable[1] == "a" and InputTable[2] == "e" and InputTable[3] == "e" then | |
5889 | if not Debounces.SpedUp then | |
5890 | Kogeki_Sokudo_Kojo() | |
5891 | else | |
5892 | Debounces.KeyStroke_CoolDown = true | |
5893 | end | |
5894 | elseif InputTable[1] == "x" and InputTable[2] == "w" and InputTable[3] == "w" then | |
5895 | if Debounces.Transformed and Debounces.TEWield then | |
5896 | if not Debounces.HurrSlash then | |
5897 | HurricaneSlash() | |
5898 | else | |
5899 | Debounces.KeyStroke_CoolDown = true | |
5900 | end | |
5901 | end | |
5902 | elseif InputTable[1] == "s" and InputTable[2] == "s" and InputTable[3] == "z" then | |
5903 | if Debounces.Transformed then | |
5904 | if not Debounces.Stompped then | |
5905 | Stomp() | |
5906 | else | |
5907 | Debounces.KeyStroke_CoolDown = true | |
5908 | end | |
5909 | end | |
5910 | end | |
5911 | end | |
5912 | ||
5913 | local Input_Time = 0 | |
5914 | local Input_MaxTime = .5 | |
5915 | local Input_Addition = .16 | |
5916 | local Max_Input = 7 | |
5917 | local Running_Timer = false | |
5918 | ||
5919 | function Input_Timer() | |
5920 | if not Running_Timer then | |
5921 | --print("Timer Started") | |
5922 | Running_Timer = true | |
5923 | repeat wait() Input_Time = Input_Time-.1 until Input_Time <= 0.1 or Debounces.Successful_KeyStroke or #InputTable == Max_Input or Debounces.KeyStroke_CoolDown | |
5924 | local function TweenTransCol(p, newCol, i) | |
5925 | p.TextColor3 = newCol | |
5926 | p:TweenPosition(Ud2(.125*i, 0, 2, 0),_, "Linear", .5, true) | |
5927 | debServ:AddItem(p, 1) | |
5928 | coroutine.resume(coroutine.create(function() | |
5929 | for i = 0, 1, .1 do | |
5930 | swait() | |
5931 | p.TextTransparency = i | |
5932 | p.TextStrokeTransparency = i | |
5933 | end | |
5934 | end)) | |
5935 | end | |
5936 | if Input_Time <= 0.1 and not Debounces.Successful_KeyStroke then | |
5937 | for i, p in pairs(InputFrameTable) do | |
5938 | if p:IsA("TextLabel") then | |
5939 | TweenTransCol(p, Col3(170/255, 0, 0), i) | |
5940 | end | |
5941 | end | |
5942 | InputFrameTable = {} | |
5943 | InputTable = {} | |
5944 | end | |
5945 | if #InputTable == Max_Input then | |
5946 | wait() | |
5947 | if not Debounces.Successful_KeyStroke then | |
5948 | for i, p in pairs(InputFrameTable) do | |
5949 | if p:IsA("TextLabel") then | |
5950 | TweenTransCol(p, Col3(170/255, 0, 0), i) | |
5951 | end | |
5952 | end | |
5953 | InputFrameTable = {} | |
5954 | InputTable = {} | |
5955 | end | |
5956 | end | |
5957 | if Debounces.Successful_KeyStroke then | |
5958 | for i, p in pairs(InputFrameTable) do | |
5959 | if p:IsA("TextLabel") then | |
5960 | TweenTransCol(p, Col3(0, 1, 0), i) | |
5961 | end | |
5962 | end | |
5963 | InputFrameTable = {} | |
5964 | InputTable = {} | |
5965 | end | |
5966 | if Debounces.KeyStroke_CoolDown then | |
5967 | for i, p in pairs(InputFrameTable) do | |
5968 | if p:IsA("TextLabel") then | |
5969 | TweenTransCol(p, Col3(1, 170/255, 0), i) | |
5970 | end | |
5971 | end | |
5972 | InputFrameTable = {} | |
5973 | InputTable = {} | |
5974 | end | |
5975 | Debounces.Successful_KeyStroke = false | |
5976 | Debounces.KeyStroke_CoolDown = false | |
5977 | Input_Time = Input_MaxTime | |
5978 | Running_Timer = false | |
5979 | end | |
5980 | end | |
5981 | ||
5982 | Mouse.KeyDown:connect(function(key) | |
5983 | if Debounces.KeyStrokeEnabled and not Debounces.Attacking and #InputTable ~= Max_Input then | |
5984 | if key == "w" or key == "a" or key == "s" or key == "d" or key == "q" or key == "e" or key == "c" or key == "x" or key == "z" then | |
5985 | table.insert(InputTable, key) | |
5986 | local newKP = KPTemplate:Clone() | |
5987 | newKP.Parent = KP | |
5988 | newKP.Text = string.upper(key) | |
5989 | if Input_Time < Input_MaxTime then | |
5990 | Input_Time = Input_Time+Input_Addition | |
5991 | end | |
5992 | table.insert(InputFrameTable, newKP) | |
5993 | for i, p in pairs(InputFrameTable) do | |
5994 | if p == newKP then | |
5995 | newKP:TweenPosition(Ud2(.125*i, 0, 0, 0),_, "Linear", .03, true) | |
5996 | end | |
5997 | end | |
5998 | coroutine.resume(coroutine.create(function() | |
5999 | KeyStrokesAttacks() | |
6000 | end)) | |
6001 | Input_Timer() | |
6002 | end | |
6003 | end | |
6004 | end) | |
6005 | ||
6006 | Mouse.KeyDown:connect(function(key) | |
6007 | --print("Key:", key) | |
6008 | if key == "f" and not Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
6009 | Debounces.Equipping = true | |
6010 | LeftShoulder.Part0 = nil | |
6011 | LeftShoulder.Part1 = nil | |
6012 | RightShoulder.Part0 = nil | |
6013 | RightShoulder.Part1 = nil | |
6014 | FLeftShoulder.Part0 = Torso | |
6015 | FLeftShoulder.Part1 = LeftArm | |
6016 | FLeftShoulder.C0 = NLSC0 | |
6017 | FLeftShoulder.C1 = NLSC1 | |
6018 | FRightShoulder.Part0 = Torso | |
6019 | FRightShoulder.Part1 = RightArm | |
6020 | FRightShoulder.C0 = NRSC0 | |
6021 | FRightShoulder.C1 = NRSC1 | |
6022 | RootJoint.Part0 = nil | |
6023 | RootJoint.Part1 = nil | |
6024 | FRootJoint.Part0 = RootPart | |
6025 | FRootJoint.Part1 = Torso | |
6026 | FRootJoint.C0 = NRJC0 | |
6027 | FRootJoint.C1 = NRJC1 | |
6028 | swait() | |
6029 | CurrentSpeed = 20 | |
6030 | Humanoid.JumpPower = 90 | |
6031 | Humanoid.WalkSpeed = CurrentSpeed | |
6032 | Debounces.Equipped = true | |
6033 | Debounces.Equipping = false | |
6034 | elseif key == "f" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.HasWep and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
6035 | Debounces.Equipping = true | |
6036 | AssumeNormalJoints() | |
6037 | swait() | |
6038 | CurrentSpeed = 16 | |
6039 | Humanoid.JumpPower = 50 | |
6040 | Humanoid.WalkSpeed = CurrentSpeed | |
6041 | Debounces.Equipped = false | |
6042 | Debounces.Equipping = false | |
6043 | end | |
6044 | if key == "f" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Debounces.Transformed and not Debounces.TESWield then | |
6045 | EquipTE() | |
6046 | end | |
6047 | if key == "g" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Debounces.Transformed and not Debounces.TEWield then | |
6048 | EquipTES() | |
6049 | end | |
6050 | if key == " " and Debounces.Equipped and not Debounces.Equipping and (Current_Anim == "Falling" or Current_Anim == "Jumping") and not Debounces.DisableJump and not Debounces.Attack and Debounces.Transformed and not Debounces.Hovering and not Debounces.TEWield then | |
6051 | Debounces.Hovering = true | |
6052 | Debounces.AnimOverride = true | |
6053 | Humanoid.WalkSpeed = CurrentSpeed*8 | |
6054 | local holdk = Mouse.KeyUp:connect(function(Key) | |
6055 | if Key == " " and Debounces.Hovering then | |
6056 | Debounces.Hovering = false | |
6057 | end | |
6058 | end) | |
6059 | local hover = Inst("BodyPosition", RootPart) | |
6060 | hover.Name = DecName | |
6061 | hover.MaxForce = Vec(0, huge, 0) | |
6062 | hover.Position = RootPart.Position | |
6063 | hover.P = 25000 | |
6064 | local moving = false | |
6065 | local go_up = Mouse.KeyDown:connect(function(k) | |
6066 | if k == "n" and not moving then | |
6067 | moving = true | |
6068 | local kek = Mouse.KeyUp:connect(function(K) | |
6069 | if K == "n" and moving then | |
6070 | moving = false | |
6071 | end | |
6072 | end) | |
6073 | repeat | |
6074 | hover.Position = Vec(0, RootPart.Position.Y+6, 0) | |
6075 | if not Debounces.Attacking then | |
6076 | local WalkSpeed = .5 | |
6077 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-10),0,rad(8)), WalkSpeed) | |
6078 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6079 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-8)), WalkSpeed) | |
6080 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6081 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,0)*Euler(rad(20),0,0), WalkSpeed) | |
6082 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6083 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-6),0,0), WalkSpeed) | |
6084 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6085 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.7,-.3)*Euler(rad(-10),rad(90),0), WalkSpeed) | |
6086 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6087 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,-.1)*Euler(rad(-6),rad(-90),0), WalkSpeed) | |
6088 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6089 | end | |
6090 | swait() | |
6091 | until not moving | |
6092 | end | |
6093 | end) | |
6094 | local go_down = Mouse.KeyDown:connect(function(k) | |
6095 | if k == "m" and not moving then | |
6096 | moving = true | |
6097 | local kek = Mouse.KeyUp:connect(function(K) | |
6098 | if K == "m" and moving then | |
6099 | moving = false | |
6100 | end | |
6101 | end) | |
6102 | repeat | |
6103 | hover.Position = Vec(0, RootPart.Position.Y-6, 0) | |
6104 | if not Debounces.Attacking then | |
6105 | local WalkSpeed = .5 | |
6106 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-5),0,rad(50)), WalkSpeed) | |
6107 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6108 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-5),0,rad(-50)), WalkSpeed) | |
6109 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6110 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,-.4)*Euler(rad(-30),0,0), WalkSpeed) | |
6111 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6112 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-6),0,0), WalkSpeed) | |
6113 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6114 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.6,-.3)*Euler(rad(-5),rad(80),0), WalkSpeed) | |
6115 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6116 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.6,-.1)*Euler(rad(-2),rad(-85),0), WalkSpeed) | |
6117 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6118 | end | |
6119 | swait() | |
6120 | until not moving | |
6121 | end | |
6122 | end) | |
6123 | LeftHip.Part0 = nil | |
6124 | LeftHip.Part1 = nil | |
6125 | FLeftHip.Part0 = Torso | |
6126 | FLeftHip.Part1 = LeftLeg | |
6127 | FLeftHip.C0 = LeftHip.C0 | |
6128 | FLeftHip.C1 = LeftHip.C1 | |
6129 | RightHip.Part0 = nil | |
6130 | RightHip.Part1 = nil | |
6131 | FRightHip.Part0 = Torso | |
6132 | FRightHip.Part1 = RightLeg | |
6133 | FRightHip.C0 = RightHip.C0 | |
6134 | FRightHip.C1 = RightHip.C1 | |
6135 | repeat | |
6136 | wait() | |
6137 | Humanoid.WalkSpeed = CurrentSpeed*4 | |
6138 | Debounces.AnimOverride = true | |
6139 | MagniDamage(LeftLeg, 6, true, 2, 6, true, 1, "Compensate-LifeSteal", .1, false, 0, false, _, _, _) | |
6140 | MagniDamage(RightLeg, 6, true, 2, 6, true, 1, "Compensate-LifeSteal", .1, false, 0, false, _, _, _) | |
6141 | MagicBlock(BC(Colour1), "Neon", LeftLeg:GetRenderCFrame()*Cf(0, -1.15, 0),.3, .3, .3, 1.3, 1.3, 1.3, .12) | |
6142 | MagicBlock(BC(Colour2), "Neon", LeftLeg:GetRenderCFrame()*Cf(0, -1.15, 0),.3, .3, .3, 1.3, 1.3, 1.3, .12) | |
6143 | MagicBlock(BC(Colour1), "Neon", RightLeg:GetRenderCFrame()*Cf(0, -1.15, 0),.3, .3, .3, 1.3, 1.3, 1.3, .12) | |
6144 | MagicBlock(BC(Colour2), "Neon", RightLeg:GetRenderCFrame()*Cf(0, -1.15, 0),.3, .3, .3, 1.3, 1.3, 1.3, .12) | |
6145 | if not moving and not Debounces.Attacking and not Debounces.Equipping then | |
6146 | LeftHip.Part0 = nil | |
6147 | LeftHip.Part1 = nil | |
6148 | FLeftHip.Part0 = Torso | |
6149 | FLeftHip.Part1 = LeftLeg | |
6150 | RightHip.Part0 = nil | |
6151 | RightHip.Part1 = nil | |
6152 | FRightHip.Part0 = Torso | |
6153 | FRightHip.Part1 = RightLeg | |
6154 | if RootPart.Velocity.Magnitude > 5 then | |
6155 | local WalkSpeed = .5 | |
6156 | if Debounces.TESWield then | |
6157 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), WalkSpeed) | |
6158 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6159 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed) | |
6160 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
6161 | end | |
6162 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-15),0,rad(17)), WalkSpeed) | |
6163 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6164 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-15),0,rad(-17)), WalkSpeed) | |
6165 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6166 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,0)*Euler(rad(8),0,0), WalkSpeed) | |
6167 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6168 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-20),0,0), WalkSpeed) | |
6169 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6170 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.5,-.3)*Euler(rad(-12),rad(90),0), WalkSpeed) | |
6171 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6172 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.8,-.1)*Euler(rad(-8),rad(-90),0), WalkSpeed) | |
6173 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6174 | else | |
6175 | idlenum = .3 | |
6176 | if idlenum2 < 9.999 and idle == 1 then | |
6177 | idlenum2 = idlenum2+idlenum | |
6178 | elseif idlenum2 > 9.999 and idle == 1 then | |
6179 | idle = -1 | |
6180 | elseif idlenum2 > 0.999 and idle == -1 then | |
6181 | idlenum2 = idlenum2-idlenum | |
6182 | elseif idlenum2 < 0.999 and idle == -1 then | |
6183 | idle = 1 | |
6184 | end | |
6185 | local IdleSpeed = .4 | |
6186 | if Debounces.TESWield then | |
6187 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), IdleSpeed) | |
6188 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), IdleSpeed) | |
6189 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed) | |
6190 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed) | |
6191 | end | |
6192 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.6,.2)*Euler(0,0,rad(6+(idlenum2/1.5))), IdleSpeed) | |
6193 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0), IdleSpeed) | |
6194 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.6,0)*Euler(0,0,rad(-6-(idlenum2/1.5))), IdleSpeed) | |
6195 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-12),0), IdleSpeed) | |
6196 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(rad(-10-(idlenum2/1.25)),0,0), IdleSpeed) | |
6197 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(16),0), IdleSpeed) | |
6198 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1-(idlenum2/60),0)*Euler(0,rad(16),0), IdleSpeed) | |
6199 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), IdleSpeed) | |
6200 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8+(idlenum2/60),.08)*Euler(rad(-4),rad(-10),0), IdleSpeed) | |
6201 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), IdleSpeed) | |
6202 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1+(idlenum2/60),.02)*Euler(rad(-4),rad(8),0), IdleSpeed) | |
6203 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), IdleSpeed) | |
6204 | end | |
6205 | end | |
6206 | until not Debounces.Hovering or Debounces.Guarding or Debounces.Successful_KeyStroke | |
6207 | FLeftHip.Part0 = nil | |
6208 | FLeftHip.Part1 = nil | |
6209 | LeftHip.Part0 = Torso | |
6210 | LeftHip.Part1 = LeftLeg | |
6211 | LeftHip.C0 = FLeftHip.C0 | |
6212 | LeftHip.C1 = FLeftHip.C1 | |
6213 | FRightHip.Part0 = nil | |
6214 | FRightHip.Part1 = nil | |
6215 | RightHip.Part0 = Torso | |
6216 | RightHip.Part1 = RightLeg | |
6217 | RightHip.C0 = FRightHip.C0 | |
6218 | RightHip.C1 = FRightHip.C1 | |
6219 | debServ:AddItem(hover, 0) | |
6220 | Humanoid.WalkSpeed = CurrentSpeed | |
6221 | Debounces.AnimOverride = false | |
6222 | Debounces.Hovering = false | |
6223 | end | |
6224 | if key == " " and Debounces.Equipped and not Debounces.Equipping and Debounces.Can_Double_Jump and not Debounces.DisableJump and not Debounces.Transformed then | |
6225 | Debounces.Can_Double_Jump = false | |
6226 | Debounces.DoubleJumping = true | |
6227 | RootPart.Velocity = Vec(0, 180, 0) | |
6228 | local noscope = 0 | |
6229 | if not Debounces.DoubleJumpAnim then | |
6230 | Debounces.AnimOverride = true | |
6231 | Debounces.DoubleJumpAnim = true | |
6232 | Current_Anim = "Jumping" | |
6233 | for i = 0, 1.6, .1 do | |
6234 | swait() | |
6235 | if noscope ~= 360 then | |
6236 | noscope = noscope+30 | |
6237 | end | |
6238 | if not Debounces.Attacking then | |
6239 | local JumpSpeed = .4 | |
6240 | if Debounces.HasWep then | |
6241 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
6242 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
6243 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), JumpSpeed) | |
6244 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), JumpSpeed) | |
6245 | end | |
6246 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-30),0,rad(10)), JumpSpeed) | |
6247 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
6248 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-30),0,rad(-10)), JumpSpeed) | |
6249 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
6250 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(15),0,0), JumpSpeed) | |
6251 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
6252 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-10),0,0), JumpSpeed) | |
6253 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(noscope),0), JumpSpeed) | |
6254 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(rad(-8),rad(90),0), JumpSpeed) | |
6255 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
6256 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-20),rad(-90),0), JumpSpeed) | |
6257 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
6258 | end | |
6259 | end | |
6260 | Current_Anim = "Falling" | |
6261 | Debounces.DoubleJumpAnim = false | |
6262 | Debounces.AnimOverride = false | |
6263 | end | |
6264 | Debounces.DoubleJumping = false | |
6265 | end | |
6266 | if key == "e" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
6267 | Disrupt() | |
6268 | end | |
6269 | if key == "z" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.HasWep and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
6270 | Z_Pressed = true | |
6271 | Fatal_Blow() | |
6272 | Z_Pressed = false | |
6273 | end | |
6274 | if key == "z" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Debounces.HasWep and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
6275 | Hate_Wave() | |
6276 | end | |
6277 | if key == "c" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Debounces.HasWep and not Debounces.DuelWielding and not Debounces.Transformed and not Debounces.KeyStrokeEnabled and not Debounces.Charging_Erupt then | |
6278 | Debounces.Charging_Erupt = true | |
6279 | releasez = Mouse.KeyUp:connect(function(Key) | |
6280 | if Key == "c" and Debounces.Charging_Erupt then | |
6281 | Debounces.Charging_Erupt = false | |
6282 | releasez:disconnect() | |
6283 | end | |
6284 | end) | |
6285 | Dark_Eruption() | |
6286 | end | |
6287 | if key == "r" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.DuelWielding and not Debounces.TEWield and not Debounces.TESWield and not Debounces.Guarding and Debounces.CanGuard then | |
6288 | Debounces.Guarding = true | |
6289 | greal = Mouse.KeyUp:connect(function(Key) | |
6290 | if Key == "r" and Debounces.Guarding then | |
6291 | Debounces.Guarding = false | |
6292 | greal:disconnect() | |
6293 | end | |
6294 | end) | |
6295 | Corrupt_Guard() | |
6296 | end | |
6297 | if key == "x" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
6298 | game:GetService("RunService").Stepped:wait() | |
6299 | Axel(SWP.Value) | |
6300 | end | |
6301 | if key == "s" and not SWP.Value and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
6302 | SWP.Value = true | |
6303 | swait(.08) | |
6304 | SWP.Value = false | |
6305 | end | |
6306 | if key == "g" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed then | |
6307 | if not Debounces.DuelWielding and not Debounces.HasWep then | |
6308 | Equip_Denial() | |
6309 | elseif not Debounces.DuelWielding and Debounces.HasWep then | |
6310 | Unequip_Denial() | |
6311 | end | |
6312 | end | |
6313 | if key == "2" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed then | |
6314 | swait() | |
6315 | Debounces.KeyStrokeEnabled = not Debounces.KeyStrokeEnabled | |
6316 | end | |
6317 | if key == "]" then | |
6318 | if not Debounces.ZeroGravity then | |
6319 | Debounces.ZeroGravity = true | |
6320 | chatServ:Chat(Head, "Zero gravity!", 2) | |
6321 | repeat workspace.Gravity = 1 runServ.Stepped:wait() until not Debounces.ZeroGravity | |
6322 | else | |
6323 | Debounces.ZeroGravity = false | |
6324 | workspace.Gravity = 196.2 | |
6325 | chatServ:Chat(Head, "Revert gravity.", 0) | |
6326 | end | |
6327 | end | |
6328 | end) | |
6329 | ||
6330 | Mouse.Button1Down:connect(function() | |
6331 | if Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking then | |
6332 | ClickCombo() | |
6333 | end | |
6334 | end) | |
6335 | ||
6336 | local SSS = 1 | |
6337 | Humanoid.Running:connect(function(speed) | |
6338 | if speed > SSS then | |
6339 | if not Debounces.Dashing and Humanoid.WalkSpeed == CurrentSpeed then | |
6340 | Current_Anim = "Walking" | |
6341 | else | |
6342 | Current_Anim = "Dashing" | |
6343 | end | |
6344 | Debounces.Can_Double_Jump = false | |
6345 | elseif speed < SSS or speed == 0 then | |
6346 | Current_Anim = "Idle" | |
6347 | Debounces.Dashing = false | |
6348 | Debounces.Can_Double_Jump = false | |
6349 | end | |
6350 | end) | |
6351 | Humanoid.FreeFalling:connect(function() | |
6352 | if Current_Anim ~= "Falling" then | |
6353 | Current_Anim = "Falling" | |
6354 | Debounces.Can_Double_Jump = true | |
6355 | end | |
6356 | end) | |
6357 | Humanoid.Jumping:connect(function() | |
6358 | Current_Anim = "Jumping" | |
6359 | if Debounces.Equipped and not Debounces.Equipping and not Debounces.JumpAnim and not Debounces.DisableJump then | |
6360 | Debounces.Can_Double_Jump = true | |
6361 | Debounces.AnimOverride = true | |
6362 | Debounces.JumpAnim = true | |
6363 | for i = 0, .8, .1 do | |
6364 | swait() | |
6365 | if not Debounces.Attacking then | |
6366 | local JumpSpeed = .4 | |
6367 | if Debounces.HasWep then | |
6368 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
6369 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
6370 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), JumpSpeed) | |
6371 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), JumpSpeed) | |
6372 | end | |
6373 | if Debounces.TEWield then | |
6374 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,-.6)*Euler(rad(90),rad(180),0), JumpSpeed) | |
6375 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
6376 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(-10),rad(18),0), JumpSpeed) | |
6377 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
6378 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(30), 0, rad(-10)), JumpSpeed) | |
6379 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(-20), 0), JumpSpeed) | |
6380 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.4,-.96)*Euler(rad(52),0,rad(34)), JumpSpeed) | |
6381 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(60),0), JumpSpeed) | |
6382 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(4),rad(-12),0), JumpSpeed) | |
6383 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
6384 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(7),rad(12),0), JumpSpeed) | |
6385 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
6386 | if not Debounces.Dashing then | |
6387 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(rad(-16),rad(80),0), JumpSpeed) | |
6388 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
6389 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-8),rad(-86),0), JumpSpeed) | |
6390 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
6391 | else | |
6392 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-16),rad(80),0), JumpSpeed) | |
6393 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
6394 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-8),rad(-86),0), JumpSpeed) | |
6395 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
6396 | end | |
6397 | else | |
6398 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-30),0,rad(10)), JumpSpeed) | |
6399 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
6400 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-30),0,rad(-10)), JumpSpeed) | |
6401 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
6402 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(15),0,0), JumpSpeed) | |
6403 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
6404 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-20),0,0), JumpSpeed) | |
6405 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
6406 | if not Debounces.Dashing then | |
6407 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(rad(-8),rad(90),0), JumpSpeed) | |
6408 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
6409 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-20),rad(-90),0), JumpSpeed) | |
6410 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
6411 | else | |
6412 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-8),rad(90),0), JumpSpeed) | |
6413 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
6414 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-20),rad(-90),0), JumpSpeed) | |
6415 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
6416 | end | |
6417 | end | |
6418 | end | |
6419 | end | |
6420 | Debounces.JumpAnim = false | |
6421 | Debounces.AnimOverride = false | |
6422 | end | |
6423 | end) | |
6424 | Humanoid.Swimming:connect(function() | |
6425 | Current_Anim = "Walking" | |
6426 | Debounces.Can_Double_Jump = true | |
6427 | end) | |
6428 | ||
6429 | Humanoid.Changed:connect(function() | |
6430 | if Humanoid.PlatformStand then | |
6431 | Humanoid.PlatformStand = false | |
6432 | end | |
6433 | end) | |
6434 | ||
6435 | runServ.RenderStepped:connect(function() | |
6436 | Bringer() | |
6437 | --print("Current Animation:", Current_Anim) | |
6438 | if Debounces.KeyStrokeEnabled then | |
6439 | KPTemplate.Text = ">>>" | |
6440 | KPTemplate.TextColor3 = Col3(1, 1, 1) | |
6441 | else | |
6442 | KPTemplate.Text = "-X-" | |
6443 | KPTemplate.TextColor3 = Col3(170/255, 0, 0) | |
6444 | end | |
6445 | if not GodMode then | |
6446 | Humanoid.MaxHealth = Max_Health | |
6447 | end | |
6448 | --[[if Debounces.KeyStrokeEnabled and not Debounces.Attacking and not Debounces.Equipping and Current_Anim ~= "Jumping" and Current_Anim ~= "Falling" then | |
6449 | RGyro.MaxTorque = Vec(0, 1500, 0) | |
6450 | SSS = 3 | |
6451 | print(RootPart.Velocity.magnitude) | |
6452 | RGyro.P = 15000 | |
6453 | RGyro.D = 750 | |
6454 | RGyro.CFrame = (Cf(RootPart.Position,Vec(Camera.CoordinateFrame.X,RootPart.Position.Y,Camera.CoordinateFrame.Z))*Euler(0,math.pi,0)) | |
6455 | --CamGyro.CFrame = Cf(Vec(Camera.CoordinateFrame.p.x, RootPart.CFrame.p.y, Camera.CoordinateFrame.p.z)) | |
6456 | else | |
6457 | SSS = 1 | |
6458 | if Debounces.KeyStrokeEnabled then | |
6459 | RGyro.MaxTorque = Vec(0, 1500, 0) | |
6460 | else | |
6461 | RGyro.MaxTorque = Vec(0, 0, 0) | |
6462 | end | |
6463 | end]] | |
6464 | Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false) | |
6465 | Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying, false) | |
6466 | Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false) | |
6467 | if #Effects>0 then | |
6468 | --table.insert(Effects,{prt,"Block1",delay}) | |
6469 | for e=1,#Effects do | |
6470 | if Effects[e]~=nil then | |
6471 | --for j=1,#Effects[e] do | |
6472 | local Thing=Effects[e] | |
6473 | if Thing~=nil then | |
6474 | local Part=Thing[1] | |
6475 | local Mode=Thing[2] | |
6476 | local Delay=Thing[3] | |
6477 | local IncX=Thing[4] | |
6478 | local IncY=Thing[5] | |
6479 | local IncZ=Thing[6] | |
6480 | if Thing[1].Transparency<=1 then | |
6481 | if Thing[2]=="Block1" then | |
6482 | Thing[1].CFrame=Thing[1].CFrame*Euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
6483 | Mesh=Thing[1]:FindFirstChild("Mesh") | |
6484 | if not Mesh then | |
6485 | Mesh = Instance.new("BlockMesh") | |
6486 | end | |
6487 | Mesh.Scale=Mesh.Scale+Vec(Thing[4],Thing[5],Thing[6]) | |
6488 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
6489 | elseif Thing[2]=="Wave" then | |
6490 | Thing[1].CFrame=Thing[1].CFrame*CFrame.Angles(0, rad(10), 0) | |
6491 | Mesh=Thing[1]:FindFirstChild("Mesh") | |
6492 | if not Mesh then | |
6493 | Mesh = Instance.new("BlockMesh") | |
6494 | end | |
6495 | Mesh.Scale=Mesh.Scale+Vec(Thing[4],Thing[5],Thing[6]) | |
6496 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
6497 | elseif Thing[2]=="Cylinder" then | |
6498 | Mesh=Thing[1]:FindFirstChild("Mesh") | |
6499 | if not Mesh then | |
6500 | Mesh = Instance.new("BlockMesh") | |
6501 | end | |
6502 | Mesh.Scale=Mesh.Scale+Vec(Thing[4],Thing[5],Thing[6]) | |
6503 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
6504 | elseif Thing[2]=="Blood" then | |
6505 | Mesh=Thing[1]:FindFirstChild("Mesh") | |
6506 | if not Mesh then | |
6507 | Mesh = Instance.new("BlockMesh") | |
6508 | end | |
6509 | Thing[1].CFrame=Thing[1].CFrame*Cf(0,.5,0) | |
6510 | Mesh.Scale=Mesh.Scale+Vec(Thing[4],Thing[5],Thing[6]) | |
6511 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
6512 | elseif Thing[2]=="Elec" then | |
6513 | Mesh=Thing[1]:FindFirstChild("Mesh") | |
6514 | if not Mesh then | |
6515 | Mesh = Instance.new("BlockMesh") | |
6516 | end | |
6517 | Mesh.Scale=Mesh.Scale+Vec(Thing[7],Thing[8],Thing[9]) | |
6518 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
6519 | elseif Thing[2]=="Disappear" then | |
6520 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
6521 | end | |
6522 | else | |
6523 | Part.Parent=nil | |
6524 | debServ:AddItem(Part, 0) | |
6525 | table.remove(Effects,e) | |
6526 | end | |
6527 | end | |
6528 | end | |
6529 | end | |
6530 | end | |
6531 | end) | |
6532 | ||
6533 | --[[FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,rad(-90),0),.3) | |
6534 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-90),0),.3) | |
6535 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,rad(90),0),.3) | |
6536 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(90),0),.3) | |
6537 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0),.3) | |
6538 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),.3) | |
6539 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,0,0),.3) | |
6540 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
6541 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0),.3) | |
6542 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.3) | |
6543 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0),.3) | |
6544 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.3)--]] | |
6545 | ||
6546 | while true do | |
6547 | swait() | |
6548 | if not Debounces.Guarding and Debounces.CanGuard then | |
6549 | VHealth.Value = VHealth.Value+(GH/6000) | |
6550 | end | |
6551 | --[[if game.CreatorId ~= 43981323 then | |
6552 | local fakeScript = Instance.new("LocalScript", C_Fold) | |
6553 | fakeScript.Name = "Chaos" | |
6554 | end]] | |
6555 | if Debounces.Equipped and not Debounces.Attacking and not Debounces.AnimOverride and not Debounces.Equipping and Debounces.Transformed then | |
6556 | if Current_Anim == "Idle" and not Debounces.TEWield and not Debounces.TESWield then | |
6557 | idlenum = .3 | |
6558 | if idlenum2 < 9.999 and idle == 1 then | |
6559 | idlenum2 = idlenum2+idlenum | |
6560 | elseif idlenum2 > 9.999 and idle == 1 then | |
6561 | idle = -1 | |
6562 | elseif idlenum2 > 0.999 and idle == -1 then | |
6563 | idlenum2 = idlenum2-idlenum | |
6564 | elseif idlenum2 < 0.999 and idle == -1 then | |
6565 | idle = 1 | |
6566 | end | |
6567 | local IdleSpeed = .4 | |
6568 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), IdleSpeed) | |
6569 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), IdleSpeed) | |
6570 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.6,.2)*Euler(0,0,rad(6+(idlenum2/1.5))), IdleSpeed) | |
6571 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0), IdleSpeed) | |
6572 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.6,0)*Euler(0,0,rad(-6-(idlenum2/1.5))), IdleSpeed) | |
6573 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-12),0), IdleSpeed) | |
6574 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(rad(-20-(idlenum2/1.25)),0,0), IdleSpeed) | |
6575 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(10),0), IdleSpeed) | |
6576 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1-(idlenum2/60),0)*Euler(0,rad(10),0), IdleSpeed) | |
6577 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), IdleSpeed) | |
6578 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1+(idlenum2/60),.08)*Euler(0,rad(90),0), IdleSpeed) | |
6579 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(100),0), IdleSpeed) | |
6580 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1+(idlenum2/60),.02)*Euler(0,rad(-90),0), IdleSpeed) | |
6581 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-96),0), IdleSpeed) | |
6582 | elseif Current_Anim == "Idle" and not Debounces.TEWield and Debounces.TESWield then | |
6583 | idlenum = .3 | |
6584 | if idlenum2 < 9.999 and idle == 1 then | |
6585 | idlenum2 = idlenum2+idlenum | |
6586 | elseif idlenum2 > 9.999 and idle == 1 then | |
6587 | idle = -1 | |
6588 | elseif idlenum2 > 0.999 and idle == -1 then | |
6589 | idlenum2 = idlenum2-idlenum | |
6590 | elseif idlenum2 < 0.999 and idle == -1 then | |
6591 | idle = 1 | |
6592 | end | |
6593 | local IdleSpeed = .4 | |
6594 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), IdleSpeed) | |
6595 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), IdleSpeed) | |
6596 | HWeld2.C0=clerp(HWeld2.C0,Cf(0,-1,0)*Euler(0,0,0), IdleSpeed) | |
6597 | HWeld2.C1=clerp(HWeld2.C1,Cf(0,0,0)*Euler(0,0,0), IdleSpeed) | |
6598 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.6,.2)*Euler(0,0,rad(6+(idlenum2/1.5))), IdleSpeed) | |
6599 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0), IdleSpeed) | |
6600 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.6,0)*Euler(0,0,rad(-6-(idlenum2/1.5))), IdleSpeed) | |
6601 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-12),0), IdleSpeed) | |
6602 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(rad(-20-(idlenum2/1.25)),0,0), IdleSpeed) | |
6603 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-10),0), IdleSpeed) | |
6604 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1-(idlenum2/60),0)*Euler(0,rad(-10),0), IdleSpeed) | |
6605 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), IdleSpeed) | |
6606 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1+(idlenum2/60),.08)*Euler(0,rad(90),0), IdleSpeed) | |
6607 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(100),0), IdleSpeed) | |
6608 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1+(idlenum2/60),.02)*Euler(0,rad(-90),0), IdleSpeed) | |
6609 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-96),0), IdleSpeed) | |
6610 | elseif Current_Anim == "Idle" and Debounces.TEWield and not Debounces.TESWield then | |
6611 | idlenum = .2 | |
6612 | if idlenum2 < 9.999 and idle == 1 then | |
6613 | idlenum2 = idlenum2+idlenum | |
6614 | elseif idlenum2 > 9.999 and idle == 1 then | |
6615 | idle = -1 | |
6616 | elseif idlenum2 > 0.999 and idle == -1 then | |
6617 | idlenum2 = idlenum2-idlenum | |
6618 | elseif idlenum2 < 0.999 and idle == -1 then | |
6619 | idle = 1 | |
6620 | end | |
6621 | local IdleSpeed = .4 | |
6622 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,-.7)*Euler(rad(90),0,0), IdleSpeed) | |
6623 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), IdleSpeed) | |
6624 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(-120),rad(70),0), IdleSpeed) | |
6625 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), IdleSpeed) | |
6626 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0-(idlenum2/65),0)*Euler(rad(120), rad(0), rad(10)), IdleSpeed) | |
6627 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.45,0)*Euler(0, 0, 0), IdleSpeed) | |
6628 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.86,0.4-(idlenum2/65),-1.2)*Euler(rad(110),0,rad(40)), IdleSpeed) | |
6629 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(60),0), IdleSpeed) | |
6630 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(60), 0), IdleSpeed) | |
6631 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(5+(idlenum2/2)),0,0), IdleSpeed) | |
6632 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1-(idlenum2/50),0)*Euler(rad(-7), rad(-70), 0), IdleSpeed) | |
6633 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), IdleSpeed) | |
6634 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1+(idlenum2/50),0)*Euler(0,rad(80),0), IdleSpeed) | |
6635 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), IdleSpeed) | |
6636 | LeftHip.C0=clerp(LeftHip.C0,Cf(-.8,-1+(idlenum2/50),-.36)*Euler(rad(-7),rad(-27),0), IdleSpeed) | |
6637 | LeftHip.C1=clerp(LeftHip.C1,Cf(0,1,0)*Euler(rad(-15),rad(-90),0), IdleSpeed) | |
6638 | end | |
6639 | if Current_Anim == "Walking" and not Debounces.TEWield then | |
6640 | local WalkSpeed = .5 | |
6641 | RightHip.MaxVelocity = .1/2.5 | |
6642 | LeftHip.MaxVelocity = .1/2.5 | |
6643 | if Debounces.TESWield then | |
6644 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(95),0,0), WalkSpeed) | |
6645 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6646 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-5)), .8) | |
6647 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6648 | else | |
6649 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(math.deg(LeftHip.CurrentAngle)/1.5),0,rad(-5)), .8) | |
6650 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6651 | end | |
6652 | HWeld2.C0=clerp(HWeld2.C0,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6653 | HWeld2.C1=clerp(HWeld2.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6654 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(-rad(math.deg(LeftHip.CurrentAngle)/1.5),0,rad(5)), .8) | |
6655 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6656 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-16),0,0), WalkSpeed) | |
6657 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6658 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-12),0,0), WalkSpeed) | |
6659 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6660 | RightHip.C0=clerp(RightHip.C0,Cf(.5,-1,.2)*Euler(0,rad(90),0), WalkSpeed) | |
6661 | RightHip.C1=clerp(RightHip.C1,Cf(0,1,.2)*Euler(0,rad(90),0), WalkSpeed) | |
6662 | LeftHip.C0=clerp(LeftHip.C0,Cf(-.5,-1,.2)*Euler(0,rad(-90),0), WalkSpeed) | |
6663 | LeftHip.C1=clerp(LeftHip.C1,Cf(0,1,.2)*Euler(0,rad(-90),0), WalkSpeed) | |
6664 | elseif Current_Anim == "Walking" and Debounces.TEWield then | |
6665 | local WalkSpeed = .5 | |
6666 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,-.6)*Euler(rad(90),rad(180),0), WalkSpeed) | |
6667 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6668 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(-10),rad(18),0), WalkSpeed) | |
6669 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6670 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(30), 0, rad(-10)), WalkSpeed) | |
6671 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(-20), 0), WalkSpeed) | |
6672 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.4,-.96)*Euler(rad(52),0,rad(34)), WalkSpeed) | |
6673 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(60),0), WalkSpeed) | |
6674 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(20), 0), WalkSpeed) | |
6675 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(5),0,0), WalkSpeed) | |
6676 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-11), rad(-20), 0), WalkSpeed) | |
6677 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), WalkSpeed) | |
6678 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(82),0), WalkSpeed) | |
6679 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6680 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,-.1)*Euler(rad(-7),rad(-80),0), WalkSpeed) | |
6681 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(rad(-15),rad(-90),0), WalkSpeed) | |
6682 | end | |
6683 | if Current_Anim == "Dashing" and not Debounces.TEWield then | |
6684 | local WalkSpeed = .5 | |
6685 | if Debounces.TESWield then | |
6686 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(130),0,0), WalkSpeed) | |
6687 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6688 | end | |
6689 | HWeld2.C0=clerp(HWeld2.C0,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6690 | HWeld2.C1=clerp(HWeld2.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6691 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-50),0,rad(15)), .8) | |
6692 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6693 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-50),0,rad(-15)), .8) | |
6694 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6695 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,0)*Euler(rad(30),0,0), WalkSpeed) | |
6696 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6697 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-60),0,0), WalkSpeed) | |
6698 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6699 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-20),rad(90),0), WalkSpeed) | |
6700 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6701 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.8,-.1)*Euler(rad(-8),rad(-90),0), WalkSpeed) | |
6702 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6703 | elseif Current_Anim == "Dashing" and Debounces.TEWield then | |
6704 | local WalkSpeed = .5 | |
6705 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,0)*Euler(rad(60),rad(180),0), WalkSpeed) | |
6706 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6707 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6708 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6709 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(95),0,rad(15)), .8) | |
6710 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6711 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(10),0,rad(-15)), .8) | |
6712 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6713 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,0)*Euler(rad(30),0,0), WalkSpeed) | |
6714 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6715 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-60),0,0), WalkSpeed) | |
6716 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6717 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.5,-.6)*Euler(rad(-20),rad(90),0), WalkSpeed) | |
6718 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6719 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.8,-.1)*Euler(rad(-8),rad(-90),0), WalkSpeed) | |
6720 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6721 | end | |
6722 | if Current_Anim == "Falling" and not Debounces.TEWield and not Debounces.TESWield then | |
6723 | local FallSpeed = .5 | |
6724 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), FallSpeed) | |
6725 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6726 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.35,0)*Euler(rad(-25),0,rad(8)), FallSpeed) | |
6727 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), FallSpeed) | |
6728 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(80),0,rad(60)), FallSpeed) | |
6729 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), FallSpeed) | |
6730 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20),0,0), FallSpeed) | |
6731 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6732 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(10),0,0), FallSpeed) | |
6733 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), FallSpeed) | |
6734 | if not Debounces.Dashing then | |
6735 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-20),rad(90),0), FallSpeed) | |
6736 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), FallSpeed) | |
6737 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(8),rad(-90),0), FallSpeed) | |
6738 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), FallSpeed) | |
6739 | else | |
6740 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-20),rad(90),0), FallSpeed) | |
6741 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), FallSpeed) | |
6742 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(8),rad(-90),0), FallSpeed) | |
6743 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), FallSpeed) | |
6744 | end | |
6745 | elseif Current_Anim == "Falling" and not Debounces.TEWield and Debounces.TESWield then | |
6746 | local FallSpeed = .5 | |
6747 | HWeld2.C0=clerp(HWeld2.C0,Cf(0,-1,0)*Euler(0,0,0), FallSpeed) | |
6748 | HWeld2.C1=clerp(HWeld2.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6749 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), FallSpeed) | |
6750 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6751 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,1,0)*Euler(rad(160),0,0), FallSpeed) | |
6752 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,rad(-15)), FallSpeed) | |
6753 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,1,0)*Euler(rad(160),0,0), FallSpeed) | |
6754 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,rad(15)), FallSpeed) | |
6755 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20),0,0), FallSpeed) | |
6756 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6757 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(10),0,0), FallSpeed) | |
6758 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), FallSpeed) | |
6759 | if not Debounces.Dashing then | |
6760 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-20),rad(90),0), FallSpeed) | |
6761 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), FallSpeed) | |
6762 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(8),rad(-90),0), FallSpeed) | |
6763 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), FallSpeed) | |
6764 | else | |
6765 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-20),rad(90),0), FallSpeed) | |
6766 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), FallSpeed) | |
6767 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(8),rad(-90),0), FallSpeed) | |
6768 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), FallSpeed) | |
6769 | end | |
6770 | elseif Current_Anim == "Falling" and Debounces.TEWield and not Debounces.TESWield then | |
6771 | local FallSpeed = .5 | |
6772 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,0)*Euler(rad(90),rad(180),0), FallSpeed) | |
6773 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6774 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(-12),0,0), FallSpeed) | |
6775 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6776 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(30), 0, rad(10)), FallSpeed) | |
6777 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(10), 0), FallSpeed) | |
6778 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(80),0,rad(60)), FallSpeed) | |
6779 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), FallSpeed) | |
6780 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-20),rad(-12),0), FallSpeed) | |
6781 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), FallSpeed) | |
6782 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-16),rad(12),0), FallSpeed) | |
6783 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6784 | if not Debounces.Dashing then | |
6785 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.7,0)*Euler(rad(20),rad(80),0), FallSpeed) | |
6786 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), FallSpeed) | |
6787 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.3,-.5)*Euler(rad(7),rad(-86),0), FallSpeed) | |
6788 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), FallSpeed) | |
6789 | else | |
6790 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.7,0)*Euler(rad(20),rad(80),0), FallSpeed) | |
6791 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), FallSpeed) | |
6792 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.3,-.5)*Euler(rad(7),rad(-86),0), FallSpeed) | |
6793 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), FallSpeed) | |
6794 | end | |
6795 | end | |
6796 | end | |
6797 | if Debounces.Equipped and not Debounces.Attacking and not Debounces.AnimOverride and not Debounces.Equipping and not Debounces.Transformed then | |
6798 | if Current_Anim == "Idle" and not Debounces.HasWep then | |
6799 | idlenum = .3 | |
6800 | if idlenum2 < 9.999 and idle == 1 then | |
6801 | idlenum2 = idlenum2+idlenum | |
6802 | elseif idlenum2 > 9.999 and idle == 1 then | |
6803 | idle = -1 | |
6804 | elseif idlenum2 > 0.999 and idle == -1 then | |
6805 | idlenum2 = idlenum2-idlenum | |
6806 | elseif idlenum2 < 0.999 and idle == -1 then | |
6807 | idle = 1 | |
6808 | end | |
6809 | local IdleSpeed = .4 | |
6810 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.85,0.45-(idlenum2/70),-1)*Euler(rad(60),0,rad(-40)), IdleSpeed) | |
6811 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(1-(idlenum2*2)),rad(-20),0), IdleSpeed) | |
6812 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.3-(idlenum2/70),-.3)*Euler(rad(120),0,rad(-40)), IdleSpeed) | |
6813 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(rad(1-(idlenum2*2)),rad(20),0), IdleSpeed) | |
6814 | Neck.C0=clerp(Neck.C0,Cf(0,1.5+(idlenum2/50),0)*Euler(rad(-20),rad(40),0), IdleSpeed) | |
6815 | Neck.C1=clerp(Neck.C1,Cf(0,0,.1+(idlenum2/50))*Euler(rad(1+(idlenum2*1.5)),0,0), IdleSpeed) | |
6816 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1-(idlenum2/40),0)*Euler(0,rad(-40),0), IdleSpeed) | |
6817 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), IdleSpeed) | |
6818 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1+(idlenum2/38),-.6)*Euler(0,rad(120),0), IdleSpeed) | |
6819 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(rad(10),rad(90),0), IdleSpeed) | |
6820 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1+(idlenum2/38),.4)*Euler(0,rad(-50),0), IdleSpeed) | |
6821 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(rad(10),rad(-90),0), IdleSpeed) | |
6822 | elseif Current_Anim == "Idle" and Debounces.HasWep then | |
6823 | if not Debounces.DuelWielding then | |
6824 | idlenum = .3 | |
6825 | if idlenum2 < 9.999 and idle == 1 then | |
6826 | idlenum2 = idlenum2+idlenum | |
6827 | elseif idlenum2 > 9.999 and idle == 1 then | |
6828 | idle = -1 | |
6829 | elseif idlenum2 > 0.999 and idle == -1 then | |
6830 | idlenum2 = idlenum2-idlenum | |
6831 | elseif idlenum2 < 0.999 and idle == -1 then | |
6832 | idle = 1 | |
6833 | end | |
6834 | local IdleSpeed = .4 | |
6835 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad((6.5-(idlenum2/2))),0,0), IdleSpeed) | |
6836 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), IdleSpeed) | |
6837 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), IdleSpeed) | |
6838 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), IdleSpeed) | |
6839 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.53,.2)*Euler(0,0,rad(12+(idlenum2/2))), IdleSpeed) | |
6840 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0), IdleSpeed) | |
6841 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53,0)*Euler(0,0,rad(-12-(idlenum2/2))), IdleSpeed) | |
6842 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-12),0), IdleSpeed) | |
6843 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(rad(-10-(idlenum2/2)),0,0), IdleSpeed) | |
6844 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-20),0), IdleSpeed) | |
6845 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-(1+(idlenum2/50)),0)*Euler(0,rad(-20),0), IdleSpeed) | |
6846 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), IdleSpeed) | |
6847 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-(1-(idlenum2/50)),.15)*Euler(0,rad(90),0), IdleSpeed) | |
6848 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(105),0), IdleSpeed) | |
6849 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-(1-(idlenum2/50)),.3)*Euler(0,rad(-90),0), IdleSpeed) | |
6850 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-115),0), IdleSpeed) | |
6851 | end | |
6852 | end | |
6853 | if Current_Anim == "Walking" and not Debounces.HasWep then | |
6854 | local WalkSpeed = .4 | |
6855 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.35,0)*Euler(rad(-25),0,rad(8)), WalkSpeed) | |
6856 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6857 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(80),0,rad(60)), WalkSpeed) | |
6858 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6859 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(3),0,0), WalkSpeed) | |
6860 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6861 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-10),0,0), WalkSpeed) | |
6862 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6863 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6864 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6865 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6866 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6867 | elseif Current_Anim == "Walking" and Debounces.HasWep then | |
6868 | if not Debounces.DuelWielding then | |
6869 | local WalkSpeed = .4 | |
6870 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1.3,.3)*Euler(rad(24),0,0), WalkSpeed) | |
6871 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6872 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), WalkSpeed) | |
6873 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), WalkSpeed) | |
6874 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.65,0)*Euler(0,0,rad(12)), WalkSpeed) | |
6875 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6876 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(85),0,rad(70)), WalkSpeed) | |
6877 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6878 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(7),0,0), WalkSpeed) | |
6879 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6880 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-13),0,0), WalkSpeed) | |
6881 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6882 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6883 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6884 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6885 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6886 | end | |
6887 | end | |
6888 | if Current_Anim == "Falling" then | |
6889 | local FallSpeed = .5 | |
6890 | if Debounces.HasWep then | |
6891 | if not Debounces.DuelWielding then | |
6892 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(90),0,0), FallSpeed) | |
6893 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6894 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), FallSpeed) | |
6895 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), FallSpeed) | |
6896 | else | |
6897 | end | |
6898 | end | |
6899 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,1,0)*Euler(rad(160),0,0), FallSpeed) | |
6900 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,rad(-15)), FallSpeed) | |
6901 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,1,0)*Euler(rad(160),0,0), FallSpeed) | |
6902 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,rad(15)), FallSpeed) | |
6903 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20),0,0), FallSpeed) | |
6904 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6905 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(10),0,0), FallSpeed) | |
6906 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), FallSpeed) | |
6907 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-20),rad(90),0), FallSpeed) | |
6908 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), FallSpeed) | |
6909 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(8),rad(-90),0), FallSpeed) | |
6910 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), FallSpeed) | |
6911 | end | |
6912 | end | |
6913 | end |