SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has been converted to FE by iPxter | |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | do | |
7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | Player = owner | |
88 | PlayerGui = Player.PlayerGui | |
89 | Cam = workspace.CurrentCamera | |
90 | Backpack = Player.Backpack | |
91 | Character = Player.Character | |
92 | Humanoid = Character.Humanoid | |
93 | - | Mouse = Player:GetMouse() |
93 | + | |
94 | SIZE = 1 | |
95 | local SINE = 0 | |
96 | IT = Instance.new | |
97 | CF = CFrame.new | |
98 | VT = Vector3.new | |
99 | RAD = math.rad | |
100 | C3 = Color3.new | |
101 | UD2 = UDim2.new | |
102 | BRICKC = BrickColor.new | |
103 | ANGLES = CFrame.Angles | |
104 | EULER = CFrame.fromEulerAnglesXYZ | |
105 | COS = math.cos | |
106 | ACOS = math.acos | |
107 | SIN = math.sin | |
108 | ASIN = math.asin | |
109 | ABS = math.abs | |
110 | MRANDOM = math.random | |
111 | FLOOR = math.floor | |
112 | ||
113 | --[[ | |
114 | local vel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso) | |
115 | vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -5 | |
116 | vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
117 | --]] | |
118 | --Credit To Rufus14 | |
119 | --I just edit it a bit ^_^ | |
120 | mouse = game.Players.LocalPlayer:GetMouse() | |
121 | function ragdoll() | |
122 | game.Players.LocalPlayer.Character.Archivable = true | |
123 | clone = game.Players.LocalPlayer.Character:Clone() | |
124 | clone.Parent = workspace | |
125 | for i,v in pairs(clone:GetChildren()) do | |
126 | if v.ClassName == "Script" or v.ClassName == "LocalScript" then | |
127 | v:destroy() | |
128 | end | |
129 | for i,p in pairs(v:GetChildren()) do | |
130 | if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then | |
131 | p:destroy() | |
132 | end | |
133 | end | |
134 | end | |
135 | for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
136 | if t.ClassName == "Accessory" or t.ClassName == "ForceField" then | |
137 | t:destroy() | |
138 | end | |
139 | end | |
140 | vel = Instance.new("BodyVelocity", clone.Torso) | |
141 | vel.Velocity = clone.Torso.CFrame.lookVector * -5 | |
142 | vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
143 | clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608" | |
144 | using = false | |
145 | hit = Instance.new("Sound", clone.Torso) | |
146 | hit.SoundId = "rbxassetid://260430060" | |
147 | hit.Volume = 5 | |
148 | hit1 = Instance.new("Sound", clone.Torso) | |
149 | hit1.SoundId = "rbxassetid://138087186" | |
150 | hit1.Volume = 5 | |
151 | hit2 = Instance.new("Sound", clone.Torso) | |
152 | hit2.SoundId = "rbxassetid://131237241" | |
153 | hit2.Volume = 5 | |
154 | hit3 = Instance.new("Sound", clone.Torso) | |
155 | hit3.SoundId = "rbxassetid://278062209" | |
156 | hit3.Volume = 5 | |
157 | hit3.TimePosition = 0.33 | |
158 | ded = Instance.new("Sound", clone.Torso) | |
159 | ded.SoundId = "rbxassetid://163154423" | |
160 | ded.Volume = 5 | |
161 | local leftarm = clone:findFirstChild("Left Arm") | |
162 | local rightrm = clone:findFirstChild("Right Arm") | |
163 | local leftleg = clone:findFirstChild("Left Leg") | |
164 | local rightleg = clone:findFirstChild("Right Leg") | |
165 | local head = clone:findFirstChild("Head") | |
166 | local welding = Instance.new("Weld", clone.Torso) | |
167 | welding.Part0 = clone.Torso | |
168 | welding.Part1 = head | |
169 | welding.C0 = welding.C0 * CFrame.new(0,1.5,0) | |
170 | for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
171 | if g.ClassName == "Part" then | |
172 | g:destroy() | |
173 | end | |
174 | end | |
175 | for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
176 | if h.ClassName == "Accesory" then | |
177 | h:destroy() | |
178 | end | |
179 | end | |
180 | game.Workspace.CurrentCamera.CameraSubject = head | |
181 | if leftleg ~= nil then | |
182 | local glue = Instance.new("Glue", clone.Torso) | |
183 | glue.Part0 = clone.Torso | |
184 | glue.Part1 = leftleg | |
185 | glue.Name = "Left leg" | |
186 | local collider = Instance.new("Part", leftleg) | |
187 | collider.Position = Vector3.new(0,999,0) | |
188 | collider.Size = Vector3.new(1.7, 1, 1) | |
189 | collider.Shape = "Cylinder" | |
190 | local weld = Instance.new("Weld", collider) | |
191 | weld.Part0 = leftleg | |
192 | weld.Part1 = collider | |
193 | weld.C0 = CFrame.Angles(0, 0, 80) | |
194 | collider.TopSurface = "Smooth" | |
195 | collider.BottomSurface = "Smooth" | |
196 | collider.formFactor = "Symmetric" | |
197 | glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
198 | glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
199 | collider.Transparency = 1 | |
200 | end | |
201 | ------------ | |
202 | if rightleg ~= nil then | |
203 | local glue1 = Instance.new("Glue", clone.Torso) | |
204 | glue1.Part0 = clone.Torso | |
205 | glue1.Part1 = rightleg | |
206 | glue1.Name = "Right leg" | |
207 | local collider1 = Instance.new("Part", rightleg) | |
208 | collider1.Position = Vector3.new(0,999,0) | |
209 | collider1.Size = Vector3.new(1.7, 1, 1) | |
210 | collider1.Shape = "Cylinder" | |
211 | local weld1 = Instance.new("Weld", collider1) | |
212 | weld1.Part0 = rightleg | |
213 | weld1.Part1 = collider1 | |
214 | weld1.C0 = CFrame.Angles(0, 0, 80) | |
215 | collider1.TopSurface = "Smooth" | |
216 | collider1.BottomSurface = "Smooth" | |
217 | collider1.formFactor = "Symmetric" | |
218 | glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
219 | glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
220 | collider1.Transparency = 1 | |
221 | end | |
222 | ------------ | |
223 | if rightrm ~= nil then | |
224 | local glue11 = Instance.new("Glue", clone.Torso) | |
225 | glue11.Part0 = clone.Torso | |
226 | glue11.Part1 = rightrm | |
227 | glue11.Name = "Right shoulder" | |
228 | local collider11 = Instance.new("Part", rightrm) | |
229 | collider11.Position = Vector3.new(0,9999,0) | |
230 | collider11.Size = Vector3.new(1.8,1,1) | |
231 | collider11.Shape = "Cylinder" | |
232 | local weld11 = Instance.new("Weld", collider11) | |
233 | weld11.Part0 = rightrm | |
234 | weld11.Part1 = collider11 | |
235 | weld11.C0 = CFrame.Angles(0, 0, 80) | |
236 | collider11.TopSurface = "Smooth" | |
237 | collider11.BottomSurface = "Smooth" | |
238 | collider11.formFactor = "Symmetric" | |
239 | glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
240 | glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
241 | collider11.Transparency = 1 | |
242 | end | |
243 | ------------ | |
244 | if leftarm ~= nil then | |
245 | local glue111 = Instance.new("Glue", clone.Torso) | |
246 | glue111.Part0 = clone.Torso | |
247 | glue111.Part1 = leftarm | |
248 | glue111.Name = "Left shoulder" | |
249 | local collider111 = Instance.new("Part", leftarm) | |
250 | collider111.Position = Vector3.new(0,9999,0) | |
251 | collider111.Size = Vector3.new(1.8,1,1) | |
252 | collider111.Shape = "Cylinder" | |
253 | local weld111 = Instance.new("Weld", collider111) | |
254 | weld111.Part0 = leftarm | |
255 | weld111.Part1 = collider111 | |
256 | weld111.C0 = CFrame.Angles(0, 0, 80) | |
257 | collider111.TopSurface = "Smooth" | |
258 | collider111.BottomSurface = "Smooth" | |
259 | collider111.formFactor = "Symmetric" | |
260 | glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
261 | glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
262 | collider111.Transparency = 1 | |
263 | ---------------- | |
264 | sensoring = Instance.new("Part", clone.Torso) | |
265 | sensoring.Size = Vector3.new(1.2,1.1,0.8) | |
266 | sensoring.CanCollide = false | |
267 | sensoring.Position = clone.Torso.Position | |
268 | local welder = Instance.new("Weld", sensoring) | |
269 | welder.Part0 = clone.Torso | |
270 | welder.Part1 = sensoring | |
271 | welder.C0 = welder.C0 * CFrame.new(0,0,1.05) | |
272 | sensoring.Transparency = 1 | |
273 | ----------------- | |
274 | sensoring1 = Instance.new("Part", clone.Torso) | |
275 | sensoring1.Size = Vector3.new(1.2,1.1,0.8) | |
276 | sensoring1.CanCollide = false | |
277 | sensoring1.Position = clone.Torso.Position | |
278 | local welder1 = Instance.new("Weld", sensoring) | |
279 | welder1.Part0 = clone.Torso | |
280 | welder1.Part1 = sensoring1 | |
281 | welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05) | |
282 | sensoring1.Transparency = 1 | |
283 | end | |
284 | clone.Name = game.Players.LocalPlayer.Character.Name.." (DEAD)" | |
285 | ded:Play() | |
286 | vel:destroy() | |
287 | wait(0.5) | |
288 | local function touch() | |
289 | if not using then | |
290 | using = true | |
291 | local Math = math.random(1,4) | |
292 | if Math == 1 then | |
293 | hit:Play() | |
294 | end | |
295 | if Math == 2 then | |
296 | hit1:Play() | |
297 | end | |
298 | if Math == 3 then | |
299 | hit2:Play() | |
300 | end | |
301 | if Math == 4 then | |
302 | hit3:Play() | |
303 | end | |
304 | wait(0.1) | |
305 | using = false | |
306 | end | |
307 | end | |
308 | sensoring.Touched:connect(touch) | |
309 | sensoring1.Touched:connect(touch) | |
310 | wait(4.47) | |
311 | hit1.Volume = 0 | |
312 | hit2.Volume = 0 | |
313 | hit3.Volume = 0 | |
314 | hit.Volume = 0 | |
315 | end | |
316 | ||
317 | game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll) | |
318 | ||
319 | --di ent | |
320 | --------------------------------------- | |
321 | local insanityface={"1895698679"} | |
322 | local sine=0 | |
323 | Animation_Speed = 1.5 | |
324 | local CHANGE = 2 / Animation_Speed | |
325 | ----------------------- | |
326 | --[[ Name : WAOV2.2 ]]-- | |
327 | ------------------------------------------------------- | |
328 | --A script By makhail07, 2003boobear and XXUNORIBOASXX. | |
329 | ||
330 | --Discord Creterisk#2958 <- makhail07's discord | |
331 | ||
332 | --NOTE THIS SCRIPT WaS PURELY MADE FROM MY FUCKING IMAGINATION | |
333 | --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT | |
334 | --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT | |
335 | --YOU FUCKING SKIDS, | |
336 | --For Those who log/decompile this, If you sell or trade this, | |
337 | --and I find out who you are, i will take massive action. | |
338 | --:b: | |
339 | ------------------------------------------------------- | |
340 | ||
341 | local FavIDs = { | |
342 | 340106355, --Nefl Crystals | |
343 | 927529620, --Dimension | |
344 | 876981900, --Fantasy | |
345 | 398987889, --Ordinary Days | |
346 | 1117396305, --Oh wait, it's you. | |
347 | 885996042, --Action Winter Journey | |
348 | 919231299, --Sprawling Idiot Effigy | |
349 | 743466274, --Good Day Sunshine | |
350 | 727411183, --Knife Fight | |
351 | 1402748531, --The Earth Is Counting On You! | |
352 | 595230126 --Robot Language | |
353 | } | |
354 | ||
355 | ||
356 | ||
357 | --The reality of my life isn't real but a Universe -Creterisk | |
358 | --All people can be nice, Even if you don't think so. -2003boobear | |
359 | --The past can be horrible, but the future will be better, so forget the past and move-onward. -XXUNORIBOASXX | |
360 | wait() | |
361 | local plr = game:service'Players'.LocalPlayer | |
362 | local char = plr.Character | |
363 | local hum = char.Humanoid | |
364 | local hed = char.Head | |
365 | local root = char.HumanoidRootPart | |
366 | local rootj = root.RootJoint | |
367 | local tors = char.Torso | |
368 | local ra = char["Right Arm"] | |
369 | local la = char["Left Arm"] | |
370 | local rl = char["Right Leg"] | |
371 | local ll = char["Left Leg"] | |
372 | local neck = tors["Neck"] | |
373 | local mouse = plr:GetMouse() | |
374 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
375 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
376 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
377 | local maincolor = BrickColor.new("Dark green") | |
378 | exploitable = true | |
379 | local Player = game.Players.localPlayer | |
380 | local Character = Player.Character | |
381 | local Humanoid = Character.Humanoid | |
382 | local Mouse = Player:GetMouse() | |
383 | local LeftArm = Character["Left Arm"] | |
384 | local RightArm = Character["Right Arm"] | |
385 | local LeftLeg = Character["Left Leg"] | |
386 | local RightLeg = Character["Right Leg"] | |
387 | local Head = Character.Head | |
388 | local Torso = Character.Torso | |
389 | ------------------------------------------------------- | |
390 | --Start Whitelist and Invincibility-- | |
391 | ------------------------------------------------------- | |
392 | ff = Instance.new("ForceField",char) | |
393 | ff.Visible = false | |
394 | hum.Name = "Base" | |
395 | hum.MaxHealth = 1.0E298 | |
396 | hum.Health = 1.0E298 | |
397 | game:GetService("RunService"):BindToRenderStep("Bbae", 0, function() | |
398 | if hum.Health > 0.1 and hum.Health < 1.0E298 then | |
399 | hum.MaxHealth = 1.0E298 | |
400 | hum.Health = 1.0E298 | |
401 | end | |
402 | end) | |
403 | ------------------------------------------------------- | |
404 | --End Whitelist and Invincibility-- | |
405 | ------------------------------------------------------- | |
406 | local Hair = Instance.new("Part", char) | |
407 | Hair.Name = "Hair" | |
408 | Hair.CanCollide = false | |
409 | Hair.BrickColor = BrickColor.new("Institutional white") | |
410 | Hair.Transparency = 0 | |
411 | Hair.Material = "Plastic" | |
412 | Hair.Size = Vector3.new(1, 1, 2) | |
413 | Hair.TopSurface = Enum.SurfaceType.Smooth | |
414 | Hair.BottomSurface = Enum.SurfaceType.Smooth | |
415 | ||
416 | local Weld = Instance.new("Weld", Hair) | |
417 | Weld.Part0 = hed | |
418 | Weld.Part1 = Hair | |
419 | Weld.C1 = CFrame.new(0, -.6, 0) | |
420 | Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0) | |
421 | ||
422 | local M2 = Instance.new("SpecialMesh") | |
423 | M2.Parent = Hair | |
424 | M2.MeshId = "http://www.roblox.com/asset/?id=13640868" | |
425 | M2.TextureId = "http://www.roblox.com/asset/?id=18987684" | |
426 | M2.Scale = Vector3.new(1, 1, 1) | |
427 | ------------------------------------------------------- | |
428 | for i,v in pairs(char:children()) do | |
429 | if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then | |
430 | v:Remove() | |
431 | end | |
432 | end | |
433 | shirt = Instance.new("Shirt", char) | |
434 | shirt.Name = "Shirt" | |
435 | pants = Instance.new("Pants", char) | |
436 | pants.Name = "Pants" | |
437 | char.Shirt.ShirtTemplate = "rbxassetid://676428254" | |
438 | char.Pants.PantsTemplate = "rbxassetid://676428351" | |
439 | ------------------------------------------------------- | |
440 | -------------- | |
441 | ||
442 | warn("WhAT ANOTHER ONE V2.1 IS FINALLY HERE!") | |
443 | ||
444 | warn("I hope you enjoy.") | |
445 | ||
446 | warn("Credit to makhail07, 2003boobear and XXUNORIBOASXX!") | |
447 | ||
448 | warn("Edited by saba1520") | |
449 | ||
450 | ------------------------------------------------------- | |
451 | --Start Good Stuff-- | |
452 | ------------------------------------------------------- | |
453 | cam = game.Workspace.CurrentCamera | |
454 | CF = CFrame.new | |
455 | VT = Vector3.new | |
456 | angles = CFrame.Angles | |
457 | attack = false | |
458 | Euler = CFrame.fromEulerAnglesXYZ | |
459 | Rad = math.rad | |
460 | IT = Instance.new | |
461 | BrickC = BrickColor.new | |
462 | Cos = math.cos | |
463 | COS = math.cos | |
464 | Acos = math.acos | |
465 | Sin = math.sin | |
466 | Asin = math.asin | |
467 | Abs = math.abs | |
468 | Mrandom = math.random | |
469 | Floor = math.floor | |
470 | ------------------------------------------------------- | |
471 | --End Good Stuff-- | |
472 | ------------------------------------------------------- | |
473 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
474 | RSH, LSH = nil, nil | |
475 | RW = Instance.new("Weld") | |
476 | LW = Instance.new("Weld") | |
477 | RH = tors["Right Hip"] | |
478 | LH = tors["Left Hip"] | |
479 | RSH = tors["Right Shoulder"] | |
480 | LSH = tors["Left Shoulder"] | |
481 | RSH.Parent = nil | |
482 | LSH.Parent = nil | |
483 | RW.Name = "RW" | |
484 | RW.Part0 = tors | |
485 | RW.C0 = CF(1.5, 0.5, 0) | |
486 | RW.C1 = CF(0, 0.5, 0) | |
487 | RW.Part1 = ra | |
488 | RW.Parent = tors | |
489 | LW.Name = "LW" | |
490 | LW.Part0 = tors | |
491 | LW.C0 = CF(-1.5, 0.5, 0) | |
492 | LW.C1 = CF(0, 0.5, 0) | |
493 | LW.Part1 = la | |
494 | LW.Parent = tors | |
495 | Effects = {} | |
496 | ------------------------------------------------------- | |
497 | --Start HeartBeat-- | |
498 | ------------------------------------------------------- | |
499 | ArtificialHB = Instance.new("BindableEvent", script) | |
500 | ArtificialHB.Name = "Heartbeat" | |
501 | script:WaitForChild("Heartbeat") | |
502 | ||
503 | frame = 1 / 60 | |
504 | tf = 0 | |
505 | allowframeloss = false | |
506 | tossremainder = false | |
507 | ||
508 | ||
509 | lastframe = tick() | |
510 | script.Heartbeat:Fire() | |
511 | ||
512 | ||
513 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
514 | tf = tf + s | |
515 | if tf >= frame then | |
516 | if allowframeloss then | |
517 | script.Heartbeat:Fire() | |
518 | lastframe = tick() | |
519 | else | |
520 | for i = 1, math.floor(tf / frame) do | |
521 | script.Heartbeat:Fire() | |
522 | end | |
523 | lastframe = tick() | |
524 | end | |
525 | if tossremainder then | |
526 | tf = 0 | |
527 | else | |
528 | tf = tf - frame * math.floor(tf / frame) | |
529 | end | |
530 | end | |
531 | end) | |
532 | ------------------------------------------------------- | |
533 | --End HeartBeat-- | |
534 | ------------------------------------------------------- | |
535 | ||
536 | local ohno = Instance.new("Sound") | |
537 | ohno.Parent = hed | |
538 | ohno.Volume = 10 | |
539 | ohno.Pitch = 1 | |
540 | ohno.Looped = true | |
541 | ||
542 | local bass = Instance.new("Sound") --why | |
543 | bass.Parent = hed | |
544 | bass.Volume = 7 | |
545 | bass.Pitch = 1 | |
546 | bass.SoundId = "http://www.roblox.com/asset/?id=1087356234" | |
547 | bass.Looped = true | |
548 | ||
549 | meme = Instance.new("Sound", hed) | |
550 | meme.SoundId = "http://www.roblox.com/asset/?id=291151190" | |
551 | meme.Volume = 10 | |
552 | meme.Pitch = 1 | |
553 | meme.Looped = true | |
554 | meme.TimePosition = 1 | |
555 | ||
556 | TAUNT = Instance.new("Sound", tors) | |
557 | TAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994137" | |
558 | TAUNT.Volume = 10 | |
559 | TAUNT.Pitch = 1 | |
560 | TAUNT.Looped = false | |
561 | TAUNT.TimePosition = 0.12 | |
562 | ||
563 | chargeup = Instance.new("Sound", hed) | |
564 | chargeup.SoundId = "http://www.roblox.com/asset/?id=527276541" | |
565 | chargeup.Volume = 10 | |
566 | chargeup.Pitch = 1 | |
567 | chargeup.Looped = true | |
568 | chargeup.TimePosition = 1 | |
569 | ||
570 | BTAUNT = Instance.new("Sound", tors) | |
571 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1535995263" | |
572 | BTAUNT.Volume = 10 | |
573 | BTAUNT.Pitch = 1 | |
574 | BTAUNT.Looped = false | |
575 | BTAUNT.TimePosition = 0.2 | |
576 | ||
577 | NOTAUNT = Instance.new("Sound", tors) | |
578 | NOTAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994940" | |
579 | NOTAUNT.Volume = 10 | |
580 | NOTAUNT.Pitch = 1 | |
581 | NOTAUNT.Looped = false | |
582 | NOTAUNT.TimePosition = 0.2 | |
583 | ||
584 | NOSOUND = Instance.new("Sound", tors) | |
585 | NOSOUND.SoundId = "http://www.roblox.com/asset/?id=135017578" | |
586 | NOSOUND.Volume = 10 | |
587 | NOSOUND.Pitch = 1 | |
588 | NOSOUND.Looped = false | |
589 | NOSOUND.TimePosition = 0.2 | |
590 | ||
591 | ITAUNT = Instance.new("Sound", tors) | |
592 | ITAUNT.SoundId = "http://www.roblox.com/asset/?id=230255698" | |
593 | ITAUNT.Volume = 50 | |
594 | ITAUNT.Pitch = 1 | |
595 | ITAUNT.Looped = false | |
596 | ITAUNT.TimePosition = 0 | |
597 | ||
598 | BATAUNT = Instance.new("Sound", tors) | |
599 | BATAUNT.SoundId = "http://www.roblox.com/asset/?id=132514715" | |
600 | BATAUNT.Volume = 10 | |
601 | BATAUNT.Pitch = 1 | |
602 | BATAUNT.Looped = false | |
603 | BATAUNT.TimePosition = 0 | |
604 | ||
605 | pop = Instance.new("Sound", tors) | |
606 | pop.SoundId = "http://www.roblox.com/asset/?id=1460707372" | |
607 | pop.Volume = 10 | |
608 | pop.Pitch = 1 | |
609 | pop.Looped = false | |
610 | pop.TimePosition = 0 | |
611 | ||
612 | STAUNT = Instance.new("Sound", tors) | |
613 | STAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994940" | |
614 | STAUNT.Volume = 10 | |
615 | STAUNT.Pitch = 1 | |
616 | STAUNT.Looped = false | |
617 | STAUNT.TimePosition = 0.05 | |
618 | ||
619 | DTAUNT = Instance.new("Sound", tors) | |
620 | DTAUNT.SoundId = "http://www.roblox.com/asset/?id=1818153677" | |
621 | DTAUNT.Volume = 10 | |
622 | DTAUNT.Pitch = 1 | |
623 | DTAUNT.Looped = false | |
624 | DTAUNT.TimePosition = 0 | |
625 | ||
626 | sex = Instance.new("Sound", tors) | |
627 | sex.SoundId = "http://www.roblox.com/asset/?id=300208779" | |
628 | sex.Volume = 10 | |
629 | sex.Pitch = 1 | |
630 | sex.Looped = false | |
631 | sex.TimePosition = 0 | |
632 | ||
633 | so = Instance.new("Sound", tors) | |
634 | so.SoundId = "http://www.roblox.com/asset/?id=449394892" | |
635 | so.Volume = 10 | |
636 | so.Pitch = 1 | |
637 | so.Looped = false | |
638 | so.TimePosition = 0 | |
639 | ||
640 | LAZOR = Instance.new("Sound", ra) | |
641 | LAZOR.SoundId = "http://www.roblox.com/asset/?id=201858045" | |
642 | LAZOR.Volume = 10 | |
643 | LAZOR.Pitch = 0.7 | |
644 | LAZOR.Looped = false | |
645 | LAZOR.TimePosition = 0 | |
646 | ||
647 | WTF = Instance.new("Sound", tors) | |
648 | WTF.SoundId = "http://www.roblox.com/asset/?id=135017578" | |
649 | WTF.Volume = 10 | |
650 | WTF.Pitch = 1 | |
651 | WTF.Looped = false | |
652 | WTF.TimePosition = 0 | |
653 | ||
654 | MERKIO = Instance.new("Sound", tors) --why | |
655 | MERKIO.SoundId = "http://www.roblox.com/asset/?id=1003012899" | |
656 | MERKIO.Volume = 5467543465 | |
657 | MERKIO.Pitch = 1 | |
658 | MERKIO.Looped = false | |
659 | MERKIO.TimePosition = 0 | |
660 | ||
661 | Cause_Im_having_a_good_time_having_a_good_time = Instance.new("Sound", hed) --DONT STOP ME NOOOOOOOOOWWWWWWWW | |
662 | Cause_Im_having_a_good_time_having_a_good_time.SoundId = "http://www.roblox.com/asset/?id=1064109642" | |
663 | Cause_Im_having_a_good_time_having_a_good_time.Volume = 10 | |
664 | Cause_Im_having_a_good_time_having_a_good_time.Pitch = 1 | |
665 | Cause_Im_having_a_good_time_having_a_good_time.Looped = false | |
666 | Cause_Im_having_a_good_time_having_a_good_time.TimePosition = 35.3 | |
667 | ||
668 | ------------------------------------------------------- | |
669 | --Start Important Functions-- | |
670 | ------------------------------------------------------- | |
671 | function MakeForm(PART,TYPE) | |
672 | if TYPE == "Cyl" then | |
673 | local MSH = IT("CylinderMesh",PART) | |
674 | elseif TYPE == "Ball" then | |
675 | local MSH = IT("SpecialMesh",PART) | |
676 | MSH.MeshType = "Sphere" | |
677 | elseif TYPE == "Wedge" then | |
678 | local MSH = IT("SpecialMesh",PART) | |
679 | MSH.MeshType = "Wedge" | |
680 | end | |
681 | end | |
682 | ||
683 | function chatfunc(text, color) | |
684 | local chat = coroutine.wrap(function() | |
685 | if char:FindFirstChild("TalkingBillBoard") ~= nil then | |
686 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
687 | end | |
688 | local naeeym2 = Instance.new("BillboardGui", char) | |
689 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
690 | naeeym2.StudsOffset = Vector3.new(0, 5, 0) | |
691 | naeeym2.Adornee = hed | |
692 | naeeym2.Name = "TalkingBillBoard" | |
693 | local tecks2 = Instance.new("TextLabel", naeeym2) | |
694 | tecks2.BackgroundTransparency = 1 | |
695 | tecks2.BorderSizePixel = 0 | |
696 | tecks2.Text = "" | |
697 | tecks2.Font = "SciFi" | |
698 | tecks2.TextSize = 30 | |
699 | tecks2.TextStrokeTransparency = 0 | |
700 | tecks2.TextColor3 = color | |
701 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
702 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
703 | local tecks3 = Instance.new("TextLabel", naeeym2) | |
704 | tecks3.BackgroundTransparency = 1 | |
705 | tecks3.BorderSizePixel = 0 | |
706 | tecks3.Text = "" | |
707 | tecks3.Font = "SciFi" | |
708 | tecks3.TextSize = 30 | |
709 | tecks3.TextStrokeTransparency = 0 | |
710 | tecks3.TextColor3 = Color3.new(0, 0, 0) | |
711 | tecks3.TextStrokeColor3 = color | |
712 | tecks3.Size = UDim2.new(1, 0, 0.5, 0) | |
713 | coroutine.resume(coroutine.create(function() | |
714 | while true do | |
715 | swait(1) | |
716 | tecks2.TextColor3 = BrickColor.random().Color | |
717 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
718 | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
719 | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
720 | tecks2.Rotation = math.random(-5, 5) | |
721 | tecks3.Rotation = math.random(-5, 5) | |
722 | end | |
723 | end)) | |
724 | for i = 1, string.len(text) do | |
725 | CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115) | |
726 | tecks2.Text = string.sub(text, 1, i) | |
727 | tecks3.Text = string.sub(text, 1, i) | |
728 | swait(1) | |
729 | end | |
730 | wait(1) | |
731 | local randomrot = math.random(1, 2) | |
732 | if randomrot == 1 then | |
733 | for i = 1, 50 do | |
734 | swait() | |
735 | tecks2.Rotation = tecks2.Rotation - 0.75 | |
736 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
737 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
738 | tecks3.Rotation = tecks2.Rotation + 0.75 | |
739 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
740 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
741 | end | |
742 | elseif randomrot == 2 then | |
743 | for i = 1, 50 do | |
744 | swait() | |
745 | tecks2.Rotation = tecks2.Rotation + 0.75 | |
746 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
747 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
748 | tecks3.Rotation = tecks2.Rotation - 0.75 | |
749 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
750 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
751 | end | |
752 | end | |
753 | naeeym2:Destroy() | |
754 | end) | |
755 | chat() | |
756 | end | |
757 | ||
758 | function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) | |
759 | local type = type | |
760 | local rng = Instance.new("Part", char) | |
761 | rng.Anchored = true | |
762 | rng.BrickColor = color | |
763 | rng.CanCollide = false | |
764 | rng.FormFactor = 3 | |
765 | rng.Name = "Ring" | |
766 | rng.Material = "Neon" | |
767 | rng.Size = Vector3.new(1, 1, 1) | |
768 | rng.Transparency = 0 | |
769 | rng.TopSurface = 0 | |
770 | rng.BottomSurface = 0 | |
771 | rng.CFrame = pos | |
772 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
773 | local rngm = Instance.new("SpecialMesh", rng) | |
774 | rngm.MeshType = "Sphere" | |
775 | rngm.Scale = Vector3.new(x1, y1, z1) | |
776 | local scaler2 = 1 | |
777 | local speeder = FastSpeed | |
778 | if type == "Add" then | |
779 | scaler2 = 1 * value | |
780 | elseif type == "Divide" then | |
781 | scaler2 = 1 / value | |
782 | end | |
783 | coroutine.resume(coroutine.create(function() | |
784 | for i = 0, 10 / bonuspeed, 0.1 do | |
785 | swait() | |
786 | if type == "Add" then | |
787 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
788 | elseif type == "Divide" then | |
789 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
790 | end | |
791 | rng.BrickColor = BrickColor.random() | |
792 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
793 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
794 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
795 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
796 | end | |
797 | rng:Destroy() | |
798 | end)) | |
799 | end | |
800 | ||
801 | function SoulSteal(dude) | |
802 | if dude.Name ~= char then | |
803 | local bgf = IT("BodyGyro", dude.Head) | |
804 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
805 | local val = IT("BoolValue", dude) | |
806 | val.Name = "IsHit" | |
807 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
808 | local soulst = coroutine.wrap(function() | |
809 | local soul = Instance.new("Part",dude) | |
810 | soul.Size = Vector3.new(1,1,1) | |
811 | soul.CanCollide = false | |
812 | soul.Anchored = false | |
813 | soul.Position = torso.Position | |
814 | soul.Transparency = 1 | |
815 | local PartEmmit1 = IT("ParticleEmitter", soul) | |
816 | PartEmmit1.LightEmission = 1 | |
817 | PartEmmit1.Texture = "rbxassetid://569507414" | |
818 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
819 | PartEmmit1.Rate = 250 | |
820 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
821 | PartEmmit1.Size = NumberSequence.new({ | |
822 | NumberSequenceKeypoint.new(0, 1, 0), | |
823 | NumberSequenceKeypoint.new(1, 0, 0) | |
824 | }) | |
825 | PartEmmit1.Transparency = NumberSequence.new({ | |
826 | NumberSequenceKeypoint.new(0, 0, 0), | |
827 | NumberSequenceKeypoint.new(1, 1, 0) | |
828 | }) | |
829 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
830 | PartEmmit1.VelocitySpread = 30000 | |
831 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
832 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
833 | local BodPoss = IT("BodyPosition", soul) | |
834 | BodPoss.P = 3000 | |
835 | BodPoss.D = 1000 | |
836 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
837 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
838 | wait(1.6) | |
839 | soul.Touched:connect(function(hit) | |
840 | if hit.Parent == char then | |
841 | soul:Destroy() | |
842 | end | |
843 | end) | |
844 | wait(1.2) | |
845 | while soul do | |
846 | swait() | |
847 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
848 | BodPoss.Position = tors.Position | |
849 | end | |
850 | end) | |
851 | soulst() | |
852 | end | |
853 | end | |
854 | function FaceMouse() | |
855 | local Cam = workspace.CurrentCamera | |
856 | return { | |
857 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
858 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
859 | } | |
860 | end | |
861 | ||
862 | function Clerp(a, b, t) | |
863 | local qa = {QuaternionFromCFrame(a)} | |
864 | local qb = {QuaternionFromCFrame(b)} | |
865 | local ax, ay, az = a.x, a.y, a.z | |
866 | local bx, by, bz = b.x, b.y, b.z | |
867 | local _t = 1 - t | |
868 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
869 | end | |
870 | ||
871 | function Eviscerate(dude) | |
872 | if dude.Name ~= char then | |
873 | local bgf = IT("BodyGyro", dude.Head) | |
874 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
875 | local val = IT("BoolValue", dude) | |
876 | val.Name = "IsHit" | |
877 | local ds = coroutine.wrap(function() | |
878 | dude:WaitForChild("Head"):BreakJoints() | |
879 | wait(0.5) | |
880 | target = nil | |
881 | coroutine.resume(coroutine.create(function() | |
882 | for i, v in pairs(dude:GetChildren()) do | |
883 | if v:IsA("Accessory") then | |
884 | v:Destroy() | |
885 | end | |
886 | if v:IsA("Humanoid") then | |
887 | v:Destroy() | |
888 | end | |
889 | if v:IsA("CharacterMesh") then | |
890 | v:Destroy() | |
891 | end | |
892 | if v:IsA("Model") then | |
893 | v:Destroy() | |
894 | end | |
895 | if v:IsA("Part") or v:IsA("MeshPart") then | |
896 | for x, o in pairs(v:GetChildren()) do | |
897 | if o:IsA("Decal") then | |
898 | o:Destroy() | |
899 | end | |
900 | end | |
901 | coroutine.resume(coroutine.create(function() | |
902 | v.Material = "Neon" | |
903 | v.CanCollide = false | |
904 | local PartEmmit1 = IT("ParticleEmitter", v) | |
905 | PartEmmit1.LightEmission = 1 | |
906 | PartEmmit1.Texture = "rbxassetid://284205403" | |
907 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
908 | PartEmmit1.Rate = 150 | |
909 | PartEmmit1.Lifetime = NumberRange.new(1) | |
910 | PartEmmit1.Size = NumberSequence.new({ | |
911 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
912 | NumberSequenceKeypoint.new(1, 0, 0) | |
913 | }) | |
914 | PartEmmit1.Transparency = NumberSequence.new({ | |
915 | NumberSequenceKeypoint.new(0, 0, 0), | |
916 | NumberSequenceKeypoint.new(1, 1, 0) | |
917 | }) | |
918 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
919 | PartEmmit1.VelocitySpread = 30000 | |
920 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
921 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
922 | local BodPoss = IT("BodyPosition", v) | |
923 | BodPoss.P = 3000 | |
924 | BodPoss.D = 1000 | |
925 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
926 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
927 | v.Color = maincolor.Color | |
928 | coroutine.resume(coroutine.create(function() | |
929 | for i = 0, 49 do | |
930 | swait(1) | |
931 | v.Transparency = v.Transparency + 0.08 | |
932 | end | |
933 | wait(0.5) | |
934 | PartEmmit1.Enabled = false | |
935 | wait(3) | |
936 | v:Destroy() | |
937 | dude:Destroy() | |
938 | end)) | |
939 | end)) | |
940 | end | |
941 | end | |
942 | end)) | |
943 | end) | |
944 | ds() | |
945 | end | |
946 | end | |
947 | ||
948 | function killnearest(position,range,maxstrength) | |
949 | for i,v in ipairs(workspace:GetChildren()) do | |
950 | local body = v:GetChildren() | |
951 | for part = 1, #body do | |
952 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
953 | if(body[part].Position - position).Magnitude < range then | |
954 | if v.ClassName == "Model" then | |
955 | v:BreakJoints() | |
956 | end | |
957 | table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2}) | |
958 | body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
959 | end | |
960 | end | |
961 | end | |
962 | if v.ClassName == "Part" then | |
963 | if v.Anchored == false and (v.Position - position).Magnitude < range then | |
964 | table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2}) | |
965 | v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength | |
966 | end | |
967 | end | |
968 | end | |
969 | end | |
970 | ||
971 | ||
972 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
973 | local NEWPART = IT("Part") | |
974 | NEWPART.formFactor = FORMFACTOR | |
975 | NEWPART.Reflectance = REFLECTANCE | |
976 | NEWPART.Transparency = TRANSPARENCY | |
977 | NEWPART.CanCollide = false | |
978 | NEWPART.Locked = true | |
979 | NEWPART.Anchored = true | |
980 | if ANCHOR == false then | |
981 | NEWPART.Anchored = false | |
982 | end | |
983 | NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR)) | |
984 | NEWPART.Name = NAME | |
985 | NEWPART.Size = SIZE | |
986 | NEWPART.Position = Torso.Position | |
987 | NEWPART.Material = MATERIAL | |
988 | NEWPART:BreakJoints() | |
989 | NEWPART.Parent = PARENT | |
990 | return NEWPART | |
991 | end | |
992 | ||
993 | local joyemoji = Instance.new('ParticleEmitter', tors) | |
994 | joyemoji.VelocitySpread = 2000 | |
995 | joyemoji.Lifetime = NumberRange.new(1) | |
996 | joyemoji.Speed = NumberRange.new(40) | |
997 | joy= {} | |
998 | for i=0, 19 do | |
999 | joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
1000 | end | |
1001 | joyemoji.Size = NumberSequence.new(joy) | |
1002 | joyemoji.Rate = 0 | |
1003 | joyemoji.LockedToPart = false | |
1004 | joyemoji.LightEmission = 0 | |
1005 | joyemoji.Texture = "rbxassetid://1176402123" | |
1006 | joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
1007 | ||
1008 | local LIT = Instance.new('ParticleEmitter', tors) | |
1009 | LIT.VelocitySpread = 2000 | |
1010 | LIT.Lifetime = NumberRange.new(1) | |
1011 | LIT.Speed = NumberRange.new(45) | |
1012 | nani= {} | |
1013 | for i=0, 19 do | |
1014 | nani[#nani+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
1015 | end | |
1016 | LIT.Size = NumberSequence.new(nani) | |
1017 | LIT.Rate = 0 | |
1018 | LIT.LockedToPart = false | |
1019 | LIT.LightEmission = 0 | |
1020 | LIT.Texture = "rbxassetid://1492670151" | |
1021 | LIT.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
1022 | ||
1023 | local ok = Instance.new('ParticleEmitter', tors) | |
1024 | ok.VelocitySpread = 2000 | |
1025 | ok.Lifetime = NumberRange.new(1) | |
1026 | ok.Speed = NumberRange.new(50) | |
1027 | cool= {} | |
1028 | for i=0, 19 do | |
1029 | cool[#cool+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
1030 | end | |
1031 | ok.Size = NumberSequence.new(cool) | |
1032 | ok.Rate = 0 | |
1033 | ok.LockedToPart = false | |
1034 | ok.LightEmission = 0 | |
1035 | ok.Texture = "rbxassetid://636768448" | |
1036 | ok.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
1037 | ||
1038 | local toast = Instance.new('ParticleEmitter', tors) | |
1039 | toast.VelocitySpread = 2000 | |
1040 | toast.Lifetime = NumberRange.new(1) | |
1041 | toast.Speed = NumberRange.new(60) | |
1042 | toasterstoasttoast= {} | |
1043 | for i=0, 19 do | |
1044 | toasterstoasttoast[#toasterstoasttoast+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
1045 | end | |
1046 | toast.Size = NumberSequence.new(toasterstoasttoast) | |
1047 | toast.Rate = 0 | |
1048 | toast.LockedToPart = false | |
1049 | toast.LightEmission = 0 | |
1050 | toast.Texture = "rbxassetid://436096230" | |
1051 | toast.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
1052 | ||
1053 | function WhatHuh() | |
1054 | attack = true | |
1055 | hum.WalkSpeed = 1.01 | |
1056 | CreateSound("130766865", hed, 10, 1) | |
1057 | Character.Head.face.Texture = "rbxassetid://276732672" | |
1058 | for i = 0,4,0.1 do | |
1059 | swait() | |
1060 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1061 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(26), Rad(0)), 0.3) | |
1062 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1063 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1064 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
1065 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
1066 | end | |
1067 | for i = 0,6.7,0.1 do | |
1068 | swait() | |
1069 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1070 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(-26), Rad(0)), 0.3) | |
1071 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1072 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1073 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
1074 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
1075 | end | |
1076 | for i = 0,8.1,0.1 do | |
1077 | swait() | |
1078 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1079 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(26), Rad(0)), 0.3) | |
1080 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1081 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1082 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
1083 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
1084 | end | |
1085 | for i = 0,1,0.1 do | |
1086 | swait() | |
1087 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1088 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(40), Rad(-26), Rad(0)), 0.3) | |
1089 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1090 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1091 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
1092 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
1093 | end | |
1094 | for i = 0,1,0.1 do | |
1095 | swait() | |
1096 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1097 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(40), Rad(26), Rad(0)), 0.3) | |
1098 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1099 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1100 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
1101 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
1102 | end | |
1103 | for i = 0,4,0.1 do | |
1104 | swait() | |
1105 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1106 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(-26), Rad(0)), 0.3) | |
1107 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1108 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1109 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
1110 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
1111 | end | |
1112 | attack = false | |
1113 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1114 | hum.WalkSpeed = 16 | |
1115 | end | |
1116 | ||
1117 | function EndMySufferingV3() --why | |
1118 | attack = true | |
1119 | hum.WalkSpeed = 1.01 | |
1120 | Character.Head.face.Texture = "rbxassetid://202210455" | |
1121 | local A = math.random(1,5) | |
1122 | if A == 1 then | |
1123 | meme.SoundId = "rbxassetid://295810519" | |
1124 | end | |
1125 | if A == 2 then | |
1126 | meme.SoundId = "rbxassetid://1124778077" | |
1127 | end | |
1128 | if A == 3 then | |
1129 | meme.SoundId = "rbxassetid://464157070" | |
1130 | end | |
1131 | if A == 4 then | |
1132 | meme.SoundId = "rbxassetid://146334595" | |
1133 | end | |
1134 | if A == 5 then | |
1135 | meme.SoundId = "rbxassetid://145536915" | |
1136 | end | |
1137 | meme:Play() | |
1138 | bass:Play() | |
1139 | joyemoji.Rate = 70 | |
1140 | LIT.Rate = 70 | |
1141 | ok.Rate = 70 | |
1142 | toast.Rate = 70 | |
1143 | ||
1144 | for i = 0,50,0.1 do | |
1145 | swait() | |
1146 | CameraEnshaking(1, 10) | |
1147 | bass.Parent = hed | |
1148 | meme.Parent = hed | |
1149 | rootj.C0=clerp(rootj.C0,RootCF*CF(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(15),math.rad(-10),math.rad(0)),0.15) | |
1150 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.3) | |
1151 | RH.C0=clerp(RH.C0,CF(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15) | |
1152 | LH.C0=clerp(LH.C0,CF(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-20)),0.15) | |
1153 | RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5+0.1*math.sin(sine/30), -0.6) * angles(math.rad(-0), math.rad(10), math.rad(-110)), 0.1) | |
1154 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-10), math.rad(-105)), 0.1) | |
1155 | end | |
1156 | bass:Stop() | |
1157 | meme:Stop() | |
1158 | joyemoji.Rate = 0 | |
1159 | LIT.Rate = 0 | |
1160 | ok.Rate = 0 | |
1161 | toast.Rate = 0 | |
1162 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1163 | attack = false | |
1164 | hum.WalkSpeed = 16 | |
1165 | end | |
1166 | ||
1167 | function slap() | |
1168 | attack = true | |
1169 | hum.WalkSpeed = 1.01 | |
1170 | local icri = CreateSound("1205111204", hed, 10, 1) | |
1171 | swait(165) | |
1172 | local FRAME = tors.CFrame | |
1173 | repeat | |
1174 | swait() | |
1175 | Character.Head.face.Texture = "rbxassetid://582931093" | |
1176 | CameraEnshaking(1, 10) | |
1177 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1178 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1179 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1180 | RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
1181 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1) | |
1182 | tors.CFrame = FRAME * CF(0,1,0) | |
1183 | swait() | |
1184 | tors.CFrame = FRAME | |
1185 | until icri.Playing == false | |
1186 | Character.Head.face.Texture = "rbxassetid://620619801" | |
1187 | attack = false | |
1188 | hum.WalkSpeed = 16 | |
1189 | end | |
1190 | ||
1191 | function EndMySufferingV2() | |
1192 | attack = true | |
1193 | for i = 0,6,0.1 do | |
1194 | swait() | |
1195 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1196 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1197 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1198 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1199 | RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.2 * Cos(sine / 20)) * angles(Rad(170), Rad(0), Rad(-15)), 0.1) | |
1200 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(15)), 0.1) | |
1201 | end | |
1202 | CreateSound("1093102664", hed, 10, 1) | |
1203 | CameraEnshaking(3, 8) | |
1204 | for i = 0,2,0.1 do | |
1205 | swait() | |
1206 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15) | |
1207 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(40), Rad(0)), 0.4) | |
1208 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1209 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1210 | RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.2 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-40)), 0.4) | |
1211 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(40)), 0.4) | |
1212 | end | |
1213 | hum.MaxHealth = 0 | |
1214 | ragdoll(char) | |
1215 | CreateSound("135488453", hed, 5, 1) | |
1216 | error("Seems like you just died.") | |
1217 | end | |
1218 | ||
1219 | function Clerp(a, b, t) | |
1220 | local qa = { | |
1221 | QuaternionFromCFrame(a) | |
1222 | } | |
1223 | local qb = { | |
1224 | QuaternionFromCFrame(b) | |
1225 | } | |
1226 | local ax, ay, az = a.x, a.y, a.z | |
1227 | local bx, by, bz = b.x, b.y, b.z | |
1228 | local _t = 1 - t | |
1229 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
1230 | end | |
1231 | ||
1232 | function Swait(NUMBER) | |
1233 | if NUMBER == 0 or NUMBER == nil then | |
1234 | ArtificialHB.Event:wait() | |
1235 | else | |
1236 | for i = 1, NUMBER do | |
1237 | ArtificialHB.Event:wait() | |
1238 | end | |
1239 | end | |
1240 | end | |
1241 | ||
1242 | function swait(num) | |
1243 | if num == 0 or num == nil then | |
1244 | game:service("RunService").Stepped:wait(0) | |
1245 | else | |
1246 | for i = 0, num do | |
1247 | game:service("RunService").Stepped:wait(0) | |
1248 | end | |
1249 | end | |
1250 | end | |
1251 | function thread(f) | |
1252 | coroutine.resume(coroutine.create(f)) | |
1253 | end | |
1254 | function clerp(a, b, t) | |
1255 | local qa = { | |
1256 | QuaternionFromCFrame(a) | |
1257 | } | |
1258 | local qb = { | |
1259 | QuaternionFromCFrame(b) | |
1260 | } | |
1261 | local ax, ay, az = a.x, a.y, a.z | |
1262 | local bx, by, bz = b.x, b.y, b.z | |
1263 | local _t = 1 - t | |
1264 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
1265 | end | |
1266 | function ShockWave(Part, cframe1, cframe2, Damage, Size) | |
1267 | coroutine.resume(coroutine.create(function() | |
1268 | local wave = CreatePart(workspace, "Neon", 0, 0, Neoncolor, "Effect", Vector3.new(1, 1, 5)) | |
1269 | wave.Anchored = true | |
1270 | wave.CFrame = Part.CFrame * cframe1 | |
1271 | local Msh = Create("SpecialMesh"){ | |
1272 | Parent = wave, | |
1273 | MeshType = "Sphere" | |
1274 | } | |
1275 | Cso("http://roblox.com/asset/?id=300916105", wave, 1, 1.3) | |
1276 | for i = 0, 1, 0.2 do | |
1277 | wait() | |
1278 | local dir = wave.CFrame.lookVector * -1 | |
1279 | local pos = rayCast(wave.Position, dir, 5, Character) | |
1280 | wave.CFrame = wave.CFrame * cframe2 | |
1281 | table.insert(Effects, { | |
1282 | wave, | |
1283 | "Sphere", | |
1284 | 0.01, | |
1285 | .03, | |
1286 | .03, | |
1287 | .03, | |
1288 | }) | |
1289 | end | |
1290 | end)) | |
1291 | end | |
1292 | ||
1293 | local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) | |
1294 | MakeForm(RightHole,"Cyl") | |
1295 | local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) | |
1296 | MakeForm(LeftHole,"Cyl") | |
1297 | ||
1298 | function getbloody(victim,amount) | |
1299 | local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size) | |
1300 | PART.CFrame = victim.CFrame | |
1301 | local HITPLAYERSOUNDS = {"356551938","264486467"} | |
1302 | Debris:AddItem(PART,5) | |
1303 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
1304 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
1305 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
1306 | local prtcl = asd:Clone() | |
1307 | prtcl.Parent = PART | |
1308 | prtcl:Emit(amount*10) | |
1309 | end | |
1310 | ||
1311 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher! | |
1312 | local type = type | |
1313 | local rng = Instance.new("Part", char) | |
1314 | rng.Anchored = true | |
1315 | rng.BrickColor = color | |
1316 | rng.CanCollide = false | |
1317 | rng.FormFactor = 3 | |
1318 | rng.Name = "Ring" | |
1319 | rng.Material = "Neon" | |
1320 | rng.Size = Vector3.new(1, 1, 1) | |
1321 | rng.Transparency = 0 | |
1322 | rng.TopSurface = 0 | |
1323 | rng.BottomSurface = 0 | |
1324 | rng.CFrame = pos | |
1325 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
1326 | local rngm = Instance.new("SpecialMesh", rng) | |
1327 | rngm.MeshType = "Brick" | |
1328 | rngm.Scale = VT(x1,y1,z1) | |
1329 | if rainbowmode == true then | |
1330 | rng.Color = Color3.new(r/255,g/255,b/255) | |
1331 | end | |
1332 | local scaler2 = 1 | |
1333 | local speeder = FastSpeed/10 | |
1334 | if type == "Add" then | |
1335 | scaler2 = 1*value | |
1336 | elseif type == "Divide" then | |
1337 | scaler2 = 1/value | |
1338 | end | |
1339 | coroutine.resume(coroutine.create(function() | |
1340 | for i = 0,10/bonuspeed,0.1 do | |
1341 | swait() | |
1342 | if type == "Add" then | |
1343 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
1344 | elseif type == "Divide" then | |
1345 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
1346 | end | |
1347 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
1348 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
1349 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
1350 | end | |
1351 | rng:Destroy() | |
1352 | end)) | |
1353 | end | |
1354 | New = function(Object, Parent, Name, Data) | |
1355 | local Object = Instance.new(Object) | |
1356 | for Index, Value in pairs(Data or {}) do | |
1357 | Object[Index] = Value | |
1358 | end | |
1359 | Object.Parent = Parent | |
1360 | Object.Name = Name | |
1361 | return Object | |
1362 | end | |
1363 | function QuaternionFromCFrame(cf) | |
1364 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
1365 | local trace = m00 + m11 + m22 | |
1366 | if trace > 0 then | |
1367 | local s = math.sqrt(1 + trace) | |
1368 | local recip = 0.5 / s | |
1369 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
1370 | else | |
1371 | local i = 0 | |
1372 | if m00 < m11 then | |
1373 | i = 1 | |
1374 | end | |
1375 | if m22 > (i == 0 and m00 or m11) then | |
1376 | i = 2 | |
1377 | end | |
1378 | if i == 0 then | |
1379 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
1380 | local recip = 0.5 / s | |
1381 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
1382 | elseif i == 1 then | |
1383 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
1384 | local recip = 0.5 / s | |
1385 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
1386 | elseif i == 2 then | |
1387 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
1388 | local recip = 0.5 / s | |
1389 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
1390 | end | |
1391 | end | |
1392 | end | |
1393 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
1394 | local xs, ys, zs = x + x, y + y, z + z | |
1395 | local wx, wy, wz = w * xs, w * ys, w * zs | |
1396 | local xx = x * xs | |
1397 | local xy = x * ys | |
1398 | local xz = x * zs | |
1399 | local yy = y * ys | |
1400 | local yz = y * zs | |
1401 | local zz = z * zs | |
1402 | 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)) | |
1403 | end | |
1404 | ||
1405 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1406 | function WACKYEFFECT(Table) | |
1407 | local TYPE = (Table.EffectType or "Sphere") | |
1408 | local SIZE = (Table.Size or VT(1,1,1)) | |
1409 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
1410 | local TRANSPARENCY = (Table.Transparency or 0) | |
1411 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
1412 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
1413 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
1414 | local ROTATION1 = (Table.RotationX or 0) | |
1415 | local ROTATION2 = (Table.RotationY or 0) | |
1416 | local ROTATION3 = (Table.RotationZ or 0) | |
1417 | local MATERIAL = (Table.Material or "Neon") | |
1418 | local COLOR = (Table.Color or C3(1,1,1)) | |
1419 | local TIME = (Table.Time or 45) | |
1420 | local SOUNDID = (Table.SoundID or nil) | |
1421 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
1422 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
1423 | coroutine.resume(coroutine.create(function() | |
1424 | local PLAYSSOUND = false | |
1425 | local SOUND = nil | |
1426 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
1427 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
1428 | PLAYSSOUND = true | |
1429 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
1430 | end | |
1431 | EFFECT.Color = COLOR | |
1432 | local MSH = nil | |
1433 | if TYPE == "Sphere" then | |
1434 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
1435 | elseif TYPE == "Block" then | |
1436 | MSH = IT("BlockMesh",EFFECT) | |
1437 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
1438 | elseif TYPE == "Wave" then | |
1439 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
1440 | elseif TYPE == "Ring" then | |
1441 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
1442 | elseif TYPE == "Slash" then | |
1443 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1444 | elseif TYPE == "Round Slash" then | |
1445 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1446 | elseif TYPE == "Swirl" then | |
1447 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
1448 | elseif TYPE == "Skull" then | |
1449 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
1450 | elseif TYPE == "Crystal" then | |
1451 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
1452 | end | |
1453 | if MSH ~= nil then | |
1454 | local MOVESPEED = nil | |
1455 | if MOVEDIRECTION ~= nil then | |
1456 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
1457 | end | |
1458 | local GROWTH = SIZE - ENDSIZE | |
1459 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
1460 | if TYPE == "Block" then | |
1461 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
1462 | else | |
1463 | EFFECT.CFrame = CFRAME | |
1464 | end | |
1465 | for LOOP = 1, TIME+1 do | |
1466 | Swait() | |
1467 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
1468 | if TYPE == "Wave" then | |
1469 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
1470 | end | |
1471 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
1472 | if TYPE == "Block" then | |
1473 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
1474 | else | |
1475 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
1476 | end | |
1477 | if MOVEDIRECTION ~= nil then | |
1478 | local ORI = EFFECT.Orientation | |
1479 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
1480 | EFFECT.Orientation = ORI | |
1481 | end | |
1482 | end | |
1483 | if PLAYSSOUND == false then | |
1484 | EFFECT:remove() | |
1485 | else | |
1486 | repeat Swait() until SOUND.Playing == false | |
1487 | EFFECT:remove() | |
1488 | end | |
1489 | else | |
1490 | if PLAYSSOUND == false then | |
1491 | EFFECT:remove() | |
1492 | else | |
1493 | repeat Swait() until SOUND.Playing == false | |
1494 | EFFECT:remove() | |
1495 | end | |
1496 | end | |
1497 | end)) | |
1498 | end | |
1499 | ||
1500 | ||
1501 | function QuaternionSlerp(a, b, t) | |
1502 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
1503 | local startInterp, finishInterp | |
1504 | if cosTheta >= 1.0E-4 then | |
1505 | if 1 - cosTheta > 1.0E-4 then | |
1506 | local theta = math.acos(cosTheta) | |
1507 | local invSinTheta = 1 / Sin(theta) | |
1508 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
1509 | finishInterp = Sin(t * theta) * invSinTheta | |
1510 | else | |
1511 | startInterp = 1 - t | |
1512 | finishInterp = t | |
1513 | end | |
1514 | elseif 1 + cosTheta > 1.0E-4 then | |
1515 | local theta = math.acos(-cosTheta) | |
1516 | local invSinTheta = 1 / Sin(theta) | |
1517 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
1518 | finishInterp = Sin(t * theta) * invSinTheta | |
1519 | else | |
1520 | startInterp = t - 1 | |
1521 | finishInterp = t | |
1522 | end | |
1523 | 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 | |
1524 | end | |
1525 | function rayCast(Position, Direction, Range, Ignore) | |
1526 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
1527 | end | |
1528 | local RbxUtility = LoadLibrary("RbxUtility") | |
1529 | local Create = RbxUtility.Create | |
1530 | ||
1531 | ------------------------------------------------------- | |
1532 | --Start Damage Function-- | |
1533 | ------------------------------------------------------- | |
1534 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1535 | if hit.Parent == nil then | |
1536 | return | |
1537 | end | |
1538 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1539 | for _, v in pairs(hit.Parent:children()) do | |
1540 | if v:IsA("Humanoid") then | |
1541 | h = v | |
1542 | end | |
1543 | end | |
1544 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
1545 | ||
1546 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
1547 | end | |
1548 | ||
1549 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
1550 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
1551 | if hit.Parent.DebounceHit.Value == true then | |
1552 | return | |
1553 | end | |
1554 | end | |
1555 | if insta == true then | |
1556 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
1557 | end | |
1558 | local c = Create("ObjectValue"){ | |
1559 | Name = "creator", | |
1560 | Value = game:service("Players").LocalPlayer, | |
1561 | Parent = h, | |
1562 | } | |
1563 | game:GetService("Debris"):AddItem(c, .5) | |
1564 | if HitSound ~= nil and HitPitch ~= nil then | |
1565 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
1566 | end | |
1567 | local Damage = math.random(minim, maxim) | |
1568 | local blocked = false | |
1569 | local block = hit.Parent:findFirstChild("Block") | |
1570 | if block ~= nil then | |
1571 | if block.className == "IntValue" then | |
1572 | if block.Value > 0 then | |
1573 | blocked = true | |
1574 | block.Value = block.Value - 1 | |
1575 | print(block.Value) | |
1576 | end | |
1577 | end | |
1578 | end | |
1579 | if blocked == false then | |
1580 | h.Health = h.Health - Damage | |
1581 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
1582 | else | |
1583 | h.Health = h.Health - (Damage / 2) | |
1584 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
1585 | end | |
1586 | if Type == "Knockdown" then | |
1587 | local hum = hit.Parent.Humanoid | |
1588 | hum.PlatformStand = true | |
1589 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1590 | swait(1) | |
1591 | HHumanoid.PlatformStand = false | |
1592 | end), hum) | |
1593 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
1594 | local bodvol = Create("BodyVelocity"){ | |
1595 | velocity = angle * knockback, | |
1596 | P = 5000, | |
1597 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1598 | Parent = hit, | |
1599 | } | |
1600 | local rl = Create("BodyAngularVelocity"){ | |
1601 | P = 3000, | |
1602 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1603 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1604 | Parent = hit, | |
1605 | } | |
1606 | game:GetService("Debris"):AddItem(bodvol, .5) | |
1607 | game:GetService("Debris"):AddItem(rl, .5) | |
1608 | elseif Type == "Random Guy" then | |
1609 | local vp = Create("BodyVelocity"){ | |
1610 | P = 500, | |
1611 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1612 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
1613 | } | |
1614 | if knockback > 0 then | |
1615 | vp.Parent = hit.Parent.Torso | |
1616 | end | |
1617 | game:GetService("Debris"):AddItem(vp, .5) | |
1618 | elseif Type == "Up" then | |
1619 | local bodyVelocity = Create("BodyVelocity"){ | |
1620 | velocity = Vector3.new(0, 20, 0), | |
1621 | P = 5000, | |
1622 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1623 | Parent = hit, | |
1624 | } | |
1625 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
1626 | elseif Type == "DarkUp" then | |
1627 | coroutine.resume(coroutine.create(function() | |
1628 | for i = 0, 1, 0.1 do | |
1629 | swait() | |
1630 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
1631 | end | |
1632 | end)) | |
1633 | local bodyVelocity = Create("BodyVelocity"){ | |
1634 | velocity = Vector3.new(0, 20, 0), | |
1635 | P = 5000, | |
1636 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1637 | Parent = hit, | |
1638 | } | |
1639 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1640 | elseif Type == "Snare" then | |
1641 | local bp = Create("BodyPosition"){ | |
1642 | P = 2000, | |
1643 | D = 100, | |
1644 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1645 | position = hit.Parent.Torso.Position, | |
1646 | Parent = hit.Parent.Torso, | |
1647 | } | |
1648 | game:GetService("Debris"):AddItem(bp, 1) | |
1649 | elseif Type == "Freeze" then | |
1650 | local BodPos = Create("BodyPosition"){ | |
1651 | P = 50000, | |
1652 | D = 1000, | |
1653 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1654 | position = hit.Parent.Torso.Position, | |
1655 | Parent = hit.Parent.Torso, | |
1656 | } | |
1657 | local BodGy = Create("BodyGyro") { | |
1658 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
1659 | P = 20e+003, | |
1660 | Parent = hit.Parent.Torso, | |
1661 | cframe = hit.Parent.Torso.CFrame, | |
1662 | } | |
1663 | hit.Parent.Torso.Anchored = true | |
1664 | coroutine.resume(coroutine.create(function(Part) | |
1665 | swait(1.5) | |
1666 | Part.Anchored = false | |
1667 | end), hit.Parent.Torso) | |
1668 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1669 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1670 | end | |
1671 | local debounce = Create("BoolValue"){ | |
1672 | Name = "DebounceHit", | |
1673 | Parent = hit.Parent, | |
1674 | Value = true, | |
1675 | } | |
1676 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1677 | c = Create("ObjectValue"){ | |
1678 | Name = "creator", | |
1679 | Value = Player, | |
1680 | Parent = h, | |
1681 | } | |
1682 | game:GetService("Debris"):AddItem(c, .5) | |
1683 | end | |
1684 | end | |
1685 | ------------------------------------------------------- | |
1686 | --End Damage Function-- | |
1687 | ------------------------------------------------------- | |
1688 | ||
1689 | ------------------------------------------------------- | |
1690 | --Start Damage Function Customization-- | |
1691 | ------------------------------------------------------- | |
1692 | function ShowDamage(Pos, Text, Time, Color) | |
1693 | local Rate = (1 / 30) | |
1694 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
1695 | local Text = (Text or "") | |
1696 | local Time = (Time or 2) | |
1697 | local Color = (Color or Color3.new(1, 0, 1)) | |
1698 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1699 | EffectPart.Anchored = true | |
1700 | local BillboardGui = Create("BillboardGui"){ | |
1701 | Size = UDim2.new(3, 0, 3, 0), | |
1702 | Adornee = EffectPart, | |
1703 | Parent = EffectPart, | |
1704 | } | |
1705 | local TextLabel = Create("TextLabel"){ | |
1706 | BackgroundTransparency = 1, | |
1707 | Size = UDim2.new(1, 0, 1, 0), | |
1708 | Text = Text, | |
1709 | Font = "Bodoni", | |
1710 | TextColor3 = Color, | |
1711 | TextScaled = true, | |
1712 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
1713 | Parent = BillboardGui, | |
1714 | } | |
1715 | game.Debris:AddItem(EffectPart, (Time)) | |
1716 | EffectPart.Parent = game:GetService("Workspace") | |
1717 | delay(0, function() | |
1718 | local Frames = (Time / Rate) | |
1719 | for Frame = 1, Frames do | |
1720 | wait(Rate) | |
1721 | local Percent = (Frame / Frames) | |
1722 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1723 | TextLabel.TextTransparency = Percent | |
1724 | end | |
1725 | if EffectPart and EffectPart.Parent then | |
1726 | EffectPart:Destroy() | |
1727 | end | |
1728 | end) | |
1729 | end | |
1730 | ------------------------------------------------------- | |
1731 | --End Damage Function Customization-- | |
1732 | ------------------------------------------------------- | |
1733 | ||
1734 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
1735 | for _, c in pairs(workspace:children()) do | |
1736 | local hum = c:findFirstChild("Humanoid") | |
1737 | if hum ~= nil then | |
1738 | local head = c:findFirstChild("Head") | |
1739 | if head ~= nil then | |
1740 | local targ = head.Position - Part.Position | |
1741 | local mag = targ.magnitude | |
1742 | if magni >= mag and c.Name ~= plr.Name then | |
1743 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
1744 | end | |
1745 | end | |
1746 | end | |
1747 | end | |
1748 | end | |
1749 | ||
1750 | ||
1751 | CFuncs = { | |
1752 | Part = { | |
1753 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1754 | local Part = Create("Part")({ | |
1755 | Parent = Parent, | |
1756 | Reflectance = Reflectance, | |
1757 | Transparency = Transparency, | |
1758 | CanCollide = false, | |
1759 | Locked = true, | |
1760 | BrickColor = BrickColor.new(tostring(BColor)), | |
1761 | Name = Name, | |
1762 | Size = Size, | |
1763 | Material = Material | |
1764 | }) | |
1765 | RemoveOutlines(Part) | |
1766 | return Part | |
1767 | end | |
1768 | }, | |
1769 | Mesh = { | |
1770 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1771 | local Msh = Create(Mesh)({ | |
1772 | Parent = Part, | |
1773 | Offset = OffSet, | |
1774 | Scale = Scale | |
1775 | }) | |
1776 | if Mesh == "SpecialMesh" then | |
1777 | Msh.MeshType = MeshType | |
1778 | Msh.MeshId = MeshId | |
1779 | end | |
1780 | return Msh | |
1781 | end | |
1782 | }, | |
1783 | Mesh = { | |
1784 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1785 | local Msh = Create(Mesh)({ | |
1786 | Parent = Part, | |
1787 | Offset = OffSet, | |
1788 | Scale = Scale | |
1789 | }) | |
1790 | if Mesh == "SpecialMesh" then | |
1791 | Msh.MeshType = MeshType | |
1792 | Msh.MeshId = MeshId | |
1793 | end | |
1794 | return Msh | |
1795 | end | |
1796 | }, | |
1797 | Weld = { | |
1798 | Create = function(Parent, Part0, Part1, C0, C1) | |
1799 | local Weld = Create("Weld")({ | |
1800 | Parent = Parent, | |
1801 | Part0 = Part0, | |
1802 | Part1 = Part1, | |
1803 | C0 = C0, | |
1804 | C1 = C1 | |
1805 | }) | |
1806 | return Weld | |
1807 | end | |
1808 | }, | |
1809 | Sound = { | |
1810 | Create = function(id, par, vol, pit) | |
1811 | coroutine.resume(coroutine.create(function() | |
1812 | local S = Create("Sound")({ | |
1813 | Volume = vol, | |
1814 | Pitch = pit or 1, | |
1815 | SoundId = id, | |
1816 | Parent = par or workspace | |
1817 | }) | |
1818 | wait() | |
1819 | S:play() | |
1820 | game:GetService("Debris"):AddItem(S, 6) | |
1821 | end)) | |
1822 | end | |
1823 | }, | |
1824 | ParticleEmitter = { | |
1825 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
1826 | local fp = Create("ParticleEmitter")({ | |
1827 | Parent = Parent, | |
1828 | Color = ColorSequence.new(Color1, Color2), | |
1829 | LightEmission = LightEmission, | |
1830 | Size = Size, | |
1831 | Texture = Texture, | |
1832 | Transparency = Transparency, | |
1833 | ZOffset = ZOffset, | |
1834 | Acceleration = Accel, | |
1835 | Drag = Drag, | |
1836 | LockedToPart = LockedToPart, | |
1837 | VelocityInheritance = VelocityInheritance, | |
1838 | EmissionDirection = EmissionDirection, | |
1839 | Enabled = Enabled, | |
1840 | Lifetime = LifeTime, | |
1841 | Rate = Rate, | |
1842 | Rotation = Rotation, | |
1843 | RotSpeed = RotSpeed, | |
1844 | Speed = Speed, | |
1845 | VelocitySpread = VelocitySpread | |
1846 | }) | |
1847 | return fp | |
1848 | end | |
1849 | } | |
1850 | } | |
1851 | function RemoveOutlines(part) | |
1852 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
1853 | end | |
1854 | function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1855 | local Part = Create("Part")({ | |
1856 | formFactor = FormFactor, | |
1857 | Parent = Parent, | |
1858 | Reflectance = Reflectance, | |
1859 | Transparency = Transparency, | |
1860 | CanCollide = false, | |
1861 | Locked = true, | |
1862 | BrickColor = BrickColor.new(tostring(BColor)), | |
1863 | Name = Name, | |
1864 | Size = Size, | |
1865 | Material = Material | |
1866 | }) | |
1867 | RemoveOutlines(Part) | |
1868 | return Part | |
1869 | end | |
1870 | function CreateMesh1(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1871 | local Msh = Create(Mesh)({ | |
1872 | Parent = Part, | |
1873 | Offset = OffSet, | |
1874 | Scale = Scale | |
1875 | }) | |
1876 | if Mesh == "SpecialMesh" then | |
1877 | Msh.MeshType = MeshType | |
1878 | Msh.MeshId = MeshId | |
1879 | end | |
1880 | return Msh | |
1881 | end | |
1882 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
1883 | local Weld = Create("Weld")({ | |
1884 | Parent = Parent, | |
1885 | Part0 = Part0, | |
1886 | Part1 = Part1, | |
1887 | C0 = C0, | |
1888 | C1 = C1 | |
1889 | }) | |
1890 | return Weld | |
1891 | end | |
1892 | ||
1893 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
1894 | local NEWWELD = IT(TYPE) | |
1895 | NEWWELD.Part0 = PART0 | |
1896 | NEWWELD.Part1 = PART1 | |
1897 | NEWWELD.C0 = C0 | |
1898 | NEWWELD.C1 = C1 | |
1899 | NEWWELD.Parent = PARENT | |
1900 | return NEWWELD | |
1901 | end | |
1902 | ||
1903 | local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0)) | |
1904 | ||
1905 | ------------------------------------------------------- | |
1906 | --Start Effect Function-- | |
1907 | ------------------------------------------------------- | |
1908 | EffectModel = Instance.new("Model", char) | |
1909 | Effects = { | |
1910 | Block = { | |
1911 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1912 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1913 | prt.Anchored = true | |
1914 | prt.CFrame = cframe | |
1915 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1916 | game:GetService("Debris"):AddItem(prt, 10) | |
1917 | if Type == 1 or Type == nil then | |
1918 | table.insert(Effects, { | |
1919 | prt, | |
1920 | "Block1", | |
1921 | delay, | |
1922 | x3, | |
1923 | y3, | |
1924 | z3, | |
1925 | msh | |
1926 | }) | |
1927 | elseif Type == 2 then | |
1928 | table.insert(Effects, { | |
1929 | prt, | |
1930 | "Block2", | |
1931 | delay, | |
1932 | x3, | |
1933 | y3, | |
1934 | z3, | |
1935 | msh | |
1936 | }) | |
1937 | else | |
1938 | table.insert(Effects, { | |
1939 | prt, | |
1940 | "Block3", | |
1941 | delay, | |
1942 | x3, | |
1943 | y3, | |
1944 | z3, | |
1945 | msh | |
1946 | }) | |
1947 | end | |
1948 | end | |
1949 | }, | |
1950 | Sphere = { | |
1951 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1952 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1953 | prt.Anchored = true | |
1954 | prt.CFrame = cframe | |
1955 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1956 | game:GetService("Debris"):AddItem(prt, 10) | |
1957 | table.insert(Effects, { | |
1958 | prt, | |
1959 | "Cylinder", | |
1960 | delay, | |
1961 | x3, | |
1962 | y3, | |
1963 | z3, | |
1964 | msh | |
1965 | }) | |
1966 | end | |
1967 | }, | |
1968 | Cylinder = { | |
1969 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1970 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1971 | prt.Anchored = true | |
1972 | prt.CFrame = cframe | |
1973 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1974 | game:GetService("Debris"):AddItem(prt, 10) | |
1975 | table.insert(Effects, { | |
1976 | prt, | |
1977 | "Cylinder", | |
1978 | delay, | |
1979 | x3, | |
1980 | y3, | |
1981 | z3, | |
1982 | msh | |
1983 | }) | |
1984 | end | |
1985 | }, | |
1986 | Wave = { | |
1987 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1988 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1989 | prt.Anchored = true | |
1990 | prt.CFrame = cframe | |
1991 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
1992 | game:GetService("Debris"):AddItem(prt, 10) | |
1993 | table.insert(Effects, { | |
1994 | prt, | |
1995 | "Cylinder", | |
1996 | delay, | |
1997 | x3 / 60, | |
1998 | y3 / 60, | |
1999 | z3 / 60, | |
2000 | msh | |
2001 | }) | |
2002 | end | |
2003 | }, | |
2004 | Ring = { | |
2005 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2006 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2007 | prt.Anchored = true | |
2008 | prt.CFrame = cframe | |
2009 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2010 | game:GetService("Debris"):AddItem(prt, 10) | |
2011 | table.insert(Effects, { | |
2012 | prt, | |
2013 | "Cylinder", | |
2014 | delay, | |
2015 | x3, | |
2016 | y3, | |
2017 | z3, | |
2018 | msh | |
2019 | }) | |
2020 | end | |
2021 | }, | |
2022 | Break = { | |
2023 | Create = function(brickcolor, cframe, x1, y1, z1) | |
2024 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
2025 | prt.Anchored = true | |
2026 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2027 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2028 | local num = math.random(10, 50) / 1000 | |
2029 | game:GetService("Debris"):AddItem(prt, 10) | |
2030 | table.insert(Effects, { | |
2031 | prt, | |
2032 | "Shatter", | |
2033 | num, | |
2034 | prt.CFrame, | |
2035 | math.random() - math.random(), | |
2036 | 0, | |
2037 | math.random(50, 100) / 100 | |
2038 | }) | |
2039 | end | |
2040 | }, | |
2041 | Spiral = { | |
2042 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2043 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2044 | prt.Anchored = true | |
2045 | prt.CFrame = cframe | |
2046 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2047 | game:GetService("Debris"):AddItem(prt, 10) | |
2048 | table.insert(Effects, { | |
2049 | prt, | |
2050 | "Cylinder", | |
2051 | delay, | |
2052 | x3, | |
2053 | y3, | |
2054 | z3, | |
2055 | msh | |
2056 | }) | |
2057 | end | |
2058 | }, | |
2059 | Push = { | |
2060 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2061 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2062 | prt.Anchored = true | |
2063 | prt.CFrame = cframe | |
2064 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2065 | game:GetService("Debris"):AddItem(prt, 10) | |
2066 | table.insert(Effects, { | |
2067 | prt, | |
2068 | "Cylinder", | |
2069 | delay, | |
2070 | x3, | |
2071 | y3, | |
2072 | z3, | |
2073 | msh | |
2074 | }) | |
2075 | end | |
2076 | } | |
2077 | } | |
2078 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
2079 | local fp = IT("Part") | |
2080 | fp.formFactor = formfactor | |
2081 | fp.Parent = parent | |
2082 | fp.Reflectance = reflectance | |
2083 | fp.Transparency = transparency | |
2084 | fp.CanCollide = false | |
2085 | fp.Locked = true | |
2086 | fp.BrickColor = brickcolor | |
2087 | fp.Name = name | |
2088 | fp.Size = size | |
2089 | fp.Position = tors.Position | |
2090 | RemoveOutlines(fp) | |
2091 | fp.Material = "Neon" | |
2092 | fp:BreakJoints() | |
2093 | return fp | |
2094 | end | |
2095 | ||
2096 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
2097 | local mesh = IT(Mesh) | |
2098 | mesh.Parent = part | |
2099 | if Mesh == "SpecialMesh" then | |
2100 | mesh.MeshType = meshtype | |
2101 | if meshid ~= "nil" then | |
2102 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
2103 | end | |
2104 | end | |
2105 | mesh.Offset = offset | |
2106 | mesh.Scale = scale | |
2107 | return mesh | |
2108 | end | |
2109 | ||
2110 | function MagicCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
2111 | local type = type | |
2112 | local rng = Instance.new("Part", char) | |
2113 | rng.Anchored = true | |
2114 | rng.BrickColor = color | |
2115 | rng.CanCollide = false | |
2116 | rng.FormFactor = 3 | |
2117 | rng.Name = "Ring" | |
2118 | rng.Material = "Neon" | |
2119 | rng.Size = Vector3.new(1, 1, 1) | |
2120 | rng.Transparency = 1 | |
2121 | rng.TopSurface = 0 | |
2122 | rng.BottomSurface = 0 | |
2123 | rng.CFrame = pos | |
2124 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
2125 | local rngm = Instance.new("SpecialMesh", rng) | |
2126 | rngm.MeshType = MType | |
2127 | rngm.Scale = Vector3.new(x1, y1, z1) | |
2128 | local scaler2 = 1 | |
2129 | local speeder = FastSpeed | |
2130 | if type == "Add" then | |
2131 | scaler2 = 1 * value | |
2132 | elseif type == "Divide" then | |
2133 | scaler2 = 1 / value | |
2134 | end | |
2135 | coroutine.resume(coroutine.create(function() | |
2136 | for i = 0, 10 / bonuspeed, 0.1 do | |
2137 | swait() | |
2138 | if type == "Add" then | |
2139 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
2140 | elseif type == "Divide" then | |
2141 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
2142 | end | |
2143 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
2144 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
2145 | rng.Transparency = rng.Transparency - 0.01 * bonuspeed | |
2146 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
2147 | end | |
2148 | rng:Destroy() | |
2149 | end)) | |
2150 | end | |
2151 | ||
2152 | function Cryo_Freeze() | |
2153 | attack = true | |
2154 | for i = 0,5.2,0.03 do | |
2155 | swait() | |
2156 | Effects.Block.Create(BrickC("Carnation pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
2157 | Effects.Block.Create(BrickC("Carnation pink"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
2158 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2159 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2160 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
2161 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
2162 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2163 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2164 | end | |
2165 | CreateSound("331666100", tors, 10, 1) | |
2166 | Effects.Ring.Create(BrickC("Carnation pink"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 27, 27, 27, 0.01) | |
2167 | for i = 1,3,0.1 do | |
2168 | hum.WalkSpeed = 0.10 | |
2169 | MagniDamage(tors, 400, 1, 10, 0, "Normal") | |
2170 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
2171 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
2172 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
2173 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
2174 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) | |
2175 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) | |
2176 | end | |
2177 | for i = 1,10,0.1 do | |
2178 | swait(10) | |
2179 | hum.WalkSpeed = 0.10 | |
2180 | MagniDamage(tors, 400, 1, 1, 0, "Normal") | |
2181 | Effects.Ring.Create(BrickC("Carnation pink"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 27, 27, 1, 0.02) | |
2182 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
2183 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
2184 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
2185 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
2186 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) | |
2187 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) | |
2188 | end | |
2189 | wait(.6) | |
2190 | attack = false | |
2191 | end | |
2192 | ||
2193 | function Painful_Stomp2() | |
2194 | attack = true | |
2195 | for i = 0,5.2,0.1 do | |
2196 | swait() | |
2197 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2198 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2199 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
2200 | LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
2201 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1) | |
2202 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1) | |
2203 | end | |
2204 | CreateSound("331666100", char, 10, 1) | |
2205 | Effects.Sphere.Create(BrickColor.Random("Carnation pink"), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2206 | Effects.Sphere.Create(BrickColor.Random("Carnation pink"), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2207 | Effects.Sphere.Create(BrickColor.Random("Carnation pink"), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2208 | Effects.Sphere.Create(BrickColor.Random("Carnation pink"), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2209 | Effects.Sphere.Create(BrickColor.Random("Carnation pink"), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
2210 | Effects.Sphere.Create(BrickColor.Random("Carnation pink"), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
2211 | Effects.Ring.Create(BrickColor.Random("Carnation pink"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
2212 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
2213 | if v:FindFirstChild("Head") then | |
2214 | Eviscerate(v) | |
2215 | end | |
2216 | end | |
2217 | coroutine.resume(coroutine.create(function() | |
2218 | for i = 0,2.8,0.1 do | |
2219 | swait() | |
2220 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
2221 | end | |
2222 | for i = 0,1.8,0.1 do | |
2223 | swait() | |
2224 | hum.CameraOffset = Vector3.new(0,0,0) | |
2225 | end | |
2226 | end)) | |
2227 | for i = 0,3.7,0.1 do | |
2228 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
2229 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2230 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15) | |
2231 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15) | |
2232 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2233 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2234 | end | |
2235 | wait(.6) | |
2236 | attack = false | |
2237 | end | |
2238 | ||
2239 | function Painful_Stomp() | |
2240 | attack = true | |
2241 | for i = 0,5.2,0.1 do | |
2242 | swait() | |
2243 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2244 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2245 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
2246 | LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
2247 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1) | |
2248 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1) | |
2249 | end | |
2250 | CreateSound("331666100", char, 10, 1) | |
2251 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2252 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2253 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2254 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
2255 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
2256 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
2257 | Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
2258 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
2259 | if v:FindFirstChild("Head") then | |
2260 | Eviscerate(v) | |
2261 | end | |
2262 | end | |
2263 | coroutine.resume(coroutine.create(function() | |
2264 | for i = 0,2.8,0.1 do | |
2265 | swait() | |
2266 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
2267 | end | |
2268 | for i = 0,1.8,0.1 do | |
2269 | swait() | |
2270 | hum.CameraOffset = Vector3.new(0,0,0) | |
2271 | end | |
2272 | end)) | |
2273 | for i = 0,3.7,0.1 do | |
2274 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
2275 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2276 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15) | |
2277 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15) | |
2278 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2279 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2280 | end | |
2281 | wait(.6) | |
2282 | attack = false | |
2283 | end | |
2284 | ||
2285 | function HAAAAA() --HTGJHYG | |
2286 | attack = true | |
2287 | hum.WalkSpeed = 0.30 | |
2288 | CreateSound("794081034", hed, 10, 1) | |
2289 | Character.Head.face.Texture = "rbxassetid://396389196" | |
2290 | for i = 0,2,0.1 do | |
2291 | swait() | |
2292 | CameraEnshaking(1, 2) | |
2293 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2294 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.3) | |
2295 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2296 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2297 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(140), Rad(60)), 0.1) | |
2298 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-140), Rad(-60)), 0.1) | |
2299 | end | |
2300 | for i = 0,14.7,0.1 do | |
2301 | swait() | |
2302 | CameraEnshaking(1, 3) | |
2303 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 1, -1 + 0.1) * angles(Rad(-75), Rad(0), Rad(0)), 0.15) | |
2304 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(65), Rad(0), Rad(0)), 0.3) | |
2305 | RH.C0 = clerp(RH.C0, CF(1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-70)), 0.15) | |
2306 | LH.C0 = clerp(LH.C0, CF(-1.1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(70)), 0.15) | |
2307 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(40)), 0.1) | |
2308 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(-0), Rad(-40)), 0.1) | |
2309 | end | |
2310 | attack = false | |
2311 | Character.Head.face.Texture = "rbxassetid://620619801" | |
2312 | hum.WalkSpeed = 16 | |
2313 | end | |
2314 | ||
2315 | function Hell_From_Above() | |
2316 | local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
2317 | attack = true | |
2318 | hum.WalkSpeed = 3.01 | |
2319 | for i = 0,6.3,0.1 do | |
2320 | swait() | |
2321 | Effects.Block.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
2322 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2323 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2324 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
2325 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
2326 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
2327 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
2328 | end | |
2329 | CreateSound("142070127", tors, 10, 1) | |
2330 | Effects.Sphere.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
2331 | Effects.Sphere.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
2332 | Effects.Sphere.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
2333 | Effects.Sphere.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
2334 | for i = 0,3.8,0.1 do | |
2335 | swait() | |
2336 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2337 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2338 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
2339 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
2340 | RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
2341 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
2342 | end | |
2343 | CreateSound("224339201", tors, 10, 0.5) | |
2344 | for i = 1, 3 do | |
2345 | MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp") | |
2346 | UhhhhThing.CFrame = mouse.Hit | |
2347 | Effects.Cylinder.Create(BrickColor.new("Really black"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05) | |
2348 | Effects.Block.Create(BrickColor.new("Really black"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05) | |
2349 | end | |
2350 | UhhhhThing:Destroy() | |
2351 | attack = false | |
2352 | hum.WalkSpeed = 16 | |
2353 | end | |
2354 | ||
2355 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
2356 | local type = type | |
2357 | local rng = Instance.new("Part", char) | |
2358 | rng.Anchored = true | |
2359 | rng.BrickColor = color | |
2360 | rng.CanCollide = false | |
2361 | rng.FormFactor = 3 | |
2362 | rng.Name = "Ring" | |
2363 | rng.Material = "Neon" | |
2364 | rng.Size = Vector3.new(1, 1, 1) | |
2365 | rng.Transparency = 0 | |
2366 | rng.TopSurface = 0 | |
2367 | rng.BottomSurface = 0 | |
2368 | rng.CFrame = pos | |
2369 | local rngm = Instance.new("SpecialMesh", rng) | |
2370 | rngm.MeshType = MType | |
2371 | rngm.Scale = scale | |
2372 | local scaler2 = 1 | |
2373 | if type == "Add" then | |
2374 | scaler2 = 1 * value | |
2375 | elseif type == "Divide" then | |
2376 | scaler2 = 1 / value | |
2377 | end | |
2378 | coroutine.resume(coroutine.create(function() | |
2379 | for i = 0, 10 / bonuspeed, 0.1 do | |
2380 | swait() | |
2381 | if type == "Add" then | |
2382 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
2383 | elseif type == "Divide" then | |
2384 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
2385 | end | |
2386 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
2387 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
2388 | end | |
2389 | rng:Destroy() | |
2390 | end)) | |
2391 | end | |
2392 | ||
2393 | function Eviscerate(dude) | |
2394 | if dude.Name ~= char then | |
2395 | local bgf = IT("BodyGyro", dude.Head) | |
2396 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
2397 | local val = IT("BoolValue", dude) | |
2398 | val.Name = "IsHit" | |
2399 | local ds = coroutine.wrap(function() | |
2400 | dude:WaitForChild("Head"):BreakJoints() | |
2401 | wait(0.5) | |
2402 | target = nil | |
2403 | coroutine.resume(coroutine.create(function() | |
2404 | for i, v in pairs(dude:GetChildren()) do | |
2405 | if v:IsA("Accessory") then | |
2406 | v:Destroy() | |
2407 | end | |
2408 | if v:IsA("Humanoid") then | |
2409 | v:Destroy() | |
2410 | end | |
2411 | if v:IsA("CharacterMesh") then | |
2412 | v:Destroy() | |
2413 | end | |
2414 | if v:IsA("Model") then | |
2415 | v:Destroy() | |
2416 | end | |
2417 | if v:IsA("Part") or v:IsA("MeshPart") then | |
2418 | for x, o in pairs(v:GetChildren()) do | |
2419 | if o:IsA("Decal") then | |
2420 | o:Destroy() | |
2421 | end | |
2422 | end | |
2423 | coroutine.resume(coroutine.create(function() | |
2424 | v.Material = "Neon" | |
2425 | v.CanCollide = false | |
2426 | local PartEmmit1 = IT("ParticleEmitter", v) | |
2427 | PartEmmit1.LightEmission = 1 | |
2428 | PartEmmit1.Texture = "rbxassetid://284205403" | |
2429 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
2430 | PartEmmit1.Rate = 150 | |
2431 | PartEmmit1.Lifetime = NumberRange.new(1) | |
2432 | PartEmmit1.Size = NumberSequence.new({ | |
2433 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
2434 | NumberSequenceKeypoint.new(1, 0, 0) | |
2435 | }) | |
2436 | PartEmmit1.Transparency = NumberSequence.new({ | |
2437 | NumberSequenceKeypoint.new(0, 0, 0), | |
2438 | NumberSequenceKeypoint.new(1, 1, 0) | |
2439 | }) | |
2440 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
2441 | PartEmmit1.VelocitySpread = 30000 | |
2442 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
2443 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
2444 | local BodPoss = IT("BodyPosition", v) | |
2445 | BodPoss.P = 3000 | |
2446 | BodPoss.D = 1000 | |
2447 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
2448 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
2449 | v.Color = maincolor.Color | |
2450 | coroutine.resume(coroutine.create(function() | |
2451 | for i = 0, 49 do | |
2452 | swait(1) | |
2453 | v.Transparency = v.Transparency + 0.08 | |
2454 | end | |
2455 | wait(0.5) | |
2456 | PartEmmit1.Enabled = false | |
2457 | wait(3) | |
2458 | v:Destroy() | |
2459 | dude:Destroy() | |
2460 | end)) | |
2461 | end)) | |
2462 | end | |
2463 | end | |
2464 | end)) | |
2465 | end) | |
2466 | ds() | |
2467 | end | |
2468 | end | |
2469 | ||
2470 | function FindNearestHead(Position, Distance, SinglePlayer) | |
2471 | if SinglePlayer then | |
2472 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
2473 | end | |
2474 | local List = {} | |
2475 | for i, v in pairs(workspace:GetChildren()) do | |
2476 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
2477 | table.insert(List, v) | |
2478 | end | |
2479 | end | |
2480 | return List | |
2481 | end | |
2482 | ||
2483 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
2484 | local type = type | |
2485 | local rng = Instance.new("Part", char) | |
2486 | rng.Anchored = true | |
2487 | rng.BrickColor = color | |
2488 | rng.CanCollide = false | |
2489 | rng.FormFactor = 3 | |
2490 | rng.Name = "Ring" | |
2491 | rng.Material = "Neon" | |
2492 | rng.Size = Vector3.new(1, 1, 1) | |
2493 | rng.Transparency = 0 | |
2494 | rng.TopSurface = 0 | |
2495 | rng.BottomSurface = 0 | |
2496 | rng.CFrame = pos | |
2497 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
2498 | local rngm = Instance.new("SpecialMesh", rng) | |
2499 | rngm.MeshType = MType | |
2500 | rngm.Scale = Vector3.new(x1, y1, z1) | |
2501 | local scaler2 = 1 | |
2502 | local speeder = FastSpeed | |
2503 | if type == "Add" then | |
2504 | scaler2 = 1 * value | |
2505 | elseif type == "Divide" then | |
2506 | scaler2 = 1 / value | |
2507 | end | |
2508 | coroutine.resume(coroutine.create(function() | |
2509 | for i = 0, 10 / bonuspeed, 0.1 do | |
2510 | swait() | |
2511 | if type == "Add" then | |
2512 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
2513 | elseif type == "Divide" then | |
2514 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
2515 | end | |
2516 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
2517 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
2518 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
2519 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
2520 | end | |
2521 | rng:Destroy() | |
2522 | end)) | |
2523 | end | |
2524 | ||
2525 | function SoulSteal(dude) | |
2526 | if dude.Name ~= char then | |
2527 | local bgf = IT("BodyGyro", dude.Head) | |
2528 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
2529 | local val = IT("BoolValue", dude) | |
2530 | val.Name = "IsHit" | |
2531 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
2532 | local soulst = coroutine.wrap(function() | |
2533 | local soul = Instance.new("Part",dude) | |
2534 | soul.Size = Vector3.new(1,1,1) | |
2535 | soul.CanCollide = false | |
2536 | soul.Anchored = false | |
2537 | soul.Position = torso.Position | |
2538 | soul.Transparency = 1 | |
2539 | local PartEmmit1 = IT("ParticleEmitter", soul) | |
2540 | PartEmmit1.LightEmission = 1 | |
2541 | PartEmmit1.Texture = "rbxassetid://569507414" | |
2542 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
2543 | PartEmmit1.Rate = 250 | |
2544 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
2545 | PartEmmit1.Size = NumberSequence.new({ | |
2546 | NumberSequenceKeypoint.new(0, 1, 0), | |
2547 | NumberSequenceKeypoint.new(1, 0, 0) | |
2548 | }) | |
2549 | PartEmmit1.Transparency = NumberSequence.new({ | |
2550 | NumberSequenceKeypoint.new(0, 0, 0), | |
2551 | NumberSequenceKeypoint.new(1, 1, 0) | |
2552 | }) | |
2553 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
2554 | PartEmmit1.VelocitySpread = 30000 | |
2555 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
2556 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
2557 | local BodPoss = IT("BodyPosition", soul) | |
2558 | BodPoss.P = 3000 | |
2559 | BodPoss.D = 1000 | |
2560 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
2561 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
2562 | wait(1.6) | |
2563 | soul.Touched:connect(function(hit) | |
2564 | if hit.Parent == char then | |
2565 | soul:Destroy() | |
2566 | end | |
2567 | end) | |
2568 | wait(1.2) | |
2569 | while soul do | |
2570 | swait() | |
2571 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
2572 | BodPoss.Position = tors.Position | |
2573 | end | |
2574 | end) | |
2575 | soulst() | |
2576 | end | |
2577 | end | |
2578 | function FaceMouse() | |
2579 | local Cam = workspace.CurrentCamera | |
2580 | return { | |
2581 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
2582 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
2583 | } | |
2584 | end | |
2585 | ------------------------------------------------------- | |
2586 | --End Effect Function-- | |
2587 | ------------------------------------------------------- | |
2588 | function Cso(ID, PARENT, VOLUME, PITCH) | |
2589 | local NSound = nil | |
2590 | coroutine.resume(coroutine.create(function() | |
2591 | NSound = IT("Sound", PARENT) | |
2592 | NSound.Volume = VOLUME | |
2593 | NSound.Pitch = PITCH | |
2594 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
2595 | swait() | |
2596 | NSound:play() | |
2597 | game:GetService("Debris"):AddItem(NSound, 10) | |
2598 | end)) | |
2599 | return NSound | |
2600 | end | |
2601 | function CameraEnshaking(Length, Intensity) | |
2602 | coroutine.resume(coroutine.create(function() | |
2603 | local intensity = 1 * Intensity | |
2604 | local rotM = 0.01 * Intensity | |
2605 | for i = 0, Length, 0.1 do | |
2606 | swait() | |
2607 | intensity = intensity - 0.05 * Intensity / Length | |
2608 | rotM = rotM - 5.0E-4 * Intensity / Length | |
2609 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
2610 | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) | |
2611 | end | |
2612 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
2613 | end)) | |
2614 | end | |
2615 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
2616 | local Hitboxpart = Instance.new("Part", EffectModel) | |
2617 | RemoveOutlines(Hitboxpart) | |
2618 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
2619 | Hitboxpart.CanCollide = false | |
2620 | Hitboxpart.Transparency = 1 | |
2621 | Hitboxpart.Anchored = true | |
2622 | Hitboxpart.CFrame = Pose | |
2623 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime) | |
2624 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
2625 | end | |
2626 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
2627 | local prt = CreatePart1(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2628 | prt.Anchored = true | |
2629 | prt.CFrame = cframe | |
2630 | local msh = CreateMesh1("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2631 | game:GetService("Debris"):AddItem(prt, 10) | |
2632 | if Type == 1 or Type == nil then | |
2633 | table.insert(Effects, { | |
2634 | prt, | |
2635 | "Block1", | |
2636 | delay, | |
2637 | x3, | |
2638 | y3, | |
2639 | z3, | |
2640 | msh | |
2641 | }) | |
2642 | elseif Type == 2 then | |
2643 | table.insert(Effects, { | |
2644 | prt, | |
2645 | "Block2", | |
2646 | delay, | |
2647 | x3, | |
2648 | y3, | |
2649 | z3, | |
2650 | msh | |
2651 | }) | |
2652 | elseif Type == 3 then | |
2653 | table.insert(Effects, { | |
2654 | prt, | |
2655 | "Block3", | |
2656 | delay, | |
2657 | x3, | |
2658 | y3, | |
2659 | z3, | |
2660 | msh | |
2661 | }) | |
2662 | end | |
2663 | end | |
2664 | ||
2665 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
2666 | local Part = Create("Part"){ | |
2667 | Parent = Parent, | |
2668 | Reflectance = Reflectance, | |
2669 | Transparency = Transparency, | |
2670 | CanCollide = false, | |
2671 | Locked = true, | |
2672 | BrickColor = BrickColor.new(tostring(BColor)), | |
2673 | Name = Name, | |
2674 | Size = Size, | |
2675 | Material = Material, | |
2676 | } | |
2677 | RemoveOutlines(Part) | |
2678 | return Part | |
2679 | end | |
2680 | ||
2681 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
2682 | local Msh = Create(Mesh){ | |
2683 | Parent = Part, | |
2684 | Offset = OffSet, | |
2685 | Scale = Scale, | |
2686 | } | |
2687 | if Mesh == "SpecialMesh" then | |
2688 | Msh.MeshType = MeshType | |
2689 | Msh.MeshId = MeshId | |
2690 | end | |
2691 | return Msh | |
2692 | end | |
2693 | ||
2694 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2695 | local prt = CreatePart(workspace,"Neon",0,0,brickcolor,"Effect", Vector3.new(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2696 | prt.Anchored = true | |
2697 | prt.CFrame = cframe | |
2698 | local msh = CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1)) | |
2699 | game:GetService("Debris"):AddItem(prt,2) | |
2700 | coroutine.resume(coroutine.create(function(Part,Mesh,num) | |
2701 | for i=0,1,delay do | |
2702 | swait() | |
2703 | Part.Transparency=i | |
2704 | Mesh.Scale=Mesh.Scale + Vector3.new(x3,y3,z3) | |
2705 | end | |
2706 | Part.Parent=nil | |
2707 | end),prt,msh,(math.random(0,1)+math.random())/5) | |
2708 | end | |
2709 | ------------------------------------------------------- | |
2710 | --End Important Functions-- | |
2711 | ------------------------------------------------------- | |
2712 | ||
2713 | ||
2714 | ||
2715 | --[[ | |
2716 | Thanks for using Build-To-Lua by jarredbcv. | |
2717 | ]]-- | |
2718 | ||
2719 | New = function(Object, Parent, Name, Data) | |
2720 | local Object = Instance.new(Object) | |
2721 | for Index, Value in pairs(Data or {}) do | |
2722 | Object[Index] = Value | |
2723 | end | |
2724 | Object.Parent = Parent | |
2725 | Object.Name = Name | |
2726 | return Object | |
2727 | end | |
2728 | ||
2729 | Gunty = New("Model",char,"Gunty",{}) | |
2730 | Handle = New("Part",Gunty,"Handle",{Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1.7700001, 1),CFrame = CFrame.new(31.0716114, 2.79670954, -174.846329, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
2731 | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2732 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.03999996, 0.290000111, 0.189999968),CFrame = CFrame.new(31.058609, 2.34723592, -175.197876, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
2733 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2734 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00469970703, -0.445775509, -0.356430054, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2735 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.01999998, 0.330000103, 0.229999959),CFrame = CFrame.new(31.058609, 2.34723592, -175.197876, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
2736 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2737 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00469970703, -0.445775509, -0.356430054, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2738 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.04999995, 0.0500001162, 0.0599999726),CFrame = CFrame.new(31.0147629, 1.60638475, -174.821182, -0.00951508526, -0.010773032, 0.999899387, -0.0110270474, 0.999884665, 0.0106679332, -0.999896705, -0.0109243607, -0.00963272899),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2739 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2740 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, -0.0110270362, -0.999896109, -0.0107730227, 0.999884129, -0.0109243607, 0.999898791, 0.0106679285, -0.00963272713),C1 = CFrame.new(-0.0439567566, -1.19107628, 0.0119018555, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2741 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6584473, 2.04683352, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2742 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2743 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(-0.409790039, -0.759893417, 0.507080078, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2744 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.9084473, 2.04683304, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2745 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2746 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(-0.159816742, -0.757163048, 0.509490967, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2747 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.228447, 2.04683328, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2748 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2749 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(0.160148621, -0.753666878, 0.512573242, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2750 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.8784504, 1.99683285, -175.357208, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2751 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2752 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.179458618, -0.796388626, -0.521224976, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2753 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.4684505, 2.71683574, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2754 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2755 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(0.4025383, -0.070025444, -0.507858276, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2756 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.239999995, 0.330000132, 1.07000005),CFrame = CFrame.new(30.7338467, 2.35736775, -174.842926, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
2757 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2758 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.33291626, -0.443016529, -0.00453186035, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2759 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.239999995, 0.330000132, 1.07000005),CFrame = CFrame.new(31.3738499, 2.35736799, -174.842926, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
2760 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2761 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.30701828, -0.436024666, 0.00163269043, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2762 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.2084579, 1.99683356, -175.357178, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2763 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2764 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.150512695, -0.79278326, -0.518005371, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2765 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.01999998, 0.330000132, 0.229999959),CFrame = CFrame.new(31.0686169, 2.35712481, -174.467972, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
2766 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2767 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00174713135, -0.443641663, 0.373596191, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2768 | Wedge = New("WedgePart",Gunty,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Size = Vector3.new(1.13999975, 0.230000034, 0.560000122),CFrame = CFrame.new(31.0786934, 3.13681054, -175.132095, -1.00000238, -2.20054062e-07, 3.09199095e-07, 2.12065061e-07, -1.00000215, 3.20374966e-07, 2.75671482e-07, 3.09199095e-07, 1.00000226),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2769 | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.00000179, 2.11242877e-07, 2.80328095e-07, -2.20876245e-07, -1.00000155, 3.13855708e-07, 3.05473804e-07, 3.1478703e-07, 1.00000167),C1 = CFrame.new(0.00605010986, 0.343216896, -0.282043457, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2770 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6284485, 2.71683502, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2771 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2772 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(-0.437374115, -0.079202652, -0.515945435, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2773 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.8884487, 2.71683598, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2774 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2775 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.187202454, -0.0874576569, 0.516448975, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2776 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.290000111, 1.08999991),CFrame = CFrame.new(30.7338486, 2.3574791, -174.84285, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
2777 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2778 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.33291626, -0.442905903, -0.00445556641, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2779 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0700000003, 0.759999931, 0.0500000007),CFrame = CFrame.new(31.6297836, 3.38593745, -174.84967, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
2780 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2781 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.551647186, 0.595292091, 0.00831604004, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2782 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0600000024, 1.90999997, 0.0500000007),CFrame = CFrame.new(31.5712833, 2.60158253, -174.845505, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
2783 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2784 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.50176239, -0.18965435, 0.00355529785, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2785 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.239999995, 0.330000132, 1.07000005),CFrame = CFrame.new(31.0538464, 2.35736966, -174.842926, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
2786 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2787 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.0129508972, -0.439518929, -0.00144958496, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2788 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0600000024, 0.290000111, 0.409999996),CFrame = CFrame.new(31.568552, 2.3516109, -174.842773, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
2789 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2790 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.50176239, -0.439655781, 0.00360107422, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2791 | Wedge = New("WedgePart",Gunty,"Wedge",{Material = Enum.Material.Neon,Size = Vector3.new(1.04999983, 0.280000031, 0.600000083),CFrame = CFrame.new(30.8336945, 1.78095484, -174.838608, 1.77882612e-07, 8.97198333e-08, 1.00000238, 1.86264515e-08, -1.00000238, 8.64238245e-08, 1.00000238, -1.86264515e-08, -1.48080289e-07),BottomSurface = Enum.SurfaceType.Smooth,}) | |
2792 | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.74157321e-07, 1.39698386e-08, 1.00000179, 8.98216967e-08, -1.00000179, -1.39698386e-08, 1.00000179, 8.63292371e-08, -1.5180558e-07),C1 = CFrame.new(-0.226764679, -1.01831722, -0.00540161133, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2793 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.290000111, 1.09000003),CFrame = CFrame.new(31.0538521, 2.35747933, -174.842865, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
2794 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2795 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.0129470825, -0.439409733, -0.0013885498, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2796 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0700000003, 0.330000103, 0.229999959),CFrame = CFrame.new(30.5736599, 2.35258269, -174.833267, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
2797 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2798 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.493125916, -0.449655056, 0.00352478027, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2799 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.2184467, 2.71683574, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2800 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2801 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.14276123, -0.0838527679, 0.519622803, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2802 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.8884506, 2.71683574, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2803 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2804 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(-0.177398682, -0.0763616562, -0.513442993, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2805 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0900000036, 0.330000103, 0.449999958),CFrame = CFrame.new(31.5435581, 2.35188746, -174.842529, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
2806 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2807 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.476764679, -0.439654827, 0.00360107422, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2808 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.00999999, 0.570000112, 1.05999994),CFrame = CFrame.new(31.0635662, 2.35679555, -174.843231, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2809 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2810 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00322341919, -0.439983368, -0.0016784668, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2811 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0900000036, 1.41000009, 0.0799999684),CFrame = CFrame.new(31.5487957, 2.34199333, -174.842697, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
2812 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2813 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.482112885, -0.44948864, 0.00337219238, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2814 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999948, 0.300000042, 1),CFrame = CFrame.new(31.3557091, 1.79857111, -174.838364, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
2815 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2816 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.294998169, -0.995002747, 4.57763672e-05, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2817 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6384506, 1.99683368, -175.357208, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2818 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2819 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.419433594, -0.7990098, -0.523529053, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2820 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.26000011, 0.0599999726),CFrame = CFrame.new(31.0184479, 1.71683359, -174.307205, -0.00951508526, -0.010773032, 0.999899387, -0.0110270474, 0.999884665, 0.0106679332, -0.999896705, -0.0109243607, -0.00963272899),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2821 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2822 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, -0.0110270362, -0.999896109, -0.0107730227, 0.999884129, -0.0109243607, 0.999898791, 0.0106679285, -0.00963272713),C1 = CFrame.new(-0.0463790894, -1.08613729, 0.527038574, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2823 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6384487, 2.7168355, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2824 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2825 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.437175751, -0.0901889801, 0.514038086, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2826 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.2084503, 2.7168355, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2827 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2828 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(0.142566681, -0.072865963, -0.510360718, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2829 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.100000001, 0.790000141, 0.0799999684),CFrame = CFrame.new(31.6096954, 3.40187716, -174.848618, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
2830 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2831 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.531375885, 0.610999107, 0.0093536377, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2832 | Wedge = New("WedgePart",Gunty,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Size = Vector3.new(1.13999975, 0.230000034, 0.560000122),CFrame = CFrame.new(31.0786934, 3.13681054, -174.572098, 1.00000238, 2.2349559e-07, -2.21654773e-07, 2.05182005e-07, -1.00000215, 2.75671482e-07, -1.9185245e-07, -3.4738332e-07, -1.00000238),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2833 | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.00000179, 2.06011464e-07, -1.95577741e-07, 2.23604729e-07, -1.00000155, -3.41795385e-07, -2.17929482e-07, 2.81259418e-07, -1.00000179),C1 = CFrame.new(0.000720977783, 0.337183952, 0.277893066, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2834 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.5084496, 2.04683304, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2835 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2836 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(0.440120697, -0.750608444, 0.515274048, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2837 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.560000122, 1.07999992),CFrame = CFrame.new(31.0814381, 3.53226137, -174.855682, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2838 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2839 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.00180435181, 0.735672951, -0.00140380859, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2840 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.03999996, 0.290000111, 0.189999968),CFrame = CFrame.new(31.0686169, 2.35712481, -174.467972, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
2841 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2842 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00174713135, -0.443641663, 0.373596191, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2843 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0799999386, 0.290000111, 0.189999968),CFrame = CFrame.new(30.5586605, 2.35274792, -174.833176, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
2844 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2845 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.508125305, -0.449654579, 0.00347900391, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2846 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.4684525, 1.99683356, -175.357208, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2847 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2848 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.410480499, -0.789942741, -0.515533447, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2849 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.26000011, 0.0599999726),CFrame = CFrame.new(31.0184479, 1.70683408, -175.347198, -0.00951508526, -0.010773032, 0.999899387, -0.0110270474, 0.999884665, 0.0106679332, -0.999896705, -0.0109243607, -0.00963272899),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2850 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2851 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, -0.0110270362, -0.999896109, -0.0107730227, 0.999884129, -0.0109243607, 0.999898791, 0.0106679285, -0.00963272713),C1 = CFrame.new(-0.0363731384, -1.08493185, -0.512954712, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2852 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.5084476, 2.71683526, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
2853 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2854 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.432731628, -0.0806851387, 0.522415161, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2855 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.290000111, 1.09000003),CFrame = CFrame.new(31.3738632, 2.35747814, -174.842865, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
2856 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
2857 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.307029724, -0.435914993, 0.00169372559, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
2858 | ||
2859 | ||
2860 | local NewInstance = function(instance,parent,properties) | |
2861 | local inst = Instance.new(instance,parent) | |
2862 | if(properties)then | |
2863 | for i,v in next, properties do | |
2864 | pcall(function() inst[i] = v end) | |
2865 | end | |
2866 | end | |
2867 | return inst; | |
2868 | end | |
2869 | ||
2870 | local HW = NewInstance('Weld',char,{Part0 = ra, Part1 = Handle, C0 = CF(0, 0, 0) * angles(0,0,0)}) | |
2871 | ||
2872 | ArmorColorParts = {} | |
2873 | ArmorColorParts2 = {} | |
2874 | NeonColorParts = {} | |
2875 | local all, last = {}, nil | |
2876 | function scan(p) | |
2877 | for _, v in pairs(p:GetChildren()) do | |
2878 | if v:IsA("BasePart") then | |
2879 | if v.BrickColor == BrickColor.new("Black") then | |
2880 | table.insert(ArmorColorParts, v) | |
2881 | end | |
2882 | if v.BrickColor == BrickColor.new("Medium stone grey") then | |
2883 | table.insert(ArmorColorParts2, v) | |
2884 | end | |
2885 | if v.BrickColor == BrickColor.new("Dark green") then | |
2886 | table.insert(NeonColorParts, v) | |
2887 | end | |
2888 | if last then | |
2889 | local w = Instance.new("Weld") | |
2890 | w.Part0, w.Part1 = last, v | |
2891 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
2892 | w.Parent = last | |
2893 | end | |
2894 | table.insert(all, v) | |
2895 | last = v | |
2896 | end | |
2897 | scan(v) | |
2898 | end | |
2899 | end | |
2900 | scan(Gunty) | |
2901 | for _, v in pairs(all) do | |
2902 | v.Anchored = false | |
2903 | v.CanCollide = false | |
2904 | end | |
2905 | ------------------------------------------------------- | |
2906 | --Start Customization-- | |
2907 | ------------------------------------------------------- | |
2908 | ||
2909 | --------------------------------------------- | |
2910 | local Player_Size = 1 | |
2911 | if Player_Size ~= 1 then | |
2912 | root.Size = root.Size * Player_Size | |
2913 | tors.Size = tors.Size * Player_Size | |
2914 | hed.Size = hed.Size * Player_Size | |
2915 | ra.Size = ra.Size * Player_Size | |
2916 | la.Size = la.Size * Player_Size | |
2917 | rl.Size = rl.Size * Player_Size | |
2918 | ll.Size = ll.Size * Player_Size | |
2919 | ---------------------------------------------------------------------------------- | |
2920 | rootj.Parent = root | |
2921 | neck.Parent = tors | |
2922 | RW.Parent = tors | |
2923 | LW.Parent = tors | |
2924 | RH.Parent = tors | |
2925 | LH.Parent = tors | |
2926 | ---------------------------------------------------------------------------------- | |
2927 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
2928 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
2929 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
2930 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
2931 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
2932 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
2933 | ---------------------------------------------------------------------------------- | |
2934 | RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
2935 | LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
2936 | RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
2937 | LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
2938 | --hat.Parent = Character | |
2939 | end | |
2940 | ---------------------------------------------------------------------------------- | |
2941 | local SONG = 1117396305 | |
2942 | local SONG2 = 0 | |
2943 | local Music = Instance.new("Sound",tors) | |
2944 | Music.Volume = 2.5 | |
2945 | Music.Looped = true | |
2946 | Music.Pitch = 1 --Pitcher | |
2947 | ---------------------------------------------------------------------------------- | |
2948 | local equipped = false | |
2949 | local idle = 0 | |
2950 | local change = 1 | |
2951 | local val = 0 | |
2952 | local toim = 0 | |
2953 | local idleanim = 0.4 | |
2954 | local sine = 0 | |
2955 | local Mode = 1 | |
2956 | ---------------------------------------------------------------------------------- | |
2957 | hum.WalkSpeed = 16 | |
2958 | hum.JumpPower = 57 | |
2959 | hum.Animator.Parent = nil | |
2960 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=843367143" | |
2961 | local naeeym2 = IT("BillboardGui",char) | |
2962 | naeeym2.AlwaysOnTop = true | |
2963 | naeeym2.Size = UDim2.new(5,35,2,15) | |
2964 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
2965 | naeeym2.MaxDistance = 75 | |
2966 | naeeym2.Adornee = hed | |
2967 | naeeym2.Name = "Name" | |
2968 | --naeeym2.PlayerToHideFrom = Player | |
2969 | local tecks2 = IT("TextLabel",naeeym2) | |
2970 | tecks2.BackgroundTransparency = 1 | |
2971 | tecks2.TextScaled = true | |
2972 | tecks2.BorderSizePixel = 0 | |
2973 | tecks2.Text = "Random Guy" | |
2974 | tecks2.Font = "Fantasy" | |
2975 | tecks2.TextSize = 30 | |
2976 | tecks2.TextStrokeTransparency = 0 | |
2977 | tecks2.TextColor3 = Color3.fromRGB(255,255,255) | |
2978 | tecks2.TextStrokeColor3 = Color3.fromRGB(255,255,255) | |
2979 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
2980 | tecks2.Parent = naeeym2 | |
2981 | ------------------------------------------------------- | |
2982 | --End Customization-- | |
2983 | ------------------------------------------------------- | |
2984 | ||
2985 | ----------------------------------------------------- | |
2986 | --Start Attacks N Stuff-- | |
2987 | ------------------------------------------------------- | |
2988 | function resetmode() | |
2989 | tecks2.Text = "Random Guy" | |
2990 | tecks2.TextColor3 = Color3.fromRGB(255,255,255) | |
2991 | tecks2.TextStrokeColor3 = Color3.fromRGB(255,255,255) | |
2992 | for i, v in pairs(ArmorColorParts) do | |
2993 | v.BrickColor = BrickColor.new("Black") | |
2994 | v.Material = "Neon" | |
2995 | v.Transparency = 0 | |
2996 | end | |
2997 | for i, v in pairs(ArmorColorParts2) do | |
2998 | v.BrickColor = BrickColor.new("Hot White") | |
2999 | v.Material = "Neon" | |
3000 | v.Transparency = 0 | |
3001 | end | |
3002 | for i, v in pairs(NeonColorParts) do | |
3003 | maincolor = BrickColor.new("Dark stone grey") | |
3004 | v.BrickColor = maincolor | |
3005 | v.Material = "Neon" | |
3006 | v.Transparency = 0 | |
3007 | end | |
3008 | Mode = 1 | |
3009 | SONG = 1117396305 | |
3010 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=843367143" | |
3011 | end | |
3012 | ||
3013 | function Taunt() | |
3014 | attack = true | |
3015 | hum.WalkSpeed = 0 | |
3016 | TAUNT:Play() | |
3017 | repeat | |
3018 | swait() | |
3019 | TAUNT.Parent = tors | |
3020 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15) | |
3021 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-3 - 1.5 * Cos(sine / 7)), Rad(0), Rad(-25)), 0.3) | |
3022 | RH.C0 = clerp(RH.C0, CF(.8* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, .2* Player_Size) * angles(Rad(0), Rad(45), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
3023 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
3024 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-20), Rad(25)), 0.1) | |
3025 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(78 + 3.5 * Cos(sine / 20)), Rad(-25), Rad(-20)), 0.1) | |
3026 | until TAUNT.Playing == false | |
3027 | attack = false | |
3028 | hum.WalkSpeed = 16 | |
3029 | end | |
3030 | function attackone() | |
3031 | attack = true | |
3032 | hum.WalkSpeed = 3.01 | |
3033 | for i = 0, 1.7, 0.1 do | |
3034 | swait() | |
3035 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(-40)), 0.3) | |
3036 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3) | |
3037 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-7)), 0.3) | |
3038 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3) | |
3039 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .3* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(45)), 0.3) | |
3040 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3) | |
3041 | end | |
3042 | Cso("203426541", ra, 10, 1) | |
3043 | HitboxFunction(root.CFrame * CF(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Random Guy") | |
3044 | CameraEnshaking(2, 5) | |
3045 | for i = 0, 1.4, 0.1 do | |
3046 | swait() | |
3047 | BlockEffect(maincolor, ra.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2) | |
3048 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(55)), 0.3) | |
3049 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3) | |
3050 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(87), Rad(0)) * angles(Rad(-30), Rad(0), Rad(15)), 0.3) | |
3051 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-5), Rad(0), Rad(9)), 0.3) | |
3052 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(35)), 0.3) | |
3053 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3) | |
3054 | end | |
3055 | hum.WalkSpeed = 16 | |
3056 | attack = false | |
3057 | end | |
3058 | ||
3059 | ||
3060 | ||
3061 | function attacktwo() | |
3062 | attack = true | |
3063 | hum.WalkSpeed = 3.01 | |
3064 | for i = 0, 1.7, 0.1 do | |
3065 | swait() | |
3066 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
3067 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
3068 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-45)), 0.3) | |
3069 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3) | |
3070 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3) | |
3071 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3) | |
3072 | end | |
3073 | Cso("203426541", rl, 10, 1) | |
3074 | HitboxFunction(root.CFrame * CF(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Random Guy") | |
3075 | CameraEnshaking(2, 3) | |
3076 | for i = 0, 1.4, 0.1 do | |
3077 | swait() | |
3078 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
3079 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3) | |
3080 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(65)), 0.3) | |
3081 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(35)), 0.3) | |
3082 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3) | |
3083 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3) | |
3084 | end | |
3085 | hum.WalkSpeed = 16 | |
3086 | attack = false | |
3087 | end | |
3088 | function attackthree() | |
3089 | attack = true | |
3090 | hum.WalkSpeed = 3.01 | |
3091 | for i = 0, 1.4, 0.1 do | |
3092 | swait() | |
3093 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
3094 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
3095 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.3) | |
3096 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.3) | |
3097 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3) | |
3098 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3) | |
3099 | end | |
3100 | Cso("203426541", hed, 10, 1) | |
3101 | for i = 0, 1.7, 0.1 do | |
3102 | swait() | |
3103 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
3104 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
3105 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(30)), 0.3) | |
3106 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-30)), 0.3) | |
3107 | RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3) | |
3108 | LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3) | |
3109 | end | |
3110 | CameraEnshaking(2, 8) | |
3111 | Cso("260435136", hed, 10, .9) | |
3112 | BlockEffect(maincolor, Handle.CFrame * CF(0, -2, 0), 11, 11, 11, 10, 10, 10, 0.04, 1) | |
3113 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -2, 0), 6, 6, 6, 5, 5, 5, 0.04, 1) | |
3114 | HitboxFunction(root.CFrame * CF(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Random Guy") | |
3115 | for i = 0, 1.8, 0.1 do | |
3116 | swait() | |
3117 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.2) | |
3118 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.2) | |
3119 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.2) | |
3120 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.2) | |
3121 | RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.2) | |
3122 | LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.2) | |
3123 | end | |
3124 | hum.WalkSpeed = 16 | |
3125 | attack = false | |
3126 | end | |
3127 | ||
3128 | function somuchcancerwhy() --o no | |
3129 | attack = true | |
3130 | hum.WalkSpeed = 0.10 | |
3131 | Character.Head.face.Texture = "rbxassetid://315074049" | |
3132 | local A = math.random(1,13) | |
3133 | if A == 1 then | |
3134 | ohno.SoundId = "rbxassetid://295810519" | |
3135 | ohno.TimePosition = 1 | |
3136 | end | |
3137 | if A == 2 then | |
3138 | ohno.SoundId = "rbxassetid://488472970" | |
3139 | ohno.TimePosition = 2 | |
3140 | end | |
3141 | if A == 3 then | |
3142 | ohno.SoundId = "rbxassetid://917045199" | |
3143 | ohno.TimePosition = 3 | |
3144 | end | |
3145 | if A == 4 then | |
3146 | ohno.SoundId = "rbxassetid://324205173" | |
3147 | ohno.TimePosition = 1 | |
3148 | end | |
3149 | if A == 5 then | |
3150 | ohno.SoundId = "rbxassetid://376134741" | |
3151 | ohno.TimePosition = 8 | |
3152 | end | |
3153 | if A == 6 then | |
3154 | ohno.SoundId = "rbxassetid://164147183" | |
3155 | ohno.TimePosition = 0 | |
3156 | end | |
3157 | if A == 7 then | |
3158 | ohno.SoundId = "rbxassetid://825526716" | |
3159 | ohno.TimePosition = 1 | |
3160 | end | |
3161 | if A == 8 then | |
3162 | ohno.SoundId = "rbxassetid://185460366" | |
3163 | ohno.TimePosition = 0 | |
3164 | end | |
3165 | if A == 9 then | |
3166 | ohno.SoundId = "rbxassetid://273319633" | |
3167 | ohno.TimePosition = 1 | |
3168 | end | |
3169 | if A == 10 then | |
3170 | ohno.SoundId = "rbxassetid://506212392" | |
3171 | ohno.TimePosition = 2 | |
3172 | end | |
3173 | if A == 11 then | |
3174 | ohno.SoundId = "rbxassetid://708297448" | |
3175 | ohno.TimePosition = 4 | |
3176 | end | |
3177 | if A == 12 then | |
3178 | ohno.SoundId = "rbxassetid://497199103" | |
3179 | ohno.TimePosition = 9 | |
3180 | end | |
3181 | if A == 13 then | |
3182 | ohno.SoundId = "rbxassetid://152833989" | |
3183 | ohno.TimePosition = 1 | |
3184 | end | |
3185 | ohno:Play() | |
3186 | for i = 0,100,0.1 do | |
3187 | swait() | |
3188 | CameraEnshaking(2, 3) | |
3189 | ohno.Parent = hed | |
3190 | char.Torso.Neck.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
3191 | end | |
3192 | attack = false | |
3193 | ohno:Stop() | |
3194 | Character.Head.face.Texture = "rbxassetid://620619801" | |
3195 | hum.WalkSpeed = 16 | |
3196 | end | |
3197 | ||
3198 | function Power_Burst() | |
3199 | hum.WalkSpeed = 4 | |
3200 | attack = true | |
3201 | Cso("163619849", Handle, 10, 1.35) | |
3202 | for i = 0,4.3,0.1 do | |
3203 | swait() | |
3204 | PixelBlock(3,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.2,0.2,0.2,0.01,maincolor,0) | |
3205 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
3206 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-23 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3) | |
3207 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
3208 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
3209 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
3210 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
3211 | end | |
3212 | CameraEnshaking(2.5, 20) | |
3213 | Cso("539294959", Handle, 10, .9) | |
3214 | BlockEffect(maincolor, Handle.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1) | |
3215 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1) | |
3216 | HitboxFunction(root.CFrame * CF(0, 0, -0), 0.01, 1, 1, 1, 19, 30, 75, 35, "Random Guy") | |
3217 | for i = 0,3,0.1 do | |
3218 | swait() | |
3219 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
3220 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3) | |
3221 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
3222 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
3223 | RW.C0 = clerp(RW.C0, CF(1.5, 0.01 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
3224 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
3225 | end | |
3226 | hum.WalkSpeed = 16 | |
3227 | attack = false | |
3228 | end | |
3229 | function Magic_Bombs() | |
3230 | attack = true | |
3231 | hum.WalkSpeed = 0 | |
3232 | local GYRO = IT("BodyGyro",root) | |
3233 | GYRO.D = 100 | |
3234 | GYRO.P = 2000 | |
3235 | GYRO.MaxTorque = VT(0,4000000,0) | |
3236 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
3237 | for i = 0,3.6,0.1 do | |
3238 | swait() | |
3239 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
3240 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
3241 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
3242 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
3243 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
3244 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
3245 | end | |
3246 | CameraEnshaking(1, 6) | |
3247 | GYRO:Destroy() | |
3248 | Cso("588734356", Handle, 10, 1.05) | |
3249 | BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1) | |
3250 | BlockEffect(("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1) | |
3251 | HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Random Guy") | |
3252 | for i = 0,2,0.1 do | |
3253 | swait() | |
3254 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
3255 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
3256 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
3257 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
3258 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2) | |
3259 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
3260 | end | |
3261 | local GYRO = IT("BodyGyro",root) | |
3262 | GYRO.D = 100 | |
3263 | GYRO.P = 2000 | |
3264 | GYRO.MaxTorque = VT(0,4000000,0) | |
3265 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
3266 | for i = 0,2.4,0.1 do | |
3267 | swait() | |
3268 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
3269 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
3270 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
3271 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
3272 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
3273 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
3274 | end | |
3275 | GYRO:Destroy() | |
3276 | CameraEnshaking(1, 6) | |
3277 | Cso("588734356", Handle, 10, 1.05) | |
3278 | BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1) | |
3279 | BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1) | |
3280 | HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6,5, 14, 24, 2, "Random Guy") | |
3281 | for i = 0,2,0.1 do | |
3282 | swait() | |
3283 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
3284 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
3285 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
3286 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
3287 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2) | |
3288 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
3289 | end | |
3290 | local GYRO = IT("BodyGyro",root) | |
3291 | GYRO.D = 100 | |
3292 | GYRO.P = 2000 | |
3293 | GYRO.MaxTorque = VT(0,4000000,0) | |
3294 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
3295 | for i = 0,2.4,0.1 do | |
3296 | swait() | |
3297 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
3298 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
3299 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
3300 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
3301 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
3302 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
3303 | end | |
3304 | GYRO:Destroy() | |
3305 | CameraEnshaking(1, 6) | |
3306 | Cso("588734356", Handle, 10, 1.05) | |
3307 | BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1) | |
3308 | BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1) | |
3309 | HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Random Guy") | |
3310 | for i = 0,2,0.1 do | |
3311 | swait() | |
3312 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
3313 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
3314 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
3315 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
3316 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2) | |
3317 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
3318 | end | |
3319 | attack = false | |
3320 | hum.WalkSpeed = 16 | |
3321 | end | |
3322 | ||
3323 | function Dangerous_Field() | |
3324 | attack = true | |
3325 | hum.WalkSpeed = 0 | |
3326 | for i = 0,10,0.1 do | |
3327 | swait() | |
3328 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.2) | |
3329 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
3330 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2), Rad(0), Rad(-2.1)), 0.15) | |
3331 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
3332 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(90)), 0.2) | |
3333 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(-90)), 0.2) | |
3334 | CameraEnshaking(1, 7) | |
3335 | Cso("588734356", Handle, 10, 1.2) | |
3336 | BlockEffect(maincolor, Handle.CFrame * CF(0, -8, 0), 9, 9, 9, 11, 11, 11, 0.07, 1) | |
3337 | BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -8, 0), 3, 3, 3, 5, 5, 5, 0.05, 1) | |
3338 | HitboxFunction(Handle.CFrame * CF(0, 0, -10.3), 0.05, 1, 1, 1, 7.3, 15, 20, 3, "Random Guy") | |
3339 | HitboxFunction(Handle.CFrame * CF(0, 0, -0), 0.05, 1, 1, 1, 5, 2, 3, 10, "Random Guy") | |
3340 | end | |
3341 | attack = false | |
3342 | hum.WalkSpeed = 16 | |
3343 | end | |
3344 | function Field() | |
3345 | attack = true | |
3346 | hum.WalkSpeed = 0 | |
3347 | for i = 0,10,0.1 do | |
3348 | swait() | |
3349 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.2) | |
3350 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
3351 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2), Rad(0), Rad(-2.1)), 0.15) | |
3352 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
3353 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(90)), 0.2) | |
3354 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(-90)), 0.2) | |
3355 | CameraEnshaking(1, 7) | |
3356 | Cso("588734356", Handle, 10, 1.2) | |
3357 | BlockEffect(maincolor, Handle.CFrame * CF(0, -8, 0), 9, 9, 9, 11, 11, 11, 0.07, 1) | |
3358 | BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -8, 0), 3, 3, 3, 5, 5, 5, 0.05, 1) | |
3359 | HitboxFunction(Handle.CFrame * CF(0, 0, -10.3), 0.05, 1, 1, 1, 7.3, 15, 20, 3, "Random Guy") | |
3360 | HitboxFunction(Handle.CFrame * CF(0, 0, -0), 0.05, 1, 1, 1, 5, 2, 3, 10, "Random Guy") | |
3361 | end | |
3362 | attack = false | |
3363 | hum.WalkSpeed = 16 | |
3364 | end | |
3365 | function Shockwave() | |
3366 | attack = true | |
3367 | hum.WalkSpeed = 0 | |
3368 | for i = 0,4,0.1 do | |
3369 | swait() | |
3370 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
3371 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3372 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
3373 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
3374 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
3375 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
3376 | end | |
3377 | coroutine.resume(coroutine.create(function() | |
3378 | BlockEffect(maincolor, rl.CFrame * CF(-1, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3379 | BlockEffect(maincolor, rl.CFrame * CF(-3, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3380 | BlockEffect(maincolor, rl.CFrame * CF(2, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3381 | HitboxFunction(rl.CFrame * CF(-1, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare") | |
3382 | HitboxFunction(rl.CFrame * CF(-3, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare") | |
3383 | HitboxFunction(rl.CFrame * CF(2, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare") | |
3384 | CameraEnshaking(1, 7) | |
3385 | wait(0.05) | |
3386 | BlockEffect(maincolor, rl.CFrame * CF(-0.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3387 | BlockEffect(maincolor, rl.CFrame * CF(-2.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3388 | BlockEffect(maincolor, rl.CFrame * CF(1.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3389 | HitboxFunction(rl.CFrame * CF(-0.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 20, 10, "Snare") | |
3390 | HitboxFunction(rl.CFrame * CF(-2.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
3391 | HitboxFunction(rl.CFrame * CF(1.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
3392 | CameraEnshaking(1, 7) | |
3393 | wait(0.05) | |
3394 | BlockEffect(maincolor, rl.CFrame * CF(-0.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3395 | BlockEffect(maincolor, rl.CFrame * CF(-2.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3396 | BlockEffect(maincolor, rl.CFrame * CF(1.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3397 | HitboxFunction(rl.CFrame * CF(-0.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
3398 | HitboxFunction(rl.CFrame * CF(-2.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
3399 | HitboxFunction(rl.CFrame * CF(1.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
3400 | CameraEnshaking(1, 7) | |
3401 | wait(0.05) | |
3402 | BlockEffect(maincolor, rl.CFrame * CF(-0.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3403 | BlockEffect(maincolor, rl.CFrame * CF(-2.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3404 | BlockEffect(maincolor, rl.CFrame * CF(1.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3405 | HitboxFunction(rl.CFrame * CF(-0.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
3406 | HitboxFunction(rl.CFrame * CF(-2.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
3407 | HitboxFunction(rl.CFrame * CF(1.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
3408 | CameraEnshaking(1, 7) | |
3409 | wait(0.05) | |
3410 | BlockEffect(maincolor, rl.CFrame * CF(-0.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3411 | BlockEffect(maincolor, rl.CFrame * CF(-2.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3412 | BlockEffect(maincolor, rl.CFrame * CF(1.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3413 | HitboxFunction(rl.CFrame * CF(-0.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
3414 | HitboxFunction(rl.CFrame * CF(-2.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
3415 | HitboxFunction(rl.CFrame * CF(1.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
3416 | CameraEnshaking(1, 7) | |
3417 | wait(0.05) | |
3418 | BlockEffect(maincolor, rl.CFrame * CF(-0, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3419 | BlockEffect(maincolor, rl.CFrame * CF(-2, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3420 | BlockEffect(maincolor, rl.CFrame * CF(1, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3421 | HitboxFunction(rl.CFrame * CF(-0, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
3422 | HitboxFunction(rl.CFrame * CF(-2, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
3423 | HitboxFunction(rl.CFrame * CF(1, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
3424 | CameraEnshaking(1, 7) | |
3425 | end)) | |
3426 | Cso("440145223", Handle, 10, 1.05) | |
3427 | for i = 1,7,0.1 do | |
3428 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
3429 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
3430 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
3431 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
3432 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) | |
3433 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) | |
3434 | end | |
3435 | wait(.6) | |
3436 | hum.WalkSpeed = 16 | |
3437 | attack = false | |
3438 | end | |
3439 | function Pulse() | |
3440 | attack = true | |
3441 | hum.WalkSpeed = 0 | |
3442 | local GYRO = IT("BodyGyro",root) | |
3443 | GYRO.D = 100 | |
3444 | GYRO.P = 2000 | |
3445 | GYRO.MaxTorque = VT(0,4000000,0) | |
3446 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
3447 | for i = 0,4,0.1 do | |
3448 | swait() | |
3449 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
3450 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
3451 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
3452 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
3453 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
3454 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
3455 | end | |
3456 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3457 | HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 30, 40, 0, "Freeze") | |
3458 | CameraEnshaking(1, 25) | |
3459 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3460 | HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
3461 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3462 | HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
3463 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3464 | HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
3465 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3466 | HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
3467 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3468 | HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
3469 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3470 | HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
3471 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3472 | HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
3473 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3474 | HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
3475 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3476 | HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
3477 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3478 | HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
3479 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
3480 | HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
3481 | Cso("440145223", Handle, 10, 1.05) | |
3482 | GYRO:Destroy() | |
3483 | for i = 1,2,0.1 do | |
3484 | swait() | |
3485 | PixelBlock(2,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.04,0.04,0.04,0.06,maincolor,0) | |
3486 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
3487 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
3488 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
3489 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
3490 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
3491 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
3492 | end | |
3493 | hum.WalkSpeed = 16 | |
3494 | attack = false | |
3495 | end | |
3496 | ||
3497 | function Technobeam() | |
3498 | attack = true | |
3499 | hum.WalkSpeed = 3.01 | |
3500 | for i = 0, 4, 0.1 do | |
3501 | swait() | |
3502 | hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0) | |
3503 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(40)), 0.2) | |
3504 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2) | |
3505 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2) | |
3506 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2) | |
3507 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2) | |
3508 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2) | |
3509 | end | |
3510 | for i = 0, 2, 0.1 do | |
3511 | swait() | |
3512 | hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0) | |
3513 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(40)), 0.2) | |
3514 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2) | |
3515 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-25)), 0.2) | |
3516 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(25)), 0.2) | |
3517 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2) | |
3518 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2) | |
3519 | end | |
3520 | Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
3521 | Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
3522 | Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere") | |
3523 | Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere") | |
3524 | CameraEnshaking(4, 5) | |
3525 | Cso("206049428", char, 10, 1) | |
3526 | for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do | |
3527 | if v:FindFirstChild("Head") then | |
3528 | Eviscerate(v) | |
3529 | end | |
3530 | end | |
3531 | for i = 0, 2, 0.1 do | |
3532 | swait() | |
3533 | hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0) | |
3534 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(40)), 0.2) | |
3535 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2) | |
3536 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2) | |
3537 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2) | |
3538 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2) | |
3539 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2) | |
3540 | end | |
3541 | hum.WalkSpeed = 16 | |
3542 | attack = false | |
3543 | end | |
3544 | ||
3545 | function LAZER() | |
3546 | attack = true | |
3547 | hum.WalkSpeed = 0.03 | |
3548 | for i = 0,4,0.1 do | |
3549 | swait() | |
3550 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
3551 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
3552 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
3553 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
3554 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
3555 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
3556 | end | |
3557 | LAZOR:Play() | |
3558 | local GYRO = IT("BodyGyro",root) | |
3559 | GYRO.D = 100 | |
3560 | GYRO.P = 2000 | |
3561 | GYRO.MaxTorque = VT(0,4000000,0) | |
3562 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
3563 | repeat | |
3564 | swait(2) | |
3565 | PixelBlock(2,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.3,0.3,0.3,0.4,maincolor,0) | |
3566 | PixelBlock(4,3,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.5,maincolor,0) | |
3567 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
3568 | LAZOR.Parent = ra | |
3569 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3570 | HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 1, 5, 0, "Freeze") | |
3571 | CameraEnshaking(1, 7) | |
3572 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3573 | HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3574 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3575 | HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3576 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3577 | HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3578 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3579 | HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3580 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3581 | HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3582 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3583 | HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3584 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3585 | HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3586 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3587 | HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3588 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3589 | HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3590 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3591 | HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3592 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3593 | HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3594 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -65, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3595 | HitboxFunction(Handle.CFrame * CF(0, -67, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3596 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -70, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3597 | HitboxFunction(Handle.CFrame * CF(0, -72, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3598 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -75, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3599 | HitboxFunction(Handle.CFrame * CF(0, -77, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3600 | until LAZOR.Playing == false | |
3601 | GYRO:Destroy() | |
3602 | hum.WalkSpeed = 16 | |
3603 | attack = false | |
3604 | end | |
3605 | function new() | |
3606 | attack = true | |
3607 | hum.WalkSpeed = 0.03 | |
3608 | for i = 0,4,0.1 do | |
3609 | swait() | |
3610 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
3611 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
3612 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
3613 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
3614 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
3615 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
3616 | end | |
3617 | LAZOR:Play() | |
3618 | local GYRO = IT("BodyGyro",root) | |
3619 | GYRO.D = 100 | |
3620 | GYRO.P = 2000 | |
3621 | GYRO.MaxTorque = VT(0,4000000,0) | |
3622 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
3623 | repeat | |
3624 | swait(2) | |
3625 | PixelBlock(2,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.3,0.3,0.3,0.4,maincolor,0) | |
3626 | PixelBlock(4,3,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.5,maincolor,0) | |
3627 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
3628 | LAZOR.Parent = ra | |
3629 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3630 | HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 1, 5, 0, "Freeze") | |
3631 | CameraEnshaking(1, 7) | |
3632 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3633 | HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3634 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3635 | HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3636 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3637 | HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3638 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3639 | HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3640 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3641 | HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3642 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3643 | HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3644 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3645 | HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3646 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3647 | HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3648 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3649 | HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3650 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3651 | HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3652 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3653 | HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3654 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -65, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3655 | HitboxFunction(Handle.CFrame * CF(0, -67, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3656 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -70, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3657 | HitboxFunction(Handle.CFrame * CF(0, -72, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3658 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -75, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
3659 | HitboxFunction(Handle.CFrame * CF(0, -77, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
3660 | until LAZOR.Playing == false | |
3661 | GYRO:Destroy() | |
3662 | hum.WalkSpeed = 16 | |
3663 | attack = false | |
3664 | end | |
3665 | function Spirit_Beam() | |
3666 | attack = true | |
3667 | hum.WalkSpeed = 0 | |
3668 | local GYRO = IT("BodyGyro",root) | |
3669 | GYRO.D = 100 | |
3670 | GYRO.P = 2000 | |
3671 | GYRO.MaxTorque = VT(0,4000000,0) | |
3672 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
3673 | for i = 0,5,0.1 do | |
3674 | swait() | |
3675 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
3676 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
3677 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3678 | RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
3679 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
3680 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
3681 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-0 + 2.5 * Sin(sine / 20))), 0.1) | |
3682 | end | |
3683 | ref = New("Part",m,"ref",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),}) | |
3684 | HitboxFunction(ref.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 4, 25, 50, 1, "Random Guy") | |
3685 | BlockEffect(maincolor, ref.CFrame * CF(-0, -0, -0), 4, 4, 4, 5, 5, 5, 0.07, 1) | |
3686 | local beam = Instance.new("Part", workspace) | |
3687 | beam.BrickColor = BrickColor.new("Fog") | |
3688 | beam.FormFactor = "Custom" | |
3689 | beam.Material = "Neon" | |
3690 | beam.Transparency = 0.5 | |
3691 | beam.Anchored = true | |
3692 | beam.Locked = true | |
3693 | beam.CanCollide = false | |
3694 | local distance = (Handle.CFrame.p - mouse.Hit.p).magnitude | |
3695 | beam.Size = Vector3.new(1.05, 1.05, distance) | |
3696 | beam.CFrame = CFrame.new(Handle.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2) | |
3697 | game:GetService("Debris"):AddItem(beam, 0.14) | |
3698 | local sound = Instance.new('Sound',Handle) | |
3699 | sound.SoundId = 'rbxassetid://588697948' | |
3700 | sound.Volume = 7 | |
3701 | sound.EmitterSize = 40 | |
3702 | sound.MaxDistance = 450 | |
3703 | sound:Play() | |
3704 | game:GetService("Debris"):AddItem(beam, sound.TimeLength) | |
3705 | GYRO:Destroy() | |
3706 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
3707 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
3708 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
3709 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
3710 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
3711 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
3712 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
3713 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
3714 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
3715 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
3716 | wait(0.3) | |
3717 | attack = false | |
3718 | hum.WalkSpeed = 16 | |
3719 | ref:Destroy() | |
3720 | end | |
3721 | function Distort() | |
3722 | attack = true | |
3723 | hum.WalkSpeed = 0 | |
3724 | local pos = root.Position | |
3725 | root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos) | |
3726 | Cso("261227592", tors, 10, 0.85) | |
3727 | for i = 1,2.5,0.1 do | |
3728 | swait() | |
3729 | rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
3730 | end | |
3731 | attack = false | |
3732 | hum.WalkSpeed = 8 | |
3733 | end | |
3734 | function Ancient_Rage() | |
3735 | attack = true | |
3736 | hum.WalkSpeed = 4 | |
3737 | Cso("135017578", tors, 10, 1.05) | |
3738 | for i = 1,14,0.1 do | |
3739 | swait() | |
3740 | rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
3741 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
3742 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
3743 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
3744 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
3745 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
3746 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 7)) do | |
3747 | if v:FindFirstChild("Head") then | |
3748 | Eviscerate(v) | |
3749 | end | |
3750 | end | |
3751 | end | |
3752 | attack = false | |
3753 | hum.WalkSpeed = 16 | |
3754 | end | |
3755 | function Ancient_Ragu() | |
3756 | attack = true | |
3757 | hum.WalkSpeed = 4 | |
3758 | Cso("1028044973", tors, 10, 1.05) | |
3759 | for i = 1,14,0.1 do | |
3760 | swait() | |
3761 | rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
3762 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
3763 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
3764 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
3765 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
3766 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
3767 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 7)) do | |
3768 | if v:FindFirstChild("Head") then | |
3769 | Eviscerate(v) | |
3770 | end | |
3771 | end | |
3772 | end | |
3773 | attack = false | |
3774 | hum.WalkSpeed = 16 | |
3775 | end | |
3776 | function TTTTTTTTTTGaunt() | |
3777 | attack = true | |
3778 | hum.WalkSpeed = 0 | |
3779 | sex:Play() | |
3780 | repeat | |
3781 | swait() | |
3782 | sex.Parent = tors | |
3783 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
3784 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3) | |
3785 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
3786 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
3787 | RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1) | |
3788 | LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1) | |
3789 | until sex.Playing == false | |
3790 | attack = false | |
3791 | hum.WalkSpeed = 16 | |
3792 | end | |
3793 | function TTTTTTTTTTTaunt() | |
3794 | attack = true | |
3795 | hum.WalkSpeed = 0 | |
3796 | DTAUNT:Play() | |
3797 | repeat | |
3798 | swait() | |
3799 | DTAUNT.Parent = tors | |
3800 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
3801 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3) | |
3802 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
3803 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
3804 | RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1) | |
3805 | LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1) | |
3806 | until DTAUNT.Playing == false | |
3807 | attack = false | |
3808 | hum.WalkSpeed = 16 | |
3809 | end | |
3810 | ||
3811 | function Multi_Bombs() | |
3812 | attack = true | |
3813 | hum.WalkSpeed = 3.01 | |
3814 | for i = 0,3,0.1 do | |
3815 | swait() | |
3816 | Effects.Block.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
3817 | Effects.Block.Create(BrickC("Really black"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
3818 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
3819 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3820 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
3821 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15) | |
3822 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
3823 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) | |
3824 | end | |
3825 | Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05) | |
3826 | Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03) | |
3827 | Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05) | |
3828 | Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05) | |
3829 | Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05) | |
3830 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02) | |
3831 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05) | |
3832 | CreateSound("142070127", tors, 10, 1) | |
3833 | MagniDamage(tors, 17, 15, 35, 10, "Normal") | |
3834 | for i = 0,1,0.1 do | |
3835 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
3836 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3837 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
3838 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
3839 | RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1) | |
3840 | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
3841 | end | |
3842 | for i = 0,2,0.1 do | |
3843 | swait() | |
3844 | Effects.Block.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
3845 | Effects.Block.Create(BrickC("Really black"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
3846 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
3847 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3848 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
3849 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15) | |
3850 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
3851 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) | |
3852 | end | |
3853 | Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05) | |
3854 | Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03) | |
3855 | Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05) | |
3856 | Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05) | |
3857 | Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05) | |
3858 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02) | |
3859 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05) | |
3860 | CreateSound("142070127", tors, 10, 1) | |
3861 | MagniDamage(tors, 17, 15, 35, 10, "Normal") | |
3862 | for i = 0,1,0.1 do | |
3863 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
3864 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3865 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
3866 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
3867 | RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1) | |
3868 | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
3869 | end | |
3870 | for i = 0,2,0.1 do | |
3871 | swait() | |
3872 | Effects.Block.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
3873 | Effects.Block.Create(BrickC("Really black"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
3874 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
3875 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3876 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
3877 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15) | |
3878 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
3879 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) | |
3880 | end | |
3881 | Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05) | |
3882 | Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03) | |
3883 | Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05) | |
3884 | Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05) | |
3885 | Effects.Sphere.Create(BrickC("Really black"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05) | |
3886 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02) | |
3887 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05) | |
3888 | CreateSound("142070127", tors, 10, 1) | |
3889 | MagniDamage(tors, 17, 15, 35, 10, "Normal") | |
3890 | for i = 0,1,0.1 do | |
3891 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
3892 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3893 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
3894 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
3895 | RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1) | |
3896 | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
3897 | end | |
3898 | wait(.6) | |
3899 | attack = false | |
3900 | hum.WalkSpeed = 16 | |
3901 | end | |
3902 | ||
3903 | function Universal_Crush() | |
3904 | attack = true | |
3905 | for i = 0,5.2,0.05 do | |
3906 | swait() | |
3907 | Effects.Block.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
3908 | Effects.Block.Create(BrickC("Really black"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
3909 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
3910 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3911 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
3912 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
3913 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
3914 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
3915 | end | |
3916 | CreateSound("331666100", tors, 10, 1) | |
3917 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 16.6, 16.6, 16.6, 0.01) | |
3918 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 16, 16, 16, 19.6, 19.6, 19.6, 0.01) | |
3919 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 18, 18, 18, 22.6, 22.6, 22.6, 0.01) | |
3920 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 20, 20, 20, 25.6, 25, 25, 0.01) | |
3921 | MagniDamage(tors, 170, 80, 175, 15, "DarkUp") | |
3922 | coroutine.resume(coroutine.create(function() | |
3923 | for i = 0,1.8,0.1 do | |
3924 | swait() | |
3925 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
3926 | end | |
3927 | for i = 0,1.8,0.1 do | |
3928 | swait() | |
3929 | hum.CameraOffset = Vector3.new(0,0,0) | |
3930 | end | |
3931 | end)) | |
3932 | for i = 1,4.7,0.1 do | |
3933 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
3934 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
3935 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
3936 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
3937 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) | |
3938 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) | |
3939 | end | |
3940 | wait(.6) | |
3941 | attack = false | |
3942 | end | |
3943 | ||
3944 | function HAAH() | |
3945 | attack = true | |
3946 | hum.WalkSpeed = 0 | |
3947 | Cso("300208779", hed, 10, 1) | |
3948 | for i = 0,9,0.1 do | |
3949 | swait() | |
3950 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15) | |
3951 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3) | |
3952 | if Mrandom(1,15) == 1 then | |
3953 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1) | |
3954 | end | |
3955 | RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15) | |
3956 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15) | |
3957 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1) | |
3958 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1) | |
3959 | end | |
3960 | attack = false | |
3961 | hum.WalkSpeed = 16 | |
3962 | end | |
3963 | function again() | |
3964 | attack = true | |
3965 | hum.WalkSpeed = 0 | |
3966 | ITAUNT:Play() | |
3967 | repeat | |
3968 | swait() | |
3969 | ITAUNT.Parent = tors | |
3970 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.08) | |
3971 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
3972 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-25)), 0.08) | |
3973 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08) | |
3974 | RW.C0 = clerp(RW.C0, CF(1.5, 0.8 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(120 - 2.5 * Sin(sine / 20))), 0.1) | |
3975 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(75), Rad(10 * Cos(sine / 20)), Rad(-0 + 2.5 * Sin(sine / 20))), 0.1) | |
3976 | until ITAUNT.Playing == false | |
3977 | attack = false | |
3978 | hum.WalkSpeed = 16 | |
3979 | end | |
3980 | function LunarSpin() | |
3981 | attack = true | |
3982 | hum.WalkSpeed = 0 | |
3983 | for i = 0,17,0.05 do | |
3984 | CameraEnshaking(1, 5) | |
3985 | MagniDamage(tors, 47, 2, 5, 0, "Random Guy") | |
3986 | Effects.Spiral.Create(BrickC("Teal"), tors.CFrame * CF(0, 0, 0), 3, 3, 3, 4, 4, 4, 0.03) | |
3987 | Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
3988 | swait() | |
3989 | PixelBlock(1.5,14,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-360,360)),math.rad(math.random(-50,50))),3,3,3,0.3,maincolor,0) | |
3990 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) | |
3991 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
3992 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
3993 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
3994 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1) | |
3995 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1) | |
3996 | end | |
3997 | hum.WalkSpeed = 16 | |
3998 | attack = false | |
3999 | end | |
4000 | function Decapitate() | |
4001 | local target = nil | |
4002 | local targettorso = nil | |
4003 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
4004 | if mouse.Target.Parent.Humanoid.PlatformStand == false then | |
4005 | target = mouse.Target.Parent.Humanoid | |
4006 | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso") | |
4007 | targethead = mouse.Target.Parent:FindFirstChild("Head") | |
4008 | end | |
4009 | end | |
4010 | if target ~= nil then | |
4011 | targettorso.Anchored = true | |
4012 | attack = true | |
4013 | hum.WalkSpeed = 0 | |
4014 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
4015 | for i = 0,4.2,0.1 do | |
4016 | swait() | |
4017 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15) | |
4018 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
4019 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
4020 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
4021 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(35)), 0.1) | |
4022 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
4023 | end | |
4024 | local ModelHead01 = New("Model", char, "", {}) | |
4025 | local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {}) | |
4026 | local Head01 = targethead:Clone() | |
4027 | targethead.Transparency = 1 | |
4028 | Head01.Parent = ModelHead01 | |
4029 | local weldHead01 = Instance.new("Weld") | |
4030 | weldHead01.Parent = Head01 | |
4031 | weldHead01.Part0 = targethead | |
4032 | weldHead01.Part1 = Head01 | |
4033 | weldHead01.C1 = CFrame.new(0, 0, 0) | |
4034 | targethead.face:Remove() | |
4035 | weldHead01.Part0 = ra | |
4036 | weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0)) | |
4037 | targettorso:BreakJoints() | |
4038 | CreateSound("314390675", targettorso, 5, .7) | |
4039 | for i = 0,3.2,0.1 do | |
4040 | swait() | |
4041 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
4042 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
4043 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
4044 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(50)), 0.15) | |
4045 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(20), Rad(90)), 0.1) | |
4046 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
4047 | end | |
4048 | for i = 0,4.2,0.1 do | |
4049 | swait() | |
4050 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15) | |
4051 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
4052 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
4053 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
4054 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1) | |
4055 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1) | |
4056 | end | |
4057 | CreateSound("541909763", targettorso, 5, .8) | |
4058 | weldHead01:Destroy() | |
4059 | Head01.CanCollide = true | |
4060 | local bodyVelocity2 = Create("BodyVelocity")({ | |
4061 | velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50, | |
4062 | P = 5000, | |
4063 | maxForce = Vector3.new(8000, 8000, 8000), | |
4064 | Parent = Head01 | |
4065 | }) | |
4066 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.05) | |
4067 | for i = 0,6.2,0.1 do | |
4068 | swait() | |
4069 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15) | |
4070 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3) | |
4071 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
4072 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
4073 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1) | |
4074 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1) | |
4075 | end | |
4076 | targettorso.Anchored = false | |
4077 | attack = false | |
4078 | hum.WalkSpeed = 16 | |
4079 | root.CFrame = targettorso.CFrame * CF(0,0,3.4) | |
4080 | end | |
4081 | end | |
4082 | function BalanceSpin() | |
4083 | attack = true | |
4084 | hum.WalkSpeed = 2 | |
4085 | for i = 0,17,0.07 do | |
4086 | CameraEnshaking(1, 5) | |
4087 | MagniDamage(tors, 30, 7, 11, 0, "Random Guy") | |
4088 | swait() | |
4089 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, maincolor, 0, "Brick") | |
4090 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, BrickColor.new("Black"), 0, "Brick") | |
4091 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, maincolor, 0, "Brick") | |
4092 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) | |
4093 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
4094 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
4095 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
4096 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1) | |
4097 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1) | |
4098 | end | |
4099 | hum.WalkSpeed = 16 | |
4100 | attack = false | |
4101 | end | |
4102 | ||
4103 | function lolik() | |
4104 | attack = true | |
4105 | hum.WalkSpeed = 0 | |
4106 | pop:Play() | |
4107 | repeat | |
4108 | pop.Parent = tors | |
4109 | swait() | |
4110 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1) | |
4111 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1) | |
4112 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(Rad(90 - 2 * Cos(sine / 1)), Rad(0), Rad(-50)), 0.1) | |
4113 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(Rad(70 + 2 * Cos(sine / 1)), Rad(-7), Rad(70)), 0.1) | |
4114 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1) | |
4115 | LH.C0 = clerp(LH.C0, CF(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1) | |
4116 | until pop.Playing == false | |
4117 | attack = false | |
4118 | hum.WalkSpeed = 16 | |
4119 | end | |
4120 | ||
4121 | function BARK() | |
4122 | attack = true | |
4123 | hum.WalkSpeed = 0 | |
4124 | BATAUNT:Play() | |
4125 | repeat | |
4126 | BATAUNT.Parent = tors | |
4127 | swait() | |
4128 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1) | |
4129 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1) | |
4130 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(Rad(90 - 2 * Cos(sine / 1)), Rad(0), Rad(-50)), 0.1) | |
4131 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(Rad(70 + 2 * Cos(sine / 1)), Rad(-7), Rad(70)), 0.1) | |
4132 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1) | |
4133 | LH.C0 = clerp(LH.C0, CF(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1) | |
4134 | until BATAUNT.Playing == false | |
4135 | attack = false | |
4136 | hum.WalkSpeed = 16 | |
4137 | end | |
4138 | ||
4139 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
4140 | local NSound = nil | |
4141 | coroutine.resume(coroutine.create(function() | |
4142 | NSound = Instance.new("Sound", PARENT) | |
4143 | NSound.Volume = VOLUME | |
4144 | NSound.Pitch = PITCH | |
4145 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
4146 | swait() | |
4147 | NSound:play() | |
4148 | game:GetService("Debris"):AddItem(NSound, 10) | |
4149 | end)) | |
4150 | return NSound | |
4151 | end | |
4152 | function nope() | |
4153 | attack = true | |
4154 | hum.WalkSpeed = 0 | |
4155 | NOTAUNT:Play() | |
4156 | repeat | |
4157 | NOTAUNT.Parent = tors | |
4158 | swait() | |
4159 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1) | |
4160 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1) | |
4161 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(Rad(90 - 2 * Cos(sine / 1)), Rad(0), Rad(-50)), 0.1) | |
4162 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(Rad(70 + 2 * Cos(sine / 1)), Rad(-7), Rad(70)), 0.1) | |
4163 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1) | |
4164 | LH.C0 = clerp(LH.C0, CF(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1) | |
4165 | until NOTAUNT.Playing == false | |
4166 | attack = false | |
4167 | hum.WalkSpeed = 16 | |
4168 | end | |
4169 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
4170 | local NSound = nil | |
4171 | coroutine.resume(coroutine.create(function() | |
4172 | NSound = Instance.new("Sound", PARENT) | |
4173 | NSound.Volume = VOLUME | |
4174 | NSound.Pitch = PITCH | |
4175 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
4176 | swait() | |
4177 | NSound:play() | |
4178 | game:GetService("Debris"):AddItem(NSound, 10) | |
4179 | end)) | |
4180 | return NSound | |
4181 | end | |
4182 | function Anime_Splosion() | |
4183 | attack = true | |
4184 | for i = 0,2,0.05 do | |
4185 | swait() | |
4186 | Effects.Block.Create(BrickC("Carnation pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
4187 | Effects.Block.Create(BrickC("Carnation pink"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
4188 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
4189 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
4190 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
4191 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
4192 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
4193 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
4194 | end | |
4195 | CreateSound("331666100", tors, 10, 1) | |
4196 | Effects.Ring.Create(BrickC("Carnation pink"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(-1),Rad(0)), 2.5, 2.5, 40, 3, 3, 45, 0.01) | |
4197 | MagniDamage(tors, 34, 25, 50, 15, "DarkUp") | |
4198 | CameraEnshaking(1.5, 10) | |
4199 | for i = 1,2,0.1 do | |
4200 | swait() | |
4201 | PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
4202 | PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
4203 | PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
4204 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.8) | |
4205 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9) | |
4206 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.8) | |
4207 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.8) | |
4208 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.75) | |
4209 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.75) | |
4210 | end | |
4211 | wait(.6) | |
4212 | attack = false | |
4213 | end | |
4214 | corrupted = false | |
4215 | function Bark_Splosion() | |
4216 | attack = true | |
4217 | for i = 0,2,0.05 do | |
4218 | swait() | |
4219 | Effects.Block.Create(BrickC("Cool yellow"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
4220 | Effects.Block.Create(BrickC("Medium stone grey"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
4221 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
4222 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
4223 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
4224 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
4225 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
4226 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
4227 | end | |
4228 | CreateSound("331666100", tors, 10, 1) | |
4229 | Effects.Ring.Create(BrickC("Cool yellow"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(-1),Rad(0)), 2.5, 2.5, 40, 3, 3, 45, 0.01) | |
4230 | MagniDamage(tors, 34, 25, 50, 15, "DarkUp") | |
4231 | CameraEnshaking(1.5, 10) | |
4232 | for i = 1,2,0.1 do | |
4233 | swait() | |
4234 | PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
4235 | PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
4236 | PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
4237 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.8) | |
4238 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9) | |
4239 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.8) | |
4240 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.8) | |
4241 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.75) | |
4242 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.75) | |
4243 | end | |
4244 | wait(.6) | |
4245 | attack = false | |
4246 | end | |
4247 | corrupted = false | |
4248 | function Pixel_Corrupt() | |
4249 | attack = true | |
4250 | corrupted = true | |
4251 | for i = 0,3,0.05 do | |
4252 | swait() | |
4253 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.8) | |
4254 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9) | |
4255 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.8) | |
4256 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.8) | |
4257 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.75) | |
4258 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.75) | |
4259 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
4260 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
4261 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
4262 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
4263 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
4264 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
4265 | end | |
4266 | refa = New("Part",m,"refa",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),}) | |
4267 | HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 20, 20, 25, 0, "Random Guy") | |
4268 | BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 30, 30, 30, 32, 32, 32, 0.07, 1) | |
4269 | CreateSound("331666100", refa, 10, 1) | |
4270 | CameraEnshaking(1.5, 10) | |
4271 | coroutine.resume(coroutine.create(function() | |
4272 | for i = 1,20,0.1 do | |
4273 | swait(5) | |
4274 | PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0) | |
4275 | PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0) | |
4276 | PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0) | |
4277 | PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0) | |
4278 | CreateSound("331666100", refa, 10, 1) | |
4279 | BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 22, 22, 22, 25, 25, 25, 0.041, 1) | |
4280 | HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 21.3, 5, 8, 0, "Random Guy") | |
4281 | end | |
4282 | refa:Destroy() | |
4283 | corrupted = false | |
4284 | end)) | |
4285 | for i = 1,2.5,0.1 do | |
4286 | swait() | |
4287 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.4) | |
4288 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.6) | |
4289 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.4) | |
4290 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.4) | |
4291 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.3) | |
4292 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.3) | |
4293 | end | |
4294 | wait(.3) | |
4295 | attack = false | |
4296 | end | |
4297 | ||
4298 | function FearMe() | |
4299 | attack = true | |
4300 | hum.WalkSpeed = 0 | |
4301 | so:Play() | |
4302 | repeat | |
4303 | swait() | |
4304 | so.Parent = tors | |
4305 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
4306 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3) | |
4307 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
4308 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
4309 | RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1) | |
4310 | LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1) | |
4311 | until so.Playing == false | |
4312 | attack = false | |
4313 | hum.WalkSpeed = 16 | |
4314 | end | |
4315 | ||
4316 | function heregoes() | |
4317 | attack = true | |
4318 | hum.WalkSpeed = 0 | |
4319 | Cso("134978657", hed, 10, 1) | |
4320 | for i = 0,9,0.1 do | |
4321 | swait() | |
4322 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15) | |
4323 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3) | |
4324 | if Mrandom(1,15) == 1 then | |
4325 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1) | |
4326 | end | |
4327 | RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15) | |
4328 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15) | |
4329 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1) | |
4330 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1) | |
4331 | end | |
4332 | attack = false | |
4333 | hum.WalkSpeed = 16 | |
4334 | end | |
4335 | function again() | |
4336 | attack = true | |
4337 | hum.WalkSpeed = 0 | |
4338 | ITAUNT:Play() | |
4339 | repeat | |
4340 | swait() | |
4341 | ITAUNT.Parent = tors | |
4342 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.08) | |
4343 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
4344 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-25)), 0.08) | |
4345 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08) | |
4346 | RW.C0 = clerp(RW.C0, CF(1.5, 0.8 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(120 - 2.5 * Sin(sine / 20))), 0.1) | |
4347 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(75), Rad(10 * Cos(sine / 20)), Rad(-0 + 2.5 * Sin(sine / 20))), 0.1) | |
4348 | until ITAUNT.Playing == false | |
4349 | attack = false | |
4350 | hum.WalkSpeed = 16 | |
4351 | end | |
4352 | ||
4353 | function thing() | |
4354 | attack = true | |
4355 | timetofly = false | |
4356 | hum.WalkSpeed = 0.05 | |
4357 | Character.Head.face.Texture = "rbxassetid://705269463" | |
4358 | Cause_Im_having_a_good_time_having_a_good_time:Play() | |
4359 | Cause_Im_having_a_good_time_having_a_good_time.TimePosition = 35.3 | |
4360 | Humanoid.JumpPower = 0 | |
4361 | for i = 0,300,0.1 do --thatsalongtime | |
4362 | swait() | |
4363 | CameraEnshaking(1, 7) | |
4364 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 75, 500, 100, "Knockdown") | |
4365 | Cause_Im_having_a_good_time_having_a_good_time.Parent = hed | |
4366 | root.Velocity = root.CFrame.lookVector * 225 | |
4367 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
4368 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0-255.45*i), Rad(0), Rad(0)), 0.3) | |
4369 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0-255.45*i)), 0.15) | |
4370 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0-255.45*i)), 0.15) | |
4371 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-75), Rad(0), Rad(0)), 0.1) | |
4372 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-75), Rad(0), Rad(0)), 0.1) | |
4373 | end | |
4374 | Cause_Im_having_a_good_time_having_a_good_time:Stop() | |
4375 | attack = false | |
4376 | Humanoid.JumpPower = 50 | |
4377 | Character.Head.face.Texture = "rbxassetid://620619801" | |
4378 | hum.WalkSpeed = 16 | |
4379 | wait(45) | |
4380 | timetofly = true | |
4381 | warn("You can FLY SKY HIGH Now! Go Nuts!") --please dont go nuts | |
4382 | end | |
4383 | ||
4384 | function DANCEFORME() | |
4385 | attack = true | |
4386 | Character.Head.face.Texture = "rbxassetid://183225545" | |
4387 | MERKIO:Play() | |
4388 | repeat | |
4389 | for i = 0,0.7,0.2 do | |
4390 | swait() | |
4391 | MERKIO.Parent = tors | |
4392 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8) | |
4393 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9) | |
4394 | RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) | |
4395 | LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) | |
4396 | RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(115)), 0.77) | |
4397 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-115)), 0.67) | |
4398 | end | |
4399 | for i = 0,0.7,0.2 do | |
4400 | swait() | |
4401 | MERKIO.Parent = tors | |
4402 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8) | |
4403 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9) | |
4404 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) | |
4405 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) | |
4406 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.7) | |
4407 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.7) | |
4408 | end | |
4409 | until MERKIO.Playing == false | |
4410 | MERKIO:Stop() | |
4411 | Character.Head.face.Texture = "rbxassetid://620619801" | |
4412 | attack = false | |
4413 | hum.WalkSpeed = 16 | |
4414 | end | |
4415 | ||
4416 | function HAA55() --ik | |
4417 | attack = true | |
4418 | hum.WalkSpeed = 1.01 | |
4419 | Character.Head.face.Texture = "rbxassetid://111523405" | |
4420 | CreateSound("1395854043", hed, 10, 1) | |
4421 | for i = 0,14,0.1 do | |
4422 | swait() | |
4423 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
4424 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
4425 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
4426 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
4427 | RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-145)), 0.1) | |
4428 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(145)), 0.1) | |
4429 | end | |
4430 | attack = false | |
4431 | Character.Head.face.Texture = "rbxassetid://620619801" | |
4432 | hum.WalkSpeed = 16 | |
4433 | end | |
4434 | ||
4435 | function DistortThem() | |
4436 | CanUse = false | |
4437 | local HIT = tors.Touched:Connect(function(hit) | |
4438 | Kill(hit.Parent) | |
4439 | end) | |
4440 | for i = 1, 350 do | |
4441 | swait() | |
4442 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(125), math.rad(0), math.rad(10)), 0.1) | |
4443 | CreateSound("333430981", hed, 1.5, 1) | |
4444 | RA.Parent = ra | |
4445 | LA.Parent = la | |
4446 | FT.Parent = tors | |
4447 | RL.Parent = rl | |
4448 | LL.Parent = ll | |
4449 | for _,v in next, char:GetDescendants() do | |
4450 | if(v:IsA'DataModelMesh')then | |
4451 | v.Offset = Vector3.new(math.random(-50,50)/100,math.random(-50,50)/100,math.random(-50,50)/100) | |
4452 | end | |
4453 | end | |
4454 | end | |
4455 | FT.Parent = nil | |
4456 | RA.Parent = nil | |
4457 | LA.Parent = nil | |
4458 | RL.Parent = nil | |
4459 | LL.Parent = nil | |
4460 | for _,v in next, char:GetDescendants() do | |
4461 | if(v:IsA'DataModelMesh')then | |
4462 | v.Offset = Vector3.new(0,0,0) | |
4463 | end | |
4464 | end | |
4465 | HIT:Disconnect() | |
4466 | wait(3.5) | |
4467 | CanUse = true | |
4468 | end | |
4469 | ||
4470 | function un_fun() | |
4471 | attack = true | |
4472 | hum.WalkSpeed = 0 | |
4473 | BTAUNT:Play() | |
4474 | repeat | |
4475 | swait() | |
4476 | BTAUNT.Parent = tors | |
4477 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.08) | |
4478 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-2.5 * Cos(sine / 1.5))), 0.08) | |
4479 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(10)), 0.08) | |
4480 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(-10)), 0.08) | |
4481 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(210)), 0.08) | |
4482 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
4483 | until BTAUNT.Playing == false | |
4484 | attack = false | |
4485 | hum.WalkSpeed = 16 | |
4486 | end | |
4487 | function thisisit() | |
4488 | attack = true | |
4489 | hum.WalkSpeed = 0 | |
4490 | STAUNT:Play() | |
4491 | repeat | |
4492 | swait() | |
4493 | STAUNT.Parent = tors | |
4494 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
4495 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08) | |
4496 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08) | |
4497 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08) | |
4498 | RW.C0 = clerp(RW.C0, CF(1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(130)), 0.1) | |
4499 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-130)), 0.1) | |
4500 | until STAUNT.Playing == false | |
4501 | attack = false | |
4502 | hum.WalkSpeed = 16 | |
4503 | end | |
4504 | function PENIS() | |
4505 | attack = true | |
4506 | hum.WalkSpeed = 0 | |
4507 | NOSOUND:Play() | |
4508 | repeat | |
4509 | swait() | |
4510 | NOSOUND.Parent = tors | |
4511 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
4512 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08) | |
4513 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08) | |
4514 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08) | |
4515 | RW.C0 = clerp(RW.C0, CF(1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(130)), 0.1) | |
4516 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-130)), 0.1) | |
4517 | until NOSOUND.Playing == false | |
4518 | attack = false | |
4519 | hum.WalkSpeed = 16 | |
4520 | end | |
4521 | function Exploit() | |
4522 | exploitable = false | |
4523 | Cso("907332670", tors, 10, 1.05) | |
4524 | coroutine.resume(coroutine.create(function() | |
4525 | for i = 1,20,0.1 do | |
4526 | swait() | |
4527 | BlockEffect(maincolor, tors.CFrame * CF(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)), 4, 4, 4, 0.8, 0.8, 0.8, 0.05, 1) | |
4528 | end | |
4529 | Cso("12222030", tors, 10, 1.05) | |
4530 | BlockEffect(maincolor, tors.CFrame * CF(0, 0, 0), 17, 17, 17, 20, 20, 20, 0.04, 1) | |
4531 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 27)) do | |
4532 | if v:FindFirstChild("Head") then | |
4533 | Eviscerate(v) | |
4534 | SoulSteal(v) | |
4535 | end | |
4536 | end | |
4537 | wait(15) | |
4538 | exploitable = true | |
4539 | end)) | |
4540 | end | |
4541 | function wutdefaq() | |
4542 | attack = true | |
4543 | hum.WalkSpeed = 0 | |
4544 | WTF:Play() | |
4545 | repeat | |
4546 | swait() | |
4547 | WTF.Parent = tors | |
4548 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
4549 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08) | |
4550 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08) | |
4551 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08) | |
4552 | RW.C0 = clerp(RW.C0, CF(1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(130)), 0.1) | |
4553 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-130)), 0.1) | |
4554 | until STAUNT.Playing == false | |
4555 | attack = false | |
4556 | hum.WalkSpeed = 16 | |
4557 | end | |
4558 | function Exploit() | |
4559 | exploitable = false | |
4560 | Cso("135017578", tors, 10, 1.05) | |
4561 | coroutine.resume(coroutine.create(function() | |
4562 | for i = 1,20,0.1 do | |
4563 | swait() | |
4564 | BlockEffect(maincolor, tors.CFrame * CF(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)), 4, 4, 4, 0.8, 0.8, 0.8, 0.05, 1) | |
4565 | end | |
4566 | Cso("160718677", tors, 10, 1.05) | |
4567 | BlockEffect(maincolor, tors.CFrame * CF(0, 0, 0), 17, 17, 17, 20, 20, 20, 0.04, 1) | |
4568 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 27)) do | |
4569 | if v:FindFirstChild("Head") then | |
4570 | Eviscerate(v) | |
4571 | SoulSteal(v) | |
4572 | end | |
4573 | end | |
4574 | wait(15) | |
4575 | exploitable = true | |
4576 | end)) | |
4577 | end | |
4578 | function ASCENTION() | |
4579 | attack = true | |
4580 | hum.WalkSpeed = 0 | |
4581 | Cso("987502413", tors, 10, 1.05) | |
4582 | local vel2 = Instance.new("BodyVelocity",tors) | |
4583 | vel2.Velocity = Vector3.new(0,30,0) | |
4584 | vel2.MaxForce = Vector3.new(10000000,10000000,10000000) | |
4585 | for i = 0,20,0.1 do | |
4586 | HitboxFunction(tors.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 7, 10, 20, 20, "Random Guy") | |
4587 | swait() | |
4588 | BlockEffect(maincolor, ra.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1) | |
4589 | BlockEffect(maincolor, la.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1) | |
4590 | CameraEnshaking(1, 4) | |
4591 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) | |
4592 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
4593 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
4594 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
4595 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
4596 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1) | |
4597 | end | |
4598 | hum.WalkSpeed = 16 | |
4599 | vel2:Destroy() | |
4600 | attack = false | |
4601 | end | |
4602 | ||
4603 | function Taunt1() | |
4604 | attack = true | |
4605 | hum.WalkSpeed = 3.01 | |
4606 | Cso("1535994137", hed, 10, 1) | |
4607 | for i = 0, 9, 0.1 do | |
4608 | swait() | |
4609 | hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1) | |
4610 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1) | |
4611 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1) | |
4612 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
4613 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1) | |
4614 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.8* Player_Size) * angles(Rad(10), Rad(-20), Rad(-90)), 0.2) | |
4615 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0 + 0.025 * Sin(sine / 20)* Player_Size, -.8* Player_Size) * angles(Rad(6), Rad(20), Rad(90)), 0.2) | |
4616 | end | |
4617 | hum.WalkSpeed = 16 | |
4618 | attack = false | |
4619 | end | |
4620 | ||
4621 | function Destruction() | |
4622 | attack = true | |
4623 | local Ring1 = Instance.new("Part", char) | |
4624 | Ring1.Anchored = true | |
4625 | Ring1.BrickColor = maincolor | |
4626 | Ring1.CanCollide = false | |
4627 | Ring1.FormFactor = 3 | |
4628 | Ring1.Name = "Ring" | |
4629 | Ring1.Material = "Neon" | |
4630 | Ring1.Size = Vector3.new(1, 0.05, 1) | |
4631 | Ring1.Transparency = 1 | |
4632 | Ring1.TopSurface = 0 | |
4633 | Ring1.BottomSurface = 0 | |
4634 | local Ring1Mesh = Instance.new("SpecialMesh", Ring1) | |
4635 | Ring1Mesh.MeshType = "Brick" | |
4636 | Ring1Mesh.Name = "SizeMesh" | |
4637 | Ring1Mesh.Scale = Vector3.new(0, 1, 0) | |
4638 | local InnerRing1 = Ring1:Clone() | |
4639 | InnerRing1.Parent = char | |
4640 | InnerRing1.Transparency = 0 | |
4641 | InnerRing1.BrickColor = BrickColor.new("New Yeller") | |
4642 | InnerRing1.Size = Vector3.new(1, 1, 1) | |
4643 | local InnerRing1Mesh = InnerRing1.SizeMesh | |
4644 | InnerRing1Mesh.Scale = Vector3.new(0, 0, 0) | |
4645 | InnerRing1Mesh.MeshType = "Sphere" | |
4646 | Ring1:Destroy() | |
4647 | for i = 0, 5, 0.1 do | |
4648 | swait() | |
4649 | SphereAura(7, 0.12, "Add", ra.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0) | |
4650 | SphereAura(7, 0.12, "Add", ra.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, BrickC("Institutional white"), 0) | |
4651 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.15) | |
4652 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
4653 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-12.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) | |
4654 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) | |
4655 | RW.C0 = clerp(RW.C0, CF(1.1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-25)), 0.1) | |
4656 | LW.C0 = clerp(LW.C0, CF(-1.1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(25)), 0.1) | |
4657 | root.CFrame = FaceMouse()[1] | |
4658 | end | |
4659 | InnerRing1.Transparency = 1 | |
4660 | InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 5 | |
4661 | CreateSound("294188875", char, 2.3, 1) | |
4662 | local a = IT("Part", char) | |
4663 | a.Name = "Direction" | |
4664 | a.Anchored = true | |
4665 | a.BrickColor = maincolor | |
4666 | a.Material = "Neon" | |
4667 | a.Transparency = 0 | |
4668 | a.Shape = "Cylinder" | |
4669 | a.CanCollide = false | |
4670 | local a2 = IT("Part", char) | |
4671 | a2.Name = "Direction" | |
4672 | a2.Anchored = true | |
4673 | a2.BrickColor = maincolor | |
4674 | a2.Color = maincolor.Color | |
4675 | a2.Material = "Neon" | |
4676 | a2.Transparency = 0.5 | |
4677 | a2.Shape = "Cylinder" | |
4678 | a2.CanCollide = false | |
4679 | local ba = IT("Part", char) | |
4680 | ba.Name = "HitDirect" | |
4681 | ba.Anchored = true | |
4682 | ba.BrickColor = maincolor | |
4683 | ba.Material = "Neon" | |
4684 | ba.Transparency = 1 | |
4685 | ba.CanCollide = false | |
4686 | local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) | |
4687 | local ignore = char | |
4688 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4689 | a.BottomSurface = 10 | |
4690 | a.TopSurface = 10 | |
4691 | a2.BottomSurface = 10 | |
4692 | a2.TopSurface = 10 | |
4693 | local distance = (InnerRing1.CFrame.p - position).magnitude | |
4694 | a.Size = Vector3.new(distance, 1, 1) | |
4695 | a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
4696 | a2.Size = Vector3.new(distance, 1, 1) | |
4697 | a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
4698 | ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) | |
4699 | a.CFrame = a.CFrame * angles(0, Rad(90), 0) | |
4700 | a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) | |
4701 | game:GetService("Debris"):AddItem(a, 20) | |
4702 | game:GetService("Debris"):AddItem(a2, 20) | |
4703 | game:GetService("Debris"):AddItem(ba, 20) | |
4704 | local msh = Instance.new("SpecialMesh", a) | |
4705 | msh.MeshType = "Sphere" | |
4706 | msh.Scale = Vector3.new(1, 25, 25) | |
4707 | local msh2 = Instance.new("SpecialMesh", a2) | |
4708 | msh2.MeshType = "Sphere" | |
4709 | msh2.Scale = Vector3.new(1, 30, 30) | |
4710 | for i = 0, 10, 0.1 do | |
4711 | swait() | |
4712 | root.CFrame = FaceMouse()[1] | |
4713 | hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1)) | |
4714 | a2.Color = maincolor.Color | |
4715 | InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
4716 | ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) | |
4717 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4718 | distance = (InnerRing1.CFrame.p - position).magnitude | |
4719 | a.Size = Vector3.new(distance, 1, 1) | |
4720 | a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
4721 | a2.Size = Vector3.new(distance, 1, 1) | |
4722 | a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
4723 | ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) | |
4724 | a.CFrame = a.CFrame * angles(0, Rad(90), 0) | |
4725 | a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) | |
4726 | msh.Scale = msh.Scale - Vector3.new(0, 0.25, 0.25) | |
4727 | msh2.Scale = msh2.Scale - Vector3.new(0, 0.3, 0.3) | |
4728 | SphereAura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0) | |
4729 | SphereAura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0) | |
4730 | for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do | |
4731 | if v:FindFirstChild("Head") then | |
4732 | Eviscerate(v) | |
4733 | SoulSteal(v) | |
4734 | end | |
4735 | end | |
4736 | end | |
4737 | a:Destroy() | |
4738 | a2:Destroy() | |
4739 | ba:Destroy() | |
4740 | InnerRing1:Destroy() | |
4741 | attack = false | |
4742 | hum.CameraOffset = Vector3.new(0,0,0) | |
4743 | end | |
4744 | ||
4745 | function GIMME_THOSE() | |
4746 | attack = true | |
4747 | chatfunc("BURN....", BrickColor.random().Color) | |
4748 | for i = 0,5.2,0.1 do | |
4749 | swait() | |
4750 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
4751 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
4752 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
4753 | LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
4754 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1) | |
4755 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1) | |
4756 | end | |
4757 | chatfunc("IN....", BrickColor.random().Color) | |
4758 | wait(2) | |
4759 | CreateSound("331666100", char, 10, 1) | |
4760 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
4761 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
4762 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
4763 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
4764 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
4765 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
4766 | chatfunc("HELL!!!!!", BrickColor.random().Color) | |
4767 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
4768 | if v:FindFirstChild("Head") then | |
4769 | Eviscerate(v) | |
4770 | SoulSteal(v) | |
4771 | end | |
4772 | end | |
4773 | coroutine.resume(coroutine.create(function() | |
4774 | for i = 0,2.8,0.1 do | |
4775 | swait() | |
4776 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
4777 | end | |
4778 | for i = 0,1.8,0.1 do | |
4779 | swait() | |
4780 | hum.CameraOffset = Vector3.new(0,0,0) | |
4781 | end | |
4782 | end)) | |
4783 | for i = 0,3.7,0.1 do | |
4784 | SphereAura(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) | |
4785 | SphereAura(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) | |
4786 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
4787 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
4788 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15) | |
4789 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15) | |
4790 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
4791 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
4792 | end | |
4793 | wait(.6) | |
4794 | CreateSound("907332997", hed, 10, 1) | |
4795 | attack = false | |
4796 | end | |
4797 | ||
4798 | function Eruption() | |
4799 | attack = true | |
4800 | hum.WalkSpeed = 2 | |
4801 | hum.JumpPower = 0 | |
4802 | for i = 0,7,0.1 do | |
4803 | HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 1, "Normal") | |
4804 | swait() | |
4805 | Effects.Block.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
4806 | Effects.Block.Create(BrickC("Really black"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
4807 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) | |
4808 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
4809 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
4810 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
4811 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1) | |
4812 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.1) | |
4813 | end | |
4814 | CreateSound("144699494", tors, 10, 1) | |
4815 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 1.6, 1.6, 1.6, 0.02) | |
4816 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 3.6, 3.6, 3.6, 0.02) | |
4817 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 5.6, 5.6, 5.6, 0.02) | |
4818 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 8.6, 8, 8, 0.03) | |
4819 | MagniDamage(tors, 30, 40, 75, 7, "DarkUp") | |
4820 | coroutine.resume(coroutine.create(function() | |
4821 | for i = 0,1.8,0.1 do | |
4822 | swait() | |
4823 | hum.CameraOffset = Vector3.new(Mrandom(-4,4),Mrandom(-4,4),Mrandom(-4,4)) | |
4824 | end | |
4825 | for i = 0,1.8,0.1 do | |
4826 | swait() | |
4827 | hum.CameraOffset = Vector3.new(0,0,0) | |
4828 | end | |
4829 | end)) | |
4830 | local vel2 = Instance.new("BodyVelocity",tors) | |
4831 | vel2.Velocity = Vector3.new(0,55,0) | |
4832 | vel2.MaxForce = Vector3.new(10000000,10000000,10000000) | |
4833 | for i = 0,4,0.1 do | |
4834 | HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 7, 20, 35, 3, "Normal") | |
4835 | swait() | |
4836 | Effects.Block.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
4837 | Effects.Block.Create(BrickC("Really black"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
4838 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) | |
4839 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
4840 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
4841 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
4842 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1) | |
4843 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.1) | |
4844 | end | |
4845 | hum.WalkSpeed = 16 | |
4846 | vel2:Destroy() | |
4847 | hum.JumpPower = 50 | |
4848 | attack = false | |
4849 | end | |
4850 | function Solar_Flare() | |
4851 | attack = true | |
4852 | hum.WalkSpeed = 2 | |
4853 | hum.JumpPower = 75 | |
4854 | hum.Jump = true | |
4855 | wait(0.4) | |
4856 | CreateSound("144699494", tors, 10, 1) | |
4857 | hum.JumpPower = 0 | |
4858 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, .6, .6, .6, 0.02) | |
4859 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, 1.6, 1.6, 1.6, 0.02) | |
4860 | Effects.Ring.Create(BrickC("Really black"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, 2.6, 2.6, 2.6, 0.02) | |
4861 | for i = 0,20,0.1 do | |
4862 | root.Velocity = root.CFrame.lookVector * 60 | |
4863 | HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 14, 25, 35, 0, "Freeze") | |
4864 | swait() | |
4865 | Effects.Block.Create(BrickC("Really black"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 12, 12, 12, 0.05) | |
4866 | Effects.Block.Create(BrickC("Really black"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 12, 12, 12, 0.05) | |
4867 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(90), Rad(0), Rad(0-255.45*i)), 0.15) | |
4868 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
4869 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
4870 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
4871 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
4872 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1) | |
4873 | end | |
4874 | hum.WalkSpeed = 16 | |
4875 | hum.JumpPower = 50 | |
4876 | attack = false | |
4877 | end | |
4878 | ------------------------------------------------------- | |
4879 | --End Attacks N Stuff-- | |
4880 | ------------------------------------------------------- | |
4881 | Sprinting = false | |
4882 | mouse.KeyDown:connect(function(key) | |
4883 | if string.byte(key) == 48 and attack == false and Mode ~= 10 then | |
4884 | Swing = 2 | |
4885 | hum.WalkSpeed = 38.82 | |
4886 | Sprinting = true | |
4887 | end | |
4888 | end) | |
4889 | mouse.KeyUp:connect(function(key) | |
4890 | if string.byte(key) == 48 and attack == false then | |
4891 | Swing = 1 | |
4892 | Sprinting = false | |
4893 | hum.WalkSpeed = 16 | |
4894 | end | |
4895 | end) | |
4896 | mouse.KeyDown:connect(function(key) | |
4897 | if attack == false then | |
4898 | if key == 'q' and Mode == 1 then | |
4899 | Power_Burst() | |
4900 | elseif key == '1' and Mode ~= 2 then | |
4901 | Mode = 2 | |
4902 | SONG = 254826701 | |
4903 | tecks2.Text = "Evil Gloves" | |
4904 | tecks2.TextColor3 = Color3.fromRGB(196, 40, 28) | |
4905 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 89, 89) | |
4906 | for i, v in pairs(ArmorColorParts) do | |
4907 | v.BrickColor = BrickColor.new("Bright red") | |
4908 | v.Material = "Neon" | |
4909 | v.Transparency = 0 | |
4910 | end | |
4911 | for i, v in pairs(ArmorColorParts2) do | |
4912 | v.BrickColor = BrickColor.new("Persimmon") | |
4913 | v.Material = "Neon" | |
4914 | v.Transparency = 0 | |
4915 | end | |
4916 | for i, v in pairs(NeonColorParts) do | |
4917 | maincolor = BrickColor.new("New Yeller") | |
4918 | v.BrickColor = maincolor | |
4919 | v.Material = "Neon" | |
4920 | v.Transparency = 0 | |
4921 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=404306534" | |
4922 | end | |
4923 | elseif key == '1' and Mode == 2 then | |
4924 | resetmode() | |
4925 | elseif key == 't' and Mode == 1 then | |
4926 | Taunt() | |
4927 | elseif key == 'q' and Mode == 2 then | |
4928 | Magic_Bombs() | |
4929 | elseif key == 'e' and Mode == 2 then | |
4930 | Dangerous_Field() | |
4931 | elseif key == 't' and Mode == 2 then | |
4932 | HAAH() | |
4933 | end | |
4934 | --------------------------------------------------------------------- | |
4935 | if key == 'm' and Mode == 1 then | |
4936 | Mode = pIXELATED | |
4937 | SONG = 853518668 | |
4938 | tecks2.Text = "PiXeL" | |
4939 | tecks2.TextColor3 = Color3.fromRGB(0, 255, 255) | |
4940 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 255) | |
4941 | for i, v in pairs(ArmorColorParts) do | |
4942 | v.BrickColor = BrickColor.new("Navy blue") | |
4943 | v.Material = "Neon" | |
4944 | v.Transparency = 0 | |
4945 | end | |
4946 | for i, v in pairs(ArmorColorParts2) do | |
4947 | v.BrickColor = BrickColor.new("Dark blue") | |
4948 | v.Material = "Neon" | |
4949 | v.Transparency = 0 | |
4950 | end | |
4951 | for i, v in pairs(NeonColorParts) do | |
4952 | maincolor = BrickColor.new("Lapis") | |
4953 | v.BrickColor = maincolor | |
4954 | v.Material = "Neon" | |
4955 | v.Transparency = 0 | |
4956 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=231432333" | |
4957 | end | |
4958 | elseif key == 'm' and Mode == pIXELATED then | |
4959 | resetmode() | |
4960 | elseif key == 'q' and Mode == pIXELATED and corrupted == false then | |
4961 | Pixel_Corrupt() | |
4962 | end | |
4963 | --------------------------------------------------------------------- | |
4964 | if key == '2' and Mode ~= 3 then | |
4965 | Mode = 3 | |
4966 | SONG = 235468324 | |
4967 | tecks2.Text = "Chill" | |
4968 | tecks2.TextColor3 = Color3.fromRGB(0, 255, 255) | |
4969 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
4970 | for i, v in pairs(ArmorColorParts) do | |
4971 | v.BrickColor = BrickColor.new("Bright blue") | |
4972 | v.Material = "Neon" | |
4973 | v.Transparency = 0 | |
4974 | end | |
4975 | for i, v in pairs(ArmorColorParts2) do | |
4976 | v.BrickColor = BrickColor.new("Institutional white") | |
4977 | v.Material = "Neon" | |
4978 | v.Transparency = 0 | |
4979 | end | |
4980 | for i, v in pairs(NeonColorParts) do | |
4981 | maincolor = BrickColor.new("Toothpaste") | |
4982 | v.BrickColor = maincolor | |
4983 | v.Material = "Neon" | |
4984 | v.Transparency = 0 | |
4985 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=148988280" | |
4986 | end | |
4987 | elseif key == '2' and Mode == 3 then | |
4988 | resetmode() | |
4989 | elseif key == 't' and Mode == 3 then | |
4990 | un_fun() | |
4991 | elseif key == 'q' and Mode == 3 then | |
4992 | Shockwave() | |
4993 | end | |
4994 | --------------------------------------------------------------------- | |
4995 | if key == 'n' and Mode == 9 then | |
4996 | Mode = 1555 | |
4997 | SONG = 1131624146 | |
4998 | tecks2.Text = "Anime" | |
4999 | tecks2.TextColor3 = Color3.fromRGB(255,0,255) | |
5000 | tecks2.TextStrokeColor3 = Color3.fromRGB(255,0,255) | |
5001 | for i, v in pairs(ArmorColorParts) do | |
5002 | v.BrickColor = BrickColor.new("Carnation pink") | |
5003 | v.Material = "Neon" | |
5004 | v.Transparency = 0 | |
5005 | end | |
5006 | for i, v in pairs(ArmorColorParts2) do | |
5007 | v.BrickColor = BrickColor.new("Hot White") | |
5008 | v.Material = "Neon" | |
5009 | v.Transparency = 0 | |
5010 | end | |
5011 | for i, v in pairs(NeonColorParts) do | |
5012 | maincolor = BrickColor.new("Carnation pink") | |
5013 | v.BrickColor = maincolor | |
5014 | v.Material = "Neon" | |
5015 | v.Transparency = 0 | |
5016 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=648887959" | |
5017 | end | |
5018 | elseif key == 'k' and Mode == 1555 then | |
5019 | resetmode() | |
5020 | elseif key == 'y' and Mode == 1555 then | |
5021 | Field() | |
5022 | elseif key == 't' and Mode == 1555 then | |
5023 | lolik() | |
5024 | elseif key == 'q' and Mode == 1555 then | |
5025 | Pixel_Corrupt() | |
5026 | elseif key == 'f' and Mode == 1555 then | |
5027 | Anime_Splosion() | |
5028 | elseif key == 'z' and Mode == 1555 then | |
5029 | Cryo_Freeze() | |
5030 | elseif key == 'x' and Mode == 1555 then | |
5031 | Painful_Stomp2() | |
5032 | end | |
5033 | ||
5034 | --------------------------------------------------------------------- | |
5035 | if key == 'm' and Mode == 6 then | |
5036 | Mode = 1800 | |
5037 | SONG = 1118967006 | |
5038 | tecks2.Text = "Forbidden Soul" | |
5039 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
5040 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
5041 | for i, v in pairs(ArmorColorParts) do | |
5042 | v.BrickColor = BrickColor.new("Hot White") | |
5043 | v.Material = "Neon" | |
5044 | v.Transparency = 0 | |
5045 | end | |
5046 | for i, v in pairs(ArmorColorParts2) do | |
5047 | v.BrickColor = BrickColor.new("Really black") | |
5048 | v.Material = "Neon" | |
5049 | v.Transparency = 0 | |
5050 | end | |
5051 | for i, v in pairs(NeonColorParts) do | |
5052 | maincolor = BrickColor.new("Really black") | |
5053 | v.BrickColor = maincolor | |
5054 | v.Material = "Neon" | |
5055 | v.Transparency = 0 | |
5056 | end | |
5057 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=404306534" | |
5058 | elseif key == 't' and Mode == 1800 then | |
5059 | TTTTTTTTTTGaunt() | |
5060 | elseif key == 'l' and Mode == 1800 then | |
5061 | resetmode() | |
5062 | elseif key == 'q' and Mode == 1800 and exploitable == true then | |
5063 | Exploit() | |
5064 | elseif key == 'y' and Mode == 1800 then | |
5065 | Ancient_Rage() | |
5066 | elseif key == 'r' and Mode == 1800 then | |
5067 | Distort() | |
5068 | elseif key == 'g' and Mode == 1800 then | |
5069 | Hell_From_Above() | |
5070 | elseif key == 'h' and Mode == 1800 then | |
5071 | Universal_Crush() | |
5072 | elseif key == 'j' and Mode == 1800 then | |
5073 | Multi_Bombs() | |
5074 | elseif key == 'z' and Mode == 1800 then | |
5075 | Eruption() | |
5076 | elseif key == 'x' and Mode == 1800 then | |
5077 | Solar_Flare() | |
5078 | end | |
5079 | --------------------------------------------------------------------- | |
5080 | if key == '3' and Mode ~= 4 then | |
5081 | Mode = 4 | |
5082 | SONG = 595800581 | |
5083 | tecks2.Text = "Divinity" | |
5084 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
5085 | tecks2.TextStrokeColor3 = Color3.fromRGB(245, 205, 48) | |
5086 | for i, v in pairs(ArmorColorParts) do | |
5087 | v.BrickColor = BrickColor.new("Black") | |
5088 | v.Material = "Neon" | |
5089 | v.Transparency = 0 | |
5090 | end | |
5091 | for i, v in pairs(ArmorColorParts2) do | |
5092 | v.BrickColor = BrickColor.new("Really black") | |
5093 | v.Material = "Neon" | |
5094 | v.Transparency = 0 | |
5095 | end | |
5096 | for i, v in pairs(NeonColorParts) do | |
5097 | maincolor = BrickColor.new("Bright yellow") | |
5098 | v.BrickColor = maincolor | |
5099 | v.Material = "Neon" | |
5100 | v.Transparency = 0 | |
5101 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=329945268" | |
5102 | end | |
5103 | elseif key == '3' and Mode == 4 then | |
5104 | resetmode() | |
5105 | elseif key == 't' and Mode == 4 then | |
5106 | again() | |
5107 | elseif key == 'q' and Mode == 4 then | |
5108 | Pulse() | |
5109 | end | |
5110 | --------------------------------------------------------------------- | |
5111 | if key == 'm' and Mode == 4 then | |
5112 | attack = true | |
5113 | SONG = 1881895904 | |
5114 | hum.WalkSpeed = 0 | |
5115 | for i = 1,20,0.1 do | |
5116 | swait() | |
5117 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05) | |
5118 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05) | |
5119 | RH.C0 = clerp(RH.C0, CF(1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05) | |
5120 | LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05) | |
5121 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(75)), 0.05) | |
5122 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-75)), 0.05) | |
5123 | BlockEffect(maincolor, tors.CFrame * CF(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)), 4, 4, 4, 0.8, 0.8, 0.8, 0.05, 1) | |
5124 | end | |
5125 | hum.WalkSpeed = 16 | |
5126 | attack = false | |
5127 | Mode = 100 | |
5128 | tecks2.Text = "OverPowered-Divinity" | |
5129 | tecks2.TextColor3 = Color3.fromRGB(1, 1, 1) | |
5130 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 176, 0) | |
5131 | Cso("743499393", tors, 10, 1.05) | |
5132 | BlockEffect(BrickC("New Yeller"), Handle.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1) | |
5133 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1) | |
5134 | for i, v in pairs(ArmorColorParts) do | |
5135 | v.BrickColor = BrickColor.new("Really black") | |
5136 | v.Material = "Neon" | |
5137 | v.Transparency = 0.2 | |
5138 | end | |
5139 | for i, v in pairs(ArmorColorParts2) do | |
5140 | v.BrickColor = BrickColor.new("Hot White") | |
5141 | v.Material = "Neon" | |
5142 | v.Transparency = 0 | |
5143 | end | |
5144 | for i, v in pairs(NeonColorParts) do | |
5145 | maincolor = BrickColor.new("Deep orange") | |
5146 | v.BrickColor = maincolor | |
5147 | v.Material = "Neon" | |
5148 | v.Transparency = 0.5 | |
5149 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=329945268" | |
5150 | end | |
5151 | elseif key == 'm' and Mode == 100 then | |
5152 | resetmode() | |
5153 | elseif key == 'q' and Mode == 100 then | |
5154 | LAZER() | |
5155 | end | |
5156 | --------------------------------------------------------------------- | |
5157 | if key == '4' and Mode ~= 5 then | |
5158 | Mode = 5 | |
5159 | SONG = 170282324 | |
5160 | tecks2.Text = "Cyber Monarch" | |
5161 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
5162 | tecks2.TextStrokeColor3 = Color3.fromRGB(255,0,0) | |
5163 | for i, v in pairs(ArmorColorParts) do | |
5164 | v.BrickColor = BrickColor.new("Black") | |
5165 | v.Material = "Neon" | |
5166 | v.Transparency = 0 | |
5167 | end | |
5168 | for i, v in pairs(ArmorColorParts2) do | |
5169 | v.BrickColor = BrickColor.new("Really black") | |
5170 | v.Material = "Neon" | |
5171 | v.Transparency = 0 | |
5172 | end | |
5173 | for i, v in pairs(NeonColorParts) do | |
5174 | maincolor = BrickColor.new("Really red") | |
5175 | v.BrickColor = maincolor | |
5176 | v.Material = "Neon" | |
5177 | v.Transparency = 0 | |
5178 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=300139178" | |
5179 | end | |
5180 | elseif key == '4' and Mode == 5 then | |
5181 | resetmode() | |
5182 | elseif key == 'q' and Mode == 5 and exploitable == true then | |
5183 | Exploit() | |
5184 | elseif key == 't' and Mode == 5 then | |
5185 | PENIS() | |
5186 | end | |
5187 | --------------------------------------------------------------------- | |
5188 | if key == '5' and Mode ~= 6 then | |
5189 | Mode = 6 | |
5190 | SONG = 1810750535 | |
5191 | tecks2.Text = "The_Hell_Error_BR" | |
5192 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
5193 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 89, 89) | |
5194 | for i, v in pairs(ArmorColorParts) do | |
5195 | v.BrickColor = BrickColor.new("Dark red") | |
5196 | v.Material = "Neon" | |
5197 | v.Transparency = 0 | |
5198 | end | |
5199 | for i, v in pairs(ArmorColorParts2) do | |
5200 | v.BrickColor = BrickColor.new("Really black") | |
5201 | v.Material = "Neon" | |
5202 | v.Transparency = 0 | |
5203 | end | |
5204 | for i, v in pairs(NeonColorParts) do | |
5205 | maincolor = BrickColor.new("Really red") | |
5206 | v.BrickColor = maincolor | |
5207 | v.Material = "Neon" | |
5208 | v.Transparency = 0 | |
5209 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=176777497" | |
5210 | end | |
5211 | elseif key == '5' and Mode == 6 then | |
5212 | resetmode() | |
5213 | elseif key == 'q' and Mode == 6 then | |
5214 | Distort() | |
5215 | elseif key == 'e' and Mode == 6 then | |
5216 | Ancient_Rage() | |
5217 | elseif key == 't' and Mode == 6 then | |
5218 | TTTTTTTTTTTaunt() | |
5219 | end | |
5220 | --------------------------------------------------------------------- | |
5221 | if key == '6' and Mode ~= 7 then | |
5222 | Mode = 7 | |
5223 | SONG = 150794704 | |
5224 | tecks2.Text = "Doge" | |
5225 | tecks2.TextColor3 = Color3.fromRGB(163, 162, 165) | |
5226 | tecks2.TextStrokeColor3 = Color3.fromRGB(253, 234, 141) | |
5227 | for i, v in pairs(ArmorColorParts) do | |
5228 | v.BrickColor = BrickColor.new("Cool yellow") | |
5229 | v.Material = "Neon" | |
5230 | v.Transparency = 0 | |
5231 | end | |
5232 | for i, v in pairs(ArmorColorParts2) do | |
5233 | v.BrickColor = BrickColor.new("Medium stone grey") | |
5234 | v.Material = "Neon" | |
5235 | v.Transparency = 0 | |
5236 | end | |
5237 | for i, v in pairs(NeonColorParts) do | |
5238 | maincolor = BrickColor.new("New Yeller") | |
5239 | v.BrickColor = maincolor | |
5240 | v.Material = "Neon" | |
5241 | v.Transparency = 0 | |
5242 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=246991049" | |
5243 | end | |
5244 | elseif key == '6' and Mode == 7 then | |
5245 | resetmode() | |
5246 | elseif key == 't' and Mode == 7 then | |
5247 | BARK() | |
5248 | elseif key == 'q' and Mode == 7 then | |
5249 | Bark_Splosion() | |
5250 | end | |
5251 | if key == 'm' and Mode == 7 then | |
5252 | SONG = 1359036559 | |
5253 | attack = true | |
5254 | hum.WalkSpeed = 0 | |
5255 | for i = 0,10,0.08 do | |
5256 | swait() | |
5257 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0 + 255.45 * i)), 0.15) | |
5258 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
5259 | RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
5260 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
5261 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
5262 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) | |
5263 | end | |
5264 | attack = false | |
5265 | hum.WalkSpeed = 16 | |
5266 | Mode = 50 | |
5267 | BlockEffect(BrickC("Magenta"), Handle.CFrame * CF(0, -0, 0), 25, 25, 25, 30, 30, 30, 0.05, 1) | |
5268 | tecks2.Text = "SUPER_OVERPOWERED_DOGE" | |
5269 | tecks2.TextColor3 = Color3.fromRGB(255, 0, 255) | |
5270 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
5271 | for i, v in pairs(ArmorColorParts) do | |
5272 | v.BrickColor = BrickColor.new("Magenta") | |
5273 | v.Material = "Neon" | |
5274 | v.Transparency = 0 | |
5275 | end | |
5276 | for i, v in pairs(ArmorColorParts2) do | |
5277 | v.BrickColor = BrickColor.new("Dark indigo") | |
5278 | v.Material = "Neon" | |
5279 | v.Transparency = 0.1 | |
5280 | end | |
5281 | for i, v in pairs(NeonColorParts) do | |
5282 | maincolor = BrickColor.new("White") | |
5283 | v.BrickColor = maincolor | |
5284 | v.Material = "Neon" | |
5285 | v.Transparency = 0 | |
5286 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=148988280" | |
5287 | end | |
5288 | elseif key == 'm' and Mode == 50 then | |
5289 | resetmode() | |
5290 | elseif key == 'q' and Mode == 50 then | |
5291 | ASCENTION() | |
5292 | elseif key == 't' and Mode == 50 then | |
5293 | nope() | |
5294 | elseif key == 'y' and Mode == 50 then | |
5295 | EndMySufferingV2() | |
5296 | end | |
5297 | --------------------------------------------------------------------- | |
5298 | if key == 'n' and Mode == 7 then | |
5299 | Mode = 6666 | |
5300 | SONG = 2039029608 | |
5301 | tecks2.Text = "MEMER" | |
5302 | BlockEffect(BrickC("Dark Blue"), Handle.CFrame * CF(0, -0, 0), 25, 25, 25, 30, 30, 30, 0.05, 1) | |
5303 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 255) | |
5304 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 255) | |
5305 | for i, v in pairs(ArmorColorParts) do | |
5306 | v.BrickColor = BrickColor.new("Dark blue") | |
5307 | v.Material = "Neon" | |
5308 | v.Transparency = 0 | |
5309 | end | |
5310 | for i, v in pairs(ArmorColorParts2) do | |
5311 | v.BrickColor = BrickColor.new("Institutional white") | |
5312 | v.Material = "Neon" | |
5313 | v.Transparency = 0 | |
5314 | end | |
5315 | for i, v in pairs(NeonColorParts) do | |
5316 | maincolor = BrickColor.new("Dark blue") | |
5317 | v.BrickColor = maincolor | |
5318 | v.Material = "Neon" | |
5319 | v.Transparency = 0 | |
5320 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=620619801" | |
5321 | end | |
5322 | elseif key == 'y' and Mode == 6666 then | |
5323 | somuchcancerwhy() | |
5324 | elseif key == 'r' and Mode == 6666 then | |
5325 | HAA55() | |
5326 | elseif key == 't' and Mode == 6666 then | |
5327 | EndMySufferingV3() | |
5328 | elseif key == 'f' and Mode == 6666 then | |
5329 | WhatHuh() | |
5330 | elseif key == 'g' and Mode == 6666 then | |
5331 | slap() | |
5332 | elseif key == 'h' and Mode == 6666 then | |
5333 | HAAAAA() | |
5334 | elseif key == 'j' and Mode == 6666 then | |
5335 | DANCEFORME() | |
5336 | elseif key == 'm' and Mode == 6666 then | |
5337 | thing() | |
5338 | end | |
5339 | --------------------------------------------------------------------- | |
5340 | if key == 'm' and Mode == 3 then | |
5341 | Mode = 8888 | |
5342 | SONG = 1752290765 | |
5343 | tecks2.Text = "Cancerous" | |
5344 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -0, 0), 25, 25, 25, 30, 30, 30, 0.05, 1) | |
5345 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
5346 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
5347 | for i, v in pairs(ArmorColorParts) do | |
5348 | v.BrickColor = BrickColor.new("Really Red") | |
5349 | v.Material = "Neon" | |
5350 | v.Transparency = 0 | |
5351 | end | |
5352 | for i, v in pairs(ArmorColorParts2) do | |
5353 | v.BrickColor = BrickColor.new("Black") | |
5354 | v.Material = "Neon" | |
5355 | v.Transparency = 0 | |
5356 | end | |
5357 | for i, v in pairs(NeonColorParts) do | |
5358 | maincolor = BrickColor.new("Really red") | |
5359 | v.BrickColor = maincolor | |
5360 | v.Material = "Neon" | |
5361 | v.Transparency = 0 | |
5362 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=1895698679" | |
5363 | end | |
5364 | elseif key == 'r' and Mode == 8888 then | |
5365 | Technobeam() | |
5366 | elseif key == 't' and Mode == 8888 then | |
5367 | Taunt1() | |
5368 | elseif key == 'y' and Mode == 8888 then | |
5369 | Destruction() | |
5370 | end | |
5371 | -------------------------------------------------------- | |
5372 | if key == 'm' and Mode == 5 then | |
5373 | Mode = 7777 | |
5374 | SONG = 919231299 | |
5375 | tecks2.Text = "The_Insanity_Error" | |
5376 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -0, 0), 25, 25, 25, 30, 30, 30, 0.05, 1) | |
5377 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
5378 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 89, 89) | |
5379 | for i, v in pairs(ArmorColorParts) do | |
5380 | v.BrickColor = BrickColor.new("Dark blue") | |
5381 | v.Material = "Neon" | |
5382 | v.Transparency = 0 | |
5383 | end | |
5384 | for i, v in pairs(ArmorColorParts2) do | |
5385 | v.BrickColor = BrickColor.new("Hot White") | |
5386 | v.Material = "Neon" | |
5387 | v.Transparency = 0 | |
5388 | end | |
5389 | for i, v in pairs(NeonColorParts) do | |
5390 | maincolor = BrickColor.new("Really red") | |
5391 | v.BrickColor = maincolor | |
5392 | v.Material = "Neon" | |
5393 | v.Transparency = 0 | |
5394 | char.Head.face.Texture = "http://www.roblox.com/asset/?id="..insanityface[math.random(1,#insanityface)] | |
5395 | end | |
5396 | elseif key == 'y' and Mode == 7777 then | |
5397 | Painful_Stomp() | |
5398 | elseif key == 't' and Mode == 7777 then | |
5399 | FearMe() | |
5400 | elseif key == 'r' and Mode == 7777 then | |
5401 | GIMME_THOSE() | |
5402 | end | |
5403 | -------------------------------------------------------- | |
5404 | if key == 'm' and Mode == 8 then | |
5405 | Mode = 25 | |
5406 | SONG = 1564523997 | |
5407 | tecks2.Text = "Ghost" | |
5408 | BlockEffect(BrickC("Fog"), Handle.CFrame * CF(0, -0, 0), 25, 25, 25, 30, 30, 30, 0.05, 1) | |
5409 | tecks2.TextColor3 = Color3.fromRGB(255, 255, 255) | |
5410 | tecks2.TextStrokeColor3 = Color3.fromRGB(163, 162, 165) | |
5411 | for i, v in pairs(ArmorColorParts) do | |
5412 | v.BrickColor = BrickColor.new("Ghost grey") | |
5413 | v.Material = "Neon" | |
5414 | v.Transparency = 0.7 | |
5415 | end | |
5416 | for i, v in pairs(ArmorColorParts2) do | |
5417 | v.BrickColor = BrickColor.new("Quill grey") | |
5418 | v.Material = "Neon" | |
5419 | v.Transparency = 0.5 | |
5420 | end | |
5421 | for i, v in pairs(NeonColorParts) do | |
5422 | maincolor = BrickColor.new("Fog") | |
5423 | v.BrickColor = maincolor | |
5424 | v.Material = "Neon" | |
5425 | v.Transparency = 0.5 | |
5426 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=148988280" | |
5427 | end | |
5428 | elseif key == 'm' and Mode == 25 then | |
5429 | resetmode() | |
5430 | elseif key == 't' and Mode == 25 then | |
5431 | thisisit() | |
5432 | elseif key == 'q' and Mode == 25 then | |
5433 | Spirit_Beam() | |
5434 | end | |
5435 | --------------------------------------------------------------------- | |
5436 | if key == '7' and Mode ~= 8 then | |
5437 | Mode = 8 | |
5438 | SONG = 207375545 | |
5439 | tecks2.Text = "Purity" | |
5440 | tecks2.TextColor3 = Color3.fromRGB(18, 238, 212) | |
5441 | tecks2.TextStrokeColor3 = Color3.fromRGB(4, 175, 236) | |
5442 | for i, v in pairs(ArmorColorParts) do | |
5443 | v.BrickColor = BrickColor.new("Teal") | |
5444 | v.Material = "Neon" | |
5445 | v.Transparency = 0 | |
5446 | end | |
5447 | for i, v in pairs(ArmorColorParts2) do | |
5448 | v.BrickColor = BrickColor.new("Medium stone grey") | |
5449 | v.Material = "Neon" | |
5450 | v.Transparency = 0 | |
5451 | end | |
5452 | for i, v in pairs(NeonColorParts) do | |
5453 | maincolor = BrickColor.new("Cyan") | |
5454 | v.BrickColor = maincolor | |
5455 | v.Material = "Neon" | |
5456 | v.Transparency = 0 | |
5457 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=155195214" | |
5458 | end | |
5459 | elseif key == '7' and Mode == 8 then | |
5460 | resetmode() | |
5461 | elseif key == 'q' and Mode == 8 then | |
5462 | LunarSpin() | |
5463 | end | |
5464 | --------------------------------------------------------------------- | |
5465 | if key == '8' and Mode ~= 9 then | |
5466 | Mode = 9 | |
5467 | SONG = 563062677 | |
5468 | tecks2.Text = "Grim" | |
5469 | tecks2.TextColor3 = Color3.new(255, 255, 255) | |
5470 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
5471 | for i, v in pairs(ArmorColorParts) do | |
5472 | v.BrickColor = BrickColor.new("Institutional white") | |
5473 | v.Material = "Neon" | |
5474 | v.Transparency = 0 | |
5475 | end | |
5476 | for i, v in pairs(ArmorColorParts2) do | |
5477 | v.BrickColor = BrickColor.new("Really black") | |
5478 | v.Material = "Neon" | |
5479 | v.Transparency = 0.5 | |
5480 | end | |
5481 | for i, v in pairs(NeonColorParts) do | |
5482 | maincolor = BrickColor.new("Institutional white") | |
5483 | v.BrickColor = maincolor | |
5484 | v.Material = "Neon" | |
5485 | v.Transparency = 0 | |
5486 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=398671601" | |
5487 | end | |
5488 | elseif key == '8' and Mode == 9 then | |
5489 | resetmode() | |
5490 | elseif key == 't' and Mode == 9 then | |
5491 | heregoes() | |
5492 | elseif key == 'q' and Mode == 9 then | |
5493 | BalanceSpin() | |
5494 | elseif key == 'y' and Mode == 9 then | |
5495 | Ancient_Ragu() | |
5496 | end | |
5497 | --------------------------------------------------------------------------- | |
5498 | if key == 'm' and Mode == 9 and Mode ~= 10 and Sprinting == false then | |
5499 | Mode = 10 | |
5500 | SONG = 623662713 | |
5501 | local A = math.random(1,4) | |
5502 | if A == 1 then | |
5503 | SONG = 623662713 | |
5504 | elseif A == 2 then | |
5505 | SONG = 943961217 | |
5506 | elseif A == 3 then | |
5507 | SONG = 623662713 | |
5508 | elseif A == 4 then | |
5509 | SONG = 919231299 | |
5510 | end | |
5511 | tecks2.Text = "ErRoR Of The InSaNiTy" | |
5512 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
5513 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
5514 | for i, v in pairs(ArmorColorParts) do | |
5515 | v.BrickColor = BrickColor.random() | |
5516 | v.Material = "Neon" | |
5517 | v.Transparency = 0 | |
5518 | end | |
5519 | for i, v in pairs(ArmorColorParts2) do | |
5520 | v.BrickColor = BrickColor.random() | |
5521 | v.Material = "Neon" | |
5522 | v.Transparency = 0 | |
5523 | end | |
5524 | for i, v in pairs(NeonColorParts) do | |
5525 | maincolor = BrickColor.random() | |
5526 | v.BrickColor = maincolor | |
5527 | v.Material = "Neon" | |
5528 | v.Transparency = 0 | |
5529 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=398671601" | |
5530 | end | |
5531 | elseif key == 'm' and Mode == 10 then | |
5532 | resetmode() | |
5533 | elseif key == 'q' and Mode == 10 then | |
5534 | Decapitate() | |
5535 | elseif key == 't' and Mode == 10 then | |
5536 | wutdefaq() | |
5537 | elseif key == 'y' and Mode == 10 then | |
5538 | Painful_Stomp() | |
5539 | end | |
5540 | end | |
5541 | end) | |
5542 | local Combo = 1 | |
5543 | mouse.Button1Down:connect(function(key) | |
5544 | if attack == false then | |
5545 | if Combo == 1 then | |
5546 | Combo = 2 | |
5547 | attackone() | |
5548 | elseif Combo == 2 then | |
5549 | Combo = 3 | |
5550 | attacktwo() | |
5551 | elseif Combo == 3 then | |
5552 | Combo = 1 | |
5553 | attackthree() | |
5554 | end | |
5555 | end | |
5556 | end) | |
5557 | ||
5558 | ||
5559 | ||
5560 | ||
5561 | ||
5562 | ||
5563 | ------------------------------------------------------- | |
5564 | --Start Animations-- | |
5565 | ------------------------------------------------------- | |
5566 | while true do | |
5567 | swait() | |
5568 | sine = sine + change | |
5569 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
5570 | local velderp = root.Velocity.y | |
5571 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
5572 | if equipped == true or equipped == false then | |
5573 | if attack == false then | |
5574 | idle = idle + 1 | |
5575 | else | |
5576 | idle = 0 | |
5577 | end | |
5578 | if Mode == 5 then | |
5579 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick") | |
5580 | end | |
5581 | if Mode == 25 then | |
5582 | PixelBlock(3,4,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.3,0.3,0.3,0.03,maincolor,0) | |
5583 | end | |
5584 | if Mode == 100 then | |
5585 | PixelBlock(1,0.8,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.02,0.02,0.02,0.1,maincolor,0) | |
5586 | MagicCharge(4, 0, "Add", ra.CFrame * CF(0, -0, 0) * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.2, 0.2, 1.6 * math.random(-1.8, 2), -0.005, maincolor, 0, "Sphere") | |
5587 | end | |
5588 | if Mode == 7 then | |
5589 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere") | |
5590 | end | |
5591 | if Mode == 7777 then | |
5592 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick") | |
5593 | end | |
5594 | if Mode == 8888 then | |
5595 | PixelBlock(1.5,0.75,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.15,0.15,0.15,0.1,maincolor,0) | |
5596 | tecks2.TextColor3 = maincolor.Color | |
5597 | tecks2.TextStrokeColor3 = maincolor.Color | |
5598 | for i, v in pairs(ArmorColorParts) do | |
5599 | v.BrickColor = BrickColor.new("Really red") | |
5600 | v.Material = "Neon" | |
5601 | v.Transparency = 0 | |
5602 | end | |
5603 | for i, v in pairs(ArmorColorParts2) do | |
5604 | v.BrickColor = BrickColor.new("Black") | |
5605 | v.Material = "Neon" | |
5606 | v.Transparency = 0 | |
5607 | end | |
5608 | for i, v in pairs(NeonColorParts) do | |
5609 | maincolor = BrickColor.new("Really red") | |
5610 | v.BrickColor = maincolor | |
5611 | v.Material = "Neon" | |
5612 | v.Transparency = 0 | |
5613 | end | |
5614 | end | |
5615 | if Mode == 10 then | |
5616 | PixelBlock(1.5,0.75,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.15,0.15,0.15,0.1,maincolor,0) | |
5617 | tecks2.TextColor3 = maincolor.Color | |
5618 | tecks2.TextStrokeColor3 = maincolor.Color | |
5619 | for i, v in pairs(ArmorColorParts) do | |
5620 | v.BrickColor = BrickColor.random() | |
5621 | v.Material = "Glass" | |
5622 | v.Transparency = 0 | |
5623 | end | |
5624 | for i, v in pairs(ArmorColorParts2) do | |
5625 | v.BrickColor = BrickColor.random() | |
5626 | v.Material = "Glass" | |
5627 | v.Transparency = 0 | |
5628 | end | |
5629 | for i, v in pairs(NeonColorParts) do | |
5630 | maincolor = BrickColor.random() | |
5631 | v.BrickColor = maincolor | |
5632 | v.Material = "Neon" | |
5633 | v.Transparency = 0 | |
5634 | end | |
5635 | end | |
5636 | if Mode == 6 then | |
5637 | local A = math.random(1,15) | |
5638 | if A == 1 then | |
5639 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere") | |
5640 | if A == 2 then | |
5641 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick") | |
5642 | end | |
5643 | end | |
5644 | end | |
5645 | if 1 < root.Velocity.y and hitfloor == nil then | |
5646 | Anim = "Jump" | |
5647 | if attack == false then | |
5648 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.08) | |
5649 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
5650 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
5651 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
5652 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08) | |
5653 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08) | |
5654 | end | |
5655 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
5656 | Anim = "Fall" | |
5657 | if attack == false then | |
5658 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.08) | |
5659 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
5660 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.08) | |
5661 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.08) | |
5662 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.08) | |
5663 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.08) | |
5664 | end | |
5665 | elseif torvel < 1 and hitfloor ~= nil then | |
5666 | Anim = "Idle" | |
5667 | change = 1 | |
5668 | if attack == false then | |
5669 | if Mode == 1 then --Normal | |
5670 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
5671 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
5672 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
5673 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
5674 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08) | |
5675 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08) | |
5676 | elseif Mode == 8888 then --idk | |
5677 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15) | |
5678 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 12.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.3) | |
5679 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
5680 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
5681 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1) | |
5682 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(-43 - 4.5 * Sin(sine / 12))), 0.1) | |
5683 | elseif Mode == pIXELATED then --PIXELATED | |
5684 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20 + Mrandom(-4,4)), Rad(0), Rad(0)), 0.08) | |
5685 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 + Mrandom(-30,30)), Rad(-4.5 + Mrandom(-30,30)), Rad(-4.5 + Mrandom(-30,30))), 0.08) | |
5686 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + Mrandom(-6,6)), Rad(80), Rad(0)) * angles(Rad(-10.5 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(20 + Mrandom(-6,6))), 0.08) | |
5687 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + Mrandom(-6,6)), Rad(-80 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6))) * angles(Rad(-10.5 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(-20 + Mrandom(-6,6))), 0.08) | |
5688 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(5 + Mrandom(-6,6))), 0.08) | |
5689 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(-5 + Mrandom(-6,6))), 0.08) | |
5690 | elseif Mode == 50 then --ASCENDED | |
5691 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
5692 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
5693 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
5694 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
5695 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08) | |
5696 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08) | |
5697 | elseif Mode == 7777 then --NOTHING SPECIAL | |
5698 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(4), Rad(0), Rad(0)), 0.15) | |
5699 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
5700 | if Mrandom(1,15) == 1 then | |
5701 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1) | |
5702 | end | |
5703 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-1.5), Rad(0), Rad(10)), 0.15) | |
5704 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-1.5), Rad(0), Rad(10)), 0.15) | |
5705 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(15 - 4 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1) | |
5706 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(15 - 4 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1) | |
5707 | elseif Mode == 6666 then --MEMER | |
5708 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
5709 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
5710 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
5711 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
5712 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30 * Cos(sine / 20)), Rad(0), Rad(5)), 0.1) | |
5713 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30 * Cos(sine / 20)), Rad(0), Rad(-5)), 0.1) | |
5714 | elseif Mode == 2 then --Machinery | |
5715 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.08) | |
5716 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(-20 - 4.5 * Sin(sine / .5))), 0.08) | |
5717 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(0)), 0.08) | |
5718 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(0)), 0.08) | |
5719 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(155), Rad(0), Rad(-45)), 0.08) | |
5720 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25)), 0.08) | |
5721 | elseif Mode == 3 then --ICE | |
5722 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.08) | |
5723 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-2.5 * Cos(sine / 1.5))), 0.08) | |
5724 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(10)), 0.08) | |
5725 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(-10)), 0.08) | |
5726 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 20)), Rad(-2.5 * Cos(sine / 1.5)), Rad(25 + 4.5 * Cos(sine / 20))), 0.08) | |
5727 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 20)), Rad(-2.5 * Cos(sine / 1.5)), Rad(-25 - 4.5 * Cos(sine / 20))), 0.08) | |
5728 | elseif Mode == 4 then --Infused | |
5729 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.08) | |
5730 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
5731 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-25)), 0.08) | |
5732 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08) | |
5733 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.35* Player_Size) * angles(Rad(90 - 2.5 * Cos(sine / 20)), Rad(0), Rad(-50)), 0.08) | |
5734 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.15* Player_Size) * angles(Rad(70 - 2.5 * Cos(sine / 20)), Rad(0), Rad(70)), 0.08) | |
5735 | elseif Mode == 5 then --Cybernetic | |
5736 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
5737 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08) | |
5738 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08) | |
5739 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08) | |
5740 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(25 + 10.5 * Sin(sine / 20))), 0.08) | |
5741 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25 - 10.5 * Sin(sine / 20))), 0.08) | |
5742 | elseif Mode == 25 then --Spiritual | |
5743 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
5744 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08) | |
5745 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08) | |
5746 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08) | |
5747 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(25 + 10.5 * Sin(sine / 20))), 0.08) | |
5748 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25 - 10.5 * Sin(sine / 20))), 0.08) | |
5749 | elseif Mode == 6 then --Controlled Beyond Recognition | |
5750 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08) | |
5751 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(-4.5 * Sin(sine / .5))), 0.08) | |
5752 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08) | |
5753 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08) | |
5754 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(5)), 0.08) | |
5755 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(-5)), 0.08) | |
5756 | elseif Mode == 1800 then --demon | |
5757 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.1) | |
5758 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-45, 45)), Rad(Mrandom(-45, 45))), 0.1) | |
5759 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(Mrandom(-15, 15)), Rad(20)), 0.1) | |
5760 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(Mrandom(-15, 15)), Rad(-20)), 0.1) | |
5761 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.8* Player_Size + 0.01 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(165), Rad(Mrandom(-15, 15)), Rad(-50)), 0.1) | |
5762 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.8* Player_Size + 0.01 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(165), Rad(Mrandom(-15, 15)), Rad(50)), 0.1) | |
5763 | elseif Mode == 7 or Mode == 9 then --Sucho Wowo --Mr.Balancia ----------hdfsfhg | |
5764 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.08) | |
5765 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.08) | |
5766 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
5767 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
5768 | RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08) | |
5769 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
5770 | elseif Mode == 1555 then --anime | |
5771 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) | |
5772 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
5773 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15) | |
5774 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15) | |
5775 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) | |
5776 | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
5777 | elseif Mode == 100 then --Overclocked | |
5778 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15) | |
5779 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3) | |
5780 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
5781 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
5782 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(65 - 2.5 * Sin(sine / 20))), 0.1) | |
5783 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
5784 | elseif Mode == 8 then --Lunarist | |
5785 | MagicCharge(7, 0, "Add", ra.CFrame * CF(0, -1.3, 0) * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 1.5 * math.random(-1.8, 2), -0.005, maincolor, 0, "Brick") | |
5786 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
5787 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
5788 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
5789 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
5790 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(135)), 0.08) | |
5791 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
5792 | elseif Mode == 10 then --INSANITY | |
5793 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
5794 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3) | |
5795 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15) | |
5796 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1) | |
5797 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
5798 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
5799 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(10 + Mrandom(-6,6))), 0.15) | |
5800 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(-10 + Mrandom(-6,6))), 0.15) | |
5801 | end | |
5802 | end | |
5803 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
5804 | Anim = "Walk" | |
5805 | change = 1.1 | |
5806 | if attack == false then | |
5807 | if Mode == 6 then | |
5808 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) | |
5809 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
5810 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(20)), 0.3) | |
5811 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(-20)), 0.3) | |
5812 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 + 15 * Cos(sine / 7)), Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1) | |
5813 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 - 15 * Cos(sine / 7)), Rad(0), Rad(-5) + la.RotVelocity.Y / 75), 0.1) | |
5814 | elseif Mode == 7777 then --NORTHING SPECIAL | |
5815 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(7-2.5 * Cos(sine / 3.5)), Rad(0), Rad(10 * Cos(sine / 7))), 0.15) | |
5816 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
5817 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.1 * Cos(sine / 3.5), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-1.5), Rad(0), Rad(70) * Cos(sine / 7) ), 0.15) | |
5818 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.1 * Cos(sine / 3.5), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-1.5), Rad(0), Rad(70) * Cos(sine / 7) ), 0.15) | |
5819 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(70) * Cos(sine / 7) , Rad(0), Rad(15)), 0.1) | |
5820 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70) * Cos(sine / 7) , Rad(0), Rad(-15)), 0.1) | |
5821 | elseif Mode == 8888 then --idk | |
5822 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) | |
5823 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
5824 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.5 * Player_Size * Cos(sine / 7) / 2 * Player_Size, 0.6 * Player_Size * Cos(sine / 7) / 2 * Player_Size) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
5825 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -0.8 * Player_Size + 0.5 * Player_Size * Cos(sine / 7) / 2 * Player_Size, -0.6 * Player_Size * Cos(sine / 7) / 2 * Player_Size) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
5826 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(65) * Cos(sine / 7), Rad(-.6), Rad(15 + 4.5 * Sin(sine / 12))), 0.1) | |
5827 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-65) * Cos(sine / 7), Rad(-.6), Rad(-15 - 4.5 * Sin(sine / 12))), 0.1) | |
5828 | elseif Mode == 1555 then --anime | |
5829 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) | |
5830 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
5831 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
5832 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
5833 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1) | |
5834 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1) | |
5835 | elseif Mode == 6666 then | |
5836 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0), Rad(10 * Cos(sine / 7))), 0.15) | |
5837 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
5838 | RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
5839 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
5840 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(70) * Cos(sine / 7) , Rad(0), Rad(5)), 0.1) | |
5841 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70) * Cos(sine / 7) , Rad(0), Rad(-5)), 0.1) | |
5842 | elseif Mode == 1800 then | |
5843 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) | |
5844 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
5845 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(20)), 0.3) | |
5846 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(-20)), 0.3) | |
5847 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 + 15 * Cos(sine / 7)), Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1) | |
5848 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 - 15 * Cos(sine / 7)), Rad(0), Rad(-5) + la.RotVelocity.Y / 75), 0.1) | |
5849 | elseif Mode == 5 then | |
5850 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
5851 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
5852 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.15) | |
5853 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.15) | |
5854 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(25)), 0.1) | |
5855 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-25)), 0.1) | |
5856 | elseif Mode == 25 then | |
5857 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
5858 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
5859 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.15) | |
5860 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.15) | |
5861 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(25)), 0.1) | |
5862 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-25)), 0.1) | |
5863 | elseif Mode == 100 then | |
5864 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15) | |
5865 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
5866 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
5867 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
5868 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
5869 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
5870 | elseif Mode == 10 then | |
5871 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(55 + Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(-0 + Mrandom(-20,20))), 1) | |
5872 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15) | |
5873 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(55), Rad(0), Rad(-0)), 0.3) | |
5874 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + Mrandom(-23,23)), Rad(0 + Mrandom(-23,23)), Rad(35 + Mrandom(-23,23))), 0.15) | |
5875 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + Mrandom(-23,23)), Rad(0 + Mrandom(-23,23)), Rad(-35 + Mrandom(-23,23))), 0.15) | |
5876 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(35 + Mrandom(-23,23)), Rad(-10 + Mrandom(-23,23)), Rad(15 + Mrandom(-23,23))), 0.1) | |
5877 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(35 + Mrandom(-23,23)), Rad(10 + Mrandom(-23,23)), Rad(-15 + Mrandom(-23,23))), 0.1) | |
5878 | elseif Mode == 8 then | |
5879 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08) | |
5880 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
5881 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.08) | |
5882 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.08) | |
5883 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08) | |
5884 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
5885 | elseif Mode ~= 6 or Mode ~= 5 or Mode ~= 8 then | |
5886 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) | |
5887 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
5888 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
5889 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
5890 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1) | |
5891 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1) | |
5892 | end | |
5893 | end | |
5894 | elseif torvel >= 25 and hitfloor ~= nil then | |
5895 | Anim = "Sprint" | |
5896 | change = 1.35 | |
5897 | if attack == false then | |
5898 | if Mode == 5 then | |
5899 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
5900 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
5901 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.15) | |
5902 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.15) | |
5903 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1) | |
5904 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1) | |
5905 | elseif Mode == 25 or Mode == 10 then | |
5906 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
5907 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
5908 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.15) | |
5909 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.15) | |
5910 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1) | |
5911 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1) | |
5912 | elseif Mode ~= 5 then | |
5913 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
5914 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
5915 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
5916 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
5917 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(125) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.15) | |
5918 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-125) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.15) | |
5919 | end | |
5920 | end | |
5921 | end | |
5922 | end | |
5923 | Music.SoundId = "rbxassetid://"..SONG | |
5924 | Music.Looped = true | |
5925 | Music.Pitch = 1 | |
5926 | Music.Volume = 2.5 | |
5927 | Music.Parent = tors | |
5928 | Music:Resume() | |
5929 | if 0 < #Effects then | |
5930 | for e = 1, #Effects do | |
5931 | if Effects[e] ~= nil then | |
5932 | local Thing = Effects[e] | |
5933 | if Thing ~= nil then | |
5934 | local Part = Thing[1] | |
5935 | local Mode = Thing[2] | |
5936 | local Delay = Thing[3] | |
5937 | local IncX = Thing[4] | |
5938 | local IncY = Thing[5] | |
5939 | local IncZ = Thing[6] | |
5940 | if 1 >= Thing[1].Transparency then | |
5941 | if Thing[2] == "Block1" then | |
5942 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
5943 | local Mesh = Thing[1].Mesh | |
5944 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
5945 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
5946 | elseif Thing[2] == "Block2" then | |
5947 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
5948 | local Mesh = Thing[7] | |
5949 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
5950 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
5951 | elseif Thing[2] == "Block3" then | |
5952 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
5953 | local Mesh = Thing[7] | |
5954 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
5955 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
5956 | elseif Thing[2] == "Cylinder" then | |
5957 | local Mesh = Thing[1].Mesh | |
5958 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
5959 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
5960 | elseif Thing[2] == "Blood" then | |
5961 | local Mesh = Thing[7] | |
5962 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
5963 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
5964 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
5965 | elseif Thing[2] == "Elec" then local Mesh = Thing[1].Mesh | |
5966 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
5967 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
5968 | elseif Thing[2] == "Disappear" then | |
5969 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
5970 | elseif Thing[2] == "Shatter" then | |
5971 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
5972 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
5973 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
5974 | Thing[6] = Thing[6] + Thing[5] | |
5975 | end | |
5976 | else | |
5977 | Part.Parent = nil | |
5978 | table.remove(Effects, e) | |
5979 | end | |
5980 | end | |
5981 | end | |
5982 | end | |
5983 | end | |
5984 | end | |
5985 | ------------------------------------------------------- | |
5986 | --End Animations And Script-- | |
5987 | ------------------------------------------------------- |