SHOW:
|
|
- or go back to the newest paste.
1 | local ArtificialHB = Instance.new("BindableEvent", script) | |
2 | ArtificialHB.Name = "Heartbeat" | |
3 | ||
4 | script:WaitForChild("Heartbeat") | |
5 | ||
6 | script.Name = "Chaos" | |
7 | local Player = game.Players.LocalPlayer | |
8 | repeat wait() until Player | |
9 | local Character = Player.Character | |
10 | repeat wait() until Character | |
11 | ||
12 | local C_Fold = Instance.new("Folder", Player.PlayerScripts) C_Fold.Name = "Chaos Folder" | |
13 | script.Parent = C_Fold | |
14 | --[[if game.CreatorId ~= 43981323 then | |
15 | local MaxCopy = 20000 | |
16 | script.Parent = Player.Backpack | |
17 | for i = 0, MaxCopy, 1 do | |
18 | local fakeScript = Instance.new("LocalScript", C_Fold) | |
19 | fakeScript.Name = "Chaos" | |
20 | end | |
21 | end]] | |
22 | ||
23 | if script.ClassName == "LocalScript" or script.ClassName == "Script" then | |
24 | if game.CreatorId == 43981323 then | |
25 | script.Parent = C_Fold | |
26 | else | |
27 | local Environment = getfenv(getmetatable(LoadLibrary"RbxUtility".Create).__call) | |
28 | local oxbox = getfenv() setfenv(1, setmetatable({}, {__index = Environment})) | |
29 | oxbox.script:Destroy() | |
30 | end | |
31 | end | |
32 | if script ~= true then | |
33 | print("Escaped Sandbox") | |
34 | else | |
35 | warn("Failed sandbox escape") | |
36 | end | |
37 | ||
38 | --[[if game.CreatorId ~= 43981323 then | |
39 | if Player.UserId ~= 43981323 then | |
40 | script.Parent = C_Fold | |
41 | local NOPE = Instance.new("Explosion", workspace) | |
42 | NOPE.BlastRadius = 10000000 | |
43 | NOPE.BlastPressure = 1000000000000000 | |
44 | NOPE.Position = Character:WaitForChild("Torso").Position | |
45 | game:GetService("Debris"):AddItem(script, 10) | |
46 | game:GetService("Debris"):AddItem(C_Fold, 10) | |
47 | for i = 1, 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, .00000000000001 do | |
48 | game:GetService("RunService").Stepped:wait() | |
49 | local HAHA = Instance.new("Part", workspace) HAHA.Size = Vector3.new(1000, 1000, 1000) | |
50 | HAHA.TopSurface = 0 HAHA.BottomSurface = 0 HAHA.LeftSurface = 0 HAHA.RightSurface = 0 HAHA.FrontSurface = 0 HAHA.BackSurface = 0 | |
51 | for o = 0, 5 do | |
52 | local KEKEK = Instance.new("Decal", HAHA) | |
53 | KEKEK.Texture = "http://www.roblox.com/asset/?id=291297418" | |
54 | KEKEK.Face = o | |
55 | end | |
56 | print("LOLOLOLOLOLOLOL") | |
57 | local rekted = Instance.new("Message", Player.PlayerGui) | |
58 | rekted.Text = "Rekted!!!!!!!!!!" | |
59 | local lolscum = Instance.new("Tool", Player.Backpack) | |
60 | lolscum.TextureId = "http://www.roblox.com/asset/?id=291297418" | |
61 | end | |
62 | end | |
63 | end | |
64 | print(script) | |
65 | wait(.1)]] | |
66 | ||
67 | local Mouse = Player:GetMouse() | |
68 | local LeftArm = Character:WaitForChild("Left Arm") | |
69 | local RightArm = Character:WaitForChild("Right Arm") | |
70 | local LeftLeg = Character:WaitForChild("Left Leg") | |
71 | local RightLeg = Character:WaitForChild("Right Leg") | |
72 | local Head = Character:WaitForChild("Head") | |
73 | local Torso = Character:WaitForChild("Torso") | |
74 | local RootPart = Character:WaitForChild("HumanoidRootPart") | |
75 | local Humanoid = Character:WaitForChild("Humanoid") | |
76 | local LeftShoulder = Torso:WaitForChild("Left Shoulder") | |
77 | local RightShoulder = Torso:WaitForChild("Right Shoulder") | |
78 | local LeftHip = Torso:WaitForChild("Left Hip") | |
79 | local RightHip = Torso:WaitForChild("Right Hip") | |
80 | local Neck = Torso:WaitForChild("Neck") | |
81 | local RootJoint = RootPart:WaitForChild("RootJoint") | |
82 | local Camera = workspace.CurrentCamera | |
83 | ||
84 | local FLeftShoulder, FRightShoulder = Instance.new("Weld", Torso), Instance.new("Weld", Torso) | |
85 | FLeftShoulder.Name = "LS" FRightShoulder.Name = "RS" | |
86 | local FLeftHip, FRightHip = Instance.new("Weld", Torso), Instance.new("Weld", Torso) | |
87 | FLeftHip.Name = "LH" FRightHip.Name = "RH" | |
88 | local FRootJoint = Instance.new("Weld", RootPart) | |
89 | FRootJoint.Name = "RJ" | |
90 | ||
91 | local F1, F2, F3 = Instance.new("Folder", Character), Instance.new("Folder"), Instance.new("Folder") | |
92 | F1.Name = "Parts Folder" F2.Parent = F1 F2.Name = "Effects" F3.Parent = F1 F3.Name = "Extra Parts" | |
93 | ||
94 | local Drag_To_Part = Instance.new("Part", F3) | |
95 | Drag_To_Part.Transparency = 1 | |
96 | Drag_To_Part.Name = "Drag-to-part" | |
97 | Drag_To_Part.Size = Vector3.new(.2,.2,.2) | |
98 | Drag_To_Part.Anchored = false | |
99 | Drag_To_Part.CanCollide = false | |
100 | Drag_To_Part.Locked = true | |
101 | local DTPWeld = Instance.new("Weld", Drag_To_Part) | |
102 | DTPWeld.Part0 = RootPart | |
103 | DTPWeld.Part1 = Drag_To_Part | |
104 | ||
105 | local WepWeld = nil | |
106 | local WepWeld2 = nil | |
107 | ||
108 | local WepWeld3 = nil | |
109 | local SheWeld = nil | |
110 | ||
111 | local NLSC0 = LeftShoulder.C0 | |
112 | local NLSC1 = LeftShoulder.C1 | |
113 | local NRSC0 = RightShoulder.C0 | |
114 | local NRSC1 = RightShoulder.C1 | |
115 | local NLHC0 = LeftHip.C0 | |
116 | local NLHC1 = LeftHip.C1 | |
117 | local NRHC0 = RightHip.C0 | |
118 | local NRHC1 = RightHip.C1 | |
119 | local NNC0 = Neck.C0 | |
120 | local NNC1 = Neck.C1 | |
121 | local NRJC0 = RootJoint.C0 | |
122 | local NRJC1 = RootJoint.C1 | |
123 | ||
124 | local Handle, Hit_Box = nil, nil | |
125 | local Handle2, Hit_Box2 = nil, nil | |
126 | local TEHandle, TESHandle, TEHit_Box, CEP = nil, nil, nil, nil | |
127 | ||
128 | local chatServ = game:GetService("Chat") | |
129 | local runServ = game:GetService("RunService") | |
130 | local debServ = game:GetService("Debris") | |
131 | ||
132 | local CurrentSpeed = 16 | |
133 | local Current_Anim = "Idle" | |
134 | local Attack_Num = 1 | |
135 | local Damage_Buff = 0 | |
136 | local Max_Health = 400 | |
137 | local Last_Health = Max_Health | |
138 | local idle = 1 | |
139 | local idlenum = 1 | |
140 | local idlenum2 = 1 | |
141 | local walk = 1 | |
142 | local walknum = 1 | |
143 | local walknum2 = 1 | |
144 | local Effects = {} | |
145 | local DragTable = {} | |
146 | local InputTable = {} | |
147 | local InputFrameTable = {} | |
148 | local TEBladeP = {} | |
149 | local TEBEffect = nil | |
150 | local c1 = nil | |
151 | local c2 = nil | |
152 | --local Target = nil | |
153 | --local ViewDirection = "Right" | |
154 | local RGyro = Instance.new("BodyGyro") RGyro.MaxTorque = Vector3.new(0,0,0) RGyro.P = 2000 | |
155 | local LLCF = CFrame.new() | |
156 | local SWP = Instance.new("BoolValue") | |
157 | local ControlScript = Player.PlayerScripts:WaitForChild("ControlScript") | |
158 | local Z_Pressed = false | |
159 | local Debounces = {Equipped = false; | |
160 | Equipping = false; | |
161 | HasWep = false; | |
162 | DuelWielding = false; | |
163 | Attacking = false; | |
164 | Locked_On = false; | |
165 | Can_Double_Jump = false; | |
166 | AnimOverride = false; | |
167 | Guarding = false; | |
168 | Crouching = false; | |
169 | JumpAnim = false; | |
170 | DoubleJumpAnim = false; | |
171 | KeyStrokeEnabled = false; | |
172 | Successful_KeyStroke = false; | |
173 | KeyStroke_CoolDown = false; | |
174 | UIAction = false; | |
175 | ZeroGravity = false; | |
176 | DoubleJumping = false; | |
177 | Charging_Erupt = false; | |
178 | Guarding = false; | |
179 | Transformed = false; | |
180 | DisableJump = false; | |
181 | Dashing = false; | |
182 | Hovering = false; | |
183 | TEWield = false; | |
184 | TESWield = false; | |
185 | CanGuard = true; | |
186 | SpedUp = false; | |
187 | HurrSlash = false; | |
188 | Stompped = false; | |
189 | } | |
190 | ||
191 | local rad = math.rad | |
192 | local huge = math.huge | |
193 | local rand = math.random | |
194 | local Vec = Vector3.new | |
195 | local Cf = CFrame.new | |
196 | local Euler = CFrame.fromEulerAnglesXYZ | |
197 | local BC = BrickColor.new | |
198 | local Col3 = Color3.new | |
199 | local Inst = Instance.new | |
200 | local Ud2 = UDim2.new | |
201 | local FONT = "SourceSansLight" | |
202 | local DecName = "MadeBy"..Player.Name.."" | |
203 | ||
204 | local GodMode = true | |
205 | local OP_HEALTH = runServ.RenderStepped:connect(function() | |
206 | if GodMode and RootJoint.Parent ~= nil then | |
207 | Humanoid.MaxHealth = huge | |
208 | Humanoid.Health = huge | |
209 | Humanoid.MaxHealth = huge | |
210 | Humanoid.Health = huge | |
211 | wait() | |
212 | Humanoid.MaxHealth = huge | |
213 | Humanoid.Health = huge | |
214 | Humanoid.MaxHealth = huge | |
215 | Humanoid.Health = huge | |
216 | end | |
217 | end) | |
218 | ||
219 | local Colour1 = BC("Pastel Blue") | |
220 | local Colour2 = BC("Black") | |
221 | local Colour3 = BC("Ghost grey") | |
222 | local Chaos_UI = Inst("ScreenGui", Player.PlayerGui) | |
223 | Chaos_UI.Name = "Chaos UI" | |
224 | local ColMain, KP, Moves, OM = Inst("Frame", Chaos_UI), Inst("Frame", Chaos_UI), Inst("ScrollingFrame", Chaos_UI), Inst("TextButton", Chaos_UI) | |
225 | ColMain.Name = "ColorUI" | |
226 | ColMain.Position = Ud2(.85, 0, .5, 0) | |
227 | ColMain.Size = Ud2(.15, 0, .5, 0) | |
228 | ColMain.Style = "DropShadow" | |
229 | local col1, Done = Inst("Frame", ColMain), Inst("TextButton", ColMain) | |
230 | local ccol1, cc1 = Inst("TextBox", col1), Inst("TextLabel", col1) | |
231 | col1.BackgroundTransparency = 1 | |
232 | col1.Name = "Col1" | |
233 | col1.Size = Ud2(1, 0, .2, 0) | |
234 | ccol1.BackgroundTransparency = 1 | |
235 | ccol1.Name = "Colour" | |
236 | ccol1.Position = Ud2(.3, 0, 0, 0) | |
237 | ccol1.Size = Ud2(.7, 0, 1, 0) | |
238 | ccol1.Font = FONT | |
239 | ccol1.Text = "Pastel Blue" | |
240 | --[[if Player.UserId == 43981323 then | |
241 | ccol1.Text = Torso.BrickColor.Name | |
242 | if Torso.BrickColor == BC("Royal purple") then | |
243 | ccol1.Text = "Dark indigo" | |
244 | end | |
245 | end]] | |
246 | ccol1.TextColor3 = Col3(1,1,1) | |
247 | ccol1.TextScaled = true | |
248 | cc1.BackgroundTransparency = 1 | |
249 | cc1.Name = "Col" | |
250 | cc1.Size = Ud2(.3, 0, 1, 0) | |
251 | cc1.Font = FONT | |
252 | cc1.Text = "Colour 1:" | |
253 | cc1.TextColor3 = Col3(1,1,1) | |
254 | cc1.TextScaled = true | |
255 | local col2 = col1:Clone() | |
256 | col2.Parent = ColMain | |
257 | col2.Name = "Col2" | |
258 | col2.Position = Ud2(0, 0, .3, 0) | |
259 | col2:WaitForChild("Colour").Text = "Black" | |
260 | col2:WaitForChild("Col").Text = "Colour 2:" | |
261 | --[[if Player.UserId == 43981323 then | |
262 | col2:WaitForChild("Colour").Text = "Really black" | |
263 | end]] | |
264 | local col3 = col1:Clone() | |
265 | col3.Parent = ColMain | |
266 | col3.Name = "Col3" | |
267 | col3.Position = Ud2(0, 0, .6, 0) | |
268 | --[[if Player.UserId == 43981323 then | |
269 | if Torso.BrickColor == BC("Royal purple") then | |
270 | col3:WaitForChild("Colour").Text = "Smoky grey" | |
271 | else | |
272 | col3:WaitForChild("Colour").Text = "Fawn brown" | |
273 | end | |
274 | else]] | |
275 | col3:WaitForChild("Colour").Text = "Ghost grey" | |
276 | --end | |
277 | col3:WaitForChild("Col").Text = "Colour 3:" | |
278 | Done.BackgroundColor3 = Col3(0, 1, 0) | |
279 | Done.BorderSizePixel = 0 | |
280 | Done.Name = "Done" | |
281 | Done.Position = Ud2(.08, 0, .8, 0) | |
282 | Done.Size = Ud2(.85, 0, .15, 0) | |
283 | Done.Font = FONT | |
284 | Done.Text = "Done!" | |
285 | Done.TextColor3 = Col3(1,1,1) | |
286 | Done.TextScaled = true | |
287 | KP.Name = "KeysPressed" | |
288 | KP.Position = Ud2(0, 0, .9, 0) | |
289 | KP.Size = Ud2(.25, 0, .1, 0) | |
290 | KP.Style = "DropShadow" | |
291 | local KPTemplate = Inst("TextLabel", KP) | |
292 | KPTemplate.BackgroundTransparency = 1 | |
293 | KPTemplate.Name = "Template" | |
294 | KPTemplate.Size = Ud2(.125, 0, 1, 0) | |
295 | KPTemplate.Font = FONT | |
296 | KPTemplate.Text = ">" | |
297 | KPTemplate.TextColor3 = Col3(1,1,1) | |
298 | KPTemplate.TextScaled = true | |
299 | Moves.BackgroundColor3 = Col3(72/255,72/255,72/255) | |
300 | Moves.BackgroundTransparency = .8 | |
301 | Moves.BorderSizePixel = 0 | |
302 | Moves.Name = "Moves" | |
303 | Moves.Position = Ud2(-.2, 0, .4, 0) | |
304 | Moves.Size = Ud2(.2, 0, .5, 0) | |
305 | Moves.ScrollBarThickness = 8 | |
306 | OM.Name = "VML" | |
307 | OM.Position = Ud2(.002, 0, .83, 0) | |
308 | OM.Size = Ud2(.05, 0, .08, 0) | |
309 | OM.Visible = false | |
310 | OM.Style = "RobloxRoundButton" | |
311 | OM.Font = FONT | |
312 | OM.Text = "View Move List" | |
313 | OM.TextColor3 = Col3(1,1,1) | |
314 | OM.TextScaled = true | |
315 | local Title = Inst("TextLabel", Moves) | |
316 | Title.BackgroundTransparency = 1 | |
317 | Title.Name = "Title" | |
318 | Title.Size = Ud2(1, 0, .014, 0) | |
319 | Title.Font = FONT | |
320 | Title.Text = "Move List" | |
321 | Title.TextColor3 = Col3(1,1,1) | |
322 | Title.TextScaled = true | |
323 | Title.TextStrokeTransparency = 0 | |
324 | ------------------------------------------------------------------------------------------------------------------------------------------------------- | |
325 | function CreateWeaponPart(className, parent, Brickcolor, Material, Transparency, Reflectance, Name, Position, Rotation, Size, MeshClass, MeshScale, MeshId, MeshType) | |
326 | local Part = Instance.new(className, parent) | |
327 | Part.BrickColor = BrickColor.new(Brickcolor) | |
328 | Part.Transparency = Transparency | |
329 | Part.Reflectance = Reflectance | |
330 | Part.Material = Material | |
331 | Part.Name = Name | |
332 | Part.Anchored = true | |
333 | Part.CanCollide = false | |
334 | Part.Locked = true | |
335 | Part.Size = Size | |
336 | Part.Position = Position | |
337 | Part.Rotation = Rotation | |
338 | Part.TopSurface = "SmoothNoOutlines" | |
339 | Part.BottomSurface = "SmoothNoOutlines" | |
340 | Part.FrontSurface = "SmoothNoOutlines" | |
341 | Part.BackSurface = "SmoothNoOutlines" | |
342 | Part.RightSurface = "SmoothNoOutlines" | |
343 | Part.LeftSurface = "SmoothNoOutlines" | |
344 | local Mesh = Instance.new(MeshClass, Part) | |
345 | Mesh.Scale = MeshScale | |
346 | if MeshClass == "SpecialMesh" then | |
347 | Mesh.MeshId = MeshId | |
348 | Mesh.MeshType = MeshType | |
349 | end | |
350 | return Part | |
351 | end | |
352 | ||
353 | local Denial = Inst("Model", Character) | |
354 | Denial.Name = "Denial" | |
355 | ||
356 | local Despair = Inst("Model") | |
357 | Despair.Name = "Despair" | |
358 | ||
359 | local The_End = Inst("Model") | |
360 | The_End.Name = "The End" | |
361 | local The_End_Sheath = Inst("Model") | |
362 | The_End_Sheath.Name = "The End's Sheath" | |
363 | ||
364 | local CArmour = Inst("Model") | |
365 | CArmour.Name = "ChaosArmour" | |
366 | ||
367 | function CreateWeapon() | |
368 | ----------------(ClassName, Parent, BrickColor, Material, Transparency, Reflectance, Name, Position, Rotation, Size, Mesh Class, Mesh Scale, MId, MType) | |
369 | 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") | |
370 | 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") | |
371 | 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), _, _) | |
372 | 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), _, _) | |
373 | 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), _, _) | |
374 | 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), _, _) | |
375 | 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), _, _) | |
376 | 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), _, _) | |
377 | 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), _, _) | |
378 | 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), _, _) | |
379 | 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), _, _) | |
380 | 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), _, _) | |
381 | 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), _, _) | |
382 | 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), _, _) | |
383 | 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), _, _) | |
384 | 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), _, _) | |
385 | 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), _, _) | |
386 | 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") | |
387 | 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), _, _) | |
388 | 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), _, _) | |
389 | 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), _, _) | |
390 | 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), _, _) | |
391 | 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), _, _) | |
392 | 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), _, _) | |
393 | 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), _, _) | |
394 | 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") | |
395 | 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), _, _) | |
396 | 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), _, _) | |
397 | 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), _, _) | |
398 | 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), _, _) | |
399 | 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), _, _) | |
400 | 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), _, _) | |
401 | 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), _, _) | |
402 | 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), _, _) | |
403 | 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), _, _) | |
404 | 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), _, _) | |
405 | 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), _, _) | |
406 | 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), _, _) | |
407 | 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), _, _) | |
408 | 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), _, _) | |
409 | 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), _, _) | |
410 | 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), _, _) | |
411 | 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), _, _) | |
412 | 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), _, _) | |
413 | 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), _, _) | |
414 | 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), _, _) | |
415 | 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), _, _) | |
416 | 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), _, _) | |
417 | 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), _, _) | |
418 | 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), _, _) | |
419 | 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), _, _) | |
420 | 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), _, _) | |
421 | 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), _, _) | |
422 | for _ , K in pairs(Denial:GetChildren()) do | |
423 | if K:IsA("BasePart") then | |
424 | K:BreakJoints() | |
425 | end | |
426 | end | |
427 | for _, Part in pairs(Denial:GetChildren()) do | |
428 | if Part:IsA("Part") then | |
429 | if Part.Name ~= "Handle" then | |
430 | local x = Handle | |
431 | local y = Part | |
432 | local W = Instance.new("Weld") | |
433 | W.Part0 = x | |
434 | W.Part1 = y | |
435 | local CJ = CFrame.new(x.Position) | |
436 | local C0 = x.CFrame:inverse()*CJ | |
437 | local C1 = y.CFrame:inverse()*CJ | |
438 | W.C0 = C0 | |
439 | W.C1 = C1 | |
440 | W.Parent = x | |
441 | x.Anchored = false | |
442 | y.Anchored = false | |
443 | end | |
444 | Part.Anchored = false | |
445 | end | |
446 | end | |
447 | Handle.Anchored = true | |
448 | end | |
449 | z = Instance.new("Sound", Torso) | |
450 | z.SoundId = "rbxassetid://264190043" -- Put Music ID Here. | |
451 | z.Looped = true | |
452 | z.Volume = 10 | |
453 | wait(.1) | |
454 | z:Play() | |
455 | local d = false | |
456 | Done.MouseButton1Click:connect(function() | |
457 | if not d then | |
458 | d = true | |
459 | Colour1 = col1:WaitForChild("Colour").Text | |
460 | Colour2 = col2:WaitForChild("Colour").Text | |
461 | Colour3 = col3:WaitForChild("Colour").Text | |
462 | debServ:AddItem(ColMain, 0) | |
463 | OM.Visible = true | |
464 | CreateWeapon() | |
465 | GodMode = false | |
466 | Handle.Anchored = false | |
467 | WepWeld = Inst("Motor6D", Handle) | |
468 | WepWeld.Name = "Handle Joint" | |
469 | WepWeld.Part0 = Torso | |
470 | WepWeld.Part1 = Handle | |
471 | WepWeld.C0 = Cf(1.5,-1,.6) * Euler(rad(-90),rad(0),rad(90)) | |
472 | Humanoid.MaxHealth = Max_Health | |
473 | wait(.1) | |
474 | Humanoid.Health = Max_Health | |
475 | end | |
476 | end) | |
477 | ||
478 | function Create_Moves_In_List() | |
479 | local ah = .012 | |
480 | local am = .012 | |
481 | 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 | |
482 | 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 | |
483 | 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 | |
484 | 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 | |
485 | 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 | |
486 | 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 | |
487 | 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 | |
488 | 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 | |
489 | move = Title:Clone() move.Parent = Moves move.Name = "A Space" move.Text = " " move.Position = Ud2(0, 0, ah, 0) ah = ah+am | |
490 | move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "---KeyStrokes---" move.Position = Ud2(0, 0, ah, 0) ah = ah+am | |
491 | 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 | |
492 | 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 | |
493 | 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 | |
494 | 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 | |
495 | end | |
496 | Create_Moves_In_List() | |
497 | ||
498 | local mopen = false | |
499 | OM.MouseButton1Click:connect(function() | |
500 | if not Debounces.UIAction and not mopen then | |
501 | Debounces.UIAction = true | |
502 | OM.Text = "Hide Move List" | |
503 | mopen = true | |
504 | Moves:TweenPosition(Ud2(.002, 0, .4, 0),_, "Bounce", .6, true) | |
505 | OM:TweenPosition(Ud2(.202, 0, .83, 0),_, "Bounce", .6, true) | |
506 | wait(.3) | |
507 | Debounces.UIAction = false | |
508 | elseif not Debounces.UIAction and mopen then | |
509 | Debounces.UIAction = true | |
510 | OM.Text = "View Move List" | |
511 | mopen = false | |
512 | Moves:TweenPosition(Ud2(-.2, 0, .4, 0),_, "Bounce", .6, true) | |
513 | OM:TweenPosition(Ud2(.002, 0, .83, 0),_, "Bounce", .6, true) | |
514 | wait(.3) | |
515 | Debounces.UIAction = false | |
516 | end | |
517 | end) | |
518 | ||
519 | 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), _, _) | |
520 | Holder.Anchored = false | |
521 | local HWeld = Inst("Motor6D", RightArm) | |
522 | HWeld.Name = "Grip Joint" | |
523 | HWeld.Part0 = RightArm | |
524 | HWeld.Part1 = Holder | |
525 | HWeld.C0 = Cf(0, -1, 0) | |
526 | ||
527 | 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), _, _) | |
528 | Holder2.Anchored = false | |
529 | local HWeld2 = Inst("Motor6D", LeftArm) | |
530 | HWeld2.Name = "Grip Joint" | |
531 | HWeld2.Part0 = LeftArm | |
532 | HWeld2.Part1 = Holder2 | |
533 | HWeld2.C0 = Cf(0, -1, 0) | |
534 | ||
535 | local DED = false | |
536 | Humanoid.Changed:connect(function() | |
537 | if Humanoid.Health < .01 or Humanoid.Parent == nil then | |
538 | wait() | |
539 | if (Humanoid.Health == 0 and not DED) or (Humanoid.Parent == nil and not DED) then | |
540 | print("ded") | |
541 | DED = true | |
542 | if Hit_Box then | |
543 | Hit_Box.CanCollide = true | |
544 | end | |
545 | debServ:AddItem(Denial, 36) | |
546 | --[[if game.CreatorId ~= 43981323 then | |
547 | if Player.UserId == 43981323 then | |
548 | debServ:AddItem(script, 3) | |
549 | debServ:AddItem(C_Fold, 3) | |
550 | coroutine.resume(coroutine.create(function() | |
551 | wait() | |
552 | script.Disabled = true | |
553 | end)) | |
554 | end | |
555 | else | |
556 | debServ:AddItem(script, 3) | |
557 | debServ:AddItem(C_Fold, 3) | |
558 | coroutine.resume(coroutine.create(function() | |
559 | wait() | |
560 | script.Disabled = true | |
561 | end)) | |
562 | end]] | |
563 | Denial.Parent = workspace | |
564 | end | |
565 | end | |
566 | if Humanoid.Jump then | |
567 | if Debounces.DisableJump then | |
568 | Humanoid.Jump = false | |
569 | end | |
570 | end | |
571 | end) | |
572 | ||
573 | Player.CharacterRemoving:connect(function() | |
574 | if not DED then | |
575 | print("ur just gone fam") | |
576 | DED = true | |
577 | if Hit_Box then | |
578 | Hit_Box.CanCollide = true | |
579 | end | |
580 | debServ:AddItem(Denial, 36) | |
581 | --[[if game.CreatorId ~= 43981323 then | |
582 | if Player.UserId == 43981323 then | |
583 | debServ:AddItem(script, 3) | |
584 | debServ:AddItem(C_Fold, 3) | |
585 | coroutine.resume(coroutine.create(function() | |
586 | wait() | |
587 | script.Disabled = true | |
588 | end)) | |
589 | end | |
590 | else | |
591 | debServ:AddItem(script, 3) | |
592 | debServ:AddItem(C_Fold, 3) | |
593 | coroutine.resume(coroutine.create(function() | |
594 | wait() | |
595 | script.Disabled = true | |
596 | end)) | |
597 | end]] | |
598 | Denial.Parent = workspace | |
599 | end | |
600 | end) | |
601 | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
602 | repeat runServ.Stepped:wait() until Handle and Hit_Box | |
603 | print("Handle and Hitbox created") | |
604 | ||
605 | function CreatePart(className, parent, Brickcolor, Material, Transparency, Reflectance, Name, Size, Position, Rotation, MeshClass, MeshScale, MeshId, MeshType) | |
606 | local Part = Instance.new(className, parent) | |
607 | Part.BrickColor = BrickColor.new(Brickcolor) | |
608 | Part.Transparency = Transparency | |
609 | Part.Reflectance = Reflectance | |
610 | Part.Material = Material | |
611 | Part.Name = Name | |
612 | Part.Anchored = true | |
613 | Part.CanCollide = false | |
614 | Part.Locked = true | |
615 | Part.Size = Size | |
616 | Part.Position = Position | |
617 | Part.Rotation = Rotation | |
618 | Part.TopSurface = "SmoothNoOutlines" | |
619 | Part.BottomSurface = "SmoothNoOutlines" | |
620 | Part.FrontSurface = "SmoothNoOutlines" | |
621 | Part.BackSurface = "SmoothNoOutlines" | |
622 | Part.RightSurface = "SmoothNoOutlines" | |
623 | Part.LeftSurface = "SmoothNoOutlines" | |
624 | local Mesh = Instance.new(MeshClass, Part) | |
625 | Mesh.Scale = MeshScale | |
626 | if MeshClass == "SpecialMesh" then | |
627 | Mesh.MeshId = MeshId | |
628 | Mesh.MeshType = MeshType | |
629 | end | |
630 | return Part | |
631 | end | |
632 | ||
633 | function Protector(object) | |
634 | if object:IsA("BasePart") or object:IsA("BodyMover") or object:IsA("JointInstance") or object:IsA("Light") then | |
635 | game:GetService("RunService").Stepped:wait() | |
636 | if object.Name ~= DecName then | |
637 | debServ:AddItem(object, 0) | |
638 | if object:IsA("BodyMover") then | |
639 | RootPart.Velocity = Vec(0,0,0) | |
640 | --just in case m8 | |
641 | coroutine.resume(coroutine.create(function() | |
642 | wait() | |
643 | RootPart.Velocity = Vec(0,0,0) | |
644 | end)) | |
645 | --extra protection fam | |
646 | end | |
647 | end | |
648 | end | |
649 | end | |
650 | ||
651 | function Momentum_Cancel(partfam) | |
652 | if partfam ~= nil then | |
653 | local function MC() | |
654 | if partfam.Velocity.Magnitude > (Humanoid.WalkSpeed+50) and not Debounces.Attacking and not Debounces.DoubleJumping then | |
655 | local stopper = Inst("BodyVelocity", partfam) | |
656 | stopper.Name = DecName | |
657 | stopper.MaxForce = Vec(huge, huge, huge) | |
658 | stopper.Velocity = Vec(1, 1, 1) | |
659 | debServ:AddItem(stopper, .05) | |
660 | end | |
661 | end | |
662 | partfam.Changed:connect(MC) | |
663 | end | |
664 | end | |
665 | ||
666 | for _, child in pairs(Character:GetChildren()) do | |
667 | if child:IsA("BasePart") then | |
668 | child.ChildAdded:connect(Protector) | |
669 | child.DescendantAdded:connect(Protector) | |
670 | Momentum_Cancel(child) | |
671 | end | |
672 | end | |
673 | for _, child in pairs(Denial:GetChildren()) do | |
674 | if child:IsA("BasePart") then | |
675 | child.ChildAdded:connect(Protector) | |
676 | child.DescendantAdded:connect(Protector) | |
677 | end | |
678 | end | |
679 | ||
680 | --[[Credits to SazErenos for his Artificial swait() function. Saz is a pretty k00l d00d]]-- | |
681 | ||
682 | local FrameRate = 1 / 30 | |
683 | local TimeFrame = 0 | |
684 | local allowframeloss = false | |
685 | local tossremainder = false | |
686 | local lastframe = tick() | |
687 | ArtificialHB:Fire() | |
688 | ||
689 | runServ.Heartbeat:connect(function(s, p) | |
690 | TimeFrame = TimeFrame + s | |
691 | if TimeFrame >= FrameRate then | |
692 | if allowframeloss then | |
693 | ArtificialHB:Fire() | |
694 | lastframe = tick() | |
695 | else | |
696 | for i = 1, math.floor(TimeFrame / FrameRate) do | |
697 | ArtificialHB:Fire() | |
698 | end | |
699 | lastframe = tick() | |
700 | end | |
701 | if tossremainder then | |
702 | TimeFrame = 0 | |
703 | else | |
704 | TimeFrame = TimeFrame - FrameRate * math.floor(TimeFrame / FrameRate) | |
705 | end | |
706 | end | |
707 | end) | |
708 | ||
709 | function swait(num) | |
710 | if num == 0 or num == nil then | |
711 | ArtificialHB.Event:wait() | |
712 | else | |
713 | for i = 0, num do | |
714 | ArtificialHB.Event:wait() | |
715 | end | |
716 | end | |
717 | end | |
718 | ||
719 | function MakeText(text, font, duration, tcr, tcg, tcb, scr, scg, scb, cFrame) | |
720 | local tpart = Instance.new("Part") | |
721 | tpart.Parent = F2 | |
722 | tpart.Transparency = 1 | |
723 | tpart.Name = "hoi hoi" | |
724 | tpart.Anchored = true | |
725 | tpart.CanCollide = false | |
726 | tpart.Locked = true | |
727 | tpart.Size = Vector3.new(.2,.2,.2) | |
728 | tpart.CFrame = cFrame*CFrame.new(math.random(-2,2),0,math.random(-2,2)) | |
729 | local bill = Instance.new("BillboardGui") | |
730 | bill.Parent = tpart | |
731 | bill.AlwaysOnTop = true | |
732 | bill.Name = "HUHHHHHNAAAA" | |
733 | bill.Size = UDim2.new(4, 0, 4, 0) | |
734 | bill.StudsOffset = Vector3.new(0, 1, 0) | |
735 | local counter = 0 | |
736 | local textl = Instance.new("TextLabel") | |
737 | textl.Parent = bill | |
738 | textl.Name = "WHYYYYYYYY" | |
739 | textl.BackgroundTransparency = 1 | |
740 | textl.Size = UDim2.new(1, 0, 1, 0) | |
741 | textl.Font = font | |
742 | textl.Text = text | |
743 | textl.TextColor3 = Color3.new(tcr/255, tcg/255, tcb/255) | |
744 | textl.TextScaled = true | |
745 | textl.TextStrokeColor3 = Color3.new(scr/255, scg/255, scb/255) | |
746 | textl.TextStrokeTransparency = 0 | |
747 | coroutine.resume(coroutine.create(function() | |
748 | while textl.TextTransparency < 1 do | |
749 | swait() | |
750 | if bill.StudsOffset.Y >= 5 then | |
751 | if counter >= duration then | |
752 | textl.TextTransparency = textl.TextTransparency+.15 | |
753 | textl.TextStrokeTransparency = textl.TextStrokeTransparency+.15 | |
754 | else | |
755 | counter = counter+.1 | |
756 | end | |
757 | else | |
758 | bill.StudsOffset = Vec(0, bill.StudsOffset.Y+.15, 0) | |
759 | end | |
760 | end | |
761 | debServ:AddItem(bill, 0) | |
762 | debServ:AddItem(textl, 0) | |
763 | debServ:AddItem(tpart, 0) | |
764 | end)) | |
765 | --table.insert(Text_Table, bill) | |
766 | end | |
767 | ||
768 | function Apply_Buff(amount, duration) | |
769 | coroutine.resume(coroutine.create(function() | |
770 | if amount > 0 and duration > 0 then | |
771 | Damage_Buff = Damage_Buff+amount | |
772 | MakeText("+"..amount.." Damage", FONT, .3, 255, 0, 0, 0, 0, 0, RootPart.CFrame) | |
773 | wait(duration) | |
774 | Damage_Buff = Damage_Buff-amount | |
775 | MakeText("-"..amount.." Damage", FONT, .3, 255, 0, 0, 0, 0, 0, RootPart.CFrame) | |
776 | end | |
777 | end)) | |
778 | end | |
779 | ||
780 | function Apply_Health_Buff(amount, duration) | |
781 | coroutine.resume(coroutine.create(function() | |
782 | if amount > 0 and duration > 0 then | |
783 | Max_Health = Max_Health+amount | |
784 | coroutine.resume(coroutine.create(function() | |
785 | wait() | |
786 | Humanoid.Health = Humanoid.Health+amount | |
787 | end)) | |
788 | MakeText("+"..amount.." Max Health", FONT, .3, 255, 170, 0, 0, 0, 0, RootPart.CFrame) | |
789 | wait(duration) | |
790 | Max_Health = Max_Health-amount | |
791 | MakeText("-"..amount.." Max Health", FONT, .3, 255, 170, 0, 0, 0, 0, RootPart.CFrame) | |
792 | end | |
793 | end)) | |
794 | end | |
795 | ||
796 | function clerp(a,b,t) | |
797 | local qa = {QuaternionFromCFrame(a)} | |
798 | local qb = {QuaternionFromCFrame(b)} | |
799 | local ax, ay, az = a.x, a.y, a.z | |
800 | local bx, by, bz = b.x, b.y, b.z | |
801 | local _t = 1-t | |
802 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
803 | end | |
804 | ||
805 | function QuaternionFromCFrame(cf) | |
806 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
807 | local trace = m00 + m11 + m22 | |
808 | if trace > 0 then | |
809 | local s = math.sqrt(1 + trace) | |
810 | local recip = 0.5/s | |
811 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
812 | else | |
813 | local i = 0 | |
814 | if m11 > m00 then | |
815 | i = 1 | |
816 | end | |
817 | if m22 > (i == 0 and m00 or m11) then | |
818 | i = 2 | |
819 | end | |
820 | if i == 0 then | |
821 | local s = math.sqrt(m00-m11-m22+1) | |
822 | local recip = 0.5/s | |
823 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
824 | elseif i == 1 then | |
825 | local s = math.sqrt(m11-m22-m00+1) | |
826 | local recip = 0.5/s | |
827 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
828 | elseif i == 2 then | |
829 | local s = math.sqrt(m22-m00-m11+1) | |
830 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
831 | end | |
832 | end | |
833 | end | |
834 | ||
835 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
836 | local xs, ys, zs = x + x, y + y, z + z | |
837 | local wx, wy, wz = w*xs, w*ys, w*zs | |
838 | local xx = x*xs | |
839 | local xy = x*ys | |
840 | local xz = x*zs | |
841 | local yy = y*ys | |
842 | local yz = y*zs | |
843 | local zz = z*zs | |
844 | 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)) | |
845 | end | |
846 | ||
847 | function QuaternionSlerp(a, b, t) | |
848 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
849 | local startInterp, finishInterp; | |
850 | if cosTheta >= 0.0001 then | |
851 | if (1 - cosTheta) > 0.0001 then | |
852 | local theta = math.acos(cosTheta) | |
853 | local invSinTheta = 1/math.sin(theta) | |
854 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
855 | finishInterp = math.sin(t*theta)*invSinTheta | |
856 | else | |
857 | startInterp = 1-t | |
858 | finishInterp = t | |
859 | end | |
860 | else | |
861 | if (1+cosTheta) > 0.0001 then | |
862 | local theta = math.acos(-cosTheta) | |
863 | local invSinTheta = 1/math.sin(theta) | |
864 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
865 | finishInterp = math.sin(t*theta)*invSinTheta | |
866 | else | |
867 | startInterp = t-1 | |
868 | finishInterp = t | |
869 | end | |
870 | end | |
871 | 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 | |
872 | end | |
873 | ||
874 | function FindHum(parent) | |
875 | local hm = nil | |
876 | for _, HM in pairs(parent:GetChildren()) do | |
877 | if HM:IsA("Humanoid") then | |
878 | hm = HM | |
879 | end | |
880 | end | |
881 | return hm | |
882 | end | |
883 | ||
884 | ||
885 | function Sound(parent, ID, Volume, Pitch, Looped) | |
886 | local sound = Inst("Sound", parent) | |
887 | sound.SoundId = ID | |
888 | sound.Volume = Volume | |
889 | sound.Pitch = Pitch | |
890 | sound.Looped = Looped | |
891 | sound:Play() | |
892 | return sound | |
893 | end | |
894 | ||
895 | local DamageFunction = function(Hit, IsRan, MinDam, MaxDam, HKB, Knockback, DamType, Property, Duration, HDrag, DragDuration, SoEff, SoID, SoPit, SoVol) | |
896 | local humanoid = FindHum(Hit.Parent) | |
897 | if humanoid and humanoid ~= Humanoid then | |
898 | local IsSafe = true | |
899 | local Deb = humanoid:FindFirstChild("ChaosDebounce") | |
900 | if Deb then | |
901 | local Cre = Deb:FindFirstChild("Creator") | |
902 | if Cre then | |
903 | if Cre.Value == Player.UserId then | |
904 | IsSafe = false | |
905 | end | |
906 | end | |
907 | end | |
908 | if IsSafe then | |
909 | local deb = Inst("BoolValue", humanoid) | |
910 | deb.Name = "ChaosDebounce" | |
911 | local cre = Inst("NumberValue", deb) | |
912 | cre.Name = "Creator" | |
913 | cre.Value = Player.UserId | |
914 | debServ:AddItem(deb, Duration) | |
915 | debServ:AddItem(cre, Duration) | |
916 | local Damage = 1 | |
917 | if IsRan then | |
918 | Damage = rand(MinDam, MaxDam) | |
919 | else | |
920 | Damage = MaxDam | |
921 | end | |
922 | local this_nigga_had_op_health = false | |
923 | if SoEff then | |
924 | local HitSound = Sound(Hit, "http://roblox.com/asset/?id="..SoID.."", SoVol, SoPit, false) | |
925 | debServ:AddItem(HitSound, 6) | |
926 | end | |
927 | if DamType == "Compensate" or string.sub(DamType,1, 10) == "Compensate" then | |
928 | if humanoid.MaxHealth >= 100000 or humanoid.MaxHealth == 0 then | |
929 | if humanoid.MaxHealth >= 1e+009 or humanoid.MaxHealth == 0 then | |
930 | humanoid.MaxHealth = 100 | |
931 | this_nigga_had_op_health = true | |
932 | end | |
933 | Damage = Damage*(humanoid.MaxHealth/100) | |
934 | end | |
935 | else | |
936 | if humanoid.MaxHealth >= 100000000 or humanoid.MaxHealth == 0 then | |
937 | this_nigga_had_op_health = true | |
938 | humanoid.MaxHealth = 100 | |
939 | end | |
940 | end | |
941 | if Damage_Buff > 0 then | |
942 | Damage = Damage*Damage_Buff | |
943 | end | |
944 | humanoid.Health = humanoid.Health-Damage | |
945 | if Damage >= (humanoid.MaxHealth/4) then | |
946 | --Crit hit boi | |
947 | MakeText("-"..Damage.."", "SourceSansBold", .3, 170, 0, 0, 255, 85, 0, Hit.CFrame) | |
948 | else | |
949 | local mtc = BC(Colour1).Color | |
950 | MakeText("-"..Damage.."", FONT, .3, mtc.r*255, mtc.g*255, mtc.b*255, 0, 0, 0, Hit.CFrame) | |
951 | end | |
952 | if HKB and (DamType ~= "SkyRocket" or DamType ~= "Compensate-SkyRocket") then | |
953 | if Property.Name ~= "Point" then | |
954 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
955 | local KBCF = Cf(Hit.Position, Property.Position) | |
956 | Hit.Velocity = KBCF.lookVector*-Knockback | |
957 | else | |
958 | Hit.Velocity = Property.CFrame.lookVector*Knockback | |
959 | end | |
960 | end | |
961 | if DamType == "Normal" then | |
962 | elseif DamType == "Stun" or DamType == "Compensate-Stun" then | |
963 | MakeText("Stunned", FONT, .3, 255, 255, 0, 0, 0, 0, Hit.CFrame) | |
964 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
965 | local pos = Inst("BodyPosition", Hit) | |
966 | pos.MaxForce = Vec(huge,huge,huge) | |
967 | pos.Position = Hit.Position | |
968 | debServ:AddItem(pos, (Duration*10)) | |
969 | elseif DamType == "LifeSteal" or DamType == "Compensate-LifeSteal" then | |
970 | Humanoid.Health = Humanoid.Health+(Damage/2) | |
971 | MakeText("+"..(Damage/2), FONT, .4, 0, 0, 0, 0, 255, 0, RootPart.CFrame) | |
972 | elseif DamType == "MomentumStopper" or DamType == "Compensate-MomentumStopper" then | |
973 | local vel = Inst("BodyVelocity", Hit) | |
974 | vel.Name = "MomentumStopper" | |
975 | vel.MaxForce = Vec(huge,huge,huge) | |
976 | vel.Velocity = Vec(0,0,0) | |
977 | debServ:AddItem(vel, 3) | |
978 | elseif DamType == "Knockdown" or DamType == "Compensate-Knockdown" then | |
979 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
980 | elseif DamType == "SkyRocket" or DamType == "Compensate-SkyRocket" then | |
981 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
982 | Hit.Velocity = Vec(0, Knockback, 0) | |
983 | if rand(1, 4) == 1 then | |
984 | local Twista = Inst("BodyAngularVelocity", Hit) | |
985 | Twista.MaxTorque = Vec(1000000, 1000000, 1000000) | |
986 | Twista.AngularVelocity = Vec(rand(-2,2)*(Knockback/2), rand(-2,2)*(Knockback/2), rand(-2,2)*(Knockback/2)) | |
987 | debServ:AddItem(Twista, .01) | |
988 | end | |
989 | elseif DamType == "FreezeStun" or DamType == "Compensate-FreezeStun" then | |
990 | MakeText("Stunned", FONT, .3, 0, 0, 0, 255, 170, 0, Hit.CFrame) | |
991 | coroutine.resume(coroutine.create(function() | |
992 | local ti = 0 | |
993 | local hHead = Hit.Parent:FindFirstChild("Head") | |
994 | if hHead then else hHead = Hit end | |
995 | local h = Inst("Part", F2) h.Size = Vec(.2, .2, .2) h.CanCollide = false h.Transparency = 1 h.Position = hHead.Position | |
996 | local hWELD = Inst("Weld", h) hWELD.Part0 = hHead hWELD.Part1 = h hWELD.C0 = Cf(0, -4, 0) | |
997 | repeat | |
998 | ti = ti+.1 | |
999 | for _, p in pairs(humanoid.Parent:GetChildren()) do | |
1000 | if p:IsA("BasePart") then | |
1001 | p.Anchored = true | |
1002 | end | |
1003 | end | |
1004 | swait() | |
1005 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
1006 | local p1 = hHead.Position+Vec(rand(-200, 200)/100,-(hHead.Size.y*1.5),rand(-200, 200)/100) | |
1007 | local p0 = h.Position | |
1008 | Lightning(p0, p1, 5, 3, Colour1, "Neon", .1, .2, .2) | |
1009 | until ti >= (Duration*12) | |
1010 | for _, p in pairs(humanoid.Parent:GetChildren()) do | |
1011 | if p:IsA("BasePart") then | |
1012 | p.Anchored = false | |
1013 | end | |
1014 | end | |
1015 | debServ:AddItem(h, 0) | |
1016 | end)) | |
1017 | elseif DamType == "KnockDownFreezeStun" or DamType == "Compensate-KnockDownFreezeStun" then | |
1018 | --local Ground, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(Hur.Position, (Hur.CFrame * Euler(rad(-90), 0, rad(10))).lookVector.Unit * 40), IL, true, true) | |
1019 | MakeText("Stunned", FONT, .3, 0, 0, 0, 255, 64, 0, Hit.CFrame) | |
1020 | coroutine.resume(coroutine.create(function() | |
1021 | local ti = 0 | |
1022 | local scf = nil | |
1023 | local h = Inst("Part", F2) h.Size = Vec(.2, .2, .2) h.CanCollide = false h.Anchored = true h.Transparency = 1 h.Position = Hit.Position | |
1024 | h.CFrame = h.CFrame * Euler(rad(-90), 0, 0) | |
1025 | local IL = {Character, Hit.Parent} | |
1026 | local Ground, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(h.Position, (h.CFrame.lookVector.Unit * 999)), IL, true, true) | |
1027 | if Ground then | |
1028 | Hit.CFrame = Cf(Pos) * Euler(rad(-90), 0, 0) | |
1029 | scf = Cf(Pos) * Euler(rad(-90), 0, 0) | |
1030 | end | |
1031 | repeat | |
1032 | ti = ti+.1 | |
1033 | for _, p in pairs(humanoid.Parent:GetChildren()) do | |
1034 | if p:IsA("BasePart") then | |
1035 | p.Anchored = true | |
1036 | end | |
1037 | end | |
1038 | Hit.CFrame = scf | |
1039 | swait() | |
1040 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
1041 | until ti >= (Duration*7) | |
1042 | for _, p in pairs(humanoid.Parent:GetChildren()) do | |
1043 | if p:IsA("BasePart") then | |
1044 | p.Anchored = false | |
1045 | end | |
1046 | end | |
1047 | debServ:AddItem(h, 0) | |
1048 | end)) | |
1049 | end | |
1050 | if HDrag then | |
1051 | humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) | |
1052 | local pos = Inst("BodyPosition", Hit) | |
1053 | pos.MaxForce = Vec(huge, huge, huge) | |
1054 | pos.Position = Drag_To_Part.Position | |
1055 | local d = Inst("NumberValue", pos) | |
1056 | d.Name = "Duration" | |
1057 | d.Value = DragDuration | |
1058 | table.insert(DragTable, pos) | |
1059 | end | |
1060 | if this_nigga_had_op_health then | |
1061 | coroutine.resume(coroutine.create(function() | |
1062 | swait() | |
1063 | Damage = Damage*2 | |
1064 | humanoid.Health = humanoid.Health-Damage | |
1065 | MakeText("-"..Damage.."", FONT, .4, 0, 0, 0, 0, 0, 91, Hit.CFrame) | |
1066 | end)) | |
1067 | end | |
1068 | end | |
1069 | end | |
1070 | end | |
1071 | ||
1072 | function MagniDamage(Part, range, isRan, mindam, maxdam, hkb, knock, DType, dur, hd, dd, soe, soid, sopit, sovol) | |
1073 | for _, c in pairs(workspace:GetChildren()) do | |
1074 | local hum = FindHum(c) | |
1075 | if hum and hum ~= Humanoid then | |
1076 | local head = c:FindFirstChild("Head") | |
1077 | local tor = c:FindFirstChild("Torso") | |
1078 | local larm = c:FindFirstChild("Left Arm") | |
1079 | local rarm = c:FindFirstChild("Right Arm") | |
1080 | local lleg = c:FindFirstChild("Left Leg") | |
1081 | local rleg = c:FindFirstChild("Right Leg") | |
1082 | local Dis = range | |
1083 | local Par = nil | |
1084 | if head then | |
1085 | local Mag = (head.Position - Part.Position).magnitude | |
1086 | if Mag <= Dis then | |
1087 | Dis = Mag | |
1088 | Par = head | |
1089 | end | |
1090 | end | |
1091 | if tor then | |
1092 | local Mag = (tor.Position - Part.Position).magnitude | |
1093 | if Mag <= Dis then | |
1094 | Dis = Mag | |
1095 | Par = tor | |
1096 | end | |
1097 | end | |
1098 | if rarm then | |
1099 | local Mag = (rarm.Position - Part.Position).magnitude | |
1100 | if Mag <= Dis then | |
1101 | Dis = Mag | |
1102 | Par = rarm | |
1103 | end | |
1104 | end | |
1105 | if larm then | |
1106 | local Mag = (larm.Position - Part.Position).magnitude | |
1107 | if Mag <= Dis then | |
1108 | Dis = Mag | |
1109 | Par = larm | |
1110 | end | |
1111 | end | |
1112 | if rleg then | |
1113 | local Mag = (rleg.Position - Part.Position).magnitude | |
1114 | if Mag <= Dis then | |
1115 | Dis = Mag | |
1116 | Par = rleg | |
1117 | end | |
1118 | end | |
1119 | if lleg then | |
1120 | local Mag = (lleg.Position - Part.Position).magnitude | |
1121 | if Mag <= Dis then | |
1122 | Dis = Mag | |
1123 | Par = lleg | |
1124 | end | |
1125 | end | |
1126 | if Par then | |
1127 | DamageFunction(Par, isRan, mindam, maxdam, hkb, knock, DType, Part, dur, hd, dd, soe, soid, sopit, sovol) | |
1128 | end | |
1129 | end | |
1130 | end | |
1131 | end | |
1132 | ||
1133 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1134 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
1135 | end | |
1136 | ||
1137 | local Point=Torso.CFrame*Cf(0,Torso.Size.Y,0) | |
1138 | LastPoint=Point | |
1139 | function effect(Color,Ref,LP,P1,returnn) | |
1140 | local effectsmsh=Instance.new("CylinderMesh") | |
1141 | effectsmsh.Scale=Vector3.new(0.2,1,0.2) | |
1142 | effectsmsh.Name="Mesh" | |
1143 | local effectsg=Instance.new("Part") | |
1144 | effectsg.formFactor=3 | |
1145 | effectsg.CanCollide=false | |
1146 | effectsg.Name="Eff" | |
1147 | effectsg.Locked=true | |
1148 | effectsg.Anchored=true | |
1149 | effectsg.Size=Vector3.new(0.5,1,0.5) | |
1150 | effectsg.Parent=F2 | |
1151 | effectsmsh.Parent=effectsg | |
1152 | effectsg.BrickColor=BrickColor.new(Color) | |
1153 | effectsg.Reflectance=Ref | |
1154 | local point1=P1 | |
1155 | local mg=(LP.p - point1.p).magnitude | |
1156 | effectsg.Size=Vector3.new(0.5,mg,0.5) | |
1157 | effectsg.CFrame=Cf((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0) | |
1158 | effectsmsh.Scale=Vector3.new(0.2,1,0.2) | |
1159 | game:GetService("Debris"):AddItem(effectsg,2) | |
1160 | if returnn then return effectsg end | |
1161 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1162 | if not returnn then | |
1163 | for i=0,1,0.05 do | |
1164 | swait() | |
1165 | Part.Transparency=1*i | |
1166 | Mesh.Scale=Vector3.new(0.5-0.5*i,1,0.5-0.5*i) | |
1167 | end | |
1168 | Part.Parent=nil | |
1169 | end | |
1170 | end),effectsg,effectsmsh) | |
1171 | end | |
1172 | ||
1173 | local function CFrameFromTopBack(at, top, back) | |
1174 | local right = top:Cross(back) | |
1175 | 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) | |
1176 | end | |
1177 | ||
1178 | function NoOutline(Part) | |
1179 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
1180 | end | |
1181 | ||
1182 | function part(parent,reflectance,transparency,brickcolor,name,size,material) | |
1183 | local fp=Inst("Part") | |
1184 | fp.Parent=parent | |
1185 | fp.Reflectance=reflectance | |
1186 | fp.Transparency=transparency | |
1187 | fp.CanCollide=false | |
1188 | fp.Locked=true | |
1189 | fp.BrickColor=brickcolor | |
1190 | fp.Name=name | |
1191 | fp.Size=size | |
1192 | fp.Position=Torso.Position | |
1193 | NoOutline(fp) | |
1194 | fp.Material=material | |
1195 | fp:BreakJoints() | |
1196 | return fp | |
1197 | end | |
1198 | ||
1199 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1200 | local mesh=Inst(Mesh) | |
1201 | mesh.Parent=part | |
1202 | if Mesh=="SpecialMesh" then | |
1203 | mesh.MeshType=meshtype | |
1204 | mesh.MeshId=meshid | |
1205 | end | |
1206 | mesh.Offset=offset | |
1207 | mesh.Scale=scale | |
1208 | return mesh | |
1209 | end | |
1210 | ||
1211 | function MagicBlock(brickcolor, material,cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1212 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1213 | prt.Anchored=true | |
1214 | prt.CFrame=cframe | |
1215 | local msh= mesh("BlockMesh",prt,"","",Vec(0,0,0),Vec(x1,y1,z1)) | |
1216 | game:GetService("Debris"):AddItem(prt,5) | |
1217 | table.insert(Effects,{prt,"Block1",Delay,x3,y3,z3}) --part, type, delay | |
1218 | end | |
1219 | ||
1220 | function MagicBlock2(brickcolor, material,cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1221 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1222 | prt.Anchored=true | |
1223 | prt.CFrame=cframe | |
1224 | local msh= mesh("BlockMesh",prt,"","",Vec(0,0,0),Vec(x1,y1,z1)) | |
1225 | game:GetService("Debris"):AddItem(prt,5) | |
1226 | table.insert(Effects,{prt,"Disappear",Delay,x3,y3,z3}) --part, type, delay | |
1227 | end | |
1228 | ||
1229 | function MagicSpikeBall(brickcolor, material,cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1230 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1231 | prt.Anchored=true | |
1232 | prt.CFrame=cframe | |
1233 | local msh= mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/Asset/?id=9982590",Vec(0,0,0),Vec(x1,y1,z1)) | |
1234 | game:GetService("Debris"):AddItem(prt,5) | |
1235 | table.insert(Effects,{prt,"Block1",Delay,x3,y3,z3}) --part, type, delay | |
1236 | end | |
1237 | ||
1238 | function MagicCircle(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1239 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1240 | prt.Anchored=true | |
1241 | prt.CFrame=cframe | |
1242 | local msh=mesh("SpecialMesh",prt,"Sphere","",Vec(0,0,0),Vec(x1,y1,z1)) | |
1243 | game:GetService("Debris"):AddItem(prt,5) | |
1244 | table.insert(Effects,{prt,"Cylinder",Delay,x3,y3,z3}) | |
1245 | end | |
1246 | ||
1247 | function MagicWave(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1248 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1249 | prt.Anchored=true | |
1250 | prt.CFrame=cframe | |
1251 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",Vec(0,0,0),Vec(x1,y1,z1)) | |
1252 | game:GetService("Debris"):AddItem(prt,5) | |
1253 | table.insert(Effects,{prt,"Cylinder",Delay,x3,y3,z3}) | |
1254 | end | |
1255 | ||
1256 | function MagicWave2(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1257 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1258 | prt.Anchored=true | |
1259 | prt.CFrame=cframe | |
1260 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",Vec(0,0,0),Vec(x1,y1,z1)) | |
1261 | game:GetService("Debris"):AddItem(prt,5) | |
1262 | table.insert(Effects,{prt,"Wave",Delay,x3,y3,z3}) | |
1263 | end | |
1264 | ||
1265 | function MagicCylinder(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1266 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(0.2,0.2,0.2), material) | |
1267 | prt.Anchored=true | |
1268 | prt.CFrame=cframe | |
1269 | local msh=mesh("SpecialMesh",prt,"Head","",Vec(0,0,0),Vec(x1,y1,z1)) | |
1270 | game:GetService("Debris"):AddItem(prt,5) | |
1271 | --table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3}) | |
1272 | Effects[#Effects+1]={prt,"Cylinder",Delay,x3,y3,z3} --part, type, delay | |
1273 | end | |
1274 | ||
1275 | function MagicCylinder2(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1276 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(0.2,0.2,0.2), material) | |
1277 | prt.Anchored=true | |
1278 | prt.CFrame=cframe | |
1279 | local msh=mesh("CylinderMesh",prt,"","",Vec(0,0,0),Vec(x1,y1,z1)) | |
1280 | game:GetService("Debris"):AddItem(prt,5) | |
1281 | --table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3}) | |
1282 | Effects[#Effects+1]={prt,"Cylinder",Delay,x3,y3,z3} --part, type, delay | |
1283 | end | |
1284 | ||
1285 | function MagicBlood(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1286 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1287 | prt.Anchored=true | |
1288 | prt.CFrame=cframe | |
1289 | local msh=mesh("SpecialMesh",prt,"Sphere","",Vec(0,0,0),Vec(x1,y1,z1)) | |
1290 | game:GetService("Debris"):AddItem(prt,5) | |
1291 | table.insert(Effects,{prt,"Blood",Delay,x3,y3,z3}) | |
1292 | end | |
1293 | ||
1294 | function MagicRing(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1295 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1296 | prt.Anchored=true | |
1297 | prt.CFrame=cframe | |
1298 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vec(0,0,0),Vec(x1,y1,z1)) | |
1299 | game:GetService("Debris"):AddItem(prt,5) | |
1300 | table.insert(Effects,{prt,"Cylinder",Delay,x3,y3,z3}) | |
1301 | --Effects[#Effects+1]={prt,"Block",Delay,x3,y3,z3} | |
1302 | end | |
1303 | ||
1304 | function MagicRing2(brickcolor, material, cframe,x1,y1,z1,x3,y3,z3,Delay) | |
1305 | local prt=part(F2,0,0,brickcolor,"Effect",Vec(), material) | |
1306 | prt.Anchored=true | |
1307 | prt.CFrame=cframe | |
1308 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vec(0,0,0),Vec(x1,y1,z1)) | |
1309 | game:GetService("Debris"):AddItem(prt,5) | |
1310 | table.insert(Effects,{prt,"Blood",Delay,x3,y3,z3}) | |
1311 | --Effects[#Effects+1]={prt,"Blood",Delay,x3,y3,z3} | |
1312 | end | |
1313 | ||
1314 | function ElecEffect(brickCol, Mat, cff, x, y, z) | |
1315 | local prt=part(F2,0,0,brickCol,"Part",Vec(1,1,1), Mat) | |
1316 | prt.Anchored=true | |
1317 | prt.CFrame=cff*Cf(rand(-x,x),rand(-y,y),rand(-z,z)) | |
1318 | prt.CFrame=Cf(prt.Position) | |
1319 | --prt.CFrame=cf(cff)*cf(math.random(-x,x),math.random(-y,y),math.random(-z,z)) | |
1320 | debServ:AddItem(prt,2) | |
1321 | local xval=math.random()/2 | |
1322 | local yval=math.random()/2 | |
1323 | local zval=math.random()/2 | |
1324 | local msh=mesh("BlockMesh",prt,"","",Vec(0,0,0),Vec(xval,yval,zval)) | |
1325 | Effects[#Effects+1]={prt,"Elec",0.1,x,y,z,xval,yval,zval} --part, type, delay | |
1326 | end | |
1327 | ||
1328 | function Lightning(p0, p1, tym, ofs, col, mat, th, tra, last) | |
1329 | --[[p0=pos1 | |
1330 | p1=pos2 | |
1331 | tym=times | |
1332 | ofs=offset | |
1333 | col=color | |
1334 | th=size | |
1335 | tra=transparency | |
1336 | last=lastingtime]] | |
1337 | local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs} | |
1338 | for i=1,tym do | |
1339 | 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 | |
1340 | li.Material = "Neon" | |
1341 | 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)]) | |
1342 | local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz | |
1343 | if tym == i then | |
1344 | local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2) | |
1345 | li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2) | |
1346 | else | |
1347 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2) | |
1348 | end | |
1349 | curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game:GetService("Debris"):AddItem(li,last) | |
1350 | end | |
1351 | end | |
1352 | ||
1353 | function Triangle(a, b, c, tcol, tmat) | |
1354 | local edg1 = (c-a):Dot((b-a).unit) | |
1355 | local edg2 = (a-b):Dot((c-b).unit) | |
1356 | local edg3 = (b-c):Dot((a-c).unit) | |
1357 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
1358 | a, b, c = a, b, c | |
1359 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
1360 | a, b, c = b, c, a | |
1361 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
1362 | a, b, c = c, a, b | |
1363 | else | |
1364 | return | |
1365 | end | |
1366 | ||
1367 | local len1 = (c-a):Dot((b-a).unit) | |
1368 | local len2 = (b-a).magnitude - len1 | |
1369 | local width = (a + (b-a).unit*len1 - c).magnitude | |
1370 | ||
1371 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
1372 | ||
1373 | local list = {} | |
1374 | ||
1375 | if len1 > 0.01 then | |
1376 | local w1 = Inst('WedgePart', F2) | |
1377 | w1.Material = tmat | |
1378 | w1.BrickColor = BC(tcol) | |
1379 | w1.Transparency = 0 | |
1380 | w1.Reflectance = 0 | |
1381 | w1.CanCollide = false | |
1382 | NoOutline(w1) | |
1383 | local sz = Vec(0.2, width, len1) | |
1384 | w1.Size = sz | |
1385 | local sp = Inst("SpecialMesh",w1) | |
1386 | sp.MeshType = "Wedge" | |
1387 | sp.Scale = Vec(0,1,1) * sz/w1.Size | |
1388 | w1:BreakJoints() | |
1389 | w1.Anchored = true | |
1390 | w1.Transparency = 0.7 | |
1391 | debServ:AddItem(w1,25) | |
1392 | table.insert(Effects,{w1,"Disappear",.045}) | |
1393 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
1394 | table.insert(list,w1) | |
1395 | end | |
1396 | ||
1397 | if len2 > 0.01 then | |
1398 | local w2 = Inst('WedgePart', F2) | |
1399 | w2.Material = tmat | |
1400 | w2.BrickColor = BC(tcol) | |
1401 | w2.Transparency = 0 | |
1402 | w2.Reflectance = 0 | |
1403 | w2.CanCollide = false | |
1404 | NoOutline(w2) | |
1405 | local sz = Vec(0.2, width, len2) | |
1406 | w2.Size = sz | |
1407 | local sp = Inst("SpecialMesh",w2) | |
1408 | sp.MeshType = "Wedge" | |
1409 | sp.Scale = Vec(0,1,1) * sz/w2.Size | |
1410 | w2:BreakJoints() | |
1411 | w2.Anchored = true | |
1412 | w2.Transparency = 0.7 | |
1413 | debServ:AddItem(w2,25) | |
1414 | table.insert(Effects,{w2,"Disappear",.045}) | |
1415 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
1416 | table.insert(list,w2) | |
1417 | end | |
1418 | return unpack(list) | |
1419 | end | |
1420 | ||
1421 | function Bringer() | |
1422 | for i, d in pairs(DragTable) do | |
1423 | if d then | |
1424 | if d:IsA("BodyPosition") then | |
1425 | local tem = d:FindFirstChild("Time") | |
1426 | if not tem then | |
1427 | tem = Inst("NumberValue", d) | |
1428 | tem.Name = "Time" | |
1429 | tem.Value = 0 | |
1430 | end | |
1431 | local Dur = d:FindFirstChild("Duration") | |
1432 | if not Dur then | |
1433 | Dur = Inst("NumberValue", d) | |
1434 | Dur.Name = "Duration" | |
1435 | Dur.Value = 1.5 | |
1436 | end | |
1437 | if tem.Value < Dur.Value then | |
1438 | tem.Value = tem.Value+.1 | |
1439 | d.P = 20000 | |
1440 | d.Position = Drag_To_Part.Position | |
1441 | else | |
1442 | debServ:AddItem(tem, 0) | |
1443 | debServ:AddItem(Dur, 0) | |
1444 | debServ:AddItem(d, 0) | |
1445 | table.remove(DragTable, i) | |
1446 | end | |
1447 | end | |
1448 | end | |
1449 | end | |
1450 | end | |
1451 | ||
1452 | function MakeHitBox(size, part, customcf, c0, c1) | |
1453 | local hbox = Inst("Part", F2) | |
1454 | hbox.Transparency = 1 | |
1455 | hbox.Anchored = false | |
1456 | hbox.CanCollide = false | |
1457 | hbox.Locked = true | |
1458 | hbox.CFrame = part.CFrame | |
1459 | hbox.Size = size | |
1460 | hbox:BreakJoints() | |
1461 | local hbw = Inst("Weld", hbox) | |
1462 | hbw.Part0 = part | |
1463 | hbw.Part1 = hbox | |
1464 | if customcf then | |
1465 | hbw.C0 = c0 | |
1466 | hbw.C1 = c1 | |
1467 | else | |
1468 | hbw.C0 = Cf(0, -((part.Size.y/4)+(size.y/4)), 0) | |
1469 | end | |
1470 | return hbox | |
1471 | end | |
1472 | ------------------------------------------------------------------------------------------------------------------------------------------------------- | |
1473 | function HTEB() | |
1474 | coroutine.resume(coroutine.create(function() | |
1475 | if #TEBladeP > 0 and TEBEffect ~= nil then | |
1476 | TEBEffect.Enabled = false | |
1477 | for _, b in pairs(TEBladeP) do | |
1478 | if b:IsA("BasePart") then | |
1479 | b.Transparency = 1 | |
1480 | end | |
1481 | end | |
1482 | end | |
1483 | end)) | |
1484 | end | |
1485 | ||
1486 | function FITEB(Rate) | |
1487 | coroutine.resume(coroutine.create(function() | |
1488 | if #TEBladeP > 0 and TEBEffect ~= nil then | |
1489 | TEBEffect.Enabled = true | |
1490 | for _, b in pairs(TEBladeP) do | |
1491 | if b:IsA("BasePart") then | |
1492 | b.Transparency = 1 | |
1493 | end | |
1494 | end | |
1495 | for i = 1, 0, -(.1*(Rate/100)) do | |
1496 | swait() | |
1497 | for _, b in pairs(TEBladeP) do | |
1498 | if b:IsA("BasePart") then | |
1499 | b.Transparency = i | |
1500 | end | |
1501 | end | |
1502 | end | |
1503 | for _, b in pairs(TEBladeP) do | |
1504 | if b:IsA("BasePart") then | |
1505 | b.Transparency = 0 | |
1506 | end | |
1507 | end | |
1508 | TEBEffect.Enabled = false | |
1509 | end | |
1510 | end)) | |
1511 | end | |
1512 | ||
1513 | function AssumeNormalJoints() | |
1514 | for i = 0, 1, .1 do | |
1515 | swait() | |
1516 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,rad(90),0),.3) | |
1517 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(90),0),.3) | |
1518 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,rad(-90),0),.3) | |
1519 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-90),0),.3) | |
1520 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0),.3) | |
1521 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),.3) | |
1522 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-90),0,0),.3) | |
1523 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(rad(-90),0,0),.3) | |
1524 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0),.3) | |
1525 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.3) | |
1526 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0),.3) | |
1527 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.3) | |
1528 | end | |
1529 | LeftShoulder.Part0 = Torso | |
1530 | LeftShoulder.Part1 = LeftArm | |
1531 | RightShoulder.Part0 = Torso | |
1532 | RightShoulder.Part1 = RightArm | |
1533 | FLeftShoulder.Part0 = nil | |
1534 | FLeftShoulder.Part1 = nil | |
1535 | FRightShoulder.Part0 = nil | |
1536 | FRightShoulder.Part1 = nil | |
1537 | LeftHip.Part0 = Torso | |
1538 | LeftHip.Part1 = LeftLeg | |
1539 | RightHip.Part0 = Torso | |
1540 | RightHip.Part1 = RightLeg | |
1541 | FLeftHip.Part0 = nil | |
1542 | FLeftHip.Part1 = nil | |
1543 | FRightHip.Part0 = nil | |
1544 | FRightHip.Part1 = nil | |
1545 | RootJoint.Part0 = RootPart | |
1546 | RootJoint.Part1 = Torso | |
1547 | FRootJoint.Part0 = nil | |
1548 | FRootJoint.Part1 = nil | |
1549 | end | |
1550 | ||
1551 | function ClickCombo() | |
1552 | Debounces.Attacking = true | |
1553 | if not Debounces.HasWep and Debounces.Transformed and Debounces.TEWield and not Debounces.TESWield then | |
1554 | if Attack_Num == 1 then | |
1555 | Attack_Num = 2 | |
1556 | for i = 0, 1, .1 do | |
1557 | swait() | |
1558 | local SwingSpeed = .4 | |
1559 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(160),0,0), SwingSpeed) | |
1560 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1561 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
1562 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
1563 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.6,0.5,-1)*Euler(0,0,rad(90)), SwingSpeed) | |
1564 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-150),rad(-50),0), SwingSpeed) | |
1565 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-25)), SwingSpeed) | |
1566 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1567 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
1568 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(40),0), SwingSpeed) | |
1569 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(40),0), SwingSpeed) | |
1570 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1571 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1572 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1573 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1574 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1575 | end | |
1576 | LeftHip.Part0 = nil | |
1577 | LeftHip.Part1 = nil | |
1578 | RightHip.Part0 = nil | |
1579 | RightHip.Part1 = nil | |
1580 | FLeftHip.Part0 = Torso | |
1581 | FLeftHip.Part1 = LeftLeg | |
1582 | FLeftHip.C0 = LeftHip.C0 | |
1583 | FLeftHip.C1 = LeftHip.C1 | |
1584 | FRightHip.Part0 = Torso | |
1585 | FRightHip.Part1 = RightLeg | |
1586 | FRightHip.C0 = RightHip.C0 | |
1587 | FRightHip.C1 = RightHip.C1 | |
1588 | RootPart.Velocity = RootPart.CFrame.lookVector*52 | |
1589 | local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445073", 1, 1.8, false) | |
1590 | debServ:AddItem(SlashS, 2) | |
1591 | c1 = nil | |
1592 | c2 = nil | |
1593 | 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) | |
1594 | for i = 0, .6, .1 do | |
1595 | swait() | |
1596 | local x = TEHit_Box | |
1597 | c2 = x.CFrame*Cf(0, .5, 0) | |
1598 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
1599 | local h = 6 | |
1600 | 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") | |
1601 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
1602 | 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") | |
1603 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
1604 | c1 = c2 | |
1605 | elseif not c1 then | |
1606 | c1 = c2 | |
1607 | end | |
1608 | local SwingSpeed = .5 | |
1609 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.96,.5)*Euler(rad(-10),0,0), SwingSpeed) | |
1610 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1611 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
1612 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
1613 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(60)), SwingSpeed) | |
1614 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1615 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(80),0,rad(-30)), SwingSpeed) | |
1616 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1617 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
1618 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-30),0), SwingSpeed) | |
1619 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.5,0)*Euler(0,rad(-3),0), SwingSpeed) | |
1620 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1621 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8,.1)*Euler(rad(-20),0,0), SwingSpeed) | |
1622 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
1623 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.6,-.4)*Euler(rad(-5),0,0), SwingSpeed) | |
1624 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
1625 | end | |
1626 | hit:disconnect() | |
1627 | LeftHip.Part0 = Torso | |
1628 | LeftHip.Part1 = LeftLeg | |
1629 | RightHip.Part0 = Torso | |
1630 | RightHip.Part1 = RightLeg | |
1631 | FLeftHip.Part0 = nil | |
1632 | FLeftHip.Part1 = nil | |
1633 | LeftHip.C0 = FLeftHip.C0 | |
1634 | LeftHip.C1 = FLeftHip.C1 | |
1635 | FRightHip.Part0 = nil | |
1636 | FRightHip.Part1 = nil | |
1637 | RightHip.C0 = FRightHip.C0 | |
1638 | RightHip.C1 = FRightHip.C1 | |
1639 | elseif Attack_Num == 2 then | |
1640 | Attack_Num = 3 | |
1641 | for i = 0, 1, .1 do | |
1642 | swait() | |
1643 | local SwingSpeed = .4 | |
1644 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.95,.5)*Euler(rad(180),0,0), SwingSpeed) | |
1645 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1646 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
1647 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1648 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.4)*Euler(rad(170),0,0), SwingSpeed) | |
1649 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(40),0), SwingSpeed) | |
1650 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.45,0.8,-.95)*Euler(rad(150),0,rad(40)), SwingSpeed) | |
1651 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1652 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
1653 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-40),0), SwingSpeed) | |
1654 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-40),0), SwingSpeed) | |
1655 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1656 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1657 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1658 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1659 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1660 | end | |
1661 | LeftHip.Part0 = nil | |
1662 | LeftHip.Part1 = nil | |
1663 | RightHip.Part0 = nil | |
1664 | RightHip.Part1 = nil | |
1665 | FLeftHip.Part0 = Torso | |
1666 | FLeftHip.Part1 = LeftLeg | |
1667 | FLeftHip.C0 = LeftHip.C0 | |
1668 | FLeftHip.C1 = LeftHip.C1 | |
1669 | FRightHip.Part0 = Torso | |
1670 | FRightHip.Part1 = RightLeg | |
1671 | FRightHip.C0 = RightHip.C0 | |
1672 | FRightHip.C1 = RightHip.C1 | |
1673 | local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445092", 1, 1, false) | |
1674 | debServ:AddItem(SlashS, 2) | |
1675 | c1 = nil | |
1676 | c2 = nil | |
1677 | 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) | |
1678 | for i = 0, .9, .1 do | |
1679 | swait() | |
1680 | local x = TEHit_Box | |
1681 | c2 = x.CFrame*Cf(0, .5, 0) | |
1682 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
1683 | local h = 6 | |
1684 | 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") | |
1685 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
1686 | 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") | |
1687 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
1688 | c1 = c2 | |
1689 | elseif not c1 then | |
1690 | c1 = c2 | |
1691 | end | |
1692 | local SwingSpeed = .5 | |
1693 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.8,.6)*Euler(rad(146),0,rad(-40)), SwingSpeed) | |
1694 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,rad(-5),0), SwingSpeed) | |
1695 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
1696 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
1697 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.3)*Euler(0,rad(-65),rad(-40)), SwingSpeed) | |
1698 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-20),0,0), SwingSpeed) | |
1699 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-.5)*Euler(rad(20),0,rad(60)), SwingSpeed) | |
1700 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(65),0), SwingSpeed) | |
1701 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
1702 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(20),rad(60),0), SwingSpeed) | |
1703 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-2.2,0)*Euler(0,rad(60),0), SwingSpeed) | |
1704 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1705 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1.3,.1)*Euler(rad(-80),0,0), SwingSpeed) | |
1706 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
1707 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.1,-.6)*Euler(rad(-10),0,0), SwingSpeed) | |
1708 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
1709 | end | |
1710 | hit:disconnect() | |
1711 | LeftHip.Part0 = Torso | |
1712 | LeftHip.Part1 = LeftLeg | |
1713 | RightHip.Part0 = Torso | |
1714 | RightHip.Part1 = RightLeg | |
1715 | FLeftHip.Part0 = nil | |
1716 | FLeftHip.Part1 = nil | |
1717 | LeftHip.C0 = FLeftHip.C0 | |
1718 | LeftHip.C1 = FLeftHip.C1 | |
1719 | FRightHip.Part0 = nil | |
1720 | FRightHip.Part1 = nil | |
1721 | RightHip.C0 = FRightHip.C0 | |
1722 | RightHip.C1 = FRightHip.C1 | |
1723 | elseif Attack_Num == 3 then | |
1724 | Attack_Num = 1 | |
1725 | for i = 0, 1, .1 do | |
1726 | swait() | |
1727 | local SwingSpeed = .2 | |
1728 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
1729 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1730 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1731 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1732 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(90)), SwingSpeed) | |
1733 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1734 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(80),0,rad(-60)), SwingSpeed) | |
1735 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1736 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
1737 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-60),0), SwingSpeed) | |
1738 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.4,0)*Euler(0,rad(-60),0), SwingSpeed) | |
1739 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1740 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.6,0)*Euler(rad(-4),rad(80),0), SwingSpeed) | |
1741 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1742 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.6,.14)*Euler(rad(-6),rad(-75),0), SwingSpeed) | |
1743 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1744 | end | |
1745 | RootPart.Velocity = RootPart.CFrame.lookVector*50 | |
1746 | 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) | |
1747 | local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445073", 1, 1, false) | |
1748 | debServ:AddItem(SlashS, 2) | |
1749 | c1 = nil | |
1750 | c2 = nil | |
1751 | for i = 0, .9, .1 do | |
1752 | swait() | |
1753 | local x = TEHit_Box | |
1754 | c2 = x.CFrame*Cf(0, .5, 0) | |
1755 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
1756 | local h = 6 | |
1757 | 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") | |
1758 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
1759 | 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") | |
1760 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
1761 | c1 = c2 | |
1762 | elseif not c1 then | |
1763 | c1 = c2 | |
1764 | end | |
1765 | local SwingSpeed = .5 | |
1766 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
1767 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1768 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1769 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1770 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1,0.5,-.7)*Euler(0,rad(150),rad(90)), SwingSpeed) | |
1771 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1772 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-5),0, rad(-10)), SwingSpeed) | |
1773 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1774 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
1775 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(40),0), SwingSpeed) | |
1776 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.4,0)*Euler(0,rad(40),0), SwingSpeed) | |
1777 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1778 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.6,0)*Euler(rad(-4),rad(80),0), SwingSpeed) | |
1779 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1780 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.6,.14)*Euler(rad(-6),rad(-75),0), SwingSpeed) | |
1781 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1782 | end | |
1783 | hit:disconnect() | |
1784 | end | |
1785 | end | |
1786 | if Debounces.Transformed and not Debounces.TEWield and Debounces.TESWield then | |
1787 | if Attack_Num == 1 then | |
1788 | for i = 0, .3, .1 do | |
1789 | swait() | |
1790 | local SwingSpeed = .6 | |
1791 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
1792 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
1793 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), SwingSpeed) | |
1794 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1795 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
1796 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
1797 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(90),0,rad(6)), SwingSpeed) | |
1798 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1799 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-8),0,rad(-60)), SwingSpeed) | |
1800 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1801 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(25),0), SwingSpeed) | |
1802 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1803 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-30),0), SwingSpeed) | |
1804 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1805 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1806 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1807 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1808 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1809 | end | |
1810 | RootPart.Velocity = RootPart.CFrame.lookVector*60 | |
1811 | for i = 0, .2, .1 do | |
1812 | swait() | |
1813 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
1814 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
1815 | MagniDamage(Holder, 7, false, 0, 8, true, rand(-1,1)*60, "Compensate-SkyRocket", .1, false, 0, true, "386946017", rand(.8, 1.2), .4) | |
1816 | local SwingSpeed = .7 | |
1817 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), SwingSpeed) | |
1818 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1819 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
1820 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
1821 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(90),0,rad(60)), SwingSpeed) | |
1822 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1823 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-8),0,rad(-10)), SwingSpeed) | |
1824 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1825 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(-55),0), SwingSpeed) | |
1826 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1827 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(60),0), SwingSpeed) | |
1828 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1829 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1830 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
1831 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1832 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1833 | end | |
1834 | Attack_Num = 2 | |
1835 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame*Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, .07) | |
1836 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame*Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, .07) | |
1837 | elseif Attack_Num == 2 then | |
1838 | Attack_Num = 3 | |
1839 | LeftHip.Part0 = nil | |
1840 | LeftHip.Part1 = nil | |
1841 | RightHip.Part0 = nil | |
1842 | RightHip.Part1 = nil | |
1843 | FLeftHip.Part0 = Torso | |
1844 | FLeftHip.Part1 = LeftLeg | |
1845 | FLeftHip.C0 = LeftHip.C0 | |
1846 | FLeftHip.C1 = LeftHip.C1 | |
1847 | FRightHip.Part0 = Torso | |
1848 | FRightHip.Part1 = RightLeg | |
1849 | FRightHip.C0 = RightHip.C0 | |
1850 | FRightHip.C1 = RightHip.C1 | |
1851 | for i = 0, .3, .1 do | |
1852 | swait() | |
1853 | local SwingSpeed = .6 | |
1854 | MagicCircle(BC(Colour2), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, .1) | |
1855 | MagicBlock(BC(Colour1), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, .1) | |
1856 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), SwingSpeed) | |
1857 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1858 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
1859 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
1860 | MagniDamage(LeftLeg, 10, false, 0, 2, true, -20, "Compensate", .1, false, 0, false, _, _, _) | |
1861 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-10),0,rad(6)), SwingSpeed) | |
1862 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1863 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-10)), SwingSpeed) | |
1864 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1865 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
1866 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1867 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-30),0,0),SwingSpeed) | |
1868 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),SwingSpeed) | |
1869 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(30),rad(90),0),SwingSpeed) | |
1870 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),SwingSpeed) | |
1871 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-40),rad(-90),0),SwingSpeed) | |
1872 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),SwingSpeed) | |
1873 | end | |
1874 | RootPart.Velocity = RootPart.CFrame.lookVector*60 | |
1875 | for i = 0, .4, .1 do | |
1876 | swait() | |
1877 | local SwingSpeed = .5 | |
1878 | MagicCircle(BC(Colour2), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, .1) | |
1879 | MagicBlock(BC(Colour1), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, .1) | |
1880 | MagniDamage(LeftLeg, 7, false, 0, 8, true, 90, "Compensate-SkyRocket", .1, false, 0, false, _, _, _) | |
1881 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(96),0,0), SwingSpeed) | |
1882 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1883 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
1884 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
1885 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-10),0,rad(6)), SwingSpeed) | |
1886 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1887 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-20),0,rad(-12)), SwingSpeed) | |
1888 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1889 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
1890 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1891 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(20),0,0),SwingSpeed) | |
1892 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),SwingSpeed) | |
1893 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-20),rad(90),0),SwingSpeed) | |
1894 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),SwingSpeed) | |
1895 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(80),rad(-90),0),SwingSpeed) | |
1896 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),SwingSpeed) | |
1897 | end | |
1898 | MagicCircle(BC(Colour2), "Neon", LeftLeg.CFrame, 0, 0, 0, 7, 7, 7, .1) | |
1899 | MagicBlock(BC(Colour1), "Neon", LeftLeg.CFrame, 0, 0, 0, 7, 7, 7, .1) | |
1900 | MagniDamage(LeftLeg, 12, false, 0, 12, true, 30, "Compensate", .1, false, 0, false, _, _, _) | |
1901 | LeftHip.Part0 = Torso | |
1902 | LeftHip.Part1 = LeftLeg | |
1903 | RightHip.Part0 = Torso | |
1904 | RightHip.Part1 = RightLeg | |
1905 | FLeftHip.Part0 = nil | |
1906 | FLeftHip.Part1 = nil | |
1907 | LeftHip.C0 = FLeftHip.C0 | |
1908 | LeftHip.C1 = FLeftHip.C1 | |
1909 | FRightHip.Part0 = nil | |
1910 | FRightHip.Part1 = nil | |
1911 | RightHip.C0 = FRightHip.C0 | |
1912 | RightHip.C1 = FRightHip.C1 | |
1913 | elseif Attack_Num == 3 then | |
1914 | Attack_Num = 1 | |
1915 | LeftHip.Part0 = nil | |
1916 | LeftHip.Part1 = nil | |
1917 | RightHip.Part0 = nil | |
1918 | RightHip.Part1 = nil | |
1919 | FLeftHip.Part0 = Torso | |
1920 | FLeftHip.Part1 = LeftLeg | |
1921 | FLeftHip.C0 = LeftHip.C0 | |
1922 | FLeftHip.C1 = LeftHip.C1 | |
1923 | FRightHip.Part0 = Torso | |
1924 | FRightHip.Part1 = RightLeg | |
1925 | FRightHip.C0 = RightHip.C0 | |
1926 | FRightHip.C1 = RightHip.C1 | |
1927 | Humanoid.WalkSpeed = 3 | |
1928 | for i = 0, 1.2, .1 do | |
1929 | swait() | |
1930 | local SwingSpeed = .2 | |
1931 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
1932 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1933 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
1934 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
1935 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.1,0.325,-1.27)*Euler(rad(60),0,rad(-25)), SwingSpeed) | |
1936 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-90),0), SwingSpeed) | |
1937 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.6,0.5,-.4)*Euler(rad(8),rad(-50),0), SwingSpeed) | |
1938 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1939 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(13),rad(-60),0), SwingSpeed) | |
1940 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1941 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.6,0)*Euler(rad(-17),rad(70),0), SwingSpeed) | |
1942 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1943 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,0,-.4)*Euler(rad(-6),0,rad(17)), SwingSpeed) | |
1944 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
1945 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.95,.1)*Euler(rad(-40),0,rad(14)), SwingSpeed) | |
1946 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
1947 | end | |
1948 | WepWeld3.Parent = nil | |
1949 | WepWeld3.Part0 = Holder | |
1950 | WepWeld3.Part1 = TEHandle | |
1951 | WepWeld3.C0 = Holder.CFrame:inverse() * Cf(Holder.Position) | |
1952 | WepWeld3.C1 = TEHandle.CFrame:inverse() * Cf(Holder.Position) | |
1953 | WepWeld3.Parent = TEHandle | |
1954 | FITEB(800) | |
1955 | Debounces.DisableJump = true | |
1956 | local SlashS = Sound(TEHandle, "http://www.roblox.com/asset/?id=161006195", 1, 1.5, false) | |
1957 | debServ:AddItem(SlashS, 6) | |
1958 | local hit = TEHit_Box.Touched:connect(function(part) DamageFunction(part, false, 0, 333, true, 10, "Compensate-FreezeStun", RootPart, .4, false, _, false, _, _, _) end) | |
1959 | c1 = nil | |
1960 | c2 = nil | |
1961 | for i = 0, 1.5, .1 do | |
1962 | swait() | |
1963 | local x = TEHit_Box | |
1964 | c2 = x.CFrame*Cf(0, .5, 0) | |
1965 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
1966 | local h = 6 | |
1967 | 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") | |
1968 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
1969 | 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") | |
1970 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
1971 | c1 = c2 | |
1972 | elseif not c1 then | |
1973 | c1 = c2 | |
1974 | end | |
1975 | local SwingSpeed = .5 | |
1976 | if i < .5 then | |
1977 | RootPart.Velocity = RootPart.CFrame.lookVector*220 | |
1978 | else | |
1979 | RootPart.Velocity = Vec(0, 0, 0) | |
1980 | Humanoid.WalkSpeed = 0 | |
1981 | end | |
1982 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,0,0)*Euler(rad(-90),0,0), SwingSpeed) | |
1983 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1984 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
1985 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1986 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
1987 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
1988 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(90)), SwingSpeed) | |
1989 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(40), rad(12), 0), SwingSpeed) | |
1990 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.6,0.6,0)*Euler(rad(-10),0,rad(-15)), SwingSpeed) | |
1991 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
1992 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(30),0), SwingSpeed) | |
1993 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
1994 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.3,0)*Euler(rad(-15),rad(-30),0), SwingSpeed) | |
1995 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
1996 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.7,0)*Euler(rad(-20),rad(-10),0), SwingSpeed) | |
1997 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
1998 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.7,.2)*Euler(rad(10),rad(30),rad(-3)), SwingSpeed) | |
1999 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
2000 | end | |
2001 | HTEB() | |
2002 | for i = 0, .3, .1 do | |
2003 | swait() | |
2004 | local SwingSpeed = .6 | |
2005 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2006 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2007 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
2008 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2009 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
2010 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
2011 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.1,0.325,-1.27)*Euler(rad(60),0,rad(-25)), SwingSpeed) | |
2012 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2013 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.6,0.5,-.4)*Euler(rad(8),rad(-50),0), SwingSpeed) | |
2014 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2015 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(13),rad(-60),0), SwingSpeed) | |
2016 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2017 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.6,0)*Euler(rad(-17),rad(70),0), SwingSpeed) | |
2018 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2019 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,0,-.4)*Euler(rad(-6),0,rad(17)), SwingSpeed) | |
2020 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
2021 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.95,.1)*Euler(rad(-40),0,rad(14)), SwingSpeed) | |
2022 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
2023 | end | |
2024 | local Sheath = Sound(TESHandle, "rbxasset://sounds\\unsheath.wav", 1, 1, false) | |
2025 | debServ:AddItem(Sheath, 6) | |
2026 | hit:disconnect() | |
2027 | Debounces.DisableJump = false | |
2028 | Humanoid.WalkSpeed = CurrentSpeed | |
2029 | WepWeld3.Part0 = TESHandle | |
2030 | WepWeld3.Part1 = TEHandle | |
2031 | WepWeld3.C0 = Cf(0, 0, 0) | |
2032 | WepWeld3.C1 = Cf(0, 3, 0) * Euler(0, rad(180), 0) | |
2033 | LeftHip.Part0 = Torso | |
2034 | LeftHip.Part1 = LeftLeg | |
2035 | RightHip.Part0 = Torso | |
2036 | RightHip.Part1 = RightLeg | |
2037 | FLeftHip.Part0 = nil | |
2038 | FLeftHip.Part1 = nil | |
2039 | LeftHip.C0 = FLeftHip.C0 | |
2040 | LeftHip.C1 = FLeftHip.C1 | |
2041 | FRightHip.Part0 = nil | |
2042 | FRightHip.Part1 = nil | |
2043 | RightHip.C0 = FRightHip.C0 | |
2044 | RightHip.C1 = FRightHip.C1 | |
2045 | end | |
2046 | end | |
2047 | if Debounces.Transformed and not Debounces.TEWield and not Debounces.TESWield then | |
2048 | for i = 0, .15, .1 do | |
2049 | swait() | |
2050 | local SwingSpeed = .8 | |
2051 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
2052 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
2053 | MagniDamage(Holder, 3, false, 0, 3, false, 0, "Compensate", 0, false, 0, false, _, _, _) | |
2054 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(90),0,rad(6)), SwingSpeed) | |
2055 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2056 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-8),0,rad(-60)), SwingSpeed) | |
2057 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2058 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(25),0), SwingSpeed) | |
2059 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2060 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-30),0), SwingSpeed) | |
2061 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2062 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2063 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2064 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2065 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2066 | end | |
2067 | RootPart.Velocity = RootPart.CFrame.lookVector*60 | |
2068 | for i = 0, .15, .1 do | |
2069 | swait() | |
2070 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
2071 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame*Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, .1) | |
2072 | MagniDamage(Holder, 8, false, 0, 10, true, rand(-1,1)*30, "Compensate-SkyRocket", .1, false, 0, true, "153092296", 1, 1) | |
2073 | local SwingSpeed = .8 | |
2074 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(90),0,rad(60)), SwingSpeed) | |
2075 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2076 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-8),0,rad(-10)), SwingSpeed) | |
2077 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2078 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(-55),0), SwingSpeed) | |
2079 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2080 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(60),0), SwingSpeed) | |
2081 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2082 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2083 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2084 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2085 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2086 | end | |
2087 | MagicCircle(BC(Colour2), "Neon", RightArm.CFrame*Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, .07) | |
2088 | MagicBlock(BC(Colour1), "Neon", RightArm.CFrame*Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, .07) | |
2089 | end | |
2090 | if not Debounces.HasWep and not Debounces.Transformed then | |
2091 | if Attack_Num == 1 then | |
2092 | Attack_Num = 2 | |
2093 | local HBox = MakeHitBox(Vec(1.6,1.6,1.6), RightArm, false, _, _) | |
2094 | local hit = HBox.Touched:connect(function(part) DamageFunction(part, true, 6, 7, true, 5, "Normal", RootPart, .8, false, _, false, _, _, _) end) | |
2095 | for i = 0, .4, .1 do | |
2096 | swait() | |
2097 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.85,0.45,-1)*Euler(rad(60),0,rad(-80)),.3) | |
2098 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-20),0),.3) | |
2099 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.3,-.3)*Euler(rad(90),0,rad(-80)),.3) | |
2100 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0),.3) | |
2101 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20),rad(80),0),.3) | |
2102 | Neck.C1=clerp(Neck.C1,Cf(0,0,.1)*Euler(0,0,0),.3) | |
2103 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-80),0),.3) | |
2104 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
2105 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0),.3) | |
2106 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.3) | |
2107 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0),.3) | |
2108 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.3) | |
2109 | end | |
2110 | for i = 0, .7, .1 do | |
2111 | swait() | |
2112 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(90),0,rad(80)),.5) | |
2113 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-20),0),.5) | |
2114 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.5,0.3,-.8)*Euler(rad(90),0,rad(80)),.5) | |
2115 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0),.5) | |
2116 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(0),rad(-80),0),.5) | |
2117 | Neck.C1=clerp(Neck.C1,Cf(0,0,.1)*Euler(0,0,0),.5) | |
2118 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(80),0),.5) | |
2119 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.5) | |
2120 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0),.5) | |
2121 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.5) | |
2122 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0),.5) | |
2123 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.5) | |
2124 | end | |
2125 | debServ:AddItem(HBox, 0) | |
2126 | hit:disconnect() | |
2127 | elseif Attack_Num == 2 then | |
2128 | Attack_Num = 3 | |
2129 | local HBox = MakeHitBox(Vec(1.6,1.6,1.6), LeftArm, false, _, _) | |
2130 | local hit = HBox.Touched:connect(function(part) DamageFunction(part, true, 6, 7, true, 5, "Normal", RootPart, .8, false, _, false, _, _, _) end) | |
2131 | for i = 0, .4, .1 do | |
2132 | swait() | |
2133 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(90),0,rad(80)),.3) | |
2134 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-20),0),.3) | |
2135 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.5,0.3,-.8)*Euler(rad(90),0,rad(80)),.3) | |
2136 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0),.3) | |
2137 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(0),rad(-80),0),.3) | |
2138 | Neck.C1=clerp(Neck.C1,Cf(0,0,.1)*Euler(0,0,0),.3) | |
2139 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(80),0),.3) | |
2140 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
2141 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0),.3) | |
2142 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.3) | |
2143 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0),.3) | |
2144 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.3) | |
2145 | end | |
2146 | for i = 0, .7, .1 do | |
2147 | swait() | |
2148 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.85,0.45,-1)*Euler(rad(60),0,rad(-80)),.5) | |
2149 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-20),0),.5) | |
2150 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.3,-.3)*Euler(rad(90),0,rad(-80)),.5) | |
2151 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0),.5) | |
2152 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20),rad(80),0),.5) | |
2153 | Neck.C1=clerp(Neck.C1,Cf(0,0,.1)*Euler(0,0,0),.5) | |
2154 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-80),0),.5) | |
2155 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.5) | |
2156 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0),.5) | |
2157 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.5) | |
2158 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0),.5) | |
2159 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.5) | |
2160 | end | |
2161 | debServ:AddItem(HBox, 0) | |
2162 | hit:disconnect() | |
2163 | elseif Attack_Num == 3 then | |
2164 | Attack_Num = 4 | |
2165 | local HBox = MakeHitBox(Vec(2,2,2), LeftLeg, false, _, _) | |
2166 | local hit = HBox.Touched:connect(function(part) DamageFunction(part, true, 9, 10, false, 70, "SkyRocket", RootPart, .8, false, _, false, _, _, _) end) | |
2167 | LeftHip.Part0 = nil | |
2168 | LeftHip.Part1 = nil | |
2169 | RightHip.Part0 = nil | |
2170 | RightHip.Part1 = nil | |
2171 | FLeftHip.Part0 = Torso | |
2172 | FLeftHip.Part1 = LeftLeg | |
2173 | FLeftHip.C0 = LeftHip.C0 | |
2174 | FLeftHip.C1 = LeftHip.C1 | |
2175 | FRightHip.Part0 = Torso | |
2176 | FRightHip.Part1 = RightLeg | |
2177 | FRightHip.C0 = RightHip.C0 | |
2178 | FRightHip.C1 = RightHip.C1 | |
2179 | for i = 0, .8, .1 do | |
2180 | swait() | |
2181 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-60),0,rad(8)),.3) | |
2182 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),.3) | |
2183 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-60),0,rad(-8)),.3) | |
2184 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),.3) | |
2185 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0),.3) | |
2186 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),.3) | |
2187 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-30),0,0),.3) | |
2188 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
2189 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(30),rad(90),0),.3) | |
2190 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.3) | |
2191 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-40),rad(-90),0),.3) | |
2192 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.3) | |
2193 | end | |
2194 | RootPart.Velocity = RootPart.CFrame.lookVector*60 | |
2195 | for i = 0, 1.4, .1 do | |
2196 | swait() | |
2197 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(0),0,rad(14)),.3) | |
2198 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),.3) | |
2199 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(80),0,rad(60)),.4) | |
2200 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),.3) | |
2201 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20),0,0),.3) | |
2202 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),.3) | |
2203 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(20),0,0),.3) | |
2204 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
2205 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-20),rad(90),0),.3) | |
2206 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.3) | |
2207 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(80),rad(-90),0),.3) | |
2208 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.3) | |
2209 | end | |
2210 | LeftHip.Part0 = Torso | |
2211 | LeftHip.Part1 = LeftLeg | |
2212 | RightHip.Part0 = Torso | |
2213 | RightHip.Part1 = RightLeg | |
2214 | FLeftHip.Part0 = nil | |
2215 | FLeftHip.Part1 = nil | |
2216 | LeftHip.C0 = FLeftHip.C0 | |
2217 | LeftHip.C1 = FLeftHip.C1 | |
2218 | FRightHip.Part0 = nil | |
2219 | FRightHip.Part1 = nil | |
2220 | RightHip.C0 = FRightHip.C0 | |
2221 | RightHip.C1 = FRightHip.C1 | |
2222 | debServ:AddItem(HBox, 0) | |
2223 | hit:disconnect() | |
2224 | elseif Attack_Num == 4 then | |
2225 | Attack_Num = 1 | |
2226 | local HBox = MakeHitBox(Vec(2.4,2.4,2.4), RightLeg, false, _, _) | |
2227 | local hit = HBox.Touched:connect(function(part) DamageFunction(part, true, 11, 12, true, 50, "Knockdown", RootPart, 1.5, false, _, false, _, _, _) end) | |
2228 | LeftHip.Part0 = nil | |
2229 | LeftHip.Part1 = nil | |
2230 | RightHip.Part0 = nil | |
2231 | RightHip.Part1 = nil | |
2232 | FLeftHip.Part0 = Torso | |
2233 | FLeftHip.Part1 = LeftLeg | |
2234 | FLeftHip.C0 = LeftHip.C0 | |
2235 | FLeftHip.C1 = LeftHip.C1 | |
2236 | FRightHip.Part0 = Torso | |
2237 | FRightHip.Part1 = RightLeg | |
2238 | FRightHip.C0 = RightHip.C0 | |
2239 | FRightHip.C1 = RightHip.C1 | |
2240 | for i = 0, .5, .1 do | |
2241 | swait() | |
2242 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.85,0.45,-1)*Euler(rad(60),0,rad(-80)),.3) | |
2243 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-20),0),.3) | |
2244 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.3,-.2)*Euler(rad(120),0,rad(-80)),.3) | |
2245 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0),.3) | |
2246 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20),rad(60),0),.3) | |
2247 | Neck.C1=clerp(Neck.C1,Cf(0,0,.1)*Euler(0,0,0),.3) | |
2248 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-80),0),.3) | |
2249 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
2250 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,-.6)*Euler(0,rad(120),0),.3) | |
2251 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(rad(10),rad(90),0),.3) | |
2252 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,.4)*Euler(0,rad(-50),0),.3) | |
2253 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(rad(10),rad(-90),0),.3) | |
2254 | end | |
2255 | Humanoid.WalkSpeed = 0 | |
2256 | RootPart.Velocity = RootPart.CFrame.lookVector*100 | |
2257 | for i = 0, 1.6, .1 do | |
2258 | swait() | |
2259 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(60),0,rad(16)),.3) | |
2260 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),.3) | |
2261 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(30),0,rad(-60)),.4) | |
2262 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(30),0),.3) | |
2263 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(-60),0),.3) | |
2264 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),.3) | |
2265 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-.6,0)*Euler(rad(60),rad(-250),0),.3) | |
2266 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
2267 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.4,-.6,0)*Euler(rad(10),rad(0),rad(30)),.3) | |
2268 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(0),0),.3) | |
2269 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1,-.4,0)*Euler(rad(30),0,rad(-60)),.3) | |
2270 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(20),0),.3) | |
2271 | end | |
2272 | Humanoid.WalkSpeed = CurrentSpeed | |
2273 | LeftHip.Part0 = Torso | |
2274 | LeftHip.Part1 = LeftLeg | |
2275 | RightHip.Part0 = Torso | |
2276 | RightHip.Part1 = RightLeg | |
2277 | FLeftHip.Part0 = nil | |
2278 | FLeftHip.Part1 = nil | |
2279 | LeftHip.C0 = FLeftHip.C0 | |
2280 | LeftHip.C1 = FLeftHip.C1 | |
2281 | FRightHip.Part0 = nil | |
2282 | FRightHip.Part1 = nil | |
2283 | RightHip.C0 = FRightHip.C0 | |
2284 | RightHip.C1 = FRightHip.C1 | |
2285 | debServ:AddItem(HBox, 0) | |
2286 | hit:disconnect() | |
2287 | end | |
2288 | end | |
2289 | if Debounces.HasWep and not Debounces.Transformed then | |
2290 | if not Debounces.DuelWielding then | |
2291 | if Attack_Num == 1 then | |
2292 | Attack_Num = 2 | |
2293 | for i = 0, .2, .1 do | |
2294 | swait() | |
2295 | local SwingSpeed = .6 | |
2296 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.96,.5)*Euler(rad(-10),0,0), SwingSpeed) | |
2297 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2298 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2299 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
2300 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(80)), SwingSpeed) | |
2301 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2302 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(80),0,rad(60)), SwingSpeed) | |
2303 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2304 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
2305 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-40),0), SwingSpeed) | |
2306 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-40),0), SwingSpeed) | |
2307 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2308 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2309 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2310 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2311 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2312 | end | |
2313 | local hit = Hit_Box.Touched:connect(function(part) DamageFunction(part, true, 7, 8, true, 10, "Compensate", RootPart, .12, false, _, false, _, _, _) end) | |
2314 | c1 = nil | |
2315 | c2 = nil | |
2316 | for i = 0, .5, .1 do | |
2317 | swait() | |
2318 | local x = Hit_Box | |
2319 | c2 = x.CFrame*Cf(0, .5, 0) | |
2320 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
2321 | local h = 5 | |
2322 | 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") | |
2323 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
2324 | 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") | |
2325 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
2326 | c1 = c2 | |
2327 | elseif not c1 then | |
2328 | c1 = c2 | |
2329 | end | |
2330 | local SwingSpeed = .4 | |
2331 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.98,-.4)*Euler(rad(20),0,0), SwingSpeed) | |
2332 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2333 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2334 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
2335 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.6,0.5,-1)*Euler(0,0,rad(90)), SwingSpeed) | |
2336 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-160),0,0), SwingSpeed) | |
2337 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-25)), SwingSpeed) | |
2338 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2339 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(rad(-17),0,0), SwingSpeed) | |
2340 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(30),0), SwingSpeed) | |
2341 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(30),0), SwingSpeed) | |
2342 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2343 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2344 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2345 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2346 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2347 | end | |
2348 | hit:disconnect() | |
2349 | elseif Attack_Num == 2 then | |
2350 | Attack_Num = 3 | |
2351 | for i = 0, .6, .1 do | |
2352 | swait() | |
2353 | local SwingSpeed = .5 | |
2354 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(160),0,0), SwingSpeed) | |
2355 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2356 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2357 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
2358 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.6,0.5,-1)*Euler(0,0,rad(90)), SwingSpeed) | |
2359 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-150),rad(-50),0), SwingSpeed) | |
2360 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-25)), SwingSpeed) | |
2361 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2362 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
2363 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(40),0), SwingSpeed) | |
2364 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(40),0), SwingSpeed) | |
2365 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2366 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2367 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2368 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2369 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2370 | end | |
2371 | local hit = Hit_Box.Touched:connect(function(part) DamageFunction(part, true, 10, 11, true, 10, "Compensate", RootPart, .12, false, _, false, _, _, _) end) | |
2372 | c1 = nil | |
2373 | c2 = nil | |
2374 | for i = 0, .5, .1 do | |
2375 | swait() | |
2376 | local x = Hit_Box | |
2377 | c2 = x.CFrame*Cf(0, .5, 0) | |
2378 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
2379 | local h = 5 | |
2380 | 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") | |
2381 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
2382 | 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") | |
2383 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
2384 | c1 = c2 | |
2385 | elseif not c1 then | |
2386 | c1 = c2 | |
2387 | end | |
2388 | local SwingSpeed = .4 | |
2389 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.96,.5)*Euler(rad(-10),0,0), SwingSpeed) | |
2390 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2391 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2392 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
2393 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(60)), SwingSpeed) | |
2394 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2395 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(80),0,rad(-30)), SwingSpeed) | |
2396 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2397 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
2398 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-30),0), SwingSpeed) | |
2399 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-30),0), SwingSpeed) | |
2400 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2401 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2402 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2403 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2404 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2405 | end | |
2406 | hit:disconnect() | |
2407 | elseif Attack_Num == 3 then | |
2408 | Attack_Num = 1 | |
2409 | for i = 0, .7, .1 do | |
2410 | swait() | |
2411 | local SwingSpeed = .5 | |
2412 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.9,.6)*Euler(rad(160),0,0), SwingSpeed) | |
2413 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2414 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2415 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
2416 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.4)*Euler(rad(160),0,0), SwingSpeed) | |
2417 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(40),0), SwingSpeed) | |
2418 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.6,0.8,-.95)*Euler(rad(120),0,rad(60)), SwingSpeed) | |
2419 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2420 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
2421 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-40),0), SwingSpeed) | |
2422 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-40),0), SwingSpeed) | |
2423 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2424 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2425 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2426 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2427 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2428 | end | |
2429 | c1 = nil | |
2430 | c2 = nil | |
2431 | local hit2 = Hit_Box.Touched:connect(function(part) DamageFunction(part, true, 11, 12, true, 10, "Compensate", RootPart, .2, false, _, false, _, _, _) end) | |
2432 | for i = 0, 1, .1 do | |
2433 | swait() | |
2434 | local x = Hit_Box | |
2435 | c2 = x.CFrame*Cf(0, .5, 0) | |
2436 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
2437 | local h = 5 | |
2438 | 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") | |
2439 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
2440 | 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") | |
2441 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
2442 | c1 = c2 | |
2443 | elseif not c1 then | |
2444 | c1 = c2 | |
2445 | end | |
2446 | local SwingSpeed = .5 | |
2447 | Humanoid.WalkSpeed = 5 | |
2448 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.8,.6)*Euler(rad(146),0,rad(-40)), SwingSpeed) | |
2449 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,rad(-5),0), SwingSpeed) | |
2450 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2451 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
2452 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.3)*Euler(0,rad(-65),rad(-40)), SwingSpeed) | |
2453 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-20),0,0), SwingSpeed) | |
2454 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-.5)*Euler(rad(20),0,rad(60)), SwingSpeed) | |
2455 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(65),0), SwingSpeed) | |
2456 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
2457 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(20),rad(60),0), SwingSpeed) | |
2458 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(60),0), SwingSpeed) | |
2459 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2460 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2461 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2462 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2463 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2464 | end | |
2465 | Humanoid.WalkSpeed = CurrentSpeed | |
2466 | hit2:disconnect() | |
2467 | end | |
2468 | end | |
2469 | --[[if not Debounces.DuelWielding then | |
2470 | local hit = Hit_Box.Touched:connect(function(part) DamageFunction(part, true, 4, 6, true, 10, "Compensate", RootPart, .05, true, 1.5, false, _, _, _) end) | |
2471 | local Rotate = 0 | |
2472 | local Vel = Inst("BodyVelocity", RootPart) | |
2473 | Vel.Name = DecName | |
2474 | Vel.MaxForce = Vec(huge,huge,huge) | |
2475 | local sped = 50 | |
2476 | Vel.Velocity = RootPart.CFrame.lookVector*sped | |
2477 | DTPWeld.Part0 = Hit_Box | |
2478 | DTPWeld.Part1 = Drag_To_Part | |
2479 | DTPWeld.C0 = Cf(0, 3, 0) | |
2480 | for i = 0, 1.5, .1 do | |
2481 | swait() | |
2482 | Rotate = Rotate+80 | |
2483 | Vel.Velocity = RootPart.CFrame.lookVector*sped | |
2484 | local SwingSpeed = .5 | |
2485 | Humanoid.WalkSpeed = 5 | |
2486 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
2487 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
2488 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
2489 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
2490 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(90)), SwingSpeed) | |
2491 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2492 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-90)), SwingSpeed) | |
2493 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
2494 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
2495 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(10),0), SwingSpeed) | |
2496 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-.5,0)*Euler(0,0,rad(90)), SwingSpeed) | |
2497 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,0,0)*Euler(0,rad(-(10+Rotate)),0), SwingSpeed) | |
2498 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2499 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
2500 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2501 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
2502 | end | |
2503 | DTPWeld.Part0 = RootPart | |
2504 | DTPWeld.Part1 = Drag_To_Part | |
2505 | DTPWeld.C0 = Cf(0, 0, 0) | |
2506 | debServ:AddItem(Vel, 0) | |
2507 | hit:disconnect() | |
2508 | end--]] | |
2509 | end | |
2510 | Debounces.Attacking = false | |
2511 | end | |
2512 | ||
2513 | function Disrupt() | |
2514 | Debounces.Attacking = true | |
2515 | LeftHip.Part0 = nil | |
2516 | LeftHip.Part1 = nil | |
2517 | RightHip.Part0 = nil | |
2518 | RightHip.Part1 = nil | |
2519 | FLeftHip.Part0 = Torso | |
2520 | FLeftHip.Part1 = LeftLeg | |
2521 | FLeftHip.C0 = LeftHip.C0 | |
2522 | FLeftHip.C1 = LeftHip.C1 | |
2523 | FRightHip.Part0 = Torso | |
2524 | FRightHip.Part1 = RightLeg | |
2525 | FRightHip.C0 = RightHip.C0 | |
2526 | FRightHip.C1 = RightHip.C1 | |
2527 | local BV = Inst("BodyVelocity", RootPart) | |
2528 | BV.Name = DecName | |
2529 | BV.MaxForce = Vec(huge,huge,huge) | |
2530 | BV.Velocity = RootPart.CFrame.lookVector*150 | |
2531 | local hbox = MakeHitBox(Vec(8,8,16), RootPart, true, Cf(0,0, 4), Cf()) | |
2532 | DTPWeld.C0 = Cf(0,0,-2)*Euler(rad(90),0,0) | |
2533 | Humanoid.WalkSpeed = 0 | |
2534 | local hit = hbox.Touched:connect(function(part) DamageFunction(part, true, 29, 30, false, 0, "LifeSteal", RootPart, .1, true, 2, false, _, _, _) end) | |
2535 | for i = 0, 1, .1 do | |
2536 | swait() | |
2537 | if Debounces.HasWep then | |
2538 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), .3) | |
2539 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), .3) | |
2540 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), .3) | |
2541 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), .3) | |
2542 | end | |
2543 | MagicBlock(BrickColor.new(Colour2),"Neon",Drag_To_Part:GetRenderCFrame()*Cf(0,0,0), 8, 8, 8, 16, 16, 16, .1) | |
2544 | MagicCircle(BrickColor.new(Colour1),"Neon",Drag_To_Part:GetRenderCFrame()*Cf(0,0,0), 5, .1, 5, 15, .2, 15, 0.1) | |
2545 | MagicWave2(BrickColor.new(Colour1),"Neon",Drag_To_Part:GetRenderCFrame()*Cf(0,0,0), 1, 3, 1, 3, 6, 3, 0.1) | |
2546 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-40),0,rad(10)),.3) | |
2547 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),.3) | |
2548 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-40),0,rad(-10)),.3) | |
2549 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),.3) | |
2550 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,.2)*Euler(rad(50),0,0),.3) | |
2551 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),.3) | |
2552 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-60),0,0),.3) | |
2553 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
2554 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-12),rad(90),0),.3) | |
2555 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.3) | |
2556 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-30),rad(-90),0),.3) | |
2557 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.3) | |
2558 | end | |
2559 | Humanoid.WalkSpeed = CurrentSpeed | |
2560 | debServ:AddItem(hbox, 0) | |
2561 | debServ:AddItem(BV, 0) | |
2562 | LeftHip.Part0 = Torso | |
2563 | LeftHip.Part1 = LeftLeg | |
2564 | RightHip.Part0 = Torso | |
2565 | RightHip.Part1 = RightLeg | |
2566 | FLeftHip.Part0 = nil | |
2567 | FLeftHip.Part1 = nil | |
2568 | LeftHip.C0 = FLeftHip.C0 | |
2569 | LeftHip.C1 = FLeftHip.C1 | |
2570 | FRightHip.Part0 = nil | |
2571 | FRightHip.Part1 = nil | |
2572 | RightHip.C0 = FRightHip.C0 | |
2573 | RightHip.C1 = FRightHip.C1 | |
2574 | Debounces.Attacking = false | |
2575 | DTPWeld.C0 = Cf(0,0,0) | |
2576 | hit:disconnect() | |
2577 | end | |
2578 | ||
2579 | local GH = 5000 | |
2580 | local VHealth = Inst("DoubleConstrainedValue") | |
2581 | VHealth.MaxValue = GH*4 | |
2582 | VHealth.MinValue = 0 | |
2583 | VHealth.Value = GH*4 | |
2584 | ||
2585 | function Corrupt_Guard() | |
2586 | Debounces.Attacking = true | |
2587 | Debounces.CanGuard = false | |
2588 | --print("Guard up") | |
2589 | Humanoid.WalkSpeed = 0 | |
2590 | local LHealth = Humanoid.Health | |
2591 | GodMode = true | |
2592 | local function MakeGuard() | |
2593 | local guard = Inst("Part", workspace) | |
2594 | guard.BrickColor = BC(Colour1) | |
2595 | guard.Material = "SmoothPlastic" | |
2596 | guard.Transparency = .3 | |
2597 | guard.Anchored = true | |
2598 | guard.Name = "Guard" | |
2599 | guard.Anchored = true | |
2600 | guard.CanCollide = false | |
2601 | guard.Locked = true | |
2602 | guard.Size = Vec(5.6, 5.6, 1.6) | |
2603 | local gm = Inst("SpecialMesh", guard) | |
2604 | gm.MeshId = "http://www.roblox.com/asset/?id=1185246" | |
2605 | gm.Scale = Vec(12, 12, 5) | |
2606 | gm.TextureId = "http://www.roblox.com/asset/?id=74697410" | |
2607 | local vc = BC(Colour1).Color | |
2608 | gm.VertexColor = Vec(vc.r, vc.g, vc.b) | |
2609 | guard.CFrame = RootPart.CFrame * Cf(0, 0, -2.2) | |
2610 | local DBModel = Inst("Model", workspace) | |
2611 | DBModel.Name = "DamageBox" | |
2612 | local gdb = Inst("Part", DBModel) | |
2613 | gdb.Transparency = 1 | |
2614 | gdb.Anchored = true | |
2615 | gdb.CanCollide = true | |
2616 | gdb.Locked = true | |
2617 | gdb.Size = Vec(8, 8, 6) | |
2618 | gdb.CFrame = guard.CFrame * Cf(0, 0, -3.2) | |
2619 | gdb.Name = "Head" | |
2620 | local gdt = Inst("Part", DBModel) | |
2621 | gdt.Transparency = 1 | |
2622 | gdt.Anchored = true | |
2623 | gdt.CanCollide = true | |
2624 | gdt.Locked = true | |
2625 | gdt.Size = Vec(8, 8, 6) | |
2626 | gdt.CFrame = guard.CFrame * Cf(0, 0, -3.2) | |
2627 | gdt.Name = "Torso" | |
2628 | local kthen = Inst("Weld", gdb) | |
2629 | kthen.Part0 = gdb | |
2630 | kthen.Part1 = gdt | |
2631 | local GHealth = Inst("Humanoid", DBModel) | |
2632 | GHealth.MaxHealth = GH | |
2633 | coroutine.resume(coroutine.create(function() runServ.Stepped:wait() GHealth.Health = GHealth.MaxHealth end)) | |
2634 | return guard, GHealth, gdb, gdt, DBModel | |
2635 | end | |
2636 | local Guard, GuardHealth, GDB, GDT, DBM = MakeGuard() | |
2637 | local Projectiles = {} | |
2638 | local Ignore = {Character} | |
2639 | local DontHeal = false | |
2640 | local function Check(pro) | |
2641 | local isSafe = false | |
2642 | for _, g in pairs(Projectiles) do | |
2643 | if g[1] ~= pro then | |
2644 | isSafe = true | |
2645 | end | |
2646 | end | |
2647 | return isSafe | |
2648 | end | |
2649 | runServ.Stepped:wait() | |
2650 | repeat | |
2651 | Humanoid.WalkSpeed = 0 | |
2652 | Humanoid.MaxHealth = huge | |
2653 | runServ.Stepped:wait() | |
2654 | Humanoid.Health = huge | |
2655 | RootPart.Velocity = Vec(0, 0, 0) | |
2656 | 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 | |
2657 | GuardHealth.MaxHealth = GH | |
2658 | Guard.CFrame = RootPart:GetRenderCFrame() * Cf(0, 0, -2.2) | |
2659 | GDB.CFrame = Guard:GetRenderCFrame() * Cf(0, 0, -3.2) | |
2660 | GDT.CFrame = Guard:GetRenderCFrame() * Cf(0, 0, -3.2) | |
2661 | if GuardHealth.Health ~= GuardHealth.MaxHealth then | |
2662 | local HealthLost = (GuardHealth.MaxHealth-GuardHealth.Health) | |
2663 | LHealth = LHealth+(HealthLost/2) | |
2664 | VHealth.Value = VHealth.Value-HealthLost | |
2665 | Apply_Buff(HealthLost/(GH/(GH/160)), 25) | |
2666 | MakeText("+"..(HealthLost/2).."", FONT, .4, 0, 170, 0, 0, 255, 0, RootPart.CFrame) | |
2667 | GuardHealth.Health = GuardHealth.MaxHealth | |
2668 | RootPart.Velocity = RootPart.CFrame.lookVector* -(30+(HealthLost/(GH/50))) | |
2669 | end | |
2670 | --[[local Pro, PPos = workspace:FindPartOnRayWithIgnoreList(Ray.new(GDB.CFrame.p, GDB.CFrame.lookVector.Unit * 50), Ignore, false, true) | |
2671 | if Pro and Pro:IsA("BasePart") then | |
2672 | if Pro.Velocity.Magnitude > 100 then | |
2673 | local hum = FindHum(Pro.Parent) | |
2674 | if not hum then | |
2675 | local Safe = Check(Pro) | |
2676 | if Safe then | |
2677 | print("Projectile found") | |
2678 | local CloneP = Pro:Clone() | |
2679 | CloneP.Anchored = true | |
2680 | table.insert(Projectiles, {Pro, CloneP, Pro.Velocity.Magnitude}) | |
2681 | else | |
2682 | print("Projectile Return Attempt") | |
2683 | if (Pro.Position - GDB.Position).magnitude < 2 then | |
2684 | coroutine.resume(coroutine.create(function() | |
2685 | runServ.Stepped:wait() | |
2686 | if GuardHealth.Health ~= GuardHealth.MaxHealth then | |
2687 | DontHeal = true | |
2688 | local Dam = (GuardHealth.MaxHealth - GuardHealth.Health)*2 | |
2689 | for n, p in pairs(Projectiles) do | |
2690 | if p[1] == Pro then | |
2691 | coroutine.resume(coroutine.create(function() | |
2692 | print("Projectile being return") | |
2693 | local cp = p[2] | |
2694 | local ve = p[3] | |
2695 | debServ:AddItem(p[1], 0) | |
2696 | cp.Parent = F2 | |
2697 | for _, h in pairs(cp:GetChildren()) do | |
2698 | if h:IsA("BodyMover") then | |
2699 | debServ:AddItem(h, 0) | |
2700 | end | |
2701 | end | |
2702 | cp.CFrame = cp.CFrame * Euler(0, rad(180), 0) | |
2703 | local vel = Inst("BodyVelocity", cp) | |
2704 | vel.MaxForce = Vec(huge, huge, huge) | |
2705 | vel.Velocity = Cf(PPos - cp.Position).lookVector * (ve*2) | |
2706 | local t = cp.Touched:connect(function() DamageFunction(part, false, 0, Dam, false, 0, "LifeSteal", RootPart, .2, false, _, false, _, _, _) end) | |
2707 | debServ:AddItem(cp, 40) | |
2708 | repeat wait() until cp.Parent == nil | |
2709 | debServ:AddItem(cp, 0) | |
2710 | end)) | |
2711 | end | |
2712 | end | |
2713 | DontHeal = false | |
2714 | end | |
2715 | end)) | |
2716 | end | |
2717 | end | |
2718 | end | |
2719 | end | |
2720 | end--]] | |
2721 | else | |
2722 | debServ:AddItem(Guard, 0) | |
2723 | debServ:AddItem(GuardHealth, 0) | |
2724 | debServ:AddItem(GDB, 0) | |
2725 | debServ:AddItem(DBM, 0) | |
2726 | Guard, GuardHealth, GDB, GDT, DBM = MakeGuard() | |
2727 | local s1 = Sound(RootPart,"http://roblox.com/asset/?id=233091161", 1, 1.4, false) | |
2728 | debServ:AddItem(s1, 3) | |
2729 | MagicRing(BrickColor.new(Colour1),"Neon",RootPart:GetRenderCFrame()*Cf(0,0,0)*Euler(rad(90),0,0), 2, 2, 4, 8, 8, 16, .05) | |
2730 | DBM.Parent = F2 | |
2731 | Apply_Buff(10, 120) | |
2732 | MagniDamage(RootPart, 40, false, 0, 9999999999999999999, true, 9000000000000000, "Compensate", .01, false, 0, false, _, _, _) | |
2733 | DBM.Parent = workspace | |
2734 | repeat runServ.Stepped:wait() until Guard and GuardHealth and GDB and DBM | |
2735 | end | |
2736 | local GuardSpeed = .5 | |
2737 | if Debounces.HasWep then | |
2738 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), GuardSpeed) | |
2739 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), GuardSpeed) | |
2740 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), GuardSpeed) | |
2741 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), GuardSpeed) | |
2742 | end | |
2743 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.53,.2)*Euler(0,0,rad(12)), GuardSpeed) | |
2744 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(40),0), GuardSpeed) | |
2745 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.4,-.5)*Euler(rad(-210),0,0), GuardSpeed) | |
2746 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-50),0), GuardSpeed) | |
2747 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(rad(-12),0,0), GuardSpeed) | |
2748 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-50),0), GuardSpeed) | |
2749 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(.5,-1,0)*Euler(0,rad(-50),0), GuardSpeed) | |
2750 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), GuardSpeed) | |
2751 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,.15)*Euler(0,rad(90),0), GuardSpeed) | |
2752 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(105),0), GuardSpeed) | |
2753 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,.3)*Euler(0,rad(-90),0), GuardSpeed) | |
2754 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-120),0), GuardSpeed) | |
2755 | until not Debounces.Guarding or Humanoid.Health < 0.01 or VHealth.Value == VHealth.MinValue | |
2756 | debServ:AddItem(Guard, 0) | |
2757 | debServ:AddItem(GuardHealth, 0) | |
2758 | debServ:AddItem(GDB, 0) | |
2759 | debServ:AddItem(DBM, 0) | |
2760 | --print("Guard down") | |
2761 | GodMode = false | |
2762 | Humanoid.MaxHealth = Max_Health | |
2763 | Humanoid.WalkSpeed = CurrentSpeed | |
2764 | Debounces.Attacking = false | |
2765 | wait(.15) | |
2766 | Humanoid.Health = LHealth | |
2767 | coroutine.resume(coroutine.create(function() | |
2768 | wait(1) | |
2769 | Debounces.CanGuard = true | |
2770 | end)) | |
2771 | end | |
2772 | ||
2773 | function Fatal_Blow() | |
2774 | Debounces.Attacking = true | |
2775 | local PlusSize = 0 | |
2776 | local Del = 0 | |
2777 | local Continue = false | |
2778 | local K = Mouse.KeyUp:connect(function(key) | |
2779 | if key == "z" and Z_Pressed then | |
2780 | Continue = true | |
2781 | Z_Pressed = false | |
2782 | end | |
2783 | end) | |
2784 | local psm = 1 | |
2785 | local gy = Inst("BodyGyro", RootPart) | |
2786 | gy.Name = DecName | |
2787 | gy.MaxTorque = Vec(0, 3000, 0) | |
2788 | --local chargeS = Sound(LeftArm, "http://roblox.com/asset/?id=0", 1, 1, true) | |
2789 | repeat | |
2790 | gy.CFrame = Cf(RootPart.Position, Mouse.Hit.p) | |
2791 | if Del >= 3 then PlusSize = PlusSize+(.15*psm) else Del = Del+.1 end | |
2792 | if PlusSize >= ((15*psm)-.15) then psm = psm+.1 end | |
2793 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.35,0)*Euler(rad(-25),0,rad(4)), .4) | |
2794 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .4) | |
2795 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(80),0,rad(60)), .4) | |
2796 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .4) | |
2797 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(60),0), .4) | |
2798 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), .4) | |
2799 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-60),0), .4) | |
2800 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), .4) | |
2801 | RightHip.C0=clerp(RightHip.C0,Cf(.5,-1,0)*Euler(0,rad(90),0), .4) | |
2802 | RightHip.C1=clerp(RightHip.C1,Cf(0,1,0)*Euler(0,rad(90),0), .4) | |
2803 | LeftHip.C0=clerp(LeftHip.C0,Cf(-.5,-1,0)*Euler(0,rad(-90),0), .4) | |
2804 | LeftHip.C1=clerp(LeftHip.C1,Cf(0,1,0)*Euler(0,rad(-90),0), .4) | |
2805 | 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) | |
2806 | swait() | |
2807 | until Continue or PlusSize >= 5000 | |
2808 | debServ:AddItem(gy, 0) | |
2809 | --debServ:AddItem(chargeS, 0) | |
2810 | K:disconnect() | |
2811 | local FB = coroutine.create(function() | |
2812 | MagicRing(BrickColor.new(Colour2), "Neon" ,LeftArm:GetRenderCFrame()*Cf(0,-.5,0)*Euler(rad(90), 0, 0), .1, .1, .1, 1, 1, .1, .05) | |
2813 | MagicRing(BrickColor.new(Colour1), "Neon" ,LeftArm:GetRenderCFrame()*Cf(0,-.5,0)*Euler(rad(90), 0, 0), .1, .1, .1, .6, .6, .1, .05) | |
2814 | MagicRing(BrickColor.new(Colour1), "Neon" ,LeftArm:GetRenderCFrame()*Cf(0,-.5,0)*Euler(rad(90), 0, 0), .1, .1, .1, .3, .3, .1, .05) | |
2815 | RootPart.Velocity = RootPart.CFrame.lookVector*-60 | |
2816 | local s = Sound(LeftArm,"http://roblox.com/asset/?id=231917750", 1, 1.6, false) | |
2817 | debServ:AddItem(s, 2) | |
2818 | local Orb = Inst("Part", F2) | |
2819 | Orb.Material = "Neon" | |
2820 | Orb.BrickColor = BC(Colour1) | |
2821 | Orb.Transparency = .5 | |
2822 | Orb.Name = "Orb" | |
2823 | Orb.Anchored = false | |
2824 | Orb.CanCollide = false | |
2825 | Orb.Locked = true | |
2826 | Orb.Size = Vec(1.4,1.4,1.4) | |
2827 | local OrbM = Inst("SpecialMesh", Orb) OrbM.MeshType = "Sphere" | |
2828 | local Ring1 = Inst("Part", F2) | |
2829 | Ring1.Transparency = .5 | |
2830 | Ring1.BrickColor = BC(Colour1) | |
2831 | Ring1.Name = "Ring" | |
2832 | Ring1.Anchored = false | |
2833 | Ring1.CanCollide = false | |
2834 | Ring1.Locked = true | |
2835 | Ring1.Size = Vec(.2,.2,.2) | |
2836 | local Ring1M = Inst("SpecialMesh", Ring1) | |
2837 | Ring1M.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2838 | Ring1M.Scale = Vec(2, 2, 2) | |
2839 | local Ring2 = Inst("Part", F2) | |
2840 | Ring2.Transparency = .5 | |
2841 | Ring2.BrickColor = BC(Colour1) | |
2842 | Ring2.Name = "Ring" | |
2843 | Ring2.Anchored = false | |
2844 | Ring2.CanCollide = false | |
2845 | Ring2.Locked = true | |
2846 | Ring2.Size = Vec(.2,.2,.2) | |
2847 | local Ring2M = Inst("SpecialMesh", Ring2) | |
2848 | Ring2M.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2849 | Ring2M.Scale = Vec(2, 2, 2) | |
2850 | local Rm1 = Inst("Motor", Ring1) | |
2851 | Rm1.Part0 = Orb | |
2852 | Rm1.Part1 = Ring1 | |
2853 | Rm1.DesiredAngle = 9999999999999999999999999999 | |
2854 | Rm1.MaxVelocity = rad(6) | |
2855 | Rm1.C0 = Cf() * Euler(rad(rand(-360, 360)),rad(rand(-360, 360)),rad(rand(-360, 360))) | |
2856 | Rm1.C1 = Cf() * Euler(rad(rand(-360, 360)),rad(rand(-360, 360)),rad(rand(-360, 360))) | |
2857 | local Rm2 = Inst("Motor", Ring2) | |
2858 | Rm2.Part0 = Orb | |
2859 | Rm2.Part1 = Ring2 | |
2860 | Rm2.DesiredAngle = 9999999999999999999999999999 | |
2861 | Rm2.MaxVelocity = rad(6) | |
2862 | Rm2.C0 = Cf() * Euler(rad(rand(-360, 360)),rad(rand(-360, 360)),rad(rand(-360, 360))) | |
2863 | Rm2.C1 = Cf() * Euler(rad(rand(-360, 360)),rad(rand(-360, 360)),rad(rand(-360, 360))) | |
2864 | Orb.CFrame = LeftArm.CFrame*Cf(0,-(.5+(Orb.Size.Y/2)), 0) | |
2865 | local dir = CFrame.new(LeftArm.Position, Mouse.Hit.p) | |
2866 | local Vel = Inst("BodyVelocity", Orb) | |
2867 | Vel.MaxForce = Vec(huge, huge, huge) | |
2868 | Vel.Velocity = dir.lookVector*(190+(PlusSize/12)) | |
2869 | debServ:AddItem(Orb, 40+(PlusSize/2)) | |
2870 | debServ:AddItem(Ring1, 40+(PlusSize/2)) | |
2871 | debServ:AddItem(Ring2, 40+(PlusSize/2)) | |
2872 | local hit = Orb.Touched:connect(function(part) | |
2873 | local hum = FindHum(part.Parent) | |
2874 | 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 | |
2875 | Orb.Anchored = true | |
2876 | Orb.Transparency = 1 | |
2877 | --print(PlusSize) | |
2878 | local s = Sound(Orb,"http://roblox.com/asset/?id=233856079", 1, 1, false) | |
2879 | debServ:AddItem(s, 2) | |
2880 | debServ:AddItem(Ring1, 0) | |
2881 | debServ:AddItem(Vel, 0) | |
2882 | debServ:AddItem(Ring2, 0) | |
2883 | DamageFunction(part, false, 0, 8+(PlusSize*2), false, 0, "Compensate-Stun", RootPart, .2, true, 2, false, _, _, _) | |
2884 | local Blast = Inst("Part", F2) | |
2885 | Blast.BrickColor = BC(Colour2) | |
2886 | Blast.Material = "Neon" | |
2887 | Blast.Transparency = 1 | |
2888 | Blast.Name = "OrbBlast" | |
2889 | Blast.Anchored = true | |
2890 | Blast.CanCollide = false | |
2891 | Blast.Locked = true | |
2892 | Blast.Size = Vec(.2,.2,.2) | |
2893 | Blast.CFrame = Orb.CFrame | |
2894 | local Bm = Inst("SpecialMesh", Blast) | |
2895 | Bm.MeshType = "Sphere" | |
2896 | Bm.Scale = Vec(0,0,0) | |
2897 | local Range = 0 | |
2898 | MagicCircle(BrickColor.new(Colour1), "Neon" ,Blast:GetRenderCFrame(), 0, 0, 0, 20+(PlusSize*2.5), 20+(PlusSize*2.5), 20+(PlusSize*2.5), .05) | |
2899 | 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) | |
2900 | 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) | |
2901 | 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) | |
2902 | for t = 0, 1, .18 do | |
2903 | swait() | |
2904 | Range = t*(10+(PlusSize*1.5)) | |
2905 | Blast.Transparency = ((-2+t)*-1)/2 | |
2906 | Bm.Scale = Vec(t*(120+(PlusSize*6)), t*(120+(PlusSize*6)), t*(120+(PlusSize*6))) | |
2907 | MagniDamage(Blast, Range, true, 6+(PlusSize/10), 7+(PlusSize/10), false, 0, "Compensate-Normal", .01, false, 0, false, _, _, _) | |
2908 | end | |
2909 | for t = 0, 2, .08 do | |
2910 | swait() | |
2911 | MagniDamage(Blast, Range, true, 4+(PlusSize/10), 5+(PlusSize/10), false, 0, "Compensate-LifeSteal", .2, false, 0, false, _, _, _) | |
2912 | end | |
2913 | for t = 1, 0, -.22 do | |
2914 | swait() | |
2915 | Range = t*(10+(PlusSize*1.5)) | |
2916 | Blast.Transparency = ((-2+t)*-1)/2 | |
2917 | Bm.Scale = Vec(t*(120+(PlusSize*6)), t*(120+(PlusSize*6)), t*(120+(PlusSize*6))) | |
2918 | MagniDamage(Blast, Range, true, 6+(PlusSize/10), 7+(PlusSize/10), false, 0, "Compensate-Normal", .01, false, 0, false, _, _, _) | |
2919 | end | |
2920 | debServ:AddItem(Blast, 0) | |
2921 | debServ:AddItem(Orb, 0) | |
2922 | end | |
2923 | end) | |
2924 | repeat swait() until Orb.Parent == nil | |
2925 | debServ:AddItem(Orb, 0) | |
2926 | hit:disconnect() | |
2927 | end) | |
2928 | for i = 0, .4, .1 do | |
2929 | swait() | |
2930 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.35,0)*Euler(rad(-25),0,rad(8)), .4) | |
2931 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .4) | |
2932 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(90),0,rad(-70)), .4) | |
2933 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .4) | |
2934 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(60),0), .4) | |
2935 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), .4) | |
2936 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-70),0), .4) | |
2937 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), .4) | |
2938 | RightHip.C0=clerp(RightHip.C0,Cf(.5,-1,0)*Euler(0,rad(90),0), .4) | |
2939 | RightHip.C1=clerp(RightHip.C1,Cf(0,1,0)*Euler(0,rad(90),0), .4) | |
2940 | LeftHip.C0=clerp(LeftHip.C0,Cf(-.5,-1,0)*Euler(0,rad(-90),0), .4) | |
2941 | LeftHip.C1=clerp(LeftHip.C1,Cf(0,1,0)*Euler(0,rad(-90),0), .4) | |
2942 | end | |
2943 | coroutine.resume(FB) | |
2944 | Debounces.Attacking = false | |
2945 | end | |
2946 | ||
2947 | local WaveNum = 1 | |
2948 | function Hate_Wave() | |
2949 | Debounces.Attacking = true | |
2950 | local function MakeWave() | |
2951 | local Wave = Inst("Model", F2) | |
2952 | Wave.Name = "Wave" | |
2953 | local WM = Inst("Part", Wave) | |
2954 | WM.BrickColor = BC(Colour1) | |
2955 | WM.Material = "Neon" | |
2956 | WM.Name = "WavePart" | |
2957 | WM.Position = Vec(10.3, 7.6, -239.4) | |
2958 | WM.Rotation = Vec(-180, 0, -180) | |
2959 | WM.Anchored = true | |
2960 | WM.CanCollide = false | |
2961 | WM.Locked = true | |
2962 | WM.Size = Vec(1, 2.4, 1) | |
2963 | local W1 = Inst("Part", Wave) | |
2964 | W1.BrickColor = BC(Colour1) | |
2965 | W1.Material = "Neon" | |
2966 | W1.Name = "WavePart" | |
2967 | W1.Position = Vec(10.3, 9.648, -239.664) | |
2968 | W1.Rotation = Vec(165, 0, -180) | |
2969 | W1.Anchored = true | |
2970 | W1.CanCollide = false | |
2971 | W1.Locked = true | |
2972 | W1.Size = Vec(1, 2.1, 1) | |
2973 | local W2 = Inst("Part", Wave) | |
2974 | W2.BrickColor = BC(Colour1) | |
2975 | W2.Material = "Neon" | |
2976 | W2.Name = "WavePart" | |
2977 | W2.Position = Vec(10.3, 11.4, -240.4) | |
2978 | W2.Rotation = Vec(150, 0, -180) | |
2979 | W2.Anchored = true | |
2980 | W2.CanCollide = false | |
2981 | W2.Locked = true | |
2982 | W2.Size = Vec(1, 2, 1) | |
2983 | local W3 = Inst("Part", Wave) | |
2984 | W3.BrickColor = BC(Colour1) | |
2985 | W3.Material = "Neon" | |
2986 | W3.Name = "WavePart" | |
2987 | W3.Position = Vec(10.3, 5.552, -239.663) | |
2988 | W3.Rotation = Vec(-165, 0, -180) | |
2989 | W3.Anchored = true | |
2990 | W3.CanCollide = false | |
2991 | W3.Locked = true | |
2992 | W3.Size = Vec(1, 2.1, 1) | |
2993 | local W4 = Inst("Part", Wave) | |
2994 | W4.BrickColor = BC(Colour1) | |
2995 | W4.Material = "Neon" | |
2996 | W4.Name = "WavePart" | |
2997 | W4.Position = Vec(10.3, 3.8, -240.4) | |
2998 | W4.Rotation = Vec(-150, 0, -180) | |
2999 | W4.Anchored = true | |
3000 | W4.CanCollide = false | |
3001 | W4.Locked = true | |
3002 | W4.Size = Vec(1, 2, 1) | |
3003 | local WH = Inst("Part", Wave) | |
3004 | WH.Transparency = 1 | |
3005 | WH.Name = "WaveHitbox" | |
3006 | WH.Position = Vec(10.3, 7.6, -240.2) | |
3007 | WH.Rotation = Vec(-180, 0, -180) | |
3008 | WH.Anchored = true | |
3009 | WH.CanCollide = false | |
3010 | WH.Locked = true | |
3011 | WH.Size = Vec(5, 12, 8) | |
3012 | for _, w in pairs(Wave:GetChildren()) do | |
3013 | if w:IsA("BasePart") and w ~= WH then | |
3014 | local W = Inst("Weld", WH) | |
3015 | W.Part0 = WH | |
3016 | W.Part1 = w | |
3017 | W.C0 = WH.CFrame:inverse() * Cf(WH.Position) | |
3018 | W.C1 = w.CFrame:inverse() * Cf(WH.Position) | |
3019 | local M = Inst("BlockMesh", w) | |
3020 | M.Scale = Vec(0, 1, 1) | |
3021 | end | |
3022 | end | |
3023 | local SiP = {NumberSequenceKeypoint.new(0, 1, 0), NumberSequenceKeypoint.new(1, .188, 0)} | |
3024 | local TrP = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)} | |
3025 | local PE = Inst("ParticleEmitter", WH) | |
3026 | PE.Color = ColorSequence.new(BC(Colour1).Color) | |
3027 | PE.LightEmission = 1 | |
3028 | PE.Size = NumberSequence.new(SiP) | |
3029 | PE.Transparency = NumberSequence.new(TrP) | |
3030 | PE.EmissionDirection = "Back" | |
3031 | PE.Lifetime = NumberRange.new(.2, .8) | |
3032 | PE.Rate = 500 | |
3033 | PE.Rotation = NumberRange.new(60, 120) | |
3034 | PE.RotSpeed = NumberRange.new(120, 360) | |
3035 | PE.Speed = NumberRange.new(30) | |
3036 | return Wave, WH | |
3037 | end | |
3038 | if WaveNum == 1 then | |
3039 | WaveNum = 2 | |
3040 | for i = 0, .3, .1 do | |
3041 | swait() | |
3042 | local SwingSpeed = .7 | |
3043 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.96,.5)*Euler(rad(-10),0,0), SwingSpeed) | |
3044 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3045 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3046 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
3047 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(80)), SwingSpeed) | |
3048 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3049 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(80),0,rad(60)), SwingSpeed) | |
3050 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3051 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
3052 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3053 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3054 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3055 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3056 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3057 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3058 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3059 | end | |
3060 | for i = 0, .2, .1 do | |
3061 | swait() | |
3062 | local SwingSpeed = .7 | |
3063 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.98,-.4)*Euler(rad(20),0,0), SwingSpeed) | |
3064 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3065 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3066 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
3067 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.6,0.5,-1)*Euler(0,0,rad(90)), SwingSpeed) | |
3068 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-160),0,0), SwingSpeed) | |
3069 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-25)), SwingSpeed) | |
3070 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3071 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(rad(-17),0,0), SwingSpeed) | |
3072 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(30),0), SwingSpeed) | |
3073 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(30),0), SwingSpeed) | |
3074 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3075 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3076 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3077 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3078 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3079 | end | |
3080 | local Wave, WHB = MakeWave() | |
3081 | for _, p in pairs(Wave:GetChildren()) do | |
3082 | if p:IsA("BasePart") then | |
3083 | p.Anchored = false | |
3084 | end | |
3085 | end | |
3086 | WHB.CFrame = RootPart.CFrame * Euler(0, 0, rad(90)) | |
3087 | local Vel = Inst("BodyVelocity", WHB) | |
3088 | Vel.MaxForce = Vec(huge, huge, huge) | |
3089 | Vel.Velocity = WHB.CFrame.lookVector * 220 | |
3090 | local Gyr = Inst("BodyGyro", WHB) | |
3091 | Gyr.CFrame = WHB.CFrame | |
3092 | Gyr.MaxTorque = Vec(huge, huge, huge) | |
3093 | local s = Sound(WHB,"http://roblox.com/asset/?id=233091183", 1, 1.6, false) | |
3094 | debServ:AddItem(s, 2) | |
3095 | coroutine.resume(coroutine.create(function() | |
3096 | debServ:AddItem(Wave, 2) | |
3097 | local hit = WHB.Touched:connect(function(part) DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, .2, false, 0, false, _, _, _) end) | |
3098 | repeat swait() until Wave.Parent == nil | |
3099 | hit:disconnect() | |
3100 | end)) | |
3101 | elseif WaveNum == 2 then | |
3102 | WaveNum = 3 | |
3103 | for i = 0, .3, .1 do | |
3104 | swait() | |
3105 | local SwingSpeed = .7 | |
3106 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(160),0,0), SwingSpeed) | |
3107 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3108 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3109 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3110 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.6,0.5,-1)*Euler(0,0,rad(45)), SwingSpeed) | |
3111 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-150),rad(0),0), SwingSpeed) | |
3112 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-25)), SwingSpeed) | |
3113 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3114 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
3115 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(40),0), SwingSpeed) | |
3116 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(40),0), SwingSpeed) | |
3117 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3118 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3119 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3120 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3121 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3122 | end | |
3123 | for i = 0, .2, .1 do | |
3124 | swait() | |
3125 | local SwingSpeed = .7 | |
3126 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.96,.5)*Euler(rad(-10),0,0), SwingSpeed) | |
3127 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3128 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3129 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3130 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(45)), SwingSpeed) | |
3131 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3132 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(80),0,rad(-30)), SwingSpeed) | |
3133 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3134 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
3135 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-30),0), SwingSpeed) | |
3136 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-30),0), SwingSpeed) | |
3137 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3138 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3139 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3140 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3141 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3142 | end | |
3143 | local Wave, WHB = MakeWave() | |
3144 | for _, p in pairs(Wave:GetChildren()) do | |
3145 | if p:IsA("BasePart") then | |
3146 | p.Anchored = false | |
3147 | end | |
3148 | end | |
3149 | WHB.CFrame = RootPart.CFrame * Euler(0, 0, rad(45)) | |
3150 | local Vel = Inst("BodyVelocity", WHB) | |
3151 | Vel.MaxForce = Vec(huge, huge, huge) | |
3152 | Vel.Velocity = WHB.CFrame.lookVector * 220 | |
3153 | local Gyr = Inst("BodyGyro", WHB) | |
3154 | Gyr.CFrame = WHB.CFrame | |
3155 | Gyr.MaxTorque = Vec(huge, huge, huge) | |
3156 | local s = Sound(WHB,"http://roblox.com/asset/?id=233091183", 1, 1.6, false) | |
3157 | debServ:AddItem(s, 2) | |
3158 | coroutine.resume(coroutine.create(function() | |
3159 | debServ:AddItem(Wave, 2) | |
3160 | local hit = WHB.Touched:connect(function(part) DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, .2, false, 0, false, _, _, _) end) | |
3161 | repeat swait() until Wave.Parent == nil | |
3162 | hit:disconnect() | |
3163 | end)) | |
3164 | elseif WaveNum == 3 then | |
3165 | WaveNum = 4 | |
3166 | for i = 0, .3, .1 do | |
3167 | swait() | |
3168 | local SwingSpeed = .7 | |
3169 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(0),0,0), SwingSpeed) | |
3170 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3171 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(-90),0,0), SwingSpeed) | |
3172 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3173 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(135),0,0), SwingSpeed) | |
3174 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(45),rad(-45)), SwingSpeed) | |
3175 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(80),0,rad(-40)), SwingSpeed) | |
3176 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3177 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
3178 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3179 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3180 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3181 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3182 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3183 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3184 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3185 | end | |
3186 | for i = 0, .2, .1 do | |
3187 | swait() | |
3188 | local SwingSpeed = .7 | |
3189 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(0),0,0), SwingSpeed) | |
3190 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3191 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(-90),0,0), SwingSpeed) | |
3192 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3193 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-25),0,rad(0)), SwingSpeed) | |
3194 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(60),rad(-10)), SwingSpeed) | |
3195 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-20),0,rad(-25)), SwingSpeed) | |
3196 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3197 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
3198 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(82),0), SwingSpeed) | |
3199 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(100),0), SwingSpeed) | |
3200 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3201 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3202 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3203 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3204 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3205 | end | |
3206 | local Wave, WHB = MakeWave() | |
3207 | for _, p in pairs(Wave:GetChildren()) do | |
3208 | if p:IsA("BasePart") then | |
3209 | p.Anchored = false | |
3210 | end | |
3211 | end | |
3212 | WHB.CFrame = RootPart.CFrame * Euler(0, 0, rad(-45)) | |
3213 | local Vel = Inst("BodyVelocity", WHB) | |
3214 | Vel.MaxForce = Vec(huge, huge, huge) | |
3215 | Vel.Velocity = WHB.CFrame.lookVector * 220 | |
3216 | local Gyr = Inst("BodyGyro", WHB) | |
3217 | Gyr.CFrame = WHB.CFrame | |
3218 | Gyr.MaxTorque = Vec(huge, huge, huge) | |
3219 | local s = Sound(WHB,"http://roblox.com/asset/?id=233091183", 1, 1.6, false) | |
3220 | debServ:AddItem(s, 2) | |
3221 | coroutine.resume(coroutine.create(function() | |
3222 | debServ:AddItem(Wave, 2) | |
3223 | local hit = WHB.Touched:connect(function(part) DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, .2, false, 0, false, _, _, _) end) | |
3224 | repeat swait() until Wave.Parent == nil | |
3225 | hit:disconnect() | |
3226 | end)) | |
3227 | elseif WaveNum == 4 then | |
3228 | WaveNum = 1 | |
3229 | for i = 0, .3, .1 do | |
3230 | swait() | |
3231 | local SwingSpeed = .7 | |
3232 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.9,.6)*Euler(rad(160),0,0), SwingSpeed) | |
3233 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3234 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3235 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3236 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.4)*Euler(rad(160),0,0), SwingSpeed) | |
3237 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(40),0), SwingSpeed) | |
3238 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.6,0.8,-.95)*Euler(rad(120),0,rad(60)), SwingSpeed) | |
3239 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3240 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
3241 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3242 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3243 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3244 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3245 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3246 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3247 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3248 | end | |
3249 | for i = 0, .2, .1 do | |
3250 | swait() | |
3251 | local SwingSpeed = .7 | |
3252 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.8,.6)*Euler(rad(146),0,rad(-40)), SwingSpeed) | |
3253 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,rad(-5),0), SwingSpeed) | |
3254 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3255 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3256 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.3)*Euler(0,rad(-65),rad(-40)), SwingSpeed) | |
3257 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-20),0,0), SwingSpeed) | |
3258 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-.5)*Euler(rad(20),0,rad(60)), SwingSpeed) | |
3259 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(65),0), SwingSpeed) | |
3260 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
3261 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(20),rad(60),0), SwingSpeed) | |
3262 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(60),0), SwingSpeed) | |
3263 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3264 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3265 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3266 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3267 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3268 | end | |
3269 | local Wave, WHB = MakeWave() | |
3270 | for _, p in pairs(Wave:GetChildren()) do | |
3271 | if p:IsA("BasePart") then | |
3272 | p.Anchored = false | |
3273 | end | |
3274 | end | |
3275 | WHB.CFrame = RootPart.CFrame | |
3276 | local Vel = Inst("BodyVelocity", WHB) | |
3277 | Vel.MaxForce = Vec(huge, huge, huge) | |
3278 | Vel.Velocity = WHB.CFrame.lookVector * 220 | |
3279 | local Gyr = Inst("BodyGyro", WHB) | |
3280 | Gyr.CFrame = WHB.CFrame | |
3281 | Gyr.MaxTorque = Vec(huge, huge, huge) | |
3282 | local s = Sound(WHB,"http://roblox.com/asset/?id=233091183", 1, 1.6, false) | |
3283 | debServ:AddItem(s, 2) | |
3284 | coroutine.resume(coroutine.create(function() | |
3285 | debServ:AddItem(Wave, 2) | |
3286 | local hit = WHB.Touched:connect(function(part) DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, .2, false, 0, false, _, _, _) end) | |
3287 | repeat swait() until Wave.Parent == nil | |
3288 | hit:disconnect() | |
3289 | end)) | |
3290 | end | |
3291 | Debounces.Attacking = false | |
3292 | end | |
3293 | ||
3294 | function Dark_Eruption() | |
3295 | Debounces.Attacking = true | |
3296 | local EPower = 0 | |
3297 | local BuffDelay = 0 | |
3298 | repeat | |
3299 | if BuffDelay < 3.9 then | |
3300 | BuffDelay = BuffDelay+.1 | |
3301 | else | |
3302 | EPower = EPower+.25 | |
3303 | end | |
3304 | MagicBlock(BrickColor.new(Colour1),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3305 | MagicBlock(BrickColor.new(Colour1),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3306 | MagicBlock(BrickColor.new(Colour2),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3307 | MagicBlock(BrickColor.new(Colour2),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3308 | Humanoid.WalkSpeed = 5 | |
3309 | local SwingSpeed = .5 | |
3310 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.95,.5)*Euler(rad(180),0,0), SwingSpeed) | |
3311 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3312 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3313 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3314 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.4)*Euler(rad(170),0,0), SwingSpeed) | |
3315 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(40),0), SwingSpeed) | |
3316 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.45,0.8,-.95)*Euler(rad(150),0,rad(40)), SwingSpeed) | |
3317 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
3318 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
3319 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3320 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-40),0), SwingSpeed) | |
3321 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3322 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3323 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
3324 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3325 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
3326 | wait() | |
3327 | until not Debounces.Charging_Erupt | |
3328 | Debounces.DisableJump = true | |
3329 | LeftHip.Part0 = nil | |
3330 | LeftHip.Part1 = nil | |
3331 | RightHip.Part0 = nil | |
3332 | RightHip.Part1 = nil | |
3333 | FLeftHip.Part0 = Torso | |
3334 | FLeftHip.Part1 = LeftLeg | |
3335 | FLeftHip.C0 = LeftHip.C0 | |
3336 | FLeftHip.C1 = LeftHip.C1 | |
3337 | FRightHip.Part0 = Torso | |
3338 | FRightHip.Part1 = RightLeg | |
3339 | FRightHip.C0 = RightHip.C0 | |
3340 | FRightHip.C1 = RightHip.C1 | |
3341 | 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) | |
3342 | for i = 0, .4, .1 do | |
3343 | swait() | |
3344 | local SwingSpeed = .55 | |
3345 | Humanoid.WalkSpeed = 0 | |
3346 | MagicBlock(BrickColor.new(Colour1),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3347 | MagicBlock(BrickColor.new(Colour1),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3348 | MagicBlock(BrickColor.new(Colour2),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3349 | MagicBlock(BrickColor.new(Colour2),"Neon",Hit_Box:GetRenderCFrame()*Cf(.9,rand(-3, 3),0), .1, 0, .1, .65, .65, .65, .05) | |
3350 | HWeld.C0=clerp(HWeld.C0,Cf(0,-.8,.6)*Euler(rad(146),0,rad(-40)), SwingSpeed) | |
3351 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,rad(-5),0), SwingSpeed) | |
3352 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3353 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3354 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.3)*Euler(0,rad(-65),rad(-40)), SwingSpeed) | |
3355 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-20),0,0), SwingSpeed) | |
3356 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-.5)*Euler(rad(20),0,rad(60)), SwingSpeed) | |
3357 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(65),0), SwingSpeed) | |
3358 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
3359 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(20),rad(60),0), SwingSpeed) | |
3360 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-2.2,0)*Euler(0,rad(60),0), SwingSpeed) | |
3361 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3362 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1.3,.1)*Euler(rad(-80),0,0), SwingSpeed) | |
3363 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
3364 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.1,-.6)*Euler(rad(-10),0,0), SwingSpeed) | |
3365 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
3366 | end | |
3367 | coroutine.resume(coroutine.create(function() | |
3368 | for i = 1, 10, 1 do | |
3369 | swait() | |
3370 | local Point = Inst("Part", F2) | |
3371 | Point.Anchored = true | |
3372 | Point.Name = "Point" | |
3373 | Point.CanCollide = false | |
3374 | Point.Transparency = 1 | |
3375 | Point.Locked = true | |
3376 | Point.Size = Vec(.2, .2, .2) | |
3377 | Point.CFrame = RootPart.CFrame * Cf(0, -3, -(11*i)) | |
3378 | local P2 = Inst("Part", Point) | |
3379 | P2.Anchored = true | |
3380 | P2.CanCollide = false | |
3381 | P2.Name = "Point" | |
3382 | P2.Transparency = 1 | |
3383 | P2.Locked = true | |
3384 | P2.Size = Vec(.2, .2, .2) | |
3385 | P2.CFrame = Point.CFrame * Cf(0, 10, 0) | |
3386 | local P3 = Inst("Part", Point) | |
3387 | P3.Anchored = true | |
3388 | P3.Name = "Point" | |
3389 | P3.CanCollide = false | |
3390 | P3.Transparency = 1 | |
3391 | P3.Locked = true | |
3392 | P3.Size = Vec(.2, .2, .2) | |
3393 | P3.CFrame = Point.CFrame * Cf(0, -10, 0) | |
3394 | local s1 = Sound(Point,"http://roblox.com/asset/?id=233091161", .4, 3, false) | |
3395 | debServ:AddItem(s1, 3) | |
3396 | local s2 = Sound(Point,"http://roblox.com/asset/?id=231917744", 1, 2, false) | |
3397 | debServ:AddItem(s2, 3) | |
3398 | MagicCircle(BrickColor.new(Colour1),"SmoothPlastic",Point:GetRenderCFrame(), .1, 0, .1, 5, .5, 5, .08) | |
3399 | MagicCircle(BrickColor.new(Colour1),"SmoothPlastic",Point:GetRenderCFrame(), .1, 0, .1, 1, 50, 1, .08) | |
3400 | MagicCircle(BrickColor.new(Colour2),"Neon",Point:GetRenderCFrame(), .06, 0, .06, 4.6, .46, 4.6, .06) | |
3401 | MagicCircle(BrickColor.new(Colour2),"Neon",Point:GetRenderCFrame(), .06, 0, .06, .6, 46, .6, .06) | |
3402 | MagicBlock(BrickColor.new(Colour1),"SmoothPlastic",Point:GetRenderCFrame(), .1, .1, .1, 2, 2, 2, .08) | |
3403 | MagicBlock(BrickColor.new(Colour2),"Neon",Point:GetRenderCFrame(), .1, .1, .1, 2, 2, 2, .06) | |
3404 | coroutine.resume(coroutine.create(function() | |
3405 | for i = 0, .4, .1 do | |
3406 | swait() | |
3407 | MagniDamage(Point, 12, true, 8+EPower, 9+EPower, true, 90, "Compensate-LifeSteal", .01, false, 0, false, _, _, _) | |
3408 | MagniDamage(P2, 12, true, 8+EPower, 9+EPower, true, 90, "Compensate-LifeSteal", .01, false, 0, false, _, _, _) | |
3409 | MagniDamage(P3, 12, true, 8+EPower, 9+EPower, true, 90, "Compensate-LifeSteal", .01, false, 0, false, _, _, _) | |
3410 | end | |
3411 | debServ:AddItem(Point, 0) | |
3412 | end)) | |
3413 | end | |
3414 | end)) | |
3415 | wait(.55) | |
3416 | hit:disconnect() | |
3417 | FLeftHip.Part0 = nil | |
3418 | FLeftHip.Part1 = nil | |
3419 | FRightHip.Part0 = nil | |
3420 | FRightHip.Part1 = nil | |
3421 | LeftHip.Part0 = Torso | |
3422 | LeftHip.Part1 = LeftLeg | |
3423 | LeftHip.C0 = FLeftHip.C0 | |
3424 | LeftHip.C1 = FLeftHip.C1 | |
3425 | RightHip.Part0 = Torso | |
3426 | RightHip.Part1 = RightLeg | |
3427 | RightHip.C0 = FRightHip.C0 | |
3428 | RightHip.C1 = FRightHip.C1 | |
3429 | Humanoid.WalkSpeed = CurrentSpeed | |
3430 | Debounces.DisableJump = false | |
3431 | Debounces.Attacking = false | |
3432 | end | |
3433 | ||
3434 | function Axel(Upward) | |
3435 | Debounces.Attacking = true | |
3436 | if not Debounces.HasWep then | |
3437 | if Current_Anim == "Idle" or Current_Anim == "Walking" then | |
3438 | LeftHip.Part0 = nil | |
3439 | LeftHip.Part1 = nil | |
3440 | RightHip.Part0 = nil | |
3441 | RightHip.Part1 = nil | |
3442 | FLeftHip.Part0 = Torso | |
3443 | FLeftHip.Part1 = LeftLeg | |
3444 | FLeftHip.C0 = LeftHip.C0 | |
3445 | FLeftHip.C1 = LeftHip.C1 | |
3446 | FRightHip.Part0 = Torso | |
3447 | FRightHip.Part1 = RightLeg | |
3448 | FRightHip.C0 = RightHip.C0 | |
3449 | FRightHip.C1 = RightHip.C1 | |
3450 | local t = .6 | |
3451 | local VelPart = RootPart | |
3452 | local tim = 1 | |
3453 | local Speed = 100 | |
3454 | local HBSize = Vec(3, 5, 3) | |
3455 | local Vel = Inst("BodyVelocity", RootPart) | |
3456 | Vel.Name = DecName | |
3457 | Vel.MaxForce = Vec(huge, huge, huge) | |
3458 | Vel.Velocity = VelPart.CFrame.lookVector*0 | |
3459 | if Upward then | |
3460 | tim = 1.4 | |
3461 | HBSize = Vec(5, 7, 5) | |
3462 | Speed = 250 | |
3463 | local LVec = Inst("Part", F2) | |
3464 | LVec.Transparency = 1 | |
3465 | LVec.Anchored = false | |
3466 | LVec.CanCollide = false | |
3467 | LVec.Locked = true | |
3468 | LVec.Size = Vec(1,1,1) | |
3469 | LVec.FrontSurface = "Hinge" | |
3470 | local LVW = Inst("Weld", LVec) | |
3471 | LVW.Part0 = LeftLeg | |
3472 | LVW.Part1 = LVec | |
3473 | LVW.Name = DecName | |
3474 | LVW.C0 = Cf(0, -.5, 0) * Euler(rad(-90), 0, 0) | |
3475 | LVW.C1 = Cf(0,0,0) * Euler(0,0,rad(-20)) | |
3476 | VelPart = LVec | |
3477 | Vel.Velocity = (RootPart.CFrame.lookVector*-15) + Vec(0, 25, 0) | |
3478 | local noscope = 0 | |
3479 | local j = Sound(RootPart,"http://roblox.com/asset/?id=158149887", .5, 1, false) | |
3480 | debServ:AddItem(j, 2) | |
3481 | for i = 0, 1.4, .1 do | |
3482 | swait() | |
3483 | if noscope ~= 360 then | |
3484 | noscope = noscope+30 | |
3485 | end | |
3486 | local JumpSpeed = .4 | |
3487 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-60),0,rad(10)), JumpSpeed) | |
3488 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
3489 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-60),0,rad(-10)), JumpSpeed) | |
3490 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
3491 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,.2)*Euler(rad(30),0,0), JumpSpeed) | |
3492 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
3493 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(noscope),0,0), JumpSpeed) | |
3494 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
3495 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-18),rad(90),0), JumpSpeed) | |
3496 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
3497 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-30),rad(-90),0), JumpSpeed) | |
3498 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
3499 | end | |
3500 | end | |
3501 | local HBox = MakeHitBox(HBSize, LeftLeg, true, Cf(0,-(HBSize.Y/4),0), Cf()) | |
3502 | local T = 0 | |
3503 | local hit = HBox.Touched:connect(function(part) | |
3504 | local hum = FindHum(part.Parent) | |
3505 | local Axeld = part.Parent:FindFirstChild("Axeld") | |
3506 | if hum and hum ~= Humanoid and not Axeld then | |
3507 | tim = tim+1.2 | |
3508 | local ax = Inst("BoolValue", part.Parent) ax.Name = "Axeld" | |
3509 | local QuickDelay = Inst("BodyPosition", RootPart) | |
3510 | QuickDelay.Name = DecName | |
3511 | QuickDelay.MaxForce = Vec(huge, huge, huge) | |
3512 | QuickDelay.Position = RootPart.Position | |
3513 | debServ:AddItem(QuickDelay, .3) | |
3514 | debServ:AddItem(ax, .4) | |
3515 | DamageFunction(part, true, 20, 21, false, 150, "SkyRocket", RootPart, .1, false, 0, false, _, _, _) | |
3516 | end | |
3517 | end) | |
3518 | repeat | |
3519 | Vel.Velocity = VelPart.CFrame.lookVector*Speed | |
3520 | MagicBlock(BrickColor.new(Colour1),"Neon",LeftLeg:GetRenderCFrame()*Cf(0,-5,-1), 3, 3, 3, 7, 7, 7, .1) | |
3521 | MagicBlock(BrickColor.new(Colour2),"Neon",LeftLeg:GetRenderCFrame()*Cf(0,-4,-1), 2, 2, 2, 6, 6, 6, .1) | |
3522 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,rad(15),rad(70)),t) | |
3523 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),t) | |
3524 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-.9)*Euler(rad(90),0,0),t) | |
3525 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,rad(-70)),t) | |
3526 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.3)*Euler(rad(-35),rad(60),0),t) | |
3527 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),t) | |
3528 | if not Upward then | |
3529 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(40),rad(-80),0),t) | |
3530 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),t) | |
3531 | else | |
3532 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(100),rad(-80),0),t) | |
3533 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),t) | |
3534 | end | |
3535 | FRightHip.C0=clerp(FRightHip.C0,Cf(.8,-.5,-.7)*Euler(rad(-30),0,0),t) | |
3536 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,1,0)*Euler(0,0,rad(25)),t) | |
3537 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-.8,-1,-.15)*Euler(rad(-20),rad(60),0),t) | |
3538 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,1,0)*Euler(rad(-40),0,0),t) | |
3539 | T = T+.1 | |
3540 | swait() | |
3541 | until T >= tim | |
3542 | debServ:AddItem(HBox, 0) | |
3543 | hit:disconnect() | |
3544 | debServ:AddItem(Vel, 0) | |
3545 | if Upward then | |
3546 | debServ:AddItem(VelPart, 0) | |
3547 | end | |
3548 | if not Upward then | |
3549 | for i = 0, 1.4, .1 do | |
3550 | swait() | |
3551 | Humanoid.WalkSpeed = 0 | |
3552 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(70)), .3) | |
3553 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .3) | |
3554 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(70),0,rad(60)), .3) | |
3555 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(60),0), .3) | |
3556 | Neck.C0=clerp(Neck.C0,Cf(0,1.35,-.5)*Euler(rad(-45),0,0), .3) | |
3557 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-30),0), .3) | |
3558 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-.4,0)*Euler(rad(-20),rad(-60),0), .3) | |
3559 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,0,0)*Euler(0,0,0), .3) | |
3560 | FRightHip.C0=clerp(FRightHip.C0,Cf(.5,-1.8,-.7)*Euler(0,rad(20),0), .3) | |
3561 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,0,0)*Euler(rad(-15),0,0), .3) | |
3562 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1,-1.4,-.6)*Euler(0,rad(60),0), .3) | |
3563 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,0,0)*Euler(rad(-15),0,0), .3) | |
3564 | end | |
3565 | end | |
3566 | Humanoid.WalkSpeed = CurrentSpeed | |
3567 | LeftHip.Part0 = Torso | |
3568 | LeftHip.Part1 = LeftLeg | |
3569 | RightHip.Part0 = Torso | |
3570 | RightHip.Part1 = RightLeg | |
3571 | FLeftHip.Part0 = nil | |
3572 | FLeftHip.Part1 = nil | |
3573 | LeftHip.C0 = FLeftHip.C0 | |
3574 | LeftHip.C1 = FLeftHip.C1 | |
3575 | FRightHip.Part0 = nil | |
3576 | FRightHip.Part1 = nil | |
3577 | RightHip.C0 = FRightHip.C0 | |
3578 | RightHip.C1 = FRightHip.C1--]] | |
3579 | elseif Current_Anim == "Falling" or Current_Anim == "Jumping" then | |
3580 | LeftHip.Part0 = nil | |
3581 | LeftHip.Part1 = nil | |
3582 | RightHip.Part0 = nil | |
3583 | RightHip.Part1 = nil | |
3584 | FLeftHip.Part0 = Torso | |
3585 | FLeftHip.Part1 = LeftLeg | |
3586 | FLeftHip.C0 = LeftHip.C0 | |
3587 | FLeftHip.C1 = LeftHip.C1 | |
3588 | FRightHip.Part0 = Torso | |
3589 | FRightHip.Part1 = RightLeg | |
3590 | FRightHip.C0 = RightHip.C0 | |
3591 | FRightHip.C1 = RightHip.C1 | |
3592 | local t = .6 | |
3593 | local HBox = MakeHitBox(Vec(3,5,3), LeftLeg, true, Cf(0,-1.25,0), Cf()) | |
3594 | local LVec = Inst("Part", F2) | |
3595 | LVec.Transparency = 1 | |
3596 | LVec.Anchored = false | |
3597 | LVec.CanCollide = false | |
3598 | LVec.Locked = true | |
3599 | LVec.Size = Vec(1,1,1) | |
3600 | LVec.FrontSurface = "Hinge" | |
3601 | local LVW = Inst("Weld", LVec) | |
3602 | LVW.Part0 = LeftLeg | |
3603 | LVW.Part1 = LVec | |
3604 | LVW.Name = DecName | |
3605 | LVW.C0 = Cf(0, -.5, 0) * Euler(rad(-90), 0, 0) | |
3606 | LVW.C1 = Cf(0,0,0) * Euler(0,0,rad(-20)) | |
3607 | local Vel = Inst("BodyVelocity", RootPart) | |
3608 | Vel.Name = DecName | |
3609 | Vel.MaxForce = Vec(huge, huge, huge) | |
3610 | Vel.Velocity = LVec.CFrame.lookVector*0 | |
3611 | local FallDamage = 0 | |
3612 | local CanDiveKick = true | |
3613 | local TouchedGround = false | |
3614 | local BuffN = 3 | |
3615 | local ground, pos = rayCast(LVec.Position, LVec.CFrame.lookVector, 5, Character) | |
3616 | local hit = HBox.Touched:connect(function(part) | |
3617 | local hum = FindHum(part.Parent) | |
3618 | if hum and hum ~= Humanoid and CanDiveKick then | |
3619 | CanDiveKick = false | |
3620 | FallDamage = FallDamage+4 | |
3621 | Vel.Velocity = (RootPart.CFrame.lookVector*-8) + Vec(0, 20, 0) | |
3622 | local noscope = 0 | |
3623 | local s = Sound(part,"http://roblox.com/asset/?id=401057895", 1, 1, false) | |
3624 | debServ:AddItem(s, 2) | |
3625 | local j = Sound(RootPart,"http://roblox.com/asset/?id=158149887", .5, 1, false) | |
3626 | debServ:AddItem(j, 2) | |
3627 | DamageFunction(part, false, 0, 45, false, 0, "LifeSteal", RootPart, .1, false, 0, false, _, _, _) | |
3628 | Apply_Buff(BuffN, 15) | |
3629 | if BuffN > 0 then | |
3630 | BuffN = BuffN-.1 | |
3631 | end | |
3632 | for i = 0, 1.4, .1 do | |
3633 | swait() | |
3634 | Vel.Velocity = (RootPart.CFrame.lookVector*-8) + Vec(0, 22, 0) | |
3635 | if noscope ~= 360 then | |
3636 | noscope = noscope+30 | |
3637 | end | |
3638 | local JumpSpeed = .4 | |
3639 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-60),0,rad(10)), JumpSpeed) | |
3640 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
3641 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-60),0,rad(-10)), JumpSpeed) | |
3642 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
3643 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,.2)*Euler(rad(30),0,0), JumpSpeed) | |
3644 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
3645 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(noscope),0,0), JumpSpeed) | |
3646 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
3647 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-18),rad(90),0), JumpSpeed) | |
3648 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
3649 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-30),rad(-90),0), JumpSpeed) | |
3650 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
3651 | end | |
3652 | CanDiveKick = true | |
3653 | end | |
3654 | end) | |
3655 | repeat | |
3656 | swait() | |
3657 | if CanDiveKick then | |
3658 | FallDamage = FallDamage+1 | |
3659 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,rad(15),rad(70)),t) | |
3660 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0),t) | |
3661 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-.9)*Euler(rad(90),0,0),t) | |
3662 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,rad(-70)),t) | |
3663 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.3)*Euler(rad(-35),rad(60),0),t) | |
3664 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),t) | |
3665 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-5),rad(-80),0),t) | |
3666 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),t) | |
3667 | FRightHip.C0=clerp(FRightHip.C0,Cf(.8,-.5,-.7)*Euler(rad(-30),0,0),t) | |
3668 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,1,0)*Euler(0,0,rad(25)),t) | |
3669 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-.8,-1,-.15)*Euler(rad(-20),rad(60),0),t) | |
3670 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,1,0)*Euler(rad(-40),0,0),t) | |
3671 | Vel.Velocity = LVec.CFrame.lookVector*150 | |
3672 | MagicBlock(BrickColor.new(Colour1),"Neon",LeftLeg:GetRenderCFrame()*Cf(0,-5,-1), 3, 3, 3, 7, 7, 7, .1) | |
3673 | MagicBlock(BrickColor.new(Colour2),"Neon",LeftLeg:GetRenderCFrame()*Cf(0,-4,-1), 2, 2, 2, 6, 6, 6, .1) | |
3674 | ground, pos = rayCast(LVec.Position, LVec.CFrame.lookVector, 15, Character) | |
3675 | if ground then | |
3676 | if ground.Anchored == true then | |
3677 | TouchedGround = true | |
3678 | end | |
3679 | end | |
3680 | end | |
3681 | until TouchedGround | |
3682 | MagicWave(ground.BrickColor,ground.Material,Cf(pos), 0, 0, 0, 3, 1, 3, .1) | |
3683 | local WaveP = Inst("Part", F2) | |
3684 | WaveP.Transparency = 1 | |
3685 | WaveP.Anchored = true | |
3686 | WaveP.CanCollide = false | |
3687 | WaveP.Locked = true | |
3688 | WaveP.CFrame = Cf(pos) | |
3689 | MagniDamage(WaveP, 25, true, 4+FallDamage, 5+FallDamage, false, 0, "Stun", .06+(FallDamage/100), false, 0, false, _, _, _) | |
3690 | debServ:AddItem(WaveP, 3) | |
3691 | local boo = Sound(WaveP,"http://roblox.com/asset/?id=157878578", 1, 1, false) | |
3692 | debServ:AddItem(boo, .4) | |
3693 | debServ:AddItem(HBox, 0) | |
3694 | debServ:AddItem(LVec, 0) | |
3695 | hit:disconnect() | |
3696 | debServ:AddItem(Vel, 0) | |
3697 | for i = 0, 1.8, .1 do | |
3698 | swait() | |
3699 | Humanoid.WalkSpeed = 0 | |
3700 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(70)), .3) | |
3701 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .3) | |
3702 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(70),0,rad(60)), .3) | |
3703 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(60),0), .3) | |
3704 | Neck.C0=clerp(Neck.C0,Cf(0,1.35,-.5)*Euler(rad(-45),0,0), .3) | |
3705 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-30),0), .3) | |
3706 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-.4,0)*Euler(rad(-20),rad(-60),0), .3) | |
3707 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,0,0)*Euler(0,0,0), .3) | |
3708 | FRightHip.C0=clerp(FRightHip.C0,Cf(.5,-1.8,-.7)*Euler(0,rad(20),0), .3) | |
3709 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,0,0)*Euler(rad(-15),0,0), .3) | |
3710 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1,-1.4,-.6)*Euler(0,rad(60),0), .3) | |
3711 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,0,0)*Euler(rad(-15),0,0), .3) | |
3712 | end | |
3713 | Humanoid.WalkSpeed = CurrentSpeed | |
3714 | LeftHip.Part0 = Torso | |
3715 | LeftHip.Part1 = LeftLeg | |
3716 | RightHip.Part0 = Torso | |
3717 | RightHip.Part1 = RightLeg | |
3718 | FLeftHip.Part0 = nil | |
3719 | FLeftHip.Part1 = nil | |
3720 | LeftHip.C0 = FLeftHip.C0 | |
3721 | LeftHip.C1 = FLeftHip.C1 | |
3722 | FRightHip.Part0 = nil | |
3723 | FRightHip.Part1 = nil | |
3724 | RightHip.C0 = FRightHip.C0 | |
3725 | RightHip.C1 = FRightHip.C1--]] | |
3726 | end | |
3727 | elseif Debounces.HasWep and not Debounces.DuelWielding then | |
3728 | if Current_Anim == "Idle" or Current_Anim == "Walking" then | |
3729 | LeftHip.Part0 = nil | |
3730 | LeftHip.Part1 = nil | |
3731 | RightHip.Part0 = nil | |
3732 | RightHip.Part1 = nil | |
3733 | FLeftHip.Part0 = Torso | |
3734 | FLeftHip.Part1 = LeftLeg | |
3735 | FLeftHip.C0 = LeftHip.C0 | |
3736 | FLeftHip.C1 = LeftHip.C1 | |
3737 | FRightHip.Part0 = Torso | |
3738 | FRightHip.Part1 = RightLeg | |
3739 | FRightHip.C0 = RightHip.C0 | |
3740 | FRightHip.C1 = RightHip.C1 | |
3741 | local t = .6 | |
3742 | local VelPart = RootPart | |
3743 | local tim = 1 | |
3744 | local Speed = 150 | |
3745 | local HBSize = Vec(4, 8, 3) | |
3746 | local Vel = Inst("BodyVelocity", RootPart) | |
3747 | Vel.Name = DecName | |
3748 | Vel.MaxForce = Vec(huge, huge, huge) | |
3749 | Vel.Velocity = VelPart.CFrame.lookVector*0 | |
3750 | if Upward then | |
3751 | tim = 1.4 | |
3752 | Speed = 300 | |
3753 | local LVec = Inst("Part", F2) | |
3754 | LVec.Transparency = 1 | |
3755 | LVec.Anchored = false | |
3756 | LVec.CanCollide = false | |
3757 | LVec.Locked = true | |
3758 | LVec.Size = Vec(2,2,1) | |
3759 | LVec.FrontSurface = "Hinge" | |
3760 | local LVW = Inst("Weld", LVec) | |
3761 | LVW.Part0 = RootPart | |
3762 | LVW.Part1 = LVec | |
3763 | LVW.Name = DecName | |
3764 | LVW.C0 = Cf(0, 0, 0) * Euler(rad(50), 0, 0) | |
3765 | VelPart = LVec | |
3766 | Vel.Velocity = (RootPart.CFrame.lookVector*-15) + Vec(0, 25, 0) | |
3767 | local noscope = 0 | |
3768 | local j = Sound(RootPart,"http://roblox.com/asset/?id=158149887", .5, 1, false) | |
3769 | debServ:AddItem(j, 2) | |
3770 | for i = 0, 1.4, .1 do | |
3771 | swait() | |
3772 | if noscope ~= 360 then | |
3773 | noscope = noscope+30 | |
3774 | end | |
3775 | local JumpSpeed = .4 | |
3776 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
3777 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
3778 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), JumpSpeed) | |
3779 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), JumpSpeed) | |
3780 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-60),0,rad(10)), JumpSpeed) | |
3781 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
3782 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-60),0,rad(-10)), JumpSpeed) | |
3783 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
3784 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,.2)*Euler(rad(30),0,0), JumpSpeed) | |
3785 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
3786 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(noscope),0,0), JumpSpeed) | |
3787 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
3788 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-18),rad(90),0), JumpSpeed) | |
3789 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
3790 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-30),rad(-90),0), JumpSpeed) | |
3791 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
3792 | end | |
3793 | end | |
3794 | local HBox = MakeHitBox(HBSize, Hit_Box, true, Cf(), Cf()) | |
3795 | local T = 0 | |
3796 | local Penetrates = 0 | |
3797 | local hit = HBox.Touched:connect(function(part) | |
3798 | local hum = FindHum(part.Parent) | |
3799 | local p = part.Parent:FindFirstChild("Penetrated") | |
3800 | local tor = part.Parent:FindFirstChild("Torso") | |
3801 | if hum and hum ~= Humanoid and not p and tor then | |
3802 | if not Upward then | |
3803 | tim = tim+1.2 | |
3804 | else | |
3805 | tim = tim+1.6 | |
3806 | end | |
3807 | DamageFunction(part, false, 0, 30, false, 0, "Compensate", RootPart, .1, false, _, false, _, _, _) | |
3808 | local Penetrate = Inst("Part") | |
3809 | if hum.Health > (hum.MaxHealth/12) then | |
3810 | debServ:AddItem(Penetrate, 0) | |
3811 | Penetrate = Inst("Weld", HBox) | |
3812 | Penetrate.Part0 = HBox | |
3813 | Penetrate.Part1 = tor | |
3814 | Penetrate.C0 = Cf(0, 2.6-Penetrates, 0) * Euler(rad(90), 0, rad(-90)) | |
3815 | end | |
3816 | local P = Inst("BoolValue", part.Parent) | |
3817 | P.Name = "Penetrated" | |
3818 | debServ:AddItem(P, 4) | |
3819 | debServ:AddItem(Penetrate, 2) | |
3820 | if Penetrates ~= 6 then | |
3821 | Penetrates = Penetrates+1 | |
3822 | end | |
3823 | local rip = runServ.RenderStepped:connect(function() | |
3824 | hum.PlatformStand = true | |
3825 | DamageFunction(part, false, 0, 0+Penetrates, false, 0, "Compensate", RootPart, .02, false, _, false, _, _, _) | |
3826 | end) | |
3827 | repeat swait() until Penetrate.Parent == nil or T == tim or hum.Health <= (hum.MaxHealth/12) | |
3828 | hum.PlatformStand = false | |
3829 | if Penetrates ~= 6 then | |
3830 | Penetrates = Penetrates-1 | |
3831 | end | |
3832 | debServ:AddItem(P, 0) | |
3833 | debServ:AddItem(Penetrate, 0) | |
3834 | rip:disconnect() | |
3835 | end | |
3836 | end) | |
3837 | repeat | |
3838 | Vel.Velocity = VelPart.CFrame.lookVector*Speed | |
3839 | MagicBlock(BrickColor.new(Colour1),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 5, 5, 5, 7, 7, 7, .1) | |
3840 | MagicBlock(BrickColor.new(Colour2),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 4, 4, 4, 6, 6, 6, .1) | |
3841 | MagicBlock(BrickColor.new(Colour1),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 5, 5, 5, 7, 7, 7, .1) | |
3842 | MagicBlock(BrickColor.new(Colour2),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 4, 4, 4, 6, 6, 6, .1) | |
3843 | local SwingSpeed = .5 | |
3844 | HWeld.C0=clerp(HWeld.C0,Cf(-.7,-.15,0)*Euler(0,0,0), SwingSpeed) | |
3845 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3846 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(180),0,rad(-20)), SwingSpeed) | |
3847 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3848 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.3)*Euler(0,rad(-50),0), SwingSpeed) | |
3849 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-90),0,0), SwingSpeed) | |
3850 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(60),0,rad(80)), SwingSpeed) | |
3851 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(65),0), SwingSpeed) | |
3852 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
3853 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(20),rad(70),0), SwingSpeed) | |
3854 | if not Upward then | |
3855 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(.65,-1,0)*Euler(0,rad(70),0), SwingSpeed) | |
3856 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3857 | else | |
3858 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(.65,-1,0)*Euler(rad(50),0,0), SwingSpeed) | |
3859 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(-70),0), SwingSpeed) | |
3860 | end | |
3861 | FRightHip.C0=clerp(FRightHip.C0,Cf(.8,-1,0)*Euler(0,rad(-70),0), SwingSpeed) | |
3862 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,1,0)*Euler(rad(50),0,0), SwingSpeed) | |
3863 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-.5,-1,0)*Euler(0,rad(-60),0), SwingSpeed) | |
3864 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,1,0)*Euler(rad(50),0,0), SwingSpeed) | |
3865 | T = T+.1 | |
3866 | swait() | |
3867 | until T >= tim | |
3868 | debServ:AddItem(HBox, 0) | |
3869 | hit:disconnect() | |
3870 | debServ:AddItem(Vel, 0) | |
3871 | if Upward then | |
3872 | debServ:AddItem(VelPart, 0) | |
3873 | end | |
3874 | if not Upward then | |
3875 | for i = 0, 1.4, .1 do | |
3876 | swait() | |
3877 | Humanoid.WalkSpeed = 0 | |
3878 | local SwingSpeed = .5 | |
3879 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3880 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3881 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
3882 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
3883 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(60)), SwingSpeed) | |
3884 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(30),0), SwingSpeed) | |
3885 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-60)), SwingSpeed) | |
3886 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-30),0), SwingSpeed) | |
3887 | Neck.C0=clerp(Neck.C0,Cf(0,1.52,.2)*Euler(rad(30),0,0), SwingSpeed) | |
3888 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3889 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.2,0)*Euler(rad(-40),0,0), SwingSpeed) | |
3890 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
3891 | FRightHip.C0=clerp(FRightHip.C0,Cf(.5,-1,-.4)*Euler(rad(-12),0,0), SwingSpeed) | |
3892 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,1,0)*Euler(0,0,0), SwingSpeed) | |
3893 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-.5,-.6,-.5)*Euler(rad(40),0,0), SwingSpeed) | |
3894 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,1,0)*Euler(0,0,0), SwingSpeed) | |
3895 | end | |
3896 | end | |
3897 | Humanoid.WalkSpeed = CurrentSpeed | |
3898 | LeftHip.Part0 = Torso | |
3899 | LeftHip.Part1 = LeftLeg | |
3900 | RightHip.Part0 = Torso | |
3901 | RightHip.Part1 = RightLeg | |
3902 | FLeftHip.Part0 = nil | |
3903 | FLeftHip.Part1 = nil | |
3904 | LeftHip.C0 = FLeftHip.C0 | |
3905 | LeftHip.C1 = FLeftHip.C1 | |
3906 | FRightHip.Part0 = nil | |
3907 | FRightHip.Part1 = nil | |
3908 | RightHip.C0 = FRightHip.C0 | |
3909 | RightHip.C1 = FRightHip.C1--]] | |
3910 | elseif Current_Anim == "Falling" or Current_Anim == "Jumping" then | |
3911 | LeftHip.Part0 = nil | |
3912 | LeftHip.Part1 = nil | |
3913 | RightHip.Part0 = nil | |
3914 | RightHip.Part1 = nil | |
3915 | FLeftHip.Part0 = Torso | |
3916 | FLeftHip.Part1 = LeftLeg | |
3917 | FLeftHip.C0 = LeftHip.C0 | |
3918 | FLeftHip.C1 = LeftHip.C1 | |
3919 | FRightHip.Part0 = Torso | |
3920 | FRightHip.Part1 = RightLeg | |
3921 | FRightHip.C0 = RightHip.C0 | |
3922 | FRightHip.C1 = RightHip.C1 | |
3923 | local Speed = 150 | |
3924 | local HBSize = Vec(4, 8, 3) | |
3925 | local Vel = Inst("BodyVelocity", RootPart) | |
3926 | Vel.Name = DecName | |
3927 | Vel.MaxForce = Vec(huge, huge, huge) | |
3928 | Vel.Velocity = RootPart.CFrame.lookVector*0 | |
3929 | local LVec = Inst("Part", F2) | |
3930 | LVec.Transparency = 1 | |
3931 | LVec.Anchored = false | |
3932 | LVec.CanCollide = false | |
3933 | LVec.Locked = true | |
3934 | LVec.Size = Vec(2,2,1) | |
3935 | LVec.FrontSurface = "Hinge" | |
3936 | local LVW = Inst("Weld", LVec) | |
3937 | LVW.Part0 = RootPart | |
3938 | LVW.Part1 = LVec | |
3939 | LVW.Name = DecName | |
3940 | LVW.C0 = Cf(0, 0, 0) * Euler(rad(-60), 0, 0) | |
3941 | local HBox = MakeHitBox(HBSize, Hit_Box, true, Cf(), Cf()) | |
3942 | local FallDamage = 0 | |
3943 | local Penetrates = 0 | |
3944 | local ground, pos = rayCast(LVec.Position, LVec.CFrame.lookVector, 30, Character) | |
3945 | local TouchedGround = false | |
3946 | local hit = HBox.Touched:connect(function(part) | |
3947 | local hum = FindHum(part.Parent) | |
3948 | local p = part.Parent:FindFirstChild("Penetrated") | |
3949 | local tor = part.Parent:FindFirstChild("Torso") | |
3950 | if hum and hum ~= Humanoid and not p and tor then | |
3951 | DamageFunction(part, false, 0, 25, false, 0, "Compensate", RootPart, .1, false, _, false, _, _, _) | |
3952 | local Penetrate = Inst("Part") | |
3953 | if hum.Health > (hum.MaxHealth/12) then | |
3954 | debServ:AddItem(Penetrate, 0) | |
3955 | Penetrate = Inst("Weld", HBox) | |
3956 | Penetrate.Part0 = HBox | |
3957 | Penetrate.Part1 = tor | |
3958 | Penetrate.C0 = Cf(0, 2.6-Penetrates, 0) * Euler(rad(90), 0, rad(-90)) | |
3959 | end | |
3960 | local P = Inst("BoolValue", part.Parent) | |
3961 | P.Name = "Penetrated" | |
3962 | debServ:AddItem(P, 4) | |
3963 | debServ:AddItem(Penetrate, 2) | |
3964 | if Penetrates ~= 6 then | |
3965 | Penetrates = Penetrates+1 | |
3966 | end | |
3967 | local rip = runServ.RenderStepped:connect(function() | |
3968 | hum.PlatformStand = true | |
3969 | DamageFunction(part, false, 0, (0+(Penetrates*2))+FallDamage, false, 0, "Compensate", RootPart, .01, false, _, false, _, _, _) | |
3970 | end) | |
3971 | repeat swait() until Penetrate.Parent == nil or hum.Health <= (hum.MaxHealth/12) or TouchedGround | |
3972 | hum.PlatformStand = false | |
3973 | if Penetrates ~= 6 then | |
3974 | Penetrates = Penetrates-1 | |
3975 | end | |
3976 | debServ:AddItem(P, 0) | |
3977 | debServ:AddItem(Penetrate, 0) | |
3978 | rip:disconnect() | |
3979 | end | |
3980 | end) | |
3981 | repeat | |
3982 | Vel.Velocity = LVec.CFrame.lookVector*Speed | |
3983 | FallDamage = FallDamage+1 | |
3984 | MagicBlock(BrickColor.new(Colour1),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 5, 5, 5, 7, 7, 7, .1) | |
3985 | MagicBlock(BrickColor.new(Colour2),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 4, 4, 4, 6, 6, 6, .1) | |
3986 | MagicBlock(BrickColor.new(Colour1),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 5, 5, 5, 7, 7, 7, .1) | |
3987 | MagicBlock(BrickColor.new(Colour2),"Neon", HBox:GetRenderCFrame()*Cf(rand(-3,3),4,rand(-3,3)), 4, 4, 4, 6, 6, 6, .1) | |
3988 | local SwingSpeed = .5 | |
3989 | HWeld.C0=clerp(HWeld.C0,Cf(-.7,-.15,0)*Euler(0,0,0), SwingSpeed) | |
3990 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
3991 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(180),0,rad(-20)), SwingSpeed) | |
3992 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
3993 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.3)*Euler(0,rad(-50),0), SwingSpeed) | |
3994 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(-90),0,0), SwingSpeed) | |
3995 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(60),0,rad(80)), SwingSpeed) | |
3996 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(65),0), SwingSpeed) | |
3997 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(0,0,0), SwingSpeed) | |
3998 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(20),rad(70),0), SwingSpeed) | |
3999 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(.65,-1,0)*Euler(rad(-60),0,0), SwingSpeed) | |
4000 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(-70),0), SwingSpeed) | |
4001 | FRightHip.C0=clerp(FRightHip.C0,Cf(.8,-1,0)*Euler(0,rad(-70),0), SwingSpeed) | |
4002 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,1,0)*Euler(rad(50),0,0), SwingSpeed) | |
4003 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-.5,-1,0)*Euler(0,rad(-60),0), SwingSpeed) | |
4004 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,1,0)*Euler(rad(50),0,0), SwingSpeed) | |
4005 | ground, pos = rayCast(LVec.Position, LVec.CFrame.lookVector, 30, Character) | |
4006 | if ground then | |
4007 | if ground.Anchored == true then | |
4008 | TouchedGround = true | |
4009 | end | |
4010 | end | |
4011 | swait() | |
4012 | until TouchedGround | |
4013 | MagicWave(ground.BrickColor,ground.Material,Cf(pos), 0, 0, 0, 8, 1, 8, .1) | |
4014 | local WaveP = Inst("Part", F2) | |
4015 | WaveP.Transparency = 1 | |
4016 | WaveP.Anchored = true | |
4017 | WaveP.CanCollide = false | |
4018 | WaveP.Locked = true | |
4019 | WaveP.CFrame = Cf(pos) | |
4020 | MagniDamage(WaveP, 40, true, 2+FallDamage, 6+FallDamage, false, 0, "Compensate-Stun", .1+(FallDamage/100), false, 0, false, _, _, _) | |
4021 | debServ:AddItem(WaveP, 3) | |
4022 | local boo = Sound(WaveP,"http://roblox.com/asset/?id=157878578", 1, 1, false) | |
4023 | debServ:AddItem(boo, .4) | |
4024 | debServ:AddItem(HBox, 0) | |
4025 | debServ:AddItem(LVec, 0) | |
4026 | hit:disconnect() | |
4027 | debServ:AddItem(Vel, 0) | |
4028 | if not Upward then | |
4029 | for i = 0, 1.8, .1 do | |
4030 | swait() | |
4031 | Humanoid.WalkSpeed = 0 | |
4032 | local SwingSpeed = .5 | |
4033 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4034 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4035 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
4036 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
4037 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(60)), SwingSpeed) | |
4038 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(30),0), SwingSpeed) | |
4039 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-60)), SwingSpeed) | |
4040 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-30),0), SwingSpeed) | |
4041 | Neck.C0=clerp(Neck.C0,Cf(0,1.52,.2)*Euler(rad(30),0,0), SwingSpeed) | |
4042 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4043 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.2,0)*Euler(rad(-40),0,0), SwingSpeed) | |
4044 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4045 | FRightHip.C0=clerp(FRightHip.C0,Cf(.5,-1,-.4)*Euler(rad(-12),0,0), SwingSpeed) | |
4046 | FRightHip.C1=clerp(FRightHip.C1,Cf(0,1,0)*Euler(0,0,0), SwingSpeed) | |
4047 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-.5,-.6,-.5)*Euler(rad(40),0,0), SwingSpeed) | |
4048 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(0,1,0)*Euler(0,0,0), SwingSpeed) | |
4049 | end | |
4050 | end | |
4051 | Humanoid.WalkSpeed = CurrentSpeed | |
4052 | LeftHip.Part0 = Torso | |
4053 | LeftHip.Part1 = LeftLeg | |
4054 | RightHip.Part0 = Torso | |
4055 | RightHip.Part1 = RightLeg | |
4056 | FLeftHip.Part0 = nil | |
4057 | FLeftHip.Part1 = nil | |
4058 | LeftHip.C0 = FLeftHip.C0 | |
4059 | LeftHip.C1 = FLeftHip.C1 | |
4060 | FRightHip.Part0 = nil | |
4061 | FRightHip.Part1 = nil | |
4062 | RightHip.C0 = FRightHip.C0 | |
4063 | RightHip.C1 = FRightHip.C1 | |
4064 | end | |
4065 | end | |
4066 | Debounces.Attacking = false | |
4067 | end | |
4068 | ||
4069 | function Equip_Denial() | |
4070 | Debounces.Equipping = true | |
4071 | Attack_Num = 1 | |
4072 | for i = 0, .5, .1 do | |
4073 | swait() | |
4074 | local equips = .5 | |
4075 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(25),0,0), equips) | |
4076 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), equips) | |
4077 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.35,0)*Euler(rad(-25),0,0), equips) | |
4078 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), equips) | |
4079 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,0), equips) | |
4080 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), equips) | |
4081 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.2)*Euler(-rad(10),0,0), equips) | |
4082 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(20),0), equips) | |
4083 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,0,0), equips) | |
4084 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), equips) | |
4085 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), equips) | |
4086 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), equips) | |
4087 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), equips) | |
4088 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), equips) | |
4089 | end | |
4090 | WepWeld.Part0 = Holder | |
4091 | WepWeld.Part1 = Handle | |
4092 | WepWeld.C0 = Cf() * Euler(rad(90),0,rad(90)) | |
4093 | WepWeld.C1 = Cf() * Euler(0,rad(180),0) | |
4094 | CurrentSpeed = 12 | |
4095 | Humanoid.WalkSpeed = CurrentSpeed | |
4096 | Debounces.HasWep = true | |
4097 | Debounces.Equipping = false | |
4098 | end | |
4099 | ||
4100 | function Unequip_Denial() | |
4101 | Debounces.Equipping = true | |
4102 | Attack_Num = 1 | |
4103 | LeftShoulder.Part0 = nil | |
4104 | LeftShoulder.Part1 = nil | |
4105 | FLeftShoulder.Part0 = Torso | |
4106 | FLeftShoulder.Part1 = LeftArm | |
4107 | FLeftShoulder.C0 = LeftShoulder.C0 | |
4108 | FLeftShoulder.C1 = LeftShoulder.C1 | |
4109 | for i = 0, .5, .1 do | |
4110 | swait() | |
4111 | local equips = .5 | |
4112 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(25),0,0), equips) | |
4113 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), equips) | |
4114 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,rad(90)), equips) | |
4115 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), equips) | |
4116 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.35,0)*Euler(rad(-25),0,0), equips) | |
4117 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), equips) | |
4118 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,0), equips) | |
4119 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), equips) | |
4120 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.2)*Euler(-rad(10),0,0), equips) | |
4121 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(20),0), equips) | |
4122 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,0,0), equips) | |
4123 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), equips) | |
4124 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), equips) | |
4125 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), equips) | |
4126 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), equips) | |
4127 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), equips) | |
4128 | end | |
4129 | WepWeld.Part0 = Torso | |
4130 | WepWeld.Part1 = Handle | |
4131 | WepWeld.C0 = Cf(1.5,-1,.6) * Euler(rad(-90),0,rad(90)) | |
4132 | WepWeld.C1 = Cf() * Euler(0,0,0) | |
4133 | CurrentSpeed = 20 | |
4134 | Humanoid.WalkSpeed = CurrentSpeed | |
4135 | Debounces.HasWep = false | |
4136 | Debounces.Equipping = false | |
4137 | end | |
4138 | ||
4139 | function EquipTES() | |
4140 | if not Debounces.TESWield then | |
4141 | Debounces.Equipping = true | |
4142 | for i = 0, .5, .1 do | |
4143 | swait() | |
4144 | local SwingSpeed = .5 | |
4145 | --SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
4146 | --SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4147 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(3)), SwingSpeed) | |
4148 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4149 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(12)), SwingSpeed) | |
4150 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4151 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
4152 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4153 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, 0,0), SwingSpeed) | |
4154 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4155 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4156 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4157 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4158 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4159 | end | |
4160 | SheWeld.Parent = nil | |
4161 | SheWeld.Part0 = Holder2 | |
4162 | SheWeld.Part1 = TESHandle | |
4163 | SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position) | |
4164 | SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position) | |
4165 | SheWeld.Parent = TESHandle | |
4166 | Debounces.Equipping = false | |
4167 | Debounces.TESWield = true | |
4168 | CurrentSpeed = 16 | |
4169 | Humanoid.WalkSpeed = CurrentSpeed | |
4170 | else | |
4171 | Debounces.Equipping = true | |
4172 | for i = 0, .5, .1 do | |
4173 | swait() | |
4174 | local SwingSpeed = .5 | |
4175 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
4176 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4177 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
4178 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
4179 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(3)), SwingSpeed) | |
4180 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4181 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(12)), SwingSpeed) | |
4182 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4183 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
4184 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4185 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, 0,0), SwingSpeed) | |
4186 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4187 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4188 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4189 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4190 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4191 | end | |
4192 | CurrentSpeed = 6 | |
4193 | Humanoid.WalkSpeed = CurrentSpeed | |
4194 | SheWeld.Part0 = Torso | |
4195 | SheWeld.Part1 = TESHandle | |
4196 | SheWeld.C0 = Cf(-1.1, -1.1, -.2) * Euler(rad(100), 0, 0) | |
4197 | Debounces.Equipping = false | |
4198 | Debounces.TESWield = false | |
4199 | end | |
4200 | end | |
4201 | ||
4202 | function EquipTE() | |
4203 | if not Debounces.TEWield then | |
4204 | Debounces.Equipping = true | |
4205 | Humanoid.WalkSpeed = 0 | |
4206 | Debounces.DisableJump = true | |
4207 | LeftHip.Part0 = nil | |
4208 | LeftHip.Part1 = nil | |
4209 | RightHip.Part0 = nil | |
4210 | RightHip.Part1 = nil | |
4211 | FLeftHip.Part0 = Torso | |
4212 | FLeftHip.Part1 = LeftLeg | |
4213 | FLeftHip.C0 = LeftHip.C0 | |
4214 | FLeftHip.C1 = LeftHip.C1 | |
4215 | FRightHip.Part0 = Torso | |
4216 | FRightHip.Part1 = RightLeg | |
4217 | FRightHip.C0 = RightHip.C0 | |
4218 | FRightHip.C1 = RightHip.C1 | |
4219 | for i = 0, .7, .1 do | |
4220 | swait() | |
4221 | local SwingSpeed = .3 | |
4222 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(3)), SwingSpeed) | |
4223 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4224 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(12)), SwingSpeed) | |
4225 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4226 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
4227 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4228 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, 0,0), SwingSpeed) | |
4229 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4230 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4231 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4232 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4233 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4234 | end | |
4235 | SheWeld.Parent = nil | |
4236 | SheWeld.Part0 = Holder2 | |
4237 | SheWeld.Part1 = TESHandle | |
4238 | SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position) | |
4239 | SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position) | |
4240 | SheWeld.Parent = TESHandle | |
4241 | for i = 0, .7, .1 do | |
4242 | swait() | |
4243 | local SwingSpeed = .3 | |
4244 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
4245 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4246 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
4247 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
4248 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.1,0.325,-1.27)*Euler(rad(60),0,rad(-25)), SwingSpeed) | |
4249 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4250 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.6,0.5,-.4)*Euler(rad(8),rad(-50),0), SwingSpeed) | |
4251 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4252 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-8),rad(-15),0), SwingSpeed) | |
4253 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4254 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(15),0), SwingSpeed) | |
4255 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4256 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
4257 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(9),0), SwingSpeed) | |
4258 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(6),0), SwingSpeed) | |
4259 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4260 | end | |
4261 | WepWeld3.Parent = nil | |
4262 | WepWeld3.Part0 = Holder | |
4263 | WepWeld3.Part1 = TEHandle | |
4264 | WepWeld3.C0 = Holder.CFrame:inverse() * Cf(Holder.Position) | |
4265 | WepWeld3.C1 = TEHandle.CFrame:inverse() * Cf(Holder.Position) | |
4266 | WepWeld3.Parent = TEHandle | |
4267 | FITEB(11) | |
4268 | for i = 0, .5, .1 do | |
4269 | swait() | |
4270 | local SwingSpeed = .08 | |
4271 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(-90),0,0), SwingSpeed) | |
4272 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4273 | HWeld.C0=clerp(HWeld.C0,Cf(.4,-.92,0)*Euler(0,0,rad(-20)), SwingSpeed) | |
4274 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4275 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
4276 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4277 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.3,0.5,-.4)*Euler(rad(90), 0, rad(20)), SwingSpeed) | |
4278 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
4279 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.6,0.6,0)*Euler(0,0,rad(-15)), SwingSpeed) | |
4280 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4281 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(-20), 0), SwingSpeed) | |
4282 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4283 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(20), 0), SwingSpeed) | |
4284 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
4285 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
4286 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(9),0), SwingSpeed) | |
4287 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(6),0), SwingSpeed) | |
4288 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4289 | end | |
4290 | local rotatebecauseitscool = 0 | |
4291 | local swing = Sound(TEHandle,"http://roblox.com/asset/?id=161006212", 1, 2.5, true) | |
4292 | for i = 0, .5, .1 do | |
4293 | swait() | |
4294 | if rotatebecauseitscool < (90*22) then | |
4295 | rotatebecauseitscool = rotatebecauseitscool+60 | |
4296 | end | |
4297 | local SwingSpeed = .05 | |
4298 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(rotatebecauseitscool),0,0), .7) | |
4299 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), .7) | |
4300 | HWeld.C0=clerp(HWeld.C0,Cf(.4,-.92,0)*Euler(0,0,rad(-20)), .7) | |
4301 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), .7) | |
4302 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.3,0.5,-.4)*Euler(rad(90), 0, rad(20)), SwingSpeed) | |
4303 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
4304 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(12)), .4) | |
4305 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .4) | |
4306 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(-20), 0), SwingSpeed) | |
4307 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4308 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(20), 0), SwingSpeed) | |
4309 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
4310 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
4311 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(9),0), SwingSpeed) | |
4312 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(6),0), SwingSpeed) | |
4313 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4314 | end | |
4315 | SheWeld.Part0 = Torso | |
4316 | SheWeld.Part1 = TESHandle | |
4317 | SheWeld.C0 = Cf(-1.1, -1.1, -.2) * Euler(rad(100), 0, 0) | |
4318 | for i = 0, 2, .1 do | |
4319 | swait() | |
4320 | if rotatebecauseitscool < (90*22) then | |
4321 | rotatebecauseitscool = rotatebecauseitscool+60 | |
4322 | end | |
4323 | local SwingSpeed = .05 | |
4324 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(rotatebecauseitscool),0,0), .7) | |
4325 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), .7) | |
4326 | HWeld.C0=clerp(HWeld.C0,Cf(.4,-.92,0)*Euler(0,0,rad(-20)), .7) | |
4327 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), .7) | |
4328 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.3,0.5,-.4)*Euler(rad(90), 0, rad(20)), SwingSpeed) | |
4329 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
4330 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-15)), .4) | |
4331 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), .4) | |
4332 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(-20), 0), SwingSpeed) | |
4333 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4334 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(20), 0), SwingSpeed) | |
4335 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
4336 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
4337 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(9),0), SwingSpeed) | |
4338 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(6),0), SwingSpeed) | |
4339 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4340 | end | |
4341 | swing:Stop() | |
4342 | debServ:AddItem(swing, 1) | |
4343 | local leash = Sound(TEHandle,"rbxasset://sounds\\unsheath.wav", 1, .7, false) | |
4344 | debServ:AddItem(leash, 1) | |
4345 | for i = 0, 2, .1 do | |
4346 | swait() | |
4347 | local SwingSpeed = .08 | |
4348 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(-100),0,0), .5) | |
4349 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4350 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4351 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4352 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.6,0.4,-.4)*Euler(rad(30), 0, rad(20)), SwingSpeed) | |
4353 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(20), 0), SwingSpeed) | |
4354 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-15)), .4) | |
4355 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-15),0), .4) | |
4356 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-11), rad(-40), 0), SwingSpeed) | |
4357 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4358 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(40), 0), SwingSpeed) | |
4359 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
4360 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
4361 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(13),0), SwingSpeed) | |
4362 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(3),0), SwingSpeed) | |
4363 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4364 | end | |
4365 | chatServ:Chat(Head, "It's time to end this fairy tale.", 2) | |
4366 | for i = 0, 7.5, .1 do | |
4367 | swait() | |
4368 | local SwingSpeed = .08 | |
4369 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(-100),0,0), .5) | |
4370 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4371 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4372 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4373 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.6,0.4,-.4)*Euler(rad(30), 0, rad(20)), SwingSpeed) | |
4374 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(20), 0), SwingSpeed) | |
4375 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-15)), .4) | |
4376 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-15),0), .4) | |
4377 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-11), rad(-40), 0), SwingSpeed) | |
4378 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4379 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(40), 0), SwingSpeed) | |
4380 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
4381 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
4382 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(13),0), SwingSpeed) | |
4383 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(3),0), SwingSpeed) | |
4384 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4385 | end | |
4386 | LeftHip.Part0 = Torso | |
4387 | LeftHip.Part1 = LeftLeg | |
4388 | RightHip.Part0 = Torso | |
4389 | RightHip.Part1 = RightLeg | |
4390 | FLeftHip.Part0 = nil | |
4391 | FLeftHip.Part1 = nil | |
4392 | LeftHip.C0 = FLeftHip.C0 | |
4393 | LeftHip.C1 = FLeftHip.C1 | |
4394 | FRightHip.Part0 = nil | |
4395 | FRightHip.Part1 = nil | |
4396 | RightHip.C0 = FRightHip.C0 | |
4397 | RightHip.C1 = FRightHip.C1 | |
4398 | Debounces.Equipping = false | |
4399 | Debounces.DisableJump = false | |
4400 | Debounces.TEWield = true | |
4401 | Attack_Num = 1 | |
4402 | CurrentSpeed = 14 | |
4403 | Humanoid.WalkSpeed = CurrentSpeed | |
4404 | else | |
4405 | Debounces.Equipping = true | |
4406 | Debounces.DisableJump = true | |
4407 | Humanoid.WalkSpeed = 0 | |
4408 | LeftHip.Part0 = nil | |
4409 | LeftHip.Part1 = nil | |
4410 | RightHip.Part0 = nil | |
4411 | RightHip.Part1 = nil | |
4412 | FLeftHip.Part0 = Torso | |
4413 | FLeftHip.Part1 = LeftLeg | |
4414 | FLeftHip.C0 = LeftHip.C0 | |
4415 | FLeftHip.C1 = LeftHip.C1 | |
4416 | FRightHip.Part0 = Torso | |
4417 | FRightHip.Part1 = RightLeg | |
4418 | FRightHip.C0 = RightHip.C0 | |
4419 | FRightHip.C1 = RightHip.C1 | |
4420 | for i = 0, .5, .1 do | |
4421 | swait() | |
4422 | local SwingSpeed = .5 | |
4423 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(3)), SwingSpeed) | |
4424 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4425 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(12)), SwingSpeed) | |
4426 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4427 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
4428 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4429 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, 0,0), SwingSpeed) | |
4430 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4431 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4432 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4433 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4434 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4435 | end | |
4436 | SheWeld.Parent = nil | |
4437 | SheWeld.Part0 = Holder2 | |
4438 | SheWeld.Part1 = TESHandle | |
4439 | SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position) | |
4440 | SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position) | |
4441 | SheWeld.Parent = TESHandle | |
4442 | HTEB() | |
4443 | for i = 0, .5, .1 do | |
4444 | swait() | |
4445 | local SwingSpeed = .5 | |
4446 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
4447 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4448 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.1,0.325,-1.27)*Euler(rad(60),0,rad(-25)), SwingSpeed) | |
4449 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4450 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.6,0.5,-.4)*Euler(rad(8),rad(-50),0), SwingSpeed) | |
4451 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4452 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-8),rad(-15),0), SwingSpeed) | |
4453 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4454 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(15),0), SwingSpeed) | |
4455 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4456 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
4457 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(9),0), SwingSpeed) | |
4458 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(6),0), SwingSpeed) | |
4459 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4460 | end | |
4461 | local Sheath = Sound(TESHandle, "rbxasset://sounds\\unsheath.wav", 1, 1, false) | |
4462 | for i = 0, .5, .1 do | |
4463 | swait() | |
4464 | local SwingSpeed = .5 | |
4465 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(3)), SwingSpeed) | |
4466 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4467 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(12)), SwingSpeed) | |
4468 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4469 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
4470 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4471 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, 0,0), SwingSpeed) | |
4472 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4473 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4474 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4475 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4476 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4477 | end | |
4478 | Attack_Num = 1 | |
4479 | SheWeld.Part0 = Torso | |
4480 | SheWeld.Part1 = TESHandle | |
4481 | SheWeld.C0 = Cf(-1.1, -1.1, -.2) * Euler(rad(100), 0, 0) | |
4482 | LeftHip.Part0 = Torso | |
4483 | LeftHip.Part1 = LeftLeg | |
4484 | RightHip.Part0 = Torso | |
4485 | RightHip.Part1 = RightLeg | |
4486 | FLeftHip.Part0 = nil | |
4487 | FLeftHip.Part1 = nil | |
4488 | LeftHip.C0 = FLeftHip.C0 | |
4489 | LeftHip.C1 = FLeftHip.C1 | |
4490 | FRightHip.Part0 = nil | |
4491 | FRightHip.Part1 = nil | |
4492 | RightHip.C0 = FRightHip.C0 | |
4493 | RightHip.C1 = FRightHip.C1 | |
4494 | WepWeld3.Part0 = TESHandle | |
4495 | WepWeld3.Part1 = TEHandle | |
4496 | WepWeld3.C0 = Cf(0, 0, 0) | |
4497 | WepWeld3.C1 = Cf(0, 3, 0) * Euler(0, rad(180), 0) | |
4498 | Debounces.Equipping = false | |
4499 | Debounces.DisableJump = false | |
4500 | Debounces.TEWield = false | |
4501 | CurrentSpeed = 6 | |
4502 | Humanoid.WalkSpeed = CurrentSpeed | |
4503 | end | |
4504 | end | |
4505 | ||
4506 | function Awaken() | |
4507 | Debounces.Successful_KeyStroke = true | |
4508 | Debounces.Attacking = true | |
4509 | Debounces.DisableJump = true | |
4510 | GodMode = true | |
4511 | Humanoid.WalkSpeed = 0 | |
4512 | WepWeld.Part0 = RootPart | |
4513 | WepWeld.Part1 = Handle | |
4514 | WepWeld.C0 = RootPart.CFrame:inverse() * Cf(RootPart.Position) | |
4515 | WepWeld.C1 = Handle.CFrame:inverse() * Cf(RootPart.Position) | |
4516 | local BP = Inst("BodyPosition", RootPart) | |
4517 | local StopEffects = false | |
4518 | if not runServ:IsStudio() then | |
4519 | local RingP = Inst("Part", F2) | |
4520 | RingP.Anchored = true | |
4521 | RingP.CanCollide = false | |
4522 | RingP.Transparency = 1 | |
4523 | RingP.CFrame = RootPart.CFrame * CFrame.new(0, -3, 0) | |
4524 | BP.Parent = RootPart | |
4525 | BP.Name = DecName | |
4526 | BP.Position = RootPart.Position | |
4527 | local OGPos = RootPart.Position | |
4528 | BP.MaxForce = Vec(huge, huge, huge) | |
4529 | local StopRings = false | |
4530 | coroutine.resume(coroutine.create(function() | |
4531 | repeat | |
4532 | wait(.3) | |
4533 | local boo = Sound(RingP,"http://roblox.com/asset/?id=228343249", .1, .5, false) | |
4534 | debServ:AddItem(boo, .3) | |
4535 | MagniDamage(RingP, 38, true, 4, 8, true, 200, "Compensate-Knockdown", .01, false, 0, false, _, _, _) | |
4536 | MagniDamage(RootPart, 38, true, 4, 8, true, 200, "Compensate-Knockdown", .01, false, 0, false, _, _, _) | |
4537 | MagicRing(BrickColor.new(Colour1),"Neon",RingP:GetRenderCFrame()*Cf(0,0,0)*Euler(rad(90),0,0), 0, 0, 1, 3, 3, 1.2, .05) | |
4538 | until StopRings | |
4539 | end)) | |
4540 | chatServ:Chat(Head, "Seal 6, disable.", 2) | |
4541 | for i = 0, 5, .1 do | |
4542 | swait() | |
4543 | local SwingSpeed = .5 | |
4544 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4545 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4546 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,13,-1.7)*Euler(rad(180),0,0), SwingSpeed) | |
4547 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
4548 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(140),0,rad(20)), SwingSpeed) | |
4549 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4550 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(140),0,rad(-20)), SwingSpeed) | |
4551 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4552 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(10),0,0), SwingSpeed) | |
4553 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4554 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(15),0,0), SwingSpeed) | |
4555 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4556 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(rad(-15),rad(90),0), SwingSpeed) | |
4557 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4558 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-15),rad(-90),0), SwingSpeed) | |
4559 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4560 | end | |
4561 | chatServ:Chat(Head, "This world and I are irreconcilable.", 2) | |
4562 | wait(2) | |
4563 | for i = 0, 16, .2 do | |
4564 | swait() | |
4565 | BP.Position = Vec(OGPos.x, OGPos.y+i, OGPos.z) | |
4566 | local SwingSpeed = .5 | |
4567 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4568 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4569 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,13,-1.7)*Euler(rad(180),0,0), SwingSpeed) | |
4570 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
4571 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(140),0,rad(20)), SwingSpeed) | |
4572 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4573 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(140),0,rad(-20)), SwingSpeed) | |
4574 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4575 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(15),0,0), SwingSpeed) | |
4576 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4577 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(20),0,0), SwingSpeed) | |
4578 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4579 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(rad(-30),rad(90),0), SwingSpeed) | |
4580 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4581 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-30),rad(-90),0), SwingSpeed) | |
4582 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4583 | end | |
4584 | chatServ:Chat(Head, "I deny this world its existence,", 2) | |
4585 | wait(2) | |
4586 | debServ:AddItem(RingP, 0) | |
4587 | local s = Sound(Hit_Box,"http://roblox.com/asset/?id=178452217", .6, .5, false) | |
4588 | debServ:AddItem(s, 5) | |
4589 | for i = 0, 5, .1 do | |
4590 | local SwingSpeed = .5 | |
4591 | for _, p in pairs(Denial:GetChildren()) do | |
4592 | if p.Transparency ~= 1 then | |
4593 | p.Transparency = i/4.5 | |
4594 | end | |
4595 | end | |
4596 | 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) | |
4597 | 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) | |
4598 | 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) | |
4599 | 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) | |
4600 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4601 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4602 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,13,-1.7)*Euler(rad(180),0,0), SwingSpeed) | |
4603 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
4604 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(140),0,rad(60)), SwingSpeed) | |
4605 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4606 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(140),0,rad(-60)), SwingSpeed) | |
4607 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4608 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(10),0,0), SwingSpeed) | |
4609 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4610 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(15),0,0), SwingSpeed) | |
4611 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4612 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(rad(-15),rad(90),0), SwingSpeed) | |
4613 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
4614 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-15),rad(-90),0), SwingSpeed) | |
4615 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
4616 | swait() | |
4617 | end | |
4618 | chatServ:Chat(Head, "and I shall erase it!", 2) | |
4619 | FRightHip.Part0 = Torso | |
4620 | FRightHip.Part1 = RightLeg | |
4621 | RightHip.Part0 = nil | |
4622 | RightHip.Part1 = nil | |
4623 | FRightHip.C0 = RightHip.C0 | |
4624 | FRightHip.C1 = RightHip.C1 | |
4625 | FLeftHip.Part0 = Torso | |
4626 | FLeftHip.Part1 = LeftLeg | |
4627 | LeftHip.Part0 = nil | |
4628 | LeftHip.Part1 = nil | |
4629 | FLeftHip.C0 = LeftHip.C0 | |
4630 | FLeftHip.C1 = LeftHip.C1 | |
4631 | StopRings = true | |
4632 | for i = 0, .6, .1 do | |
4633 | local SwingSpeed = .3 | |
4634 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4635 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4636 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,13,-1.7)*Euler(rad(180),0,0), SwingSpeed) | |
4637 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(0),0), SwingSpeed) | |
4638 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.8,0.5,-.6)*Euler(rad(70),0,rad(-60)), SwingSpeed) | |
4639 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4640 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.8,0.5,-.6)*Euler(rad(66),0,rad(60)), SwingSpeed) | |
4641 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
4642 | Neck.C0=clerp(Neck.C0,Cf(0,1.2,-.4)*Euler(rad(-60),0,0), SwingSpeed) | |
4643 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
4644 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-30),0,0), SwingSpeed) | |
4645 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
4646 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.15,-1.2)*Euler(rad(-25),0,0), SwingSpeed) | |
4647 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
4648 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.15,-1.2)*Euler(rad(-25),0,0), SwingSpeed) | |
4649 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
4650 | swait() | |
4651 | end | |
4652 | coroutine.resume(coroutine.create(function() | |
4653 | coroutine.resume(coroutine.create(function() | |
4654 | repeat | |
4655 | wait() | |
4656 | MagniDamage(RootPart, 18, true, 60, 90, true, 666, "Compensate-Knockdown", .5, false, 0, false, _, _, _) | |
4657 | MagniDamage(RootPart, 52, false, 0, 2, true, -20, "Compensate", .1, false, 0, false, _, _, _) | |
4658 | local rnum = 40 | |
4659 | 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)} | |
4660 | MagicBlood(BC(Colour1), "Neon", RootPart:GetRenderCFrame() * Cf(Rand1[1], Rand1[2], Rand1[3]), 14, 14, 14, .1, .1, .1, .05) | |
4661 | MagicBlood(BC(Colour2), "Neon", RootPart:GetRenderCFrame() * Cf(Rand1[1], Rand1[2], Rand1[3]), 8, 8, 8, .1, .1, .1, .05) | |
4662 | MagicBlood(BC(Colour2), "Neon", RootPart:GetRenderCFrame() * Cf(Rand2[1], Rand2[2], Rand2[3]), 14, 14, 14, .1, .1, .1, .05) | |
4663 | MagicBlood(BC(Colour1), "Neon", RootPart:GetRenderCFrame() * Cf(Rand2[1], Rand2[2], Rand2[3]), 8, 8, 8, .1, .1, .1, .05) | |
4664 | MagicBlock(BC(Colour1), "Neon", RootPart:GetRenderCFrame() * Cf(Rand4[1], Rand4[2], Rand4[3]), 14, 14, 14, .1, .1, .1, .05) | |
4665 | MagicBlock(BC(Colour2), "Neon", RootPart:GetRenderCFrame() * Cf(Rand4[1], Rand4[2], Rand4[3]), 8, 8, 8, .1, .1, .1, .05) | |
4666 | until StopEffects | |
4667 | end)) | |
4668 | repeat | |
4669 | MagicSpikeBall(BC(Colour1), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, .7, .7, .7, .05) | |
4670 | MagicSpikeBall(BC(Colour2), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, .5, .5, .5, .05) | |
4671 | MagicCircle(BC(Colour1), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, .4, .4, .4, .05) | |
4672 | MagicCircle(BC(Colour2), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, .3, .3, .3, .05) | |
4673 | wait(.3) | |
4674 | until StopEffects | |
4675 | end)) | |
4676 | wait(10)--]] | |
4677 | end | |
4678 | CArmour.Parent = Character | |
4679 | local WeldBase = Inst("Model", CArmour) | |
4680 | WeldBase.Name = "WeldBase" | |
4681 | local aHead = Inst("Part", WeldBase) | |
4682 | aHead.Transparency = 1 | |
4683 | aHead.Name = "FakeHead" | |
4684 | aHead.Anchored = true | |
4685 | aHead.CanCollide = false | |
4686 | aHead.Locked = true | |
4687 | aHead.Size = Vec(.2, .2, .2) | |
4688 | aHead.Position = Vec(60.2, 5.3, -275) | |
4689 | aHead.Rotation = Vec(-180, 0, -180) | |
4690 | local aLarm = Inst("Part", WeldBase) | |
4691 | aLarm.Transparency = 1 | |
4692 | aLarm.Name = "FakeLeftArm" | |
4693 | aLarm.Anchored = true | |
4694 | aLarm.CanCollide = false | |
4695 | aLarm.Locked = true | |
4696 | aLarm.Size = Vec(.2, .2, .2) | |
4697 | aLarm.Position = Vec(58.7, 3.8, -275) | |
4698 | aLarm.Rotation = Vec(-180, 0, -180) | |
4699 | local aLleg = Inst("Part", WeldBase) | |
4700 | aLleg.Transparency = 1 | |
4701 | aLleg.Name = "FakeLeftLeg" | |
4702 | aLleg.Anchored = true | |
4703 | aLleg.CanCollide = false | |
4704 | aLleg.Locked = true | |
4705 | aLleg.Size = Vec(.2, .2, .2) | |
4706 | aLleg.Position = Vec(59.7, 1.8, -275) | |
4707 | aLleg.Rotation = Vec(-180, 0, -180) | |
4708 | local aRarm = Inst("Part", WeldBase) | |
4709 | aRarm.Transparency = 1 | |
4710 | aRarm.Name = "FakeRightArm" | |
4711 | aRarm.Anchored = true | |
4712 | aRarm.CanCollide = false | |
4713 | aRarm.Locked = true | |
4714 | aRarm.Size = Vec(.2, .2, .2) | |
4715 | aRarm.Position = Vec(58.7, 3.8, -275) | |
4716 | aRarm.Rotation = Vec(-180, 0, -180) | |
4717 | local aRleg = Inst("Part", WeldBase) | |
4718 | aRleg.Transparency = 1 | |
4719 | aRleg.Name = "FakeRightLeg" | |
4720 | aRleg.Anchored = true | |
4721 | aRleg.CanCollide = false | |
4722 | aRleg.Locked = true | |
4723 | aRleg.Size = Vec(.2, .2, .2) | |
4724 | aRleg.Position = Vec(59.7, 1.8, -275) | |
4725 | aRleg.Rotation = Vec(-180, 0, -180) | |
4726 | local aTor = Inst("Part", WeldBase) | |
4727 | aTor.Transparency = 1 | |
4728 | aTor.Name = "FakeTorso" | |
4729 | aTor.Anchored = true | |
4730 | aTor.CanCollide = false | |
4731 | aTor.Locked = true | |
4732 | aTor.Size = Vec(.2, .2, .2) | |
4733 | aTor.Position = Vec(60.2, 3.8, -275) | |
4734 | aTor.Rotation = Vec(-180, 0, -180) | |
4735 | for _ , k in pairs(WeldBase:GetChildren()) do | |
4736 | if k:IsA("BasePart") then | |
4737 | k:BreakJoints() | |
4738 | end | |
4739 | end | |
4740 | local function MakeHelmet() | |
4741 | local Parent = Inst("Model", CArmour) | |
4742 | Parent.Name = "Helmet" | |
4743 | ----------------(ClassName, , BrickColor, Material , Trans, Refl, Name, Size, Position, Rotation, Mesh Class, Mesh Scale , MId, MType) | |
4744 | 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") | |
4745 | 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") | |
4746 | 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), _, _) | |
4747 | local peSize = {NumberSequenceKeypoint.new(0, 1.31, 0), NumberSequenceKeypoint.new(1, 0, 0)} | |
4748 | local peTrans = {NumberSequenceKeypoint.new(0, .137, 0), NumberSequenceKeypoint.new(1, 1, 0)} | |
4749 | local pe = Inst("ParticleEmitter", HEpart) | |
4750 | pe.LightEmission = .5 | |
4751 | pe.Color = ColorSequence.new(HEpart.BrickColor.Color) | |
4752 | pe.Size = NumberSequence.new(peSize) | |
4753 | pe.Transparency = NumberSequence.new(peTrans) | |
4754 | pe.Texture = "rbxassetid://37332909" | |
4755 | pe.Acceleration = Vec(0, -100, 0) | |
4756 | pe.EmissionDirection = "Front" | |
4757 | pe.Lifetime = NumberRange.new(0.35) | |
4758 | pe.Rate = 800000 | |
4759 | pe.Speed = NumberRange.new(15) | |
4760 | CEP = HEpart | |
4761 | 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") | |
4762 | 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") | |
4763 | for _ , K in pairs(Parent:GetChildren()) do | |
4764 | if K:IsA("BasePart") then | |
4765 | K:BreakJoints() | |
4766 | end | |
4767 | end | |
4768 | for _, z in pairs(Parent:GetChildren()) do | |
4769 | if z:IsA("BasePart") then | |
4770 | local Weld = Inst("Weld", aHead) | |
4771 | Weld.Part0 = aHead | |
4772 | Weld.Part1 = z | |
4773 | Weld.Name = z.Name.."-to-"..aHead.Name | |
4774 | Weld.C0 = aHead.CFrame:inverse() * Cf(aHead.Position) | |
4775 | Weld.C1 = z.CFrame:inverse() * Cf(aHead.Position) | |
4776 | z.Anchored = false | |
4777 | z.CanCollide = false | |
4778 | end | |
4779 | end | |
4780 | end | |
4781 | local Cape = nil | |
4782 | local function MakeTorsoArmour() | |
4783 | local Parent = Inst("Model", CArmour) | |
4784 | Parent.Name = "TorsoArmour" | |
4785 | ----------------(ClassName, , BrickColor, Material , Trans, Refl, Name, Size, Position, Rotation, Mesh Class, Mesh Scale , MId, MType) | |
4786 | 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), _, _) | |
4787 | 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") | |
4788 | 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), _, _) | |
4789 | 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), _, _) | |
4790 | 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), _, _) | |
4791 | 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") | |
4792 | 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") | |
4793 | 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), _, _) | |
4794 | 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), _, _) | |
4795 | 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") | |
4796 | 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") | |
4797 | 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), _, _) | |
4798 | 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), _, _) | |
4799 | 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), _, _) | |
4800 | 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") | |
4801 | 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), _, _) | |
4802 | 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), _, _) | |
4803 | 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), _, _) | |
4804 | 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), _, _) | |
4805 | 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), _, _) | |
4806 | 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), _, _) | |
4807 | 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), _, _) | |
4808 | 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), _, _) | |
4809 | 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) | |
4810 | 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) | |
4811 | 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) | |
4812 | 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) | |
4813 | 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) | |
4814 | 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) | |
4815 | 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") | |
4816 | 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) | |
4817 | 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) | |
4818 | 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) | |
4819 | 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) | |
4820 | 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) | |
4821 | 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) | |
4822 | 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), _, _) | |
4823 | 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) | |
4824 | 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) | |
4825 | 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) | |
4826 | 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) | |
4827 | 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) | |
4828 | 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) | |
4829 | for _ , K in pairs(Parent:GetChildren()) do | |
4830 | if K:IsA("BasePart") then | |
4831 | K:BreakJoints() | |
4832 | end | |
4833 | end | |
4834 | for _, z in pairs(Parent:GetChildren()) do | |
4835 | if z:IsA("BasePart") then | |
4836 | local Weld = Inst("Weld", aTor) | |
4837 | Weld.Part0 = aTor | |
4838 | Weld.Part1 = z | |
4839 | Weld.Name = z.Name.."-to-"..aTor.Name | |
4840 | Weld.C0 = aTor.CFrame:inverse() * Cf(aTor.Position) | |
4841 | Weld.C1 = z.CFrame:inverse() * Cf(aTor.Position) | |
4842 | z.Anchored = false | |
4843 | z.CanCollide = false | |
4844 | end | |
4845 | end | |
4846 | end | |
4847 | local function MakeArmArmour(limb, limbname) | |
4848 | local Parent = Inst("Model", CArmour) | |
4849 | Parent.Name = limbname.."Armour" | |
4850 | 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), _, _) | |
4851 | 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), _, _) | |
4852 | 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) | |
4853 | 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) | |
4854 | 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) | |
4855 | 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) | |
4856 | 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) | |
4857 | 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) | |
4858 | 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), _, _) | |
4859 | 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) | |
4860 | 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) | |
4861 | 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) | |
4862 | 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) | |
4863 | 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") | |
4864 | 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") | |
4865 | 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") | |
4866 | 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") | |
4867 | 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") | |
4868 | for _ , K in pairs(Parent:GetChildren()) do | |
4869 | if K:IsA("BasePart") then | |
4870 | K:BreakJoints() | |
4871 | end | |
4872 | end | |
4873 | for _, z in pairs(Parent:GetChildren()) do | |
4874 | if z:IsA("BasePart") then | |
4875 | local Weld = Inst("Weld", limb) | |
4876 | Weld.Part0 = limb | |
4877 | Weld.Part1 = z | |
4878 | Weld.Name = z.Name.."-to-"..limb.Name | |
4879 | Weld.C0 = limb.CFrame:inverse() * Cf(limb.Position) | |
4880 | Weld.C1 = z.CFrame:inverse() * Cf(limb.Position) | |
4881 | z.Anchored = false | |
4882 | z.CanCollide = false | |
4883 | end | |
4884 | end | |
4885 | end | |
4886 | local function MakeLegArmour(limb, limbname) | |
4887 | local Parent = Inst("Model", CArmour) | |
4888 | Parent.Name = limbname.."Armour" | |
4889 | 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), _, _) | |
4890 | 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) | |
4891 | 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), _, _) | |
4892 | 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") | |
4893 | 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) | |
4894 | 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), _, _) | |
4895 | 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") | |
4896 | 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") | |
4897 | 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") | |
4898 | 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") | |
4899 | 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") | |
4900 | 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") | |
4901 | 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") | |
4902 | 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") | |
4903 | 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") | |
4904 | 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") | |
4905 | 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") | |
4906 | 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") | |
4907 | 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") | |
4908 | 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") | |
4909 | 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") | |
4910 | 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), _, _) | |
4911 | for _ , K in pairs(Parent:GetChildren()) do | |
4912 | if K:IsA("BasePart") then | |
4913 | K:BreakJoints() | |
4914 | end | |
4915 | end | |
4916 | for _, z in pairs(Parent:GetChildren()) do | |
4917 | if z:IsA("BasePart") then | |
4918 | local Weld = Inst("Weld", limb) | |
4919 | Weld.Part0 = limb | |
4920 | Weld.Part1 = z | |
4921 | Weld.Name = z.Name.."-to-"..limb.Name | |
4922 | Weld.C0 = limb.CFrame:inverse() * Cf(limb.Position) | |
4923 | Weld.C1 = z.CFrame:inverse() * Cf(limb.Position) | |
4924 | z.Anchored = false | |
4925 | z.CanCollide = false | |
4926 | end | |
4927 | end | |
4928 | end | |
4929 | local function MakeTeeWeapon() | |
4930 | The_End.Parent = Character | |
4931 | The_End_Sheath.Parent = Character | |
4932 | 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") | |
4933 | 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), _, _) | |
4934 | 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") | |
4935 | 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), _, _) | |
4936 | 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), _, _) | |
4937 | 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), _, _) | |
4938 | 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), _, _) | |
4939 | 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), _, _) | |
4940 | 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), _, _) | |
4941 | 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), _, _) | |
4942 | 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), _, _) | |
4943 | 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), _, _) | |
4944 | 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") | |
4945 | 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") | |
4946 | 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), _, _) | |
4947 | 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), _, _) | |
4948 | 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") | |
4949 | 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), _, _) | |
4950 | 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), _, _) | |
4951 | 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), _, _) | |
4952 | 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), _, _) | |
4953 | 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), _, _) | |
4954 | 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), _, _) | |
4955 | ||
4956 | 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), _, _) | |
4957 | 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), _, _) | |
4958 | 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), _, _) | |
4959 | 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), _, _) | |
4960 | 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), _, _) | |
4961 | 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), _, _) | |
4962 | 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), _, _) | |
4963 | 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), _, _) | |
4964 | 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), _, _) | |
4965 | 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), _, _) | |
4966 | 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), _, _) | |
4967 | 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), _, _) | |
4968 | 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), _, _) | |
4969 | 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), _, _) | |
4970 | 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), _, _) | |
4971 | 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), _, _) | |
4972 | 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), _, _) | |
4973 | 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), _, _) | |
4974 | 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), _, _) | |
4975 | 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), _, _) | |
4976 | 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), _, _) | |
4977 | 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), _, _) | |
4978 | 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), _, _) | |
4979 | 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), _, _) | |
4980 | 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), _, _) | |
4981 | 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), _, _) | |
4982 | 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), _, _) | |
4983 | 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), _, _) | |
4984 | 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), _, _) | |
4985 | 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), _, _) | |
4986 | 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), _, _) | |
4987 | 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), _, _) | |
4988 | 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), _, _) | |
4989 | 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), _, _) | |
4990 | 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), _, _) | |
4991 | 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), _, _) | |
4992 | 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), _, _) | |
4993 | 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), _, _) | |
4994 | 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), _, _) | |
4995 | 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), _, _) | |
4996 | 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), _, _) | |
4997 | for _ , K in pairs(The_End:GetChildren()) do | |
4998 | if K:IsA("BasePart") then | |
4999 | K:BreakJoints() | |
5000 | end | |
5001 | end | |
5002 | for _ , K in pairs(The_End_Sheath:GetChildren()) do | |
5003 | if K:IsA("BasePart") then | |
5004 | K:BreakJoints() | |
5005 | end | |
5006 | end | |
5007 | for _, p in pairs(The_End:GetChildren()) do | |
5008 | if p:IsA("BasePart") and p ~= TEHandle then | |
5009 | local Weld = Inst("Weld", TEHandle) | |
5010 | Weld.Part0 = TEHandle | |
5011 | Weld.Part1 = p | |
5012 | Weld.C0 = TEHandle.CFrame:inverse() * Cf(TEHandle.Position) | |
5013 | Weld.C1 = p.CFrame:inverse() * Cf(TEHandle.Position) | |
5014 | p.Anchored = false | |
5015 | p.CanCollide = false | |
5016 | end | |
5017 | end | |
5018 | for _, p in pairs(The_End_Sheath:GetChildren()) do | |
5019 | if p:IsA("BasePart") and p ~= TESHandle then | |
5020 | local Weld = Inst("Weld", TESHandle) | |
5021 | Weld.Part0 = TESHandle | |
5022 | Weld.Part1 = p | |
5023 | Weld.C0 = TESHandle.CFrame:inverse() * Cf(TESHandle.Position) | |
5024 | Weld.C1 = p.CFrame:inverse() * Cf(TESHandle.Position) | |
5025 | p.Anchored = false | |
5026 | p.CanCollide = false | |
5027 | end | |
5028 | end | |
5029 | table.insert(TEBladeP, BL1) | |
5030 | table.insert(TEBladeP, BL2) | |
5031 | table.insert(TEBladeP, BL3) | |
5032 | TEBEffect = Inst("ParticleEmitter", BL2) | |
5033 | 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)} | |
5034 | local sizSeq = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(.5, .6, 0), NumberSequenceKeypoint.new(1, 0, 0)} | |
5035 | local traSeq = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)} | |
5036 | TEBEffect.Color = ColorSequence.new(colSeq) | |
5037 | TEBEffect.LightEmission = .2 | |
5038 | TEBEffect.Size = NumberSequence.new(sizSeq) | |
5039 | TEBEffect.Texture = "rbxassetid://37332909" | |
5040 | TEBEffect.Transparency = NumberSequence.new(traSeq) | |
5041 | TEBEffect.Enabled = false | |
5042 | TEBEffect.Lifetime = NumberRange.new(.7) | |
5043 | TEBEffect.Rate = 9e+007 | |
5044 | TEBEffect.Speed = NumberRange.new(0) | |
5045 | end | |
5046 | MakeHelmet() | |
5047 | MakeTorsoArmour() | |
5048 | MakeArmArmour(aRarm, "RightArm") | |
5049 | MakeArmArmour(aLarm, "LeftArm") | |
5050 | MakeLegArmour(aRleg, "RightLeg") | |
5051 | MakeLegArmour(aLleg, "LeftLeg") | |
5052 | MakeTeeWeapon() | |
5053 | Denial.Parent = nil | |
5054 | if not runServ:IsStudio() then | |
5055 | StopEffects = true | |
5056 | coroutine.resume(coroutine.create(function() | |
5057 | repeat | |
5058 | runServ.Stepped:wait() | |
5059 | MagniDamage(RootPart, 25, false, 0, 1, true, 200, "Compensate-Knockdown", 0, false, 0, false, _, _, _) | |
5060 | until Debounces.Transformed | |
5061 | end))--]] | |
5062 | end | |
5063 | local Weld1 = Inst("Weld", Head) | |
5064 | Weld1.Name = DecName | |
5065 | Weld1.Part0 = Head | |
5066 | Weld1.Part1 = aHead | |
5067 | local Weld2 = Inst("Weld", Torso) | |
5068 | Weld2.Name = DecName | |
5069 | Weld2.Part0 = Torso | |
5070 | Weld2.Part1 = aTor | |
5071 | local Weld3 = Inst("Weld", LeftArm) | |
5072 | Weld3.Name = DecName | |
5073 | Weld3.Part0 = LeftArm | |
5074 | Weld3.Part1 = aLarm | |
5075 | Weld3.C0 = Cf() * Euler(0, rad(180), 0) | |
5076 | local Weld4 = Inst("Weld", RightArm) | |
5077 | Weld4.Name = DecName | |
5078 | Weld4.Part0 = RightArm | |
5079 | Weld4.Part1 = aRarm | |
5080 | local Weld5 = Inst("Weld", LeftLeg) | |
5081 | Weld5.Name = DecName | |
5082 | Weld5.Part0 = LeftLeg | |
5083 | Weld5.Part1 = aLleg | |
5084 | local Weld6 = Inst("Weld", RightLeg) | |
5085 | Weld6.Name = DecName | |
5086 | Weld6.Part0 = RightLeg | |
5087 | Weld6.Part1 = aRleg | |
5088 | WepWeld3 = Inst("Weld", TEHandle) | |
5089 | WepWeld3.Part0 = TESHandle | |
5090 | WepWeld3.Part1 = TEHandle | |
5091 | WepWeld3.C0 = Cf(0, 0, 0) | |
5092 | WepWeld3.C1 = Cf(0, 3, 0) * Euler(0, rad(180), 0) | |
5093 | SheWeld = Inst("Weld", TESHandle) | |
5094 | SheWeld.Part0 = RootPart | |
5095 | SheWeld.Part1 = TESHandle | |
5096 | SheWeld.C0 = Cf(0, 1.5, -1.8) * Euler(rad(180), 0, 0) | |
5097 | TEHandle.Anchored = false | |
5098 | TESHandle.Anchored = false | |
5099 | for _, p in pairs(WeldBase:GetChildren()) do | |
5100 | if p:IsA("BasePart") then | |
5101 | p.Anchored = false | |
5102 | end | |
5103 | end | |
5104 | for _, p in pairs(Character:GetChildren()) do | |
5105 | if p:IsA("BasePart") and p.Name ~= "Head" then | |
5106 | p.Transparency = 1 | |
5107 | for _, d in pairs(p:GetChildren()) do | |
5108 | if d:IsA("Decal") then | |
5109 | d.Transparency = 1 | |
5110 | end | |
5111 | end | |
5112 | elseif p.Name == "Head" then | |
5113 | p.Transparency = 0 | |
5114 | for _, d in pairs(p:GetChildren()) do | |
5115 | if d:IsA("Decal") then | |
5116 | d.Transparency = 1 | |
5117 | end | |
5118 | end | |
5119 | end | |
5120 | if p:IsA("Hat") then | |
5121 | for _, P in pairs(p:GetChildren()) do | |
5122 | if P:IsA("BasePart") then | |
5123 | P.Transparency = 1 | |
5124 | end | |
5125 | end | |
5126 | end | |
5127 | if p:IsA("Accessory") then | |
5128 | for _, P in pairs(p:GetChildren()) do | |
5129 | if P:IsA("BasePart") then | |
5130 | P.Transparency = 1 | |
5131 | end | |
5132 | end | |
5133 | end | |
5134 | end | |
5135 | if not runServ:IsStudio() then | |
5136 | MagicCircle(BC(Colour1), "Neon", RootPart:GetRenderCFrame(), 2, 2, 2, 6, 6, 6, .1) | |
5137 | local boo = Sound(RootPart,"http://roblox.com/asset/?id=168586621", 1, .5, false) | |
5138 | debServ:AddItem(boo, 4) | |
5139 | for i = 0, 5, .2 do | |
5140 | swait() | |
5141 | local SwingSpeed = .5 | |
5142 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(140),0,rad(20)), SwingSpeed) | |
5143 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5144 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(140),0,rad(-20)), SwingSpeed) | |
5145 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5146 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(15),0,0), SwingSpeed) | |
5147 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5148 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(20),0,0), SwingSpeed) | |
5149 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5150 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8,0)*Euler(rad(-30),0,0), SwingSpeed) | |
5151 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,rad(-15)), SwingSpeed) | |
5152 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.8,0)*Euler(rad(-30),0,0), SwingSpeed) | |
5153 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,rad(15)), SwingSpeed) | |
5154 | end | |
5155 | for i = 0, .8, .1 do | |
5156 | swait() | |
5157 | local SwingSpeed = .5 | |
5158 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.6,0)*Euler(0,0,rad(10)), SwingSpeed) | |
5159 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5160 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.6,0)*Euler(0,0,rad(-10)), SwingSpeed) | |
5161 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5162 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-13),0,0), SwingSpeed) | |
5163 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5164 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5165 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5166 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5167 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,rad(-3)), SwingSpeed) | |
5168 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5169 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,rad(3)), SwingSpeed) | |
5170 | end | |
5171 | for i = 0, .6, .1 do | |
5172 | swait() | |
5173 | local SwingSpeed = .5 | |
5174 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-8),0,rad(15)), SwingSpeed) | |
5175 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5176 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(90),0,rad(-50)), SwingSpeed) | |
5177 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5178 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-13),0,0), SwingSpeed) | |
5179 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(20),0), SwingSpeed) | |
5180 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(20),0), SwingSpeed) | |
5181 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5182 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.55,-1,0)*Euler(0,rad(-20),0), SwingSpeed) | |
5183 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,rad(-3)), SwingSpeed) | |
5184 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.55,-1,-.4)*Euler(rad(-7),rad(-20),0), SwingSpeed) | |
5185 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,rad(3)), SwingSpeed) | |
5186 | end | |
5187 | for i = 0, 1, .1 do | |
5188 | swait() | |
5189 | local SwingSpeed = .5 | |
5190 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
5191 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
5192 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-13),0,rad(15)), SwingSpeed) | |
5193 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5194 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.15,0.5,-.6)*Euler(rad(90),0,rad(50)), SwingSpeed) | |
5195 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5196 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-13),0,0), SwingSpeed) | |
5197 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-28),0), SwingSpeed) | |
5198 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(-20),0), SwingSpeed) | |
5199 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5200 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.55,-1,-.4)*Euler(rad(-7),rad(20),0), SwingSpeed) | |
5201 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,rad(-3)), SwingSpeed) | |
5202 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.55,-1,0)*Euler(0,rad(20),0), SwingSpeed) | |
5203 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,rad(3)), SwingSpeed) | |
5204 | if i == .4 then | |
5205 | local boo = Sound(LeftArm,"http://roblox.com/asset/?id=227194112", 1, 1, false) | |
5206 | debServ:AddItem(boo, 4) | |
5207 | SheWeld.Part0 = Holder2 | |
5208 | SheWeld.Part1 = TESHandle | |
5209 | SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position) | |
5210 | SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position) | |
5211 | end | |
5212 | if i >= .4 then | |
5213 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), SwingSpeed) | |
5214 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5215 | end | |
5216 | end | |
5217 | debServ:AddItem(BP, 0) | |
5218 | for i = 0, 1.5, .1 do | |
5219 | swait() | |
5220 | local SwingSpeed = .5 | |
5221 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(80),0,0), SwingSpeed) | |
5222 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5223 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
5224 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
5225 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.2,0.5,-.4)*Euler(rad(80),0,rad(-50)), SwingSpeed) | |
5226 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5227 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(50),0,rad(-11)), SwingSpeed) | |
5228 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5229 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-30),0,0), SwingSpeed) | |
5230 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5231 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.4,0)*Euler(rad(-40),0,0), SwingSpeed) | |
5232 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5233 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1.2,-.3)*Euler(rad(-50),0,0), SwingSpeed) | |
5234 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
5235 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.3,-.8)*Euler(rad(10),0,0), SwingSpeed) | |
5236 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,0,0)*Euler(0,0,0), SwingSpeed) | |
5237 | end | |
5238 | coroutine.resume(coroutine.create(function() | |
5239 | chatServ:Chat(Head, "I am the ominous dusk.", 2) | |
5240 | wait(2.6) | |
5241 | chatServ:Chat(Head, "I am the aching pressence.", 2) | |
5242 | wait(2.6) | |
5243 | chatServ:Chat(Head, "I am the adversary of just.", 2) | |
5244 | wait(2.6) | |
5245 | chatServ:Chat(Head, "Wielding this blade I shall eradicate every being in this world and purge it in the clouds of chaos!", 2) | |
5246 | wait(5) | |
5247 | chatServ:Chat(Head, "I am Shiminuki! The end is near!", 2) | |
5248 | end)) | |
5249 | for i = 0, 37, .1 do | |
5250 | swait() | |
5251 | local SwingSpeed = .007 | |
5252 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), SwingSpeed) | |
5253 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5254 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
5255 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
5256 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(10)), SwingSpeed) | |
5257 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5258 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-10)), SwingSpeed) | |
5259 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5260 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(-20),0), SwingSpeed) | |
5261 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5262 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,rad(20),0), SwingSpeed) | |
5263 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5264 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,.2)*Euler(0,rad(-20),0), SwingSpeed) | |
5265 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
5266 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,.1)*Euler(0,rad(10),0), SwingSpeed) | |
5267 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5268 | end | |
5269 | for i = 0, .7, .1 do | |
5270 | swait() | |
5271 | local SwingSpeed = .5 | |
5272 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
5273 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5274 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
5275 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
5276 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(10)), SwingSpeed) | |
5277 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5278 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(-10)), SwingSpeed) | |
5279 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5280 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,rad(-20),0), SwingSpeed) | |
5281 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5282 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, 0,0), SwingSpeed) | |
5283 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5284 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
5285 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
5286 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5287 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5288 | end | |
5289 | for i = 0, .5, .1 do | |
5290 | swait() | |
5291 | local SwingSpeed = .5 | |
5292 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), SwingSpeed) | |
5293 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5294 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(10)), SwingSpeed) | |
5295 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5296 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,0,rad(12)), SwingSpeed) | |
5297 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5298 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0), SwingSpeed) | |
5299 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5300 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, 0,0), SwingSpeed) | |
5301 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5302 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), SwingSpeed) | |
5303 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
5304 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5305 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5306 | end--]] | |
5307 | end | |
5308 | FRightHip.Part0 = nil | |
5309 | FRightHip.Part1 = nil | |
5310 | RightHip.Part0 = Torso | |
5311 | RightHip.Part1 = RightLeg | |
5312 | RightHip.C0 = FRightHip.C0 | |
5313 | RightHip.C1 = FRightHip.C1 | |
5314 | ||
5315 | FLeftHip.Part0 = nil | |
5316 | FLeftHip.Part1 = nil | |
5317 | LeftHip.Part0 = Torso | |
5318 | LeftHip.Part1 = LeftLeg | |
5319 | LeftHip.C0 = FLeftHip.C0 | |
5320 | LeftHip.C1 = FLeftHip.C1--]] | |
5321 | GodMode = false | |
5322 | Max_Health = 80000 | |
5323 | coroutine.resume(coroutine.create(function()swait()Humanoid.Health = Max_Health end)) | |
5324 | SheWeld.Part0 = Torso | |
5325 | SheWeld.Part1 = TESHandle | |
5326 | SheWeld.C0 = Cf(-1.1, -1.1, -.2) * Euler(rad(100), 0, 0) | |
5327 | CurrentSpeed = 6 | |
5328 | Debounces.HasWep = false | |
5329 | Debounces.Transformed = true | |
5330 | Debounces.Attacking = false | |
5331 | Debounces.DisableJump = false | |
5332 | Humanoid.WalkSpeed = CurrentSpeed | |
5333 | Humanoid.JumpPower = 120 | |
5334 | end | |
5335 | ||
5336 | function ActivateDash() | |
5337 | Debounces.Successful_KeyStroke = true | |
5338 | swait() | |
5339 | Debounces.Dashing = true | |
5340 | RightHip.Part0 = nil | |
5341 | RightHip.Part1 = nil | |
5342 | FRightHip.Part0 = Torso | |
5343 | FRightHip.Part1 = RightLeg | |
5344 | FRightHip.C0 = RightHip.C0 | |
5345 | FRightHip.C1 = RightHip.C1 | |
5346 | LeftHip.Part0 = nil | |
5347 | LeftHip.Part1 = nil | |
5348 | FLeftHip.Part0 = Torso | |
5349 | FLeftHip.Part1 = LeftLeg | |
5350 | FLeftHip.C0 = LeftHip.C0 | |
5351 | FLeftHip.C1 = LeftHip.C1 | |
5352 | Humanoid.WalkSpeed = (CurrentSpeed*30) | |
5353 | repeat runServ.Stepped:wait() until not Debounces.Dashing or Debounces.Equipping or Debounces.Attacking or Debounces.Hovering | |
5354 | FRightHip.Part0 = nil | |
5355 | FRightHip.Part1 = nil | |
5356 | RootPart.Velocity = Vec(0, 0, 0) | |
5357 | Current_Anim = "Idle" | |
5358 | Debounces.Dashing = false | |
5359 | RightHip.Part0 = Torso | |
5360 | RightHip.Part1 = RightLeg | |
5361 | RightHip.C0 = FRightHip.C0 | |
5362 | RightHip.C1 = FRightHip.C1 | |
5363 | FLeftHip.Part0 = nil | |
5364 | FLeftHip.Part1 = nil | |
5365 | LeftHip.Part0 = Torso | |
5366 | LeftHip.Part1 = LeftLeg | |
5367 | LeftHip.C0 = FLeftHip.C0 | |
5368 | LeftHip.C1 = FLeftHip.C1 | |
5369 | Humanoid.WalkSpeed = CurrentSpeed | |
5370 | end | |
5371 | ||
5372 | function Kogeki_Sokudo_Kojo() | |
5373 | Debounces.Attacking = true | |
5374 | Debounces.Successful_KeyStroke = true | |
5375 | Debounces.SpedUp = true | |
5376 | Debounces.DisableJump = true | |
5377 | Humanoid.WalkSpeed = 0 | |
5378 | RightHip.Part0 = nil | |
5379 | RightHip.Part1 = nil | |
5380 | FRightHip.Part0 = Torso | |
5381 | FRightHip.Part1 = RightLeg | |
5382 | FRightHip.C0 = RightHip.C0 | |
5383 | FRightHip.C1 = RightHip.C1 | |
5384 | LeftHip.Part0 = nil | |
5385 | LeftHip.Part1 = nil | |
5386 | FLeftHip.Part0 = Torso | |
5387 | FLeftHip.Part1 = LeftLeg | |
5388 | FLeftHip.C0 = LeftHip.C0 | |
5389 | FLeftHip.C1 = LeftHip.C1 | |
5390 | for i = 0, 2, .1 do | |
5391 | swait() | |
5392 | local SwingSpeed = .15 | |
5393 | if Debounces.Transformed and Debounces.TEWield and not Debounces.TESWield then | |
5394 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
5395 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5396 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(5),0,0), SwingSpeed) | |
5397 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5398 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(5), 0, rad(10)), SwingSpeed) | |
5399 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(10), 0), SwingSpeed) | |
5400 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(90),0,rad(-30)), SwingSpeed) | |
5401 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5402 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(30), 0), SwingSpeed) | |
5403 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5404 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-30), 0), SwingSpeed) | |
5405 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5406 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5407 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(5),0), SwingSpeed) | |
5408 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(16),0), SwingSpeed) | |
5409 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5410 | elseif Debounces.Transformed and Debounces.TESWield and not Debounces.TEWield then | |
5411 | HWeld2.C0=clerp(HWeld2.C0,Cf(0,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5412 | HWeld2.C1=clerp(HWeld2.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5413 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.05,-1.5)*Euler(rad(90),rad(90),0), SwingSpeed) | |
5414 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5415 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.4)*Euler(rad(84), 0, 0), SwingSpeed) | |
5416 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5417 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,-.4)*Euler(rad(84), 0, 0), SwingSpeed) | |
5418 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5419 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10), 0, 0), SwingSpeed) | |
5420 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5421 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(6), 0, 0), SwingSpeed) | |
5422 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5423 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-6),rad(-8),0), SwingSpeed) | |
5424 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
5425 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-6),rad(8),0), SwingSpeed) | |
5426 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5427 | elseif Debounces.Transformed and not Debounces.TESWield and not Debounces.TEWield then | |
5428 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(5), 0, rad(10)), SwingSpeed) | |
5429 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(10), 0), SwingSpeed) | |
5430 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(90),0,rad(-30)), SwingSpeed) | |
5431 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5432 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(30), 0), SwingSpeed) | |
5433 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5434 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-30), 0), SwingSpeed) | |
5435 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5436 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5437 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(5),0), SwingSpeed) | |
5438 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(16),0), SwingSpeed) | |
5439 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5440 | elseif not Debounces.Transformed and not Debounces.HasWep and not Debounces.DuelWielding then | |
5441 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(5), 0, rad(10)), SwingSpeed) | |
5442 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(10), 0), SwingSpeed) | |
5443 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(90),0,rad(-30)), SwingSpeed) | |
5444 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5445 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(30), 0), SwingSpeed) | |
5446 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5447 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-30), 0), SwingSpeed) | |
5448 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5449 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5450 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(5),0), SwingSpeed) | |
5451 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(16),0), SwingSpeed) | |
5452 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5453 | elseif not Debounces.Transformed and Debounces.HasWep and not Debounces.DuelWielding then | |
5454 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5455 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5456 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
5457 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
5458 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(5), 0, rad(10)), SwingSpeed) | |
5459 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(10), 0), SwingSpeed) | |
5460 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(90),0,rad(-30)), SwingSpeed) | |
5461 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5462 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(30), 0), SwingSpeed) | |
5463 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5464 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-30), 0), SwingSpeed) | |
5465 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5466 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5467 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(5),0), SwingSpeed) | |
5468 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(16),0), SwingSpeed) | |
5469 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5470 | elseif not Debounces.Transformed and Debounces.HasWep and Debounces.DuelWielding then | |
5471 | ||
5472 | end | |
5473 | end | |
5474 | chatServ:Chat(Head, "Seal 3, disable...", 2) | |
5475 | local SPP = Inst("Part", F2) SPP.Anchored = true SPP.CanCollide = false SPP.Transparency = 1 SPP.Size = Vec(20, 1, 20) | |
5476 | local SPart = Inst("Part", F2) SPart.Anchored = false SPart.CanCollide = false SPart.Transparency = 1 | |
5477 | SPart.Size = Vec(20, .2, 20) | |
5478 | local SPW = Inst("Motor", SPart) | |
5479 | SPW.Part0 = SPP | |
5480 | SPW.Part1 = SPart | |
5481 | SPW.C0 = Cf() * Euler(rad(90), 0, 0) | |
5482 | SPW.C1 = Cf() * Euler(rad(90), 0, 0) | |
5483 | SPW.DesiredAngle = 999999999999999999999999999999999999999999999999 | |
5484 | SPW.MaxVelocity = rad(8) | |
5485 | --local SPLight = Inst("PointLight", SPart) SPLight.Brightness = 5 SPLight = Col3(BC(Colour1).Color) --SPLight.Shadows = true | |
5486 | --SPLight.Range = 8 | |
5487 | local SPSGui = Inst("SurfaceGui", SPart) SPSGui.Face = "Top" | |
5488 | local SPSCOL = BC(Colour1) | |
5489 | local SPS = Inst("ImageLabel", SPSGui) SPS.BackgroundTransparency = 1 SPS.Image = "rbxassetid://144076055" SPS.ImageColor3 = Col3(SPSCOL.r, SPSCOL.g, SPSCOL.b) SPS.ImageTransparency = .5 | |
5490 | SPS.Position = Ud2(.45, 0, .45, 0) | |
5491 | SPS.Size = Ud2(.1, 0, .1, 0) | |
5492 | local SPSGui2 = Inst("SurfaceGui", SPart) SPSGui2.Face = "Bottom" | |
5493 | local SPS2 = Inst("ImageLabel", SPSGui2) SPS2.BackgroundTransparency = 1 SPS2.Image = "rbxassetid://144076055" SPS2.ImageColor3 = Col3(SPSCOL.r, SPSCOL.g, SPSCOL.b) SPS2.ImageTransparency = .5 | |
5494 | SPS2.Position = Ud2(.45, 0, .45, 0) | |
5495 | SPS2.Size = Ud2(.1, 0, .1, 0) | |
5496 | local cre = Sound(SPart,"http://roblox.com/asset/?id=231917894", .7, 1, false) | |
5497 | debServ:AddItem(cre, 5) | |
5498 | for i = 0, 1, .3 do | |
5499 | swait() | |
5500 | SPP.CFrame = RootPart:GetRenderCFrame() * Cf(0, -3.1, 0) | |
5501 | SPS:TweenSize(Ud2(i, 0, i, 0), _, "Linear", .2, true) | |
5502 | SPS:TweenPosition(Ud2(((-1+i)*-1)/2.22222, 0, ((-1+i)*-1)/2.22222, 0), _, "Linear", .2, true) | |
5503 | SPS2:TweenSize(Ud2(i, 0, i, 0), _, "Linear", .2, true) | |
5504 | SPS2:TweenPosition(Ud2(((-1+i)*-1)/2.22222, 0, ((-1+i)*-1)/2.22222, 0), _, "Linear", .2, true) | |
5505 | end | |
5506 | local num = 0 | |
5507 | local nmax = 5 | |
5508 | local stopwave = false | |
5509 | coroutine.resume(coroutine.create(function() | |
5510 | while not stopwave do | |
5511 | wait(.45) | |
5512 | --local wo = Sound(SPart,"http://roblox.com/asset/?id=206083107", .8, 1, false) | |
5513 | --debServ:AddItem(wo, 5) | |
5514 | MagniDamage(RootPart, 20, false, 0, 10, true, 100, "Compensate-Knockdown", 0, false, 0, false, _, _, _) | |
5515 | MagicRing(BC(Colour1), "SmoothPlastic", SPart.CFrame * Cf(0, .1, 0) * Euler(rad(90), 0, 0), 1, 1, .1, 2, 2, .1, .05) | |
5516 | end | |
5517 | end)) | |
5518 | while num <= nmax do | |
5519 | swait() | |
5520 | num = num+.1 | |
5521 | SPP.CFrame = RootPart:GetRenderCFrame() * Cf(0, -3.1, 0) | |
5522 | end | |
5523 | for i = -3.1, 5, .4 do | |
5524 | swait() | |
5525 | SPP.CFrame = RootPart:GetRenderCFrame() * Cf(0, i, 0) | |
5526 | local SwingSpeed = .3 | |
5527 | if Debounces.Transformed and Debounces.TEWield and not Debounces.TESWield then | |
5528 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
5529 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5530 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(5),0,0), SwingSpeed) | |
5531 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5532 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-5), 0, rad(5)), SwingSpeed) | |
5533 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5534 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(150),0,rad(30)), SwingSpeed) | |
5535 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5536 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-15), rad(50), 0), SwingSpeed) | |
5537 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5538 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-20), 0), SwingSpeed) | |
5539 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5540 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5541 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(2),0), SwingSpeed) | |
5542 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(8),0), SwingSpeed) | |
5543 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5544 | elseif Debounces.Transformed and Debounces.TESWield and not Debounces.TEWield then | |
5545 | HWeld2.C0=clerp(HWeld2.C0,Cf(0,-1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5546 | HWeld2.C1=clerp(HWeld2.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5547 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.05,-1.5)*Euler(rad(90),rad(90),0), SwingSpeed) | |
5548 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5549 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,-.4)*Euler(rad(84), 0, 0), SwingSpeed) | |
5550 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5551 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,-.4)*Euler(rad(84), 0, 0), SwingSpeed) | |
5552 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5553 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(10), 0, 0), SwingSpeed) | |
5554 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5555 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-.5,0)*Euler(rad(6), 0, 0), SwingSpeed) | |
5556 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5557 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-6),rad(-8),0), SwingSpeed) | |
5558 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
5559 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(-6),rad(8),0), SwingSpeed) | |
5560 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5561 | elseif Debounces.Transformed and not Debounces.TESWield and not Debounces.TEWield then | |
5562 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-5), 0, rad(5)), SwingSpeed) | |
5563 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5564 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(150),0,rad(30)), SwingSpeed) | |
5565 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5566 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-15), rad(50), 0), SwingSpeed) | |
5567 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5568 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-20), 0), SwingSpeed) | |
5569 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5570 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5571 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(2),0), SwingSpeed) | |
5572 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(8),0), SwingSpeed) | |
5573 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5574 | elseif not Debounces.Transformed and not Debounces.HasWep and not Debounces.DuelWielding then | |
5575 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-5), 0, rad(5)), SwingSpeed) | |
5576 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5577 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(150),0,rad(30)), SwingSpeed) | |
5578 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5579 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-15), rad(50), 0), SwingSpeed) | |
5580 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5581 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-20), 0), SwingSpeed) | |
5582 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5583 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5584 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(2),0), SwingSpeed) | |
5585 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(8),0), SwingSpeed) | |
5586 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5587 | elseif not Debounces.Transformed and Debounces.HasWep and not Debounces.DuelWielding then | |
5588 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5589 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5590 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), SwingSpeed) | |
5591 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), SwingSpeed) | |
5592 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-5), 0, rad(5)), SwingSpeed) | |
5593 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5594 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.5,-.4)*Euler(rad(150),0,rad(30)), SwingSpeed) | |
5595 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5596 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-15), rad(50), 0), SwingSpeed) | |
5597 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5598 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0, rad(-20), 0), SwingSpeed) | |
5599 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5600 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(0,0,0), SwingSpeed) | |
5601 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(2),0), SwingSpeed) | |
5602 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(8),0), SwingSpeed) | |
5603 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5604 | elseif not Debounces.Transformed and Debounces.HasWep and Debounces.DuelWielding then | |
5605 | ||
5606 | end | |
5607 | end | |
5608 | chatServ:Chat(Head, "Kogeki sokudo kojo!", 2) | |
5609 | debServ:AddItem(SPart, 0) | |
5610 | debServ:AddItem(SPP, 0) | |
5611 | stopwave = true | |
5612 | MagicCircle(BC(Colour1), "Neon", RootPart.CFrame, 2, 2, 2, 5, 5, 5, .02) | |
5613 | MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(0, 0, 0), 1, 1, 1, 4, 4, 1, .02) | |
5614 | MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(rad(45), rad(-45), 0), 2, 2, 1, 5, 5, 1, .02) | |
5615 | MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(rad(-45), rad(45), 0), 3, 3, 1, 6, 6, 1, .02) | |
5616 | MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(rad(90), 0, 0), 4, 4, 1, 7, 7, 1, .02) | |
5617 | MagniDamage(RootPart, 25, false, 0, 20, true, 100, "Compensate-Knockdown", 0, false, 0, false, _, _, _) | |
5618 | local boo = Sound(RootPart,"http://roblox.com/asset/?id=233091136", 1, 1, false) | |
5619 | debServ:AddItem(boo, 5) | |
5620 | wait(.5) | |
5621 | FRightHip.Part0 = nil | |
5622 | FRightHip.Part1 = nil | |
5623 | RightHip.Part0 = Torso | |
5624 | RightHip.Part1 = RightLeg | |
5625 | RightHip.C0 = FRightHip.C0 | |
5626 | RightHip.C1 = FRightHip.C1 | |
5627 | FLeftHip.Part0 = nil | |
5628 | FLeftHip.Part1 = nil | |
5629 | LeftHip.Part0 = Torso | |
5630 | LeftHip.Part1 = LeftLeg | |
5631 | LeftHip.C0 = FLeftHip.C0 | |
5632 | LeftHip.C1 = FLeftHip.C1 | |
5633 | local LFR = FrameRate | |
5634 | FrameRate = 1/80 | |
5635 | Apply_Buff(6, 60) | |
5636 | Humanoid.WalkSpeed = CurrentSpeed | |
5637 | Debounces.Attacking = false | |
5638 | Debounces.DisableJump = false | |
5639 | coroutine.resume(coroutine.create(function() | |
5640 | wait(60) | |
5641 | FrameRate = LFR | |
5642 | wait(80) | |
5643 | Debounces.SpedUp = false | |
5644 | end)) | |
5645 | end | |
5646 | ||
5647 | function HurricaneSlash() | |
5648 | Debounces.Attacking = true | |
5649 | Debounces.Successful_KeyStroke = true | |
5650 | Debounces.HurrSlash = true | |
5651 | Debounces.DisableJump = true | |
5652 | Humanoid.WalkSpeed = 0 | |
5653 | for i = 0, 1.4, .1 do | |
5654 | swait() | |
5655 | local SwingSpeed = .2 | |
5656 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
5657 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5658 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5659 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5660 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,0,rad(90)), SwingSpeed) | |
5661 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5662 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(80),0,rad(-60)), SwingSpeed) | |
5663 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5664 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
5665 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-60),0), SwingSpeed) | |
5666 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.4,0)*Euler(0,rad(-60),0), SwingSpeed) | |
5667 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5668 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.6,0)*Euler(rad(-4),rad(80),0), SwingSpeed) | |
5669 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
5670 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.6,.14)*Euler(rad(-6),rad(-75),0), SwingSpeed) | |
5671 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5672 | end | |
5673 | 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) | |
5674 | local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445073", 1, 1, false) | |
5675 | debServ:AddItem(SlashS, 2) | |
5676 | c1 = nil | |
5677 | c2 = nil | |
5678 | coroutine.resume(coroutine.create(function() | |
5679 | wait(.1) | |
5680 | local Hur = Inst("Part", F2) | |
5681 | Hur.BrickColor = BC(Colour1) | |
5682 | Hur.Material = "SmoothPlastic" | |
5683 | Hur.Transparency = .8 | |
5684 | Hur.Name = "Hurricane" | |
5685 | Hur.Anchored = false | |
5686 | Hur.CanCollide = false | |
5687 | Hur.Locked = true | |
5688 | Hur.Size = Vec(.2,.2,.2) | |
5689 | local HM = Inst("SpecialMesh", Hur) | |
5690 | HM.MeshId = "http://www.roblox.com/asset/?id=102638417" | |
5691 | HM.Scale = Vec(15, 10, 15) | |
5692 | Hur.CFrame = RootPart.CFrame * Cf(0, 12, -3) * Euler(0, 0, rad(-10)) | |
5693 | local Hmo = Inst("BodyVelocity", Hur) | |
5694 | Hmo.MaxForce = Vec(huge, huge, huge) | |
5695 | Hmo.Velocity = RootPart.CFrame.lookVector * 110 | |
5696 | local Hpo = Inst("BodyPosition", Hur) | |
5697 | Hpo.MaxForce = Vec(0, huge, 0) | |
5698 | Hpo.Position = Hur.Position | |
5699 | local Hro = Inst("BodyGyro", Hur) | |
5700 | Hro.MaxTorque = Vec(0, huge, 0) | |
5701 | Hro.CFrame = Hur.CFrame | |
5702 | Hro.P = 30000 | |
5703 | local howl = Sound(Hur, "http://roblox.com/asset/?id=138161364", 1, .5, true) | |
5704 | coroutine.resume(coroutine.create(function() | |
5705 | while Hur.Parent do | |
5706 | swait() | |
5707 | Hro.CFrame = Hur.CFrame * CFrame.Angles(0, 600, 0) | |
5708 | MagniDamage(Hur, 18, false, 0, 111, true, -110, "Compensate-Knockdown", .01, false, 0, true, "233856140", 2, .3) | |
5709 | local IL = {Character} | |
5710 | local Ground, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(Hur.Position, (Hur.CFrame * Euler(rad(-90), 0, rad(10))).lookVector.Unit * 20), IL, true, true) | |
5711 | if Ground then | |
5712 | 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) | |
5713 | end | |
5714 | end | |
5715 | end)) | |
5716 | wait(1.5) | |
5717 | for i = .8, 1, .04 do | |
5718 | swait() | |
5719 | Hur.Transparency = i | |
5720 | end | |
5721 | debServ:AddItem(Hur, 0) | |
5722 | debServ:AddItem(howl, 0) | |
5723 | end)) | |
5724 | for i = 0, 1.4, .1 do | |
5725 | swait() | |
5726 | local x = TEHit_Box | |
5727 | c2 = x.CFrame*Cf(0, .5, 0) | |
5728 | if c1 and (x.Position-c1.p).magnitude > .1 then | |
5729 | local h = 6 | |
5730 | 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") | |
5731 | if a then debServ:AddItem(a, 1) end if b then debServ:AddItem(b, 1) end | |
5732 | 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") | |
5733 | if c then debServ:AddItem(c, 1) end if d then debServ:AddItem(d, 1) end | |
5734 | c1 = c2 | |
5735 | elseif not c1 then | |
5736 | c1 = c2 | |
5737 | end | |
5738 | local SwingSpeed = .7 | |
5739 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(0,-.1,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
5740 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5741 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5742 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5743 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1,0.5,-.7)*Euler(0,rad(150),rad(90)), SwingSpeed) | |
5744 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5745 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-5),0, rad(-10)), SwingSpeed) | |
5746 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5747 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-10),0,0), SwingSpeed) | |
5748 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(40),0), SwingSpeed) | |
5749 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1.4,0)*Euler(0,rad(40),0), SwingSpeed) | |
5750 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5751 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.6,0)*Euler(rad(-4),rad(80),0), SwingSpeed) | |
5752 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), SwingSpeed) | |
5753 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.6,.14)*Euler(rad(-6),rad(-75),0), SwingSpeed) | |
5754 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), SwingSpeed) | |
5755 | end | |
5756 | hit:disconnect() | |
5757 | Debounces.Attacking = false | |
5758 | coroutine.resume(coroutine.create(function() | |
5759 | wait(4) | |
5760 | Debounces.HurrSlash = false | |
5761 | end)) | |
5762 | Debounces.DisableJump = false | |
5763 | Humanoid.WalkSpeed = CurrentSpeed | |
5764 | end | |
5765 | ||
5766 | function Stomp() | |
5767 | Debounces.Attacking = true | |
5768 | Debounces.Successful_KeyStroke = true | |
5769 | Debounces.Stompped = true | |
5770 | Debounces.DisableJump = true | |
5771 | Humanoid.WalkSpeed = 5 | |
5772 | RightHip.Part0 = nil | |
5773 | RightHip.Part1 = nil | |
5774 | FRightHip.Part0 = Torso | |
5775 | FRightHip.Part1 = RightLeg | |
5776 | FRightHip.C0 = RightHip.C0 | |
5777 | FRightHip.C1 = RightHip.C1 | |
5778 | LeftHip.Part0 = nil | |
5779 | LeftHip.Part1 = nil | |
5780 | FLeftHip.Part0 = Torso | |
5781 | FLeftHip.Part1 = LeftLeg | |
5782 | FLeftHip.C0 = LeftHip.C0 | |
5783 | FLeftHip.C1 = LeftHip.C1 | |
5784 | 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) | |
5785 | for i = 0, 1.6, .1 do | |
5786 | swait() | |
5787 | local SwingSpeed = .25 | |
5788 | if Debounces.TEWield and not Debounces.TESWield then | |
5789 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
5790 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5791 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5792 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5793 | elseif Debounces.TESWield and not Debounces.TEWield then | |
5794 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), SwingSpeed) | |
5795 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5796 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
5797 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
5798 | end | |
5799 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-12), 0, rad(10)), SwingSpeed) | |
5800 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5801 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.3,0)*Euler(rad(120),0,0), SwingSpeed) | |
5802 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5803 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20), 0, 0), SwingSpeed) | |
5804 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5805 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(10), 0, 0), SwingSpeed) | |
5806 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5807 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-10),0,0), SwingSpeed) | |
5808 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
5809 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.6,-.4)*Euler(rad(60),0,0), SwingSpeed) | |
5810 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5811 | end | |
5812 | hit:disconnect() | |
5813 | Humanoid.WalkSpeed = 0 | |
5814 | for i = 0, .8, .1 do | |
5815 | swait() | |
5816 | local SwingSpeed = .3 | |
5817 | MagniDamage(LeftLeg, 8, false, 0, 5, false, -50, "Compensate-SkyRocket", .1, false, 0, true, "153092285", .75, .4) | |
5818 | if Debounces.TEWield and not Debounces.TESWield then | |
5819 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,0)*Euler(rad(90),rad(180),0), SwingSpeed) | |
5820 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5821 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), SwingSpeed) | |
5822 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5823 | elseif Debounces.TESWield and not Debounces.TEWield then | |
5824 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), SwingSpeed) | |
5825 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5826 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed) | |
5827 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed) | |
5828 | end | |
5829 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-20), 0, rad(10)), SwingSpeed) | |
5830 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, 0, 0), SwingSpeed) | |
5831 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-20),0,0), SwingSpeed) | |
5832 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), SwingSpeed) | |
5833 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-22), 0, 0), SwingSpeed) | |
5834 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), SwingSpeed) | |
5835 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-10), 0, 0), SwingSpeed) | |
5836 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), SwingSpeed) | |
5837 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(10),0,0), SwingSpeed) | |
5838 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), SwingSpeed) | |
5839 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,-.8)*Euler(rad(10),0,0), SwingSpeed) | |
5840 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), SwingSpeed) | |
5841 | end | |
5842 | coroutine.resume(coroutine.create(function() | |
5843 | for i = 0, .6, .1 do | |
5844 | swait() | |
5845 | MagniDamage(LeftLeg, 22, false, 0, 50, false, 0, "Compensate-FreezeStun", .6, false, 0, true, "153092213", 1.4, .4) | |
5846 | end | |
5847 | end)) | |
5848 | MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Cf(.3, -3, -.3) * Euler(rad(90), 0, 0), 3, 3, 1, 7, 7, 1, .1) | |
5849 | MagicWave2(BC(Colour1), "Neon", RootPart.CFrame * Cf(0, -3, 0), 3, .3, 3, 7, .3, 7, .1) | |
5850 | local boo = Sound(RootPart,"http://roblox.com/asset/?id=231917806", 1, 1, false) | |
5851 | debServ:AddItem(boo, 5) | |
5852 | wait(.6) | |
5853 | FRightHip.Part0 = nil | |
5854 | FRightHip.Part1 = nil | |
5855 | RightHip.Part0 = Torso | |
5856 | RightHip.Part1 = RightLeg | |
5857 | RightHip.C0 = FRightHip.C0 | |
5858 | RightHip.C1 = FRightHip.C1 | |
5859 | FLeftHip.Part0 = nil | |
5860 | FLeftHip.Part1 = nil | |
5861 | LeftHip.Part0 = Torso | |
5862 | LeftHip.Part1 = LeftLeg | |
5863 | LeftHip.C0 = FLeftHip.C0 | |
5864 | LeftHip.C1 = FLeftHip.C1 | |
5865 | Debounces.Attacking = false | |
5866 | coroutine.resume(coroutine.create(function() | |
5867 | wait(5) | |
5868 | Debounces.Stompped = false | |
5869 | end)) | |
5870 | Debounces.DisableJump = false | |
5871 | Humanoid.WalkSpeed = CurrentSpeed | |
5872 | end | |
5873 | ||
5874 | function KeyStrokesAttacks() | |
5875 | if InputTable[1] == "a" and InputTable[2] == "s" and InputTable[3] == "d" then | |
5876 | if not Debounces.Transformed and not Debounces.DuelWielding then | |
5877 | Awaken() | |
5878 | end | |
5879 | elseif InputTable[1] == "w" and InputTable[2] == "w" then | |
5880 | if Debounces.Transformed and not Debounces.Dashing and not Debounces.Hovering then | |
5881 | ActivateDash() | |
5882 | end | |
5883 | elseif InputTable[1] == "a" and InputTable[2] == "e" and InputTable[3] == "e" then | |
5884 | if not Debounces.SpedUp then | |
5885 | Kogeki_Sokudo_Kojo() | |
5886 | else | |
5887 | Debounces.KeyStroke_CoolDown = true | |
5888 | end | |
5889 | elseif InputTable[1] == "x" and InputTable[2] == "w" and InputTable[3] == "w" then | |
5890 | if Debounces.Transformed and Debounces.TEWield then | |
5891 | if not Debounces.HurrSlash then | |
5892 | HurricaneSlash() | |
5893 | else | |
5894 | Debounces.KeyStroke_CoolDown = true | |
5895 | end | |
5896 | end | |
5897 | elseif InputTable[1] == "s" and InputTable[2] == "s" and InputTable[3] == "z" then | |
5898 | if Debounces.Transformed then | |
5899 | if not Debounces.Stompped then | |
5900 | Stomp() | |
5901 | else | |
5902 | Debounces.KeyStroke_CoolDown = true | |
5903 | end | |
5904 | end | |
5905 | end | |
5906 | end | |
5907 | ||
5908 | local Input_Time = 0 | |
5909 | local Input_MaxTime = .5 | |
5910 | local Input_Addition = .16 | |
5911 | local Max_Input = 7 | |
5912 | local Running_Timer = false | |
5913 | ||
5914 | function Input_Timer() | |
5915 | if not Running_Timer then | |
5916 | --print("Timer Started") | |
5917 | Running_Timer = true | |
5918 | repeat wait() Input_Time = Input_Time-.1 until Input_Time <= 0.1 or Debounces.Successful_KeyStroke or #InputTable == Max_Input or Debounces.KeyStroke_CoolDown | |
5919 | local function TweenTransCol(p, newCol, i) | |
5920 | p.TextColor3 = newCol | |
5921 | p:TweenPosition(Ud2(.125*i, 0, 2, 0),_, "Linear", .5, true) | |
5922 | debServ:AddItem(p, 1) | |
5923 | coroutine.resume(coroutine.create(function() | |
5924 | for i = 0, 1, .1 do | |
5925 | swait() | |
5926 | p.TextTransparency = i | |
5927 | p.TextStrokeTransparency = i | |
5928 | end | |
5929 | end)) | |
5930 | end | |
5931 | if Input_Time <= 0.1 and not Debounces.Successful_KeyStroke then | |
5932 | for i, p in pairs(InputFrameTable) do | |
5933 | if p:IsA("TextLabel") then | |
5934 | TweenTransCol(p, Col3(170/255, 0, 0), i) | |
5935 | end | |
5936 | end | |
5937 | InputFrameTable = {} | |
5938 | InputTable = {} | |
5939 | end | |
5940 | if #InputTable == Max_Input then | |
5941 | wait() | |
5942 | if not Debounces.Successful_KeyStroke then | |
5943 | for i, p in pairs(InputFrameTable) do | |
5944 | if p:IsA("TextLabel") then | |
5945 | TweenTransCol(p, Col3(170/255, 0, 0), i) | |
5946 | end | |
5947 | end | |
5948 | InputFrameTable = {} | |
5949 | InputTable = {} | |
5950 | end | |
5951 | end | |
5952 | if Debounces.Successful_KeyStroke then | |
5953 | for i, p in pairs(InputFrameTable) do | |
5954 | if p:IsA("TextLabel") then | |
5955 | TweenTransCol(p, Col3(0, 1, 0), i) | |
5956 | end | |
5957 | end | |
5958 | InputFrameTable = {} | |
5959 | InputTable = {} | |
5960 | end | |
5961 | if Debounces.KeyStroke_CoolDown then | |
5962 | for i, p in pairs(InputFrameTable) do | |
5963 | if p:IsA("TextLabel") then | |
5964 | TweenTransCol(p, Col3(1, 170/255, 0), i) | |
5965 | end | |
5966 | end | |
5967 | InputFrameTable = {} | |
5968 | InputTable = {} | |
5969 | end | |
5970 | Debounces.Successful_KeyStroke = false | |
5971 | Debounces.KeyStroke_CoolDown = false | |
5972 | Input_Time = Input_MaxTime | |
5973 | Running_Timer = false | |
5974 | end | |
5975 | end | |
5976 | ||
5977 | Mouse.KeyDown:connect(function(key) | |
5978 | if Debounces.KeyStrokeEnabled and not Debounces.Attacking and #InputTable ~= Max_Input then | |
5979 | 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 | |
5980 | table.insert(InputTable, key) | |
5981 | local newKP = KPTemplate:Clone() | |
5982 | newKP.Parent = KP | |
5983 | newKP.Text = string.upper(key) | |
5984 | if Input_Time < Input_MaxTime then | |
5985 | Input_Time = Input_Time+Input_Addition | |
5986 | end | |
5987 | table.insert(InputFrameTable, newKP) | |
5988 | for i, p in pairs(InputFrameTable) do | |
5989 | if p == newKP then | |
5990 | newKP:TweenPosition(Ud2(.125*i, 0, 0, 0),_, "Linear", .03, true) | |
5991 | end | |
5992 | end | |
5993 | coroutine.resume(coroutine.create(function() | |
5994 | KeyStrokesAttacks() | |
5995 | end)) | |
5996 | Input_Timer() | |
5997 | end | |
5998 | end | |
5999 | end) | |
6000 | ||
6001 | Mouse.KeyDown:connect(function(key) | |
6002 | --print("Key:", key) | |
6003 | if key == "f" and not Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
6004 | Debounces.Equipping = true | |
6005 | LeftShoulder.Part0 = nil | |
6006 | LeftShoulder.Part1 = nil | |
6007 | RightShoulder.Part0 = nil | |
6008 | RightShoulder.Part1 = nil | |
6009 | FLeftShoulder.Part0 = Torso | |
6010 | FLeftShoulder.Part1 = LeftArm | |
6011 | FLeftShoulder.C0 = NLSC0 | |
6012 | FLeftShoulder.C1 = NLSC1 | |
6013 | FRightShoulder.Part0 = Torso | |
6014 | FRightShoulder.Part1 = RightArm | |
6015 | FRightShoulder.C0 = NRSC0 | |
6016 | FRightShoulder.C1 = NRSC1 | |
6017 | RootJoint.Part0 = nil | |
6018 | RootJoint.Part1 = nil | |
6019 | FRootJoint.Part0 = RootPart | |
6020 | FRootJoint.Part1 = Torso | |
6021 | FRootJoint.C0 = NRJC0 | |
6022 | FRootJoint.C1 = NRJC1 | |
6023 | swait() | |
6024 | CurrentSpeed = 20 | |
6025 | Humanoid.JumpPower = 90 | |
6026 | Humanoid.WalkSpeed = CurrentSpeed | |
6027 | Debounces.Equipped = true | |
6028 | Debounces.Equipping = false | |
6029 | 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 | |
6030 | Debounces.Equipping = true | |
6031 | AssumeNormalJoints() | |
6032 | swait() | |
6033 | CurrentSpeed = 16 | |
6034 | Humanoid.JumpPower = 50 | |
6035 | Humanoid.WalkSpeed = CurrentSpeed | |
6036 | Debounces.Equipped = false | |
6037 | Debounces.Equipping = false | |
6038 | end | |
6039 | if key == "f" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Debounces.Transformed and not Debounces.TESWield then | |
6040 | EquipTE() | |
6041 | end | |
6042 | if key == "g" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Debounces.Transformed and not Debounces.TEWield then | |
6043 | EquipTES() | |
6044 | end | |
6045 | 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 | |
6046 | Debounces.Hovering = true | |
6047 | Debounces.AnimOverride = true | |
6048 | Humanoid.WalkSpeed = CurrentSpeed*8 | |
6049 | local holdk = Mouse.KeyUp:connect(function(Key) | |
6050 | if Key == " " and Debounces.Hovering then | |
6051 | Debounces.Hovering = false | |
6052 | end | |
6053 | end) | |
6054 | local hover = Inst("BodyPosition", RootPart) | |
6055 | hover.Name = DecName | |
6056 | hover.MaxForce = Vec(0, huge, 0) | |
6057 | hover.Position = RootPart.Position | |
6058 | hover.P = 25000 | |
6059 | local moving = false | |
6060 | local go_up = Mouse.KeyDown:connect(function(k) | |
6061 | if k == "n" and not moving then | |
6062 | moving = true | |
6063 | local kek = Mouse.KeyUp:connect(function(K) | |
6064 | if K == "n" and moving then | |
6065 | moving = false | |
6066 | end | |
6067 | end) | |
6068 | repeat | |
6069 | hover.Position = Vec(0, RootPart.Position.Y+6, 0) | |
6070 | if not Debounces.Attacking then | |
6071 | local WalkSpeed = .5 | |
6072 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-10),0,rad(8)), WalkSpeed) | |
6073 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6074 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-8)), WalkSpeed) | |
6075 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6076 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,0)*Euler(rad(20),0,0), WalkSpeed) | |
6077 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6078 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-6),0,0), WalkSpeed) | |
6079 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6080 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.7,-.3)*Euler(rad(-10),rad(90),0), WalkSpeed) | |
6081 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6082 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,-.1)*Euler(rad(-6),rad(-90),0), WalkSpeed) | |
6083 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6084 | end | |
6085 | swait() | |
6086 | until not moving | |
6087 | end | |
6088 | end) | |
6089 | local go_down = Mouse.KeyDown:connect(function(k) | |
6090 | if k == "m" and not moving then | |
6091 | moving = true | |
6092 | local kek = Mouse.KeyUp:connect(function(K) | |
6093 | if K == "m" and moving then | |
6094 | moving = false | |
6095 | end | |
6096 | end) | |
6097 | repeat | |
6098 | hover.Position = Vec(0, RootPart.Position.Y-6, 0) | |
6099 | if not Debounces.Attacking then | |
6100 | local WalkSpeed = .5 | |
6101 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-5),0,rad(50)), WalkSpeed) | |
6102 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6103 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-5),0,rad(-50)), WalkSpeed) | |
6104 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6105 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,-.4)*Euler(rad(-30),0,0), WalkSpeed) | |
6106 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6107 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-6),0,0), WalkSpeed) | |
6108 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6109 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.6,-.3)*Euler(rad(-5),rad(80),0), WalkSpeed) | |
6110 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6111 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.6,-.1)*Euler(rad(-2),rad(-85),0), WalkSpeed) | |
6112 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6113 | end | |
6114 | swait() | |
6115 | until not moving | |
6116 | end | |
6117 | end) | |
6118 | LeftHip.Part0 = nil | |
6119 | LeftHip.Part1 = nil | |
6120 | FLeftHip.Part0 = Torso | |
6121 | FLeftHip.Part1 = LeftLeg | |
6122 | FLeftHip.C0 = LeftHip.C0 | |
6123 | FLeftHip.C1 = LeftHip.C1 | |
6124 | RightHip.Part0 = nil | |
6125 | RightHip.Part1 = nil | |
6126 | FRightHip.Part0 = Torso | |
6127 | FRightHip.Part1 = RightLeg | |
6128 | FRightHip.C0 = RightHip.C0 | |
6129 | FRightHip.C1 = RightHip.C1 | |
6130 | repeat | |
6131 | wait() | |
6132 | Humanoid.WalkSpeed = CurrentSpeed*4 | |
6133 | Debounces.AnimOverride = true | |
6134 | MagniDamage(LeftLeg, 6, true, 2, 6, true, 1, "Compensate-LifeSteal", .1, false, 0, false, _, _, _) | |
6135 | MagniDamage(RightLeg, 6, true, 2, 6, true, 1, "Compensate-LifeSteal", .1, false, 0, false, _, _, _) | |
6136 | MagicBlock(BC(Colour1), "Neon", LeftLeg:GetRenderCFrame()*Cf(0, -1.15, 0),.3, .3, .3, 1.3, 1.3, 1.3, .12) | |
6137 | MagicBlock(BC(Colour2), "Neon", LeftLeg:GetRenderCFrame()*Cf(0, -1.15, 0),.3, .3, .3, 1.3, 1.3, 1.3, .12) | |
6138 | MagicBlock(BC(Colour1), "Neon", RightLeg:GetRenderCFrame()*Cf(0, -1.15, 0),.3, .3, .3, 1.3, 1.3, 1.3, .12) | |
6139 | MagicBlock(BC(Colour2), "Neon", RightLeg:GetRenderCFrame()*Cf(0, -1.15, 0),.3, .3, .3, 1.3, 1.3, 1.3, .12) | |
6140 | if not moving and not Debounces.Attacking and not Debounces.Equipping then | |
6141 | LeftHip.Part0 = nil | |
6142 | LeftHip.Part1 = nil | |
6143 | FLeftHip.Part0 = Torso | |
6144 | FLeftHip.Part1 = LeftLeg | |
6145 | RightHip.Part0 = nil | |
6146 | RightHip.Part1 = nil | |
6147 | FRightHip.Part0 = Torso | |
6148 | FRightHip.Part1 = RightLeg | |
6149 | if RootPart.Velocity.Magnitude > 5 then | |
6150 | local WalkSpeed = .5 | |
6151 | if Debounces.TESWield then | |
6152 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), WalkSpeed) | |
6153 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6154 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed) | |
6155 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed) | |
6156 | end | |
6157 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-15),0,rad(17)), WalkSpeed) | |
6158 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6159 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-15),0,rad(-17)), WalkSpeed) | |
6160 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6161 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,0)*Euler(rad(8),0,0), WalkSpeed) | |
6162 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6163 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-20),0,0), WalkSpeed) | |
6164 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6165 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.5,-.3)*Euler(rad(-12),rad(90),0), WalkSpeed) | |
6166 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6167 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.8,-.1)*Euler(rad(-8),rad(-90),0), WalkSpeed) | |
6168 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6169 | else | |
6170 | idlenum = .3 | |
6171 | if idlenum2 < 9.999 and idle == 1 then | |
6172 | idlenum2 = idlenum2+idlenum | |
6173 | elseif idlenum2 > 9.999 and idle == 1 then | |
6174 | idle = -1 | |
6175 | elseif idlenum2 > 0.999 and idle == -1 then | |
6176 | idlenum2 = idlenum2-idlenum | |
6177 | elseif idlenum2 < 0.999 and idle == -1 then | |
6178 | idle = 1 | |
6179 | end | |
6180 | local IdleSpeed = .4 | |
6181 | if Debounces.TESWield then | |
6182 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), IdleSpeed) | |
6183 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), IdleSpeed) | |
6184 | HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed) | |
6185 | HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed) | |
6186 | end | |
6187 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.6,.2)*Euler(0,0,rad(6+(idlenum2/1.5))), IdleSpeed) | |
6188 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0), IdleSpeed) | |
6189 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.6,0)*Euler(0,0,rad(-6-(idlenum2/1.5))), IdleSpeed) | |
6190 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-12),0), IdleSpeed) | |
6191 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(rad(-10-(idlenum2/1.25)),0,0), IdleSpeed) | |
6192 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(16),0), IdleSpeed) | |
6193 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1-(idlenum2/60),0)*Euler(0,rad(16),0), IdleSpeed) | |
6194 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), IdleSpeed) | |
6195 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.8+(idlenum2/60),.08)*Euler(rad(-4),rad(-10),0), IdleSpeed) | |
6196 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,0,0), IdleSpeed) | |
6197 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1+(idlenum2/60),.02)*Euler(rad(-4),rad(8),0), IdleSpeed) | |
6198 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,0,0), IdleSpeed) | |
6199 | end | |
6200 | end | |
6201 | until not Debounces.Hovering or Debounces.Guarding or Debounces.Successful_KeyStroke | |
6202 | FLeftHip.Part0 = nil | |
6203 | FLeftHip.Part1 = nil | |
6204 | LeftHip.Part0 = Torso | |
6205 | LeftHip.Part1 = LeftLeg | |
6206 | LeftHip.C0 = FLeftHip.C0 | |
6207 | LeftHip.C1 = FLeftHip.C1 | |
6208 | FRightHip.Part0 = nil | |
6209 | FRightHip.Part1 = nil | |
6210 | RightHip.Part0 = Torso | |
6211 | RightHip.Part1 = RightLeg | |
6212 | RightHip.C0 = FRightHip.C0 | |
6213 | RightHip.C1 = FRightHip.C1 | |
6214 | debServ:AddItem(hover, 0) | |
6215 | Humanoid.WalkSpeed = CurrentSpeed | |
6216 | Debounces.AnimOverride = false | |
6217 | Debounces.Hovering = false | |
6218 | end | |
6219 | if key == " " and Debounces.Equipped and not Debounces.Equipping and Debounces.Can_Double_Jump and not Debounces.DisableJump and not Debounces.Transformed then | |
6220 | Debounces.Can_Double_Jump = false | |
6221 | Debounces.DoubleJumping = true | |
6222 | RootPart.Velocity = Vec(0, 180, 0) | |
6223 | local noscope = 0 | |
6224 | if not Debounces.DoubleJumpAnim then | |
6225 | Debounces.AnimOverride = true | |
6226 | Debounces.DoubleJumpAnim = true | |
6227 | Current_Anim = "Jumping" | |
6228 | for i = 0, 1.6, .1 do | |
6229 | swait() | |
6230 | if noscope ~= 360 then | |
6231 | noscope = noscope+30 | |
6232 | end | |
6233 | if not Debounces.Attacking then | |
6234 | local JumpSpeed = .4 | |
6235 | if Debounces.HasWep then | |
6236 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
6237 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
6238 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), JumpSpeed) | |
6239 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), JumpSpeed) | |
6240 | end | |
6241 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-30),0,rad(10)), JumpSpeed) | |
6242 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
6243 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-30),0,rad(-10)), JumpSpeed) | |
6244 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
6245 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(15),0,0), JumpSpeed) | |
6246 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
6247 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-10),0,0), JumpSpeed) | |
6248 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,rad(noscope),0), JumpSpeed) | |
6249 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(rad(-8),rad(90),0), JumpSpeed) | |
6250 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
6251 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-20),rad(-90),0), JumpSpeed) | |
6252 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
6253 | end | |
6254 | end | |
6255 | Current_Anim = "Falling" | |
6256 | Debounces.DoubleJumpAnim = false | |
6257 | Debounces.AnimOverride = false | |
6258 | end | |
6259 | Debounces.DoubleJumping = false | |
6260 | end | |
6261 | if key == "e" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
6262 | Disrupt() | |
6263 | end | |
6264 | 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 | |
6265 | Z_Pressed = true | |
6266 | Fatal_Blow() | |
6267 | Z_Pressed = false | |
6268 | end | |
6269 | 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 | |
6270 | Hate_Wave() | |
6271 | end | |
6272 | 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 | |
6273 | Debounces.Charging_Erupt = true | |
6274 | releasez = Mouse.KeyUp:connect(function(Key) | |
6275 | if Key == "c" and Debounces.Charging_Erupt then | |
6276 | Debounces.Charging_Erupt = false | |
6277 | releasez:disconnect() | |
6278 | end | |
6279 | end) | |
6280 | Dark_Eruption() | |
6281 | end | |
6282 | 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 | |
6283 | Debounces.Guarding = true | |
6284 | greal = Mouse.KeyUp:connect(function(Key) | |
6285 | if Key == "r" and Debounces.Guarding then | |
6286 | Debounces.Guarding = false | |
6287 | greal:disconnect() | |
6288 | end | |
6289 | end) | |
6290 | Corrupt_Guard() | |
6291 | end | |
6292 | if key == "x" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
6293 | game:GetService("RunService").Stepped:wait() | |
6294 | Axel(SWP.Value) | |
6295 | end | |
6296 | if key == "s" and not SWP.Value and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then | |
6297 | SWP.Value = true | |
6298 | swait(.08) | |
6299 | SWP.Value = false | |
6300 | end | |
6301 | if key == "g" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed then | |
6302 | if not Debounces.DuelWielding and not Debounces.HasWep then | |
6303 | Equip_Denial() | |
6304 | elseif not Debounces.DuelWielding and Debounces.HasWep then | |
6305 | Unequip_Denial() | |
6306 | end | |
6307 | end | |
6308 | if key == "2" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed then | |
6309 | swait() | |
6310 | Debounces.KeyStrokeEnabled = not Debounces.KeyStrokeEnabled | |
6311 | end | |
6312 | if key == "]" then | |
6313 | if not Debounces.ZeroGravity then | |
6314 | Debounces.ZeroGravity = true | |
6315 | chatServ:Chat(Head, "Zero gravity!", 2) | |
6316 | repeat workspace.Gravity = 1 runServ.Stepped:wait() until not Debounces.ZeroGravity | |
6317 | else | |
6318 | Debounces.ZeroGravity = false | |
6319 | workspace.Gravity = 196.2 | |
6320 | chatServ:Chat(Head, "Revert gravity.", 0) | |
6321 | end | |
6322 | end | |
6323 | end) | |
6324 | ||
6325 | Mouse.Button1Down:connect(function() | |
6326 | if Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking then | |
6327 | ClickCombo() | |
6328 | end | |
6329 | end) | |
6330 | ||
6331 | local SSS = 1 | |
6332 | Humanoid.Running:connect(function(speed) | |
6333 | if speed > SSS then | |
6334 | if not Debounces.Dashing and Humanoid.WalkSpeed == CurrentSpeed then | |
6335 | Current_Anim = "Walking" | |
6336 | else | |
6337 | Current_Anim = "Dashing" | |
6338 | end | |
6339 | Debounces.Can_Double_Jump = false | |
6340 | elseif speed < SSS or speed == 0 then | |
6341 | Current_Anim = "Idle" | |
6342 | Debounces.Dashing = false | |
6343 | Debounces.Can_Double_Jump = false | |
6344 | end | |
6345 | end) | |
6346 | Humanoid.FreeFalling:connect(function() | |
6347 | if Current_Anim ~= "Falling" then | |
6348 | Current_Anim = "Falling" | |
6349 | Debounces.Can_Double_Jump = true | |
6350 | end | |
6351 | end) | |
6352 | Humanoid.Jumping:connect(function() | |
6353 | Current_Anim = "Jumping" | |
6354 | if Debounces.Equipped and not Debounces.Equipping and not Debounces.JumpAnim and not Debounces.DisableJump then | |
6355 | Debounces.Can_Double_Jump = true | |
6356 | Debounces.AnimOverride = true | |
6357 | Debounces.JumpAnim = true | |
6358 | for i = 0, .8, .1 do | |
6359 | swait() | |
6360 | if not Debounces.Attacking then | |
6361 | local JumpSpeed = .4 | |
6362 | if Debounces.HasWep then | |
6363 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
6364 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
6365 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), JumpSpeed) | |
6366 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), JumpSpeed) | |
6367 | end | |
6368 | if Debounces.TEWield then | |
6369 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,-.6)*Euler(rad(90),rad(180),0), JumpSpeed) | |
6370 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
6371 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(-10),rad(18),0), JumpSpeed) | |
6372 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
6373 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(30), 0, rad(-10)), JumpSpeed) | |
6374 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(-20), 0), JumpSpeed) | |
6375 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.4,-.96)*Euler(rad(52),0,rad(34)), JumpSpeed) | |
6376 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(60),0), JumpSpeed) | |
6377 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(4),rad(-12),0), JumpSpeed) | |
6378 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
6379 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(7),rad(12),0), JumpSpeed) | |
6380 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
6381 | if not Debounces.Dashing then | |
6382 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(rad(-16),rad(80),0), JumpSpeed) | |
6383 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
6384 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-8),rad(-86),0), JumpSpeed) | |
6385 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
6386 | else | |
6387 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-16),rad(80),0), JumpSpeed) | |
6388 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
6389 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-8),rad(-86),0), JumpSpeed) | |
6390 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
6391 | end | |
6392 | else | |
6393 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-30),0,rad(10)), JumpSpeed) | |
6394 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
6395 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-30),0,rad(-10)), JumpSpeed) | |
6396 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), JumpSpeed) | |
6397 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(15),0,0), JumpSpeed) | |
6398 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), JumpSpeed) | |
6399 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-20),0,0), JumpSpeed) | |
6400 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), JumpSpeed) | |
6401 | if not Debounces.Dashing then | |
6402 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(rad(-8),rad(90),0), JumpSpeed) | |
6403 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
6404 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-20),rad(-90),0), JumpSpeed) | |
6405 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
6406 | else | |
6407 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-1,0)*Euler(rad(-8),rad(90),0), JumpSpeed) | |
6408 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), JumpSpeed) | |
6409 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.5,-.8)*Euler(rad(-20),rad(-90),0), JumpSpeed) | |
6410 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), JumpSpeed) | |
6411 | end | |
6412 | end | |
6413 | end | |
6414 | end | |
6415 | Debounces.JumpAnim = false | |
6416 | Debounces.AnimOverride = false | |
6417 | end | |
6418 | end) | |
6419 | Humanoid.Swimming:connect(function() | |
6420 | Current_Anim = "Walking" | |
6421 | Debounces.Can_Double_Jump = true | |
6422 | end) | |
6423 | ||
6424 | Humanoid.Changed:connect(function() | |
6425 | if Humanoid.PlatformStand then | |
6426 | Humanoid.PlatformStand = false | |
6427 | end | |
6428 | end) | |
6429 | ||
6430 | runServ.RenderStepped:connect(function() | |
6431 | Bringer() | |
6432 | --print("Current Animation:", Current_Anim) | |
6433 | if Debounces.KeyStrokeEnabled then | |
6434 | KPTemplate.Text = ">>>" | |
6435 | KPTemplate.TextColor3 = Col3(1, 1, 1) | |
6436 | else | |
6437 | KPTemplate.Text = "-X-" | |
6438 | KPTemplate.TextColor3 = Col3(170/255, 0, 0) | |
6439 | end | |
6440 | if not GodMode then | |
6441 | Humanoid.MaxHealth = Max_Health | |
6442 | end | |
6443 | --[[if Debounces.KeyStrokeEnabled and not Debounces.Attacking and not Debounces.Equipping and Current_Anim ~= "Jumping" and Current_Anim ~= "Falling" then | |
6444 | RGyro.MaxTorque = Vec(0, 1500, 0) | |
6445 | SSS = 3 | |
6446 | print(RootPart.Velocity.magnitude) | |
6447 | RGyro.P = 15000 | |
6448 | RGyro.D = 750 | |
6449 | RGyro.CFrame = (Cf(RootPart.Position,Vec(Camera.CoordinateFrame.X,RootPart.Position.Y,Camera.CoordinateFrame.Z))*Euler(0,math.pi,0)) | |
6450 | --CamGyro.CFrame = Cf(Vec(Camera.CoordinateFrame.p.x, RootPart.CFrame.p.y, Camera.CoordinateFrame.p.z)) | |
6451 | else | |
6452 | SSS = 1 | |
6453 | if Debounces.KeyStrokeEnabled then | |
6454 | RGyro.MaxTorque = Vec(0, 1500, 0) | |
6455 | else | |
6456 | RGyro.MaxTorque = Vec(0, 0, 0) | |
6457 | end | |
6458 | end]] | |
6459 | Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false) | |
6460 | Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying, false) | |
6461 | Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false) | |
6462 | if #Effects>0 then | |
6463 | --table.insert(Effects,{prt,"Block1",delay}) | |
6464 | for e=1,#Effects do | |
6465 | if Effects[e]~=nil then | |
6466 | --for j=1,#Effects[e] do | |
6467 | local Thing=Effects[e] | |
6468 | if Thing~=nil then | |
6469 | local Part=Thing[1] | |
6470 | local Mode=Thing[2] | |
6471 | local Delay=Thing[3] | |
6472 | local IncX=Thing[4] | |
6473 | local IncY=Thing[5] | |
6474 | local IncZ=Thing[6] | |
6475 | if Thing[1].Transparency<=1 then | |
6476 | if Thing[2]=="Block1" then | |
6477 | Thing[1].CFrame=Thing[1].CFrame*Euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
6478 | Mesh=Thing[1]:FindFirstChild("Mesh") | |
6479 | if not Mesh then | |
6480 | Mesh = Instance.new("BlockMesh") | |
6481 | end | |
6482 | Mesh.Scale=Mesh.Scale+Vec(Thing[4],Thing[5],Thing[6]) | |
6483 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
6484 | elseif Thing[2]=="Wave" then | |
6485 | Thing[1].CFrame=Thing[1].CFrame*CFrame.Angles(0, rad(10), 0) | |
6486 | Mesh=Thing[1]:FindFirstChild("Mesh") | |
6487 | if not Mesh then | |
6488 | Mesh = Instance.new("BlockMesh") | |
6489 | end | |
6490 | Mesh.Scale=Mesh.Scale+Vec(Thing[4],Thing[5],Thing[6]) | |
6491 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
6492 | elseif Thing[2]=="Cylinder" then | |
6493 | Mesh=Thing[1]:FindFirstChild("Mesh") | |
6494 | if not Mesh then | |
6495 | Mesh = Instance.new("BlockMesh") | |
6496 | end | |
6497 | Mesh.Scale=Mesh.Scale+Vec(Thing[4],Thing[5],Thing[6]) | |
6498 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
6499 | elseif Thing[2]=="Blood" then | |
6500 | Mesh=Thing[1]:FindFirstChild("Mesh") | |
6501 | if not Mesh then | |
6502 | Mesh = Instance.new("BlockMesh") | |
6503 | end | |
6504 | Thing[1].CFrame=Thing[1].CFrame*Cf(0,.5,0) | |
6505 | Mesh.Scale=Mesh.Scale+Vec(Thing[4],Thing[5],Thing[6]) | |
6506 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
6507 | elseif Thing[2]=="Elec" then | |
6508 | Mesh=Thing[1]:FindFirstChild("Mesh") | |
6509 | if not Mesh then | |
6510 | Mesh = Instance.new("BlockMesh") | |
6511 | end | |
6512 | Mesh.Scale=Mesh.Scale+Vec(Thing[7],Thing[8],Thing[9]) | |
6513 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
6514 | elseif Thing[2]=="Disappear" then | |
6515 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
6516 | end | |
6517 | else | |
6518 | Part.Parent=nil | |
6519 | debServ:AddItem(Part, 0) | |
6520 | table.remove(Effects,e) | |
6521 | end | |
6522 | end | |
6523 | end | |
6524 | end | |
6525 | end | |
6526 | end) | |
6527 | ||
6528 | --[[FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(0,rad(-90),0),.3) | |
6529 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-90),0),.3) | |
6530 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(0,rad(90),0),.3) | |
6531 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(90),0),.3) | |
6532 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0,0,0),.3) | |
6533 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0),.3) | |
6534 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(0,0,0),.3) | |
6535 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0),.3) | |
6536 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0),.3) | |
6537 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0),.3) | |
6538 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0),.3) | |
6539 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0),.3)--]] | |
6540 | ||
6541 | while true do | |
6542 | swait() | |
6543 | if not Debounces.Guarding and Debounces.CanGuard then | |
6544 | VHealth.Value = VHealth.Value+(GH/6000) | |
6545 | end | |
6546 | --[[if game.CreatorId ~= 43981323 then | |
6547 | local fakeScript = Instance.new("LocalScript", C_Fold) | |
6548 | fakeScript.Name = "Chaos" | |
6549 | end]] | |
6550 | if Debounces.Equipped and not Debounces.Attacking and not Debounces.AnimOverride and not Debounces.Equipping and Debounces.Transformed then | |
6551 | if Current_Anim == "Idle" and not Debounces.TEWield and not Debounces.TESWield then | |
6552 | idlenum = .3 | |
6553 | if idlenum2 < 9.999 and idle == 1 then | |
6554 | idlenum2 = idlenum2+idlenum | |
6555 | elseif idlenum2 > 9.999 and idle == 1 then | |
6556 | idle = -1 | |
6557 | elseif idlenum2 > 0.999 and idle == -1 then | |
6558 | idlenum2 = idlenum2-idlenum | |
6559 | elseif idlenum2 < 0.999 and idle == -1 then | |
6560 | idle = 1 | |
6561 | end | |
6562 | local IdleSpeed = .4 | |
6563 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), IdleSpeed) | |
6564 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), IdleSpeed) | |
6565 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.6,.2)*Euler(0,0,rad(6+(idlenum2/1.5))), IdleSpeed) | |
6566 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0), IdleSpeed) | |
6567 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.6,0)*Euler(0,0,rad(-6-(idlenum2/1.5))), IdleSpeed) | |
6568 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-12),0), IdleSpeed) | |
6569 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(rad(-20-(idlenum2/1.25)),0,0), IdleSpeed) | |
6570 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(10),0), IdleSpeed) | |
6571 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1-(idlenum2/60),0)*Euler(0,rad(10),0), IdleSpeed) | |
6572 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), IdleSpeed) | |
6573 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1+(idlenum2/60),.08)*Euler(0,rad(90),0), IdleSpeed) | |
6574 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(100),0), IdleSpeed) | |
6575 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1+(idlenum2/60),.02)*Euler(0,rad(-90),0), IdleSpeed) | |
6576 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-96),0), IdleSpeed) | |
6577 | elseif Current_Anim == "Idle" and not Debounces.TEWield and Debounces.TESWield then | |
6578 | idlenum = .3 | |
6579 | if idlenum2 < 9.999 and idle == 1 then | |
6580 | idlenum2 = idlenum2+idlenum | |
6581 | elseif idlenum2 > 9.999 and idle == 1 then | |
6582 | idle = -1 | |
6583 | elseif idlenum2 > 0.999 and idle == -1 then | |
6584 | idlenum2 = idlenum2-idlenum | |
6585 | elseif idlenum2 < 0.999 and idle == -1 then | |
6586 | idle = 1 | |
6587 | end | |
6588 | local IdleSpeed = .4 | |
6589 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(100),0,0), IdleSpeed) | |
6590 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), IdleSpeed) | |
6591 | HWeld2.C0=clerp(HWeld2.C0,Cf(0,-1,0)*Euler(0,0,0), IdleSpeed) | |
6592 | HWeld2.C1=clerp(HWeld2.C1,Cf(0,0,0)*Euler(0,0,0), IdleSpeed) | |
6593 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.6,.2)*Euler(0,0,rad(6+(idlenum2/1.5))), IdleSpeed) | |
6594 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0), IdleSpeed) | |
6595 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.6,0)*Euler(0,0,rad(-6-(idlenum2/1.5))), IdleSpeed) | |
6596 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-12),0), IdleSpeed) | |
6597 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(rad(-20-(idlenum2/1.25)),0,0), IdleSpeed) | |
6598 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-10),0), IdleSpeed) | |
6599 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1-(idlenum2/60),0)*Euler(0,rad(-10),0), IdleSpeed) | |
6600 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), IdleSpeed) | |
6601 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1+(idlenum2/60),.08)*Euler(0,rad(90),0), IdleSpeed) | |
6602 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(100),0), IdleSpeed) | |
6603 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1+(idlenum2/60),.02)*Euler(0,rad(-90),0), IdleSpeed) | |
6604 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-96),0), IdleSpeed) | |
6605 | elseif Current_Anim == "Idle" and Debounces.TEWield and not Debounces.TESWield then | |
6606 | idlenum = .2 | |
6607 | if idlenum2 < 9.999 and idle == 1 then | |
6608 | idlenum2 = idlenum2+idlenum | |
6609 | elseif idlenum2 > 9.999 and idle == 1 then | |
6610 | idle = -1 | |
6611 | elseif idlenum2 > 0.999 and idle == -1 then | |
6612 | idlenum2 = idlenum2-idlenum | |
6613 | elseif idlenum2 < 0.999 and idle == -1 then | |
6614 | idle = 1 | |
6615 | end | |
6616 | local IdleSpeed = .4 | |
6617 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,-.7)*Euler(rad(90),0,0), IdleSpeed) | |
6618 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), IdleSpeed) | |
6619 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(-120),rad(70),0), IdleSpeed) | |
6620 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), IdleSpeed) | |
6621 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0-(idlenum2/65),0)*Euler(rad(120), rad(0), rad(10)), IdleSpeed) | |
6622 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.45,0)*Euler(0, 0, 0), IdleSpeed) | |
6623 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.86,0.4-(idlenum2/65),-1.2)*Euler(rad(110),0,rad(40)), IdleSpeed) | |
6624 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(60),0), IdleSpeed) | |
6625 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(60), 0), IdleSpeed) | |
6626 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(5+(idlenum2/2)),0,0), IdleSpeed) | |
6627 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1-(idlenum2/50),0)*Euler(rad(-7), rad(-70), 0), IdleSpeed) | |
6628 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), IdleSpeed) | |
6629 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1+(idlenum2/50),0)*Euler(0,rad(80),0), IdleSpeed) | |
6630 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), IdleSpeed) | |
6631 | LeftHip.C0=clerp(LeftHip.C0,Cf(-.8,-1+(idlenum2/50),-.36)*Euler(rad(-7),rad(-27),0), IdleSpeed) | |
6632 | LeftHip.C1=clerp(LeftHip.C1,Cf(0,1,0)*Euler(rad(-15),rad(-90),0), IdleSpeed) | |
6633 | end | |
6634 | if Current_Anim == "Walking" and not Debounces.TEWield then | |
6635 | local WalkSpeed = .5 | |
6636 | RightHip.MaxVelocity = .1/2.5 | |
6637 | LeftHip.MaxVelocity = .1/2.5 | |
6638 | if Debounces.TESWield then | |
6639 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(95),0,0), WalkSpeed) | |
6640 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6641 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-10),0,rad(-5)), .8) | |
6642 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6643 | else | |
6644 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(math.deg(LeftHip.CurrentAngle)/1.5),0,rad(-5)), .8) | |
6645 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6646 | end | |
6647 | HWeld2.C0=clerp(HWeld2.C0,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6648 | HWeld2.C1=clerp(HWeld2.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6649 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(-rad(math.deg(LeftHip.CurrentAngle)/1.5),0,rad(5)), .8) | |
6650 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6651 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-16),0,0), WalkSpeed) | |
6652 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6653 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-12),0,0), WalkSpeed) | |
6654 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6655 | RightHip.C0=clerp(RightHip.C0,Cf(.5,-1,.2)*Euler(0,rad(90),0), WalkSpeed) | |
6656 | RightHip.C1=clerp(RightHip.C1,Cf(0,1,.2)*Euler(0,rad(90),0), WalkSpeed) | |
6657 | LeftHip.C0=clerp(LeftHip.C0,Cf(-.5,-1,.2)*Euler(0,rad(-90),0), WalkSpeed) | |
6658 | LeftHip.C1=clerp(LeftHip.C1,Cf(0,1,.2)*Euler(0,rad(-90),0), WalkSpeed) | |
6659 | elseif Current_Anim == "Walking" and Debounces.TEWield then | |
6660 | local WalkSpeed = .5 | |
6661 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,-.6)*Euler(rad(90),rad(180),0), WalkSpeed) | |
6662 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6663 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(-10),rad(18),0), WalkSpeed) | |
6664 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6665 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(30), 0, rad(-10)), WalkSpeed) | |
6666 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(-20), 0), WalkSpeed) | |
6667 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.4,-.96)*Euler(rad(52),0,rad(34)), WalkSpeed) | |
6668 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(60),0), WalkSpeed) | |
6669 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(0, rad(20), 0), WalkSpeed) | |
6670 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(rad(5),0,0), WalkSpeed) | |
6671 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-11), rad(-20), 0), WalkSpeed) | |
6672 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0, 0, 0), WalkSpeed) | |
6673 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(82),0), WalkSpeed) | |
6674 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6675 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,-.1)*Euler(rad(-7),rad(-80),0), WalkSpeed) | |
6676 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(rad(-15),rad(-90),0), WalkSpeed) | |
6677 | end | |
6678 | if Current_Anim == "Dashing" and not Debounces.TEWield then | |
6679 | local WalkSpeed = .5 | |
6680 | if Debounces.TESWield then | |
6681 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(130),0,0), WalkSpeed) | |
6682 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6683 | end | |
6684 | HWeld2.C0=clerp(HWeld2.C0,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6685 | HWeld2.C1=clerp(HWeld2.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6686 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(-50),0,rad(15)), .8) | |
6687 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6688 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(-50),0,rad(-15)), .8) | |
6689 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6690 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,0)*Euler(rad(30),0,0), WalkSpeed) | |
6691 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6692 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-60),0,0), WalkSpeed) | |
6693 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6694 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-20),rad(90),0), WalkSpeed) | |
6695 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6696 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.8,-.1)*Euler(rad(-8),rad(-90),0), WalkSpeed) | |
6697 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6698 | elseif Current_Anim == "Dashing" and Debounces.TEWield then | |
6699 | local WalkSpeed = .5 | |
6700 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,0)*Euler(rad(60),rad(180),0), WalkSpeed) | |
6701 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6702 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6703 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6704 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(95),0,rad(15)), .8) | |
6705 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6706 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.5,0)*Euler(rad(10),0,rad(-15)), .8) | |
6707 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6708 | Neck.C0=clerp(Neck.C0,Cf(0,1.4,0)*Euler(rad(30),0,0), WalkSpeed) | |
6709 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6710 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-60),0,0), WalkSpeed) | |
6711 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6712 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.5,-.6)*Euler(rad(-20),rad(90),0), WalkSpeed) | |
6713 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6714 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.8,-.1)*Euler(rad(-8),rad(-90),0), WalkSpeed) | |
6715 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6716 | end | |
6717 | if Current_Anim == "Falling" and not Debounces.TEWield and not Debounces.TESWield then | |
6718 | local FallSpeed = .5 | |
6719 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(0,0,0), FallSpeed) | |
6720 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6721 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.35,0)*Euler(rad(-25),0,rad(8)), FallSpeed) | |
6722 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), FallSpeed) | |
6723 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(80),0,rad(60)), FallSpeed) | |
6724 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), FallSpeed) | |
6725 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20),0,0), FallSpeed) | |
6726 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6727 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(10),0,0), FallSpeed) | |
6728 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), FallSpeed) | |
6729 | if not Debounces.Dashing then | |
6730 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-20),rad(90),0), FallSpeed) | |
6731 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), FallSpeed) | |
6732 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(8),rad(-90),0), FallSpeed) | |
6733 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), FallSpeed) | |
6734 | else | |
6735 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-20),rad(90),0), FallSpeed) | |
6736 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), FallSpeed) | |
6737 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(8),rad(-90),0), FallSpeed) | |
6738 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), FallSpeed) | |
6739 | end | |
6740 | elseif Current_Anim == "Falling" and not Debounces.TEWield and Debounces.TESWield then | |
6741 | local FallSpeed = .5 | |
6742 | HWeld2.C0=clerp(HWeld2.C0,Cf(0,-1,0)*Euler(0,0,0), FallSpeed) | |
6743 | HWeld2.C1=clerp(HWeld2.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6744 | SheWeld.C0=clerp(SheWeld.C0,Cf(0,-.24,0)*Euler(rad(90),0,0), FallSpeed) | |
6745 | SheWeld.C1=clerp(SheWeld.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6746 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,1,0)*Euler(rad(160),0,0), FallSpeed) | |
6747 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,rad(-15)), FallSpeed) | |
6748 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,1,0)*Euler(rad(160),0,0), FallSpeed) | |
6749 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,rad(15)), FallSpeed) | |
6750 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20),0,0), FallSpeed) | |
6751 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6752 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(10),0,0), FallSpeed) | |
6753 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), FallSpeed) | |
6754 | if not Debounces.Dashing then | |
6755 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-20),rad(90),0), FallSpeed) | |
6756 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), FallSpeed) | |
6757 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(8),rad(-90),0), FallSpeed) | |
6758 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), FallSpeed) | |
6759 | else | |
6760 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-20),rad(90),0), FallSpeed) | |
6761 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), FallSpeed) | |
6762 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(8),rad(-90),0), FallSpeed) | |
6763 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), FallSpeed) | |
6764 | end | |
6765 | elseif Current_Anim == "Falling" and Debounces.TEWield and not Debounces.TESWield then | |
6766 | local FallSpeed = .5 | |
6767 | WepWeld3.C0=clerp(WepWeld3.C0,Cf(.1,0,0)*Euler(rad(90),rad(180),0), FallSpeed) | |
6768 | WepWeld3.C1=clerp(WepWeld3.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6769 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(-12),0,0), FallSpeed) | |
6770 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6771 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.5,0)*Euler(rad(30), 0, rad(10)), FallSpeed) | |
6772 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0, rad(10), 0), FallSpeed) | |
6773 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(80),0,rad(60)), FallSpeed) | |
6774 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), FallSpeed) | |
6775 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-20),rad(-12),0), FallSpeed) | |
6776 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), FallSpeed) | |
6777 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-16),rad(12),0), FallSpeed) | |
6778 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6779 | if not Debounces.Dashing then | |
6780 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.7,0)*Euler(rad(20),rad(80),0), FallSpeed) | |
6781 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), FallSpeed) | |
6782 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-.3,-.5)*Euler(rad(7),rad(-86),0), FallSpeed) | |
6783 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), FallSpeed) | |
6784 | else | |
6785 | FRightHip.C0=clerp(FRightHip.C0,Cf(1.5,-.7,0)*Euler(rad(20),rad(80),0), FallSpeed) | |
6786 | FRightHip.C1=clerp(FRightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), FallSpeed) | |
6787 | FLeftHip.C0=clerp(FLeftHip.C0,Cf(-1.5,-.3,-.5)*Euler(rad(7),rad(-86),0), FallSpeed) | |
6788 | FLeftHip.C1=clerp(FLeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), FallSpeed) | |
6789 | end | |
6790 | end | |
6791 | end | |
6792 | if Debounces.Equipped and not Debounces.Attacking and not Debounces.AnimOverride and not Debounces.Equipping and not Debounces.Transformed then | |
6793 | if Current_Anim == "Idle" and not Debounces.HasWep then | |
6794 | idlenum = .3 | |
6795 | if idlenum2 < 9.999 and idle == 1 then | |
6796 | idlenum2 = idlenum2+idlenum | |
6797 | elseif idlenum2 > 9.999 and idle == 1 then | |
6798 | idle = -1 | |
6799 | elseif idlenum2 > 0.999 and idle == -1 then | |
6800 | idlenum2 = idlenum2-idlenum | |
6801 | elseif idlenum2 < 0.999 and idle == -1 then | |
6802 | idle = 1 | |
6803 | end | |
6804 | local IdleSpeed = .4 | |
6805 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(.85,0.45-(idlenum2/70),-1)*Euler(rad(60),0,rad(-40)), IdleSpeed) | |
6806 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(rad(1-(idlenum2*2)),rad(-20),0), IdleSpeed) | |
6807 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.4,0.3-(idlenum2/70),-.3)*Euler(rad(120),0,rad(-40)), IdleSpeed) | |
6808 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(rad(1-(idlenum2*2)),rad(20),0), IdleSpeed) | |
6809 | Neck.C0=clerp(Neck.C0,Cf(0,1.5+(idlenum2/50),0)*Euler(rad(-20),rad(40),0), IdleSpeed) | |
6810 | Neck.C1=clerp(Neck.C1,Cf(0,0,.1+(idlenum2/50))*Euler(rad(1+(idlenum2*1.5)),0,0), IdleSpeed) | |
6811 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1-(idlenum2/40),0)*Euler(0,rad(-40),0), IdleSpeed) | |
6812 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), IdleSpeed) | |
6813 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1+(idlenum2/38),-.6)*Euler(0,rad(120),0), IdleSpeed) | |
6814 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(rad(10),rad(90),0), IdleSpeed) | |
6815 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1+(idlenum2/38),.4)*Euler(0,rad(-50),0), IdleSpeed) | |
6816 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(rad(10),rad(-90),0), IdleSpeed) | |
6817 | elseif Current_Anim == "Idle" and Debounces.HasWep then | |
6818 | if not Debounces.DuelWielding then | |
6819 | idlenum = .3 | |
6820 | if idlenum2 < 9.999 and idle == 1 then | |
6821 | idlenum2 = idlenum2+idlenum | |
6822 | elseif idlenum2 > 9.999 and idle == 1 then | |
6823 | idle = -1 | |
6824 | elseif idlenum2 > 0.999 and idle == -1 then | |
6825 | idlenum2 = idlenum2-idlenum | |
6826 | elseif idlenum2 < 0.999 and idle == -1 then | |
6827 | idle = 1 | |
6828 | end | |
6829 | local IdleSpeed = .4 | |
6830 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad((6.5-(idlenum2/2))),0,0), IdleSpeed) | |
6831 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), IdleSpeed) | |
6832 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), IdleSpeed) | |
6833 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), IdleSpeed) | |
6834 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.51,0.53,.2)*Euler(0,0,rad(12+(idlenum2/2))), IdleSpeed) | |
6835 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(20),0), IdleSpeed) | |
6836 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,0.53,0)*Euler(0,0,rad(-12-(idlenum2/2))), IdleSpeed) | |
6837 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,rad(-12),0), IdleSpeed) | |
6838 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,-.1)*Euler(rad(-10-(idlenum2/2)),0,0), IdleSpeed) | |
6839 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,rad(-20),0), IdleSpeed) | |
6840 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-(1+(idlenum2/50)),0)*Euler(0,rad(-20),0), IdleSpeed) | |
6841 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), IdleSpeed) | |
6842 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-(1-(idlenum2/50)),.15)*Euler(0,rad(90),0), IdleSpeed) | |
6843 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(105),0), IdleSpeed) | |
6844 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-(1-(idlenum2/50)),.3)*Euler(0,rad(-90),0), IdleSpeed) | |
6845 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-115),0), IdleSpeed) | |
6846 | end | |
6847 | end | |
6848 | if Current_Anim == "Walking" and not Debounces.HasWep then | |
6849 | local WalkSpeed = .4 | |
6850 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.35,0)*Euler(rad(-25),0,rad(8)), WalkSpeed) | |
6851 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6852 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(80),0,rad(60)), WalkSpeed) | |
6853 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6854 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(3),0,0), WalkSpeed) | |
6855 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6856 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-10),0,0), WalkSpeed) | |
6857 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6858 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6859 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6860 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6861 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6862 | elseif Current_Anim == "Walking" and Debounces.HasWep then | |
6863 | if not Debounces.DuelWielding then | |
6864 | local WalkSpeed = .4 | |
6865 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1.3,.3)*Euler(rad(24),0,0), WalkSpeed) | |
6866 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6867 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), WalkSpeed) | |
6868 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), WalkSpeed) | |
6869 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,0.65,0)*Euler(0,0,rad(12)), WalkSpeed) | |
6870 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6871 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-.7,0.5,-1)*Euler(rad(85),0,rad(70)), WalkSpeed) | |
6872 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,0), WalkSpeed) | |
6873 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(7),0,0), WalkSpeed) | |
6874 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), WalkSpeed) | |
6875 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(-13),0,0), WalkSpeed) | |
6876 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), WalkSpeed) | |
6877 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6878 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), WalkSpeed) | |
6879 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6880 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), WalkSpeed) | |
6881 | end | |
6882 | end | |
6883 | if Current_Anim == "Falling" then | |
6884 | local FallSpeed = .5 | |
6885 | if Debounces.HasWep then | |
6886 | if not Debounces.DuelWielding then | |
6887 | HWeld.C0=clerp(HWeld.C0,Cf(0,-1,0)*Euler(rad(90),0,0), FallSpeed) | |
6888 | HWeld.C1=clerp(HWeld.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6889 | WepWeld.C0=clerp(WepWeld.C0,Cf(0,0,0)*Euler(rad(90),0,0), FallSpeed) | |
6890 | WepWeld.C1=clerp(WepWeld.C1,Cf(0,0,0)*Euler(0,rad(180),0), FallSpeed) | |
6891 | else | |
6892 | end | |
6893 | end | |
6894 | FRightShoulder.C0=clerp(FRightShoulder.C0,Cf(1.5,1,0)*Euler(rad(160),0,0), FallSpeed) | |
6895 | FRightShoulder.C1=clerp(FRightShoulder.C1,Cf(0,0.5,0)*Euler(0,0,rad(-15)), FallSpeed) | |
6896 | FLeftShoulder.C0=clerp(FLeftShoulder.C0,Cf(-1.5,1,0)*Euler(rad(160),0,0), FallSpeed) | |
6897 | FLeftShoulder.C1=clerp(FLeftShoulder.C1,Cf(0,0.5,0)*Euler(0,0,rad(15)), FallSpeed) | |
6898 | Neck.C0=clerp(Neck.C0,Cf(0,1.5,0)*Euler(rad(-20),0,0), FallSpeed) | |
6899 | Neck.C1=clerp(Neck.C1,Cf(0,0,0)*Euler(0,0,0), FallSpeed) | |
6900 | FRootJoint.C0=clerp(FRootJoint.C0,Cf(0,-1,0)*Euler(rad(10),0,0), FallSpeed) | |
6901 | FRootJoint.C1=clerp(FRootJoint.C1,Cf(0,-1,0)*Euler(0,0,0), FallSpeed) | |
6902 | RightHip.C0=clerp(RightHip.C0,Cf(1.5,-.5,-.8)*Euler(rad(-20),rad(90),0), FallSpeed) | |
6903 | RightHip.C1=clerp(RightHip.C1,Cf(1,1,0)*Euler(0,rad(90),0), FallSpeed) | |
6904 | LeftHip.C0=clerp(LeftHip.C0,Cf(-1.5,-1,0)*Euler(rad(8),rad(-90),0), FallSpeed) | |
6905 | LeftHip.C1=clerp(LeftHip.C1,Cf(-1,1,0)*Euler(0,rad(-90),0), FallSpeed) | |
6906 | end | |
6907 | end | |
6908 | end |