SHOW:
|
|
- or go back to the newest paste.
1 | - | ----------------------- |
1 | + | print("Script by mememasterYT65910") |
2 | - | --[[ Name : WAOV2 ]]-- |
2 | + | |
3 | print("FE'd by mememasterYT65910") | |
4 | - | --A script By makhail07, 2003boobear and XXUNORIBOASXX. |
4 | + | |
5 | ||
6 | - | --Discord Creterisk#2958 <- makhail07's discord |
6 | + | |
7 | local FavIDs = { | |
8 | - | --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION |
8 | + | |
9 | - | --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT |
9 | + | |
10 | - | --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT |
10 | + | |
11 | - | --YOU FUCKING SKIDS, |
11 | + | |
12 | - | --For Those who log/decompile this, If you sell or trade this, |
12 | + | |
13 | - | --and I find out who you are, i will take massive action. |
13 | + | |
14 | - | --:b: |
14 | + | |
15 | 743466274, --Good Day Sunshine | |
16 | 727411183, --Knife Fight | |
17 | 1402748531, --The Earth Is Counting On You! | |
18 | 595230126 --Robot Language | |
19 | } | |
20 | ||
21 | ||
22 | ||
23 | --The reality of my life isn't real but a Universe -Creterisk | |
24 | --All people can be nice, Even if you don't think so. -2003boobear | |
25 | --The past can be horrible, but the future will be better, so forget the past and move-onward. -XXUNORIBOASXX | |
26 | ||
27 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
28 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
29 | do | |
30 | print("FE Compatibility code by Mokiros") | |
31 | script.Parent = Player.Character | |
32 | ||
33 | --RemoteEvent for communicating | |
34 | local Event = Instance.new("RemoteEvent") | |
35 | Event.Name = "UserInput_Event" | |
36 | ||
37 | - | local plr = game:service'Players'.LocalPlayer |
37 | + | --Fake event to make stuff like Mouse.KeyDown work |
38 | local function fakeEvent() | |
39 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
40 | t.connect = t.Connect | |
41 | return t | |
42 | end | |
43 | ||
44 | --Creating fake input objects with fake variables | |
45 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
46 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
47 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
48 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
49 | end} | |
50 | --Merged 2 functions into one by checking amount of arguments | |
51 | CAS.UnbindAction = CAS.BindAction | |
52 | ||
53 | --This function will trigger the events that have been :Connect()'ed | |
54 | local function te(self,ev,...) | |
55 | local t = m[ev] | |
56 | if t and t._fakeEvent and t.Function then | |
57 | t.Function(...) | |
58 | end | |
59 | end | |
60 | m.TrigEvent = te | |
61 | UIS.TrigEvent = te | |
62 | ||
63 | Event.OnServerEvent:Connect(function(plr,io) | |
64 | if plr~=Player then return end | |
65 | if io.isMouse then | |
66 | m.Target = io.Target | |
67 | m.Hit = io.Hit | |
68 | else | |
69 | local b = io.UserInputState == Enum.UserInputState.Begin | |
70 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
71 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
72 | end | |
73 | for _,t in pairs(CAS.Actions) do | |
74 | for _,k in pairs(t.Keys) do | |
75 | if k==io.KeyCode then | |
76 | t.Function(t.Name,io.UserInputState,io) | |
77 | end | |
78 | end | |
79 | end | |
80 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
81 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
82 | end | |
83 | end) | |
84 | Event.Parent = NLS([==[ | |
85 | local Player = game:GetService("Players").LocalPlayer | |
86 | local Event = script:WaitForChild("UserInput_Event") | |
87 | ||
88 | local UIS = game:GetService("UserInputService") | |
89 | local input = function(io,a) | |
90 | if a then return end | |
91 | --Since InputObject is a client-side instance, we create and pass table instead | |
92 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
93 | end | |
94 | UIS.InputBegan:Connect(input) | |
95 | UIS.InputEnded:Connect(input) | |
96 | ||
97 | local Mouse = Player:GetMouse() | |
98 | local h,t | |
99 | --Give the server mouse data 30 times every second, but only if the values changed | |
100 | --If player is not moving their mouse, client won't fire events | |
101 | while wait(1/30) do | |
102 | if h~=Mouse.Hit or t~=Mouse.Target then | |
103 | h,t=Mouse.Hit,Mouse.Target | |
104 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
105 | end | |
106 | end]==],Player.Character) | |
107 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
108 | end | |
109 | ||
110 | wait() | |
111 | local plr = owner | |
112 | local char = plr.Character | |
113 | local hum = char.Humanoid | |
114 | local hed = char.Head | |
115 | local root = char.HumanoidRootPart | |
116 | local rootj = root.RootJoint | |
117 | local tors = char.Torso | |
118 | local ra = char["Right Arm"] | |
119 | local la = char["Left Arm"] | |
120 | local rl = char["Right Leg"] | |
121 | local ll = char["Left Leg"] | |
122 | local neck = tors["Neck"] | |
123 | local mouse = plr:GetMouse() | |
124 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
125 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
126 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
127 | local maincolor = BrickColor.new("Dark green") | |
128 | exploitable = true | |
129 | ------------------------------------------------------- | |
130 | --Start Whitelist and Invincibility-- | |
131 | ------------------------------------------------------- | |
132 | ff = Instance.new("ForceField",char) | |
133 | ff.Visible = false | |
134 | hum.Name = "Base" | |
135 | hum.MaxHealth = 1.0E298 | |
136 | hum.Health = 1.0E298 | |
137 | game:GetService("RunService"):BindToRenderStep("Bbae", 0, function() | |
138 | if hum.Health > 0.1 and hum.Health < 1.0E298 then | |
139 | hum.MaxHealth = 1.0E298 | |
140 | hum.Health = 1.0E298 | |
141 | end | |
142 | end) | |
143 | ------------------------------------------------------- | |
144 | --End Whitelist and Invincibility-- | |
145 | ------------------------------------------------------- | |
146 | ||
147 | warn("WhAT ANOTHER ONE V2 IS FINALLY HERE!") | |
148 | ||
149 | warn("I hope you enjoy.") | |
150 | ||
151 | warn("Credit to makhail07, 2003boobear and XXUNORIBOASXX!") | |
152 | ||
153 | ------------------------------------------------------- | |
154 | --Start Good Stuff-- | |
155 | ------------------------------------------------------- | |
156 | cam = game.Workspace.CurrentCamera | |
157 | CF = CFrame.new | |
158 | VT = Vector3.new | |
159 | angles = CFrame.Angles | |
160 | attack = false | |
161 | Euler = CFrame.fromEulerAnglesXYZ | |
162 | Rad = math.rad | |
163 | IT = Instance.new | |
164 | BrickC = BrickColor.new | |
165 | Cos = math.cos | |
166 | Acos = math.acos | |
167 | Sin = math.sin | |
168 | Asin = math.asin | |
169 | Abs = math.abs | |
170 | Mrandom = math.random | |
171 | Floor = math.floor | |
172 | ------------------------------------------------------- | |
173 | --End Good Stuff-- | |
174 | ------------------------------------------------------- | |
175 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
176 | RSH, LSH = nil, nil | |
177 | RW = Instance.new("Weld") | |
178 | LW = Instance.new("Weld") | |
179 | RH = tors["Right Hip"] | |
180 | LH = tors["Left Hip"] | |
181 | RSH = tors["Right Shoulder"] | |
182 | LSH = tors["Left Shoulder"] | |
183 | RSH.Parent = nil | |
184 | LSH.Parent = nil | |
185 | RW.Name = "RW" | |
186 | RW.Part0 = tors | |
187 | RW.C0 = CF(1.5, 0.5, 0) | |
188 | RW.C1 = CF(0, 0.5, 0) | |
189 | RW.Part1 = ra | |
190 | RW.Parent = tors | |
191 | LW.Name = "LW" | |
192 | LW.Part0 = tors | |
193 | LW.C0 = CF(-1.5, 0.5, 0) | |
194 | LW.C1 = CF(0, 0.5, 0) | |
195 | LW.Part1 = la | |
196 | LW.Parent = tors | |
197 | Effects = {} | |
198 | ------------------------------------------------------- | |
199 | --Start HeartBeat-- | |
200 | ------------------------------------------------------- | |
201 | ArtificialHB = Instance.new("BindableEvent", script) | |
202 | ArtificialHB.Name = "Heartbeat" | |
203 | script:WaitForChild("Heartbeat") | |
204 | ||
205 | frame = 1 / 60 | |
206 | tf = 0 | |
207 | allowframeloss = false | |
208 | tossremainder = false | |
209 | ||
210 | ||
211 | lastframe = tick() | |
212 | script.Heartbeat:Fire() | |
213 | ||
214 | ||
215 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
216 | tf = tf + s | |
217 | if tf >= frame then | |
218 | if allowframeloss then | |
219 | script.Heartbeat:Fire() | |
220 | lastframe = tick() | |
221 | else | |
222 | for i = 1, math.floor(tf / frame) do | |
223 | script.Heartbeat:Fire() | |
224 | end | |
225 | lastframe = tick() | |
226 | end | |
227 | if tossremainder then | |
228 | tf = 0 | |
229 | else | |
230 | tf = tf - frame * math.floor(tf / frame) | |
231 | end | |
232 | end | |
233 | end) | |
234 | ------------------------------------------------------- | |
235 | --End HeartBeat-- | |
236 | ------------------------------------------------------- | |
237 | ||
238 | TAUNT = Instance.new("Sound", tors) | |
239 | TAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994137" | |
240 | TAUNT.Volume = 10 | |
241 | TAUNT.Pitch = 1 | |
242 | TAUNT.Looped = false | |
243 | TAUNT.TimePosition = 0.12 | |
244 | ||
245 | BTAUNT = Instance.new("Sound", tors) | |
246 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1535995263" | |
247 | BTAUNT.Volume = 10 | |
248 | BTAUNT.Pitch = 1 | |
249 | BTAUNT.Looped = false | |
250 | BTAUNT.TimePosition = 0.2 | |
251 | ||
252 | ITAUNT = Instance.new("Sound", tors) | |
253 | ITAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994669" | |
254 | ITAUNT.Volume = 10 | |
255 | ITAUNT.Pitch = 1 | |
256 | ITAUNT.Looped = false | |
257 | ITAUNT.TimePosition = 0 | |
258 | ||
259 | BATAUNT = Instance.new("Sound", tors) | |
260 | BATAUNT.SoundId = "http://www.roblox.com/asset/?id=132514715" | |
261 | BATAUNT.Volume = 10 | |
262 | BATAUNT.Pitch = 1 | |
263 | BATAUNT.Looped = false | |
264 | BATAUNT.TimePosition = 0 | |
265 | ||
266 | STAUNT = Instance.new("Sound", tors) | |
267 | STAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994940" | |
268 | STAUNT.Volume = 10 | |
269 | STAUNT.Pitch = 1 | |
270 | STAUNT.Looped = false | |
271 | STAUNT.TimePosition = 0.05 | |
272 | ||
273 | DTAUNT = Instance.new("Sound", tors) | |
274 | DTAUNT.SoundId = "http://www.roblox.com/asset/?id=907333294" | |
275 | DTAUNT.Volume = 10 | |
276 | DTAUNT.Pitch = 1 | |
277 | DTAUNT.Looped = false | |
278 | DTAUNT.TimePosition = 0 | |
279 | ||
280 | LAZOR = Instance.new("Sound", ra) | |
281 | LAZOR.SoundId = "http://www.roblox.com/asset/?id=201858045" | |
282 | LAZOR.Volume = 10 | |
283 | LAZOR.Pitch = 0.7 | |
284 | LAZOR.Looped = false | |
285 | LAZOR.TimePosition = 0 | |
286 | ||
287 | ------------------------------------------------------- | |
288 | --Start Important Functions-- | |
289 | ------------------------------------------------------- | |
290 | function swait(num) | |
291 | if num == 0 or num == nil then | |
292 | game:service("RunService").Stepped:wait(0) | |
293 | else | |
294 | for i = 0, num do | |
295 | game:service("RunService").Stepped:wait(0) | |
296 | end | |
297 | end | |
298 | end | |
299 | function thread(f) | |
300 | coroutine.resume(coroutine.create(f)) | |
301 | end | |
302 | function clerp(a, b, t) | |
303 | local qa = { | |
304 | QuaternionFromCFrame(a) | |
305 | } | |
306 | local qb = { | |
307 | QuaternionFromCFrame(b) | |
308 | } | |
309 | local ax, ay, az = a.x, a.y, a.z | |
310 | local bx, by, bz = b.x, b.y, b.z | |
311 | local _t = 1 - t | |
312 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
313 | end | |
314 | function ShockWave(Part, cframe1, cframe2, Damage, Size) | |
315 | coroutine.resume(coroutine.create(function() | |
316 | local wave = CreatePart(workspace, "Neon", 0, 0, Neoncolor, "Effect", Vector3.new(1, 1, 5)) | |
317 | wave.Anchored = true | |
318 | wave.CFrame = Part.CFrame * cframe1 | |
319 | local Msh = Create("SpecialMesh"){ | |
320 | Parent = wave, | |
321 | MeshType = "Sphere" | |
322 | } | |
323 | Cso("http://roblox.com/asset/?id=300916105", wave, 1, 1.3) | |
324 | for i = 0, 1, 0.2 do | |
325 | wait() | |
326 | local dir = wave.CFrame.lookVector * -1 | |
327 | local pos = rayCast(wave.Position, dir, 5, Character) | |
328 | wave.CFrame = wave.CFrame * cframe2 | |
329 | table.insert(Effects, { | |
330 | wave, | |
331 | "Sphere", | |
332 | 0.01, | |
333 | .03, | |
334 | .03, | |
335 | .03, | |
336 | }) | |
337 | end | |
338 | end)) | |
339 | end | |
340 | ||
341 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher! | |
342 | local type = type | |
343 | local rng = Instance.new("Part", char) | |
344 | rng.Anchored = true | |
345 | rng.BrickColor = color | |
346 | rng.CanCollide = false | |
347 | rng.FormFactor = 3 | |
348 | rng.Name = "Ring" | |
349 | rng.Material = "Neon" | |
350 | rng.Size = Vector3.new(1, 1, 1) | |
351 | rng.Transparency = 0 | |
352 | rng.TopSurface = 0 | |
353 | rng.BottomSurface = 0 | |
354 | rng.CFrame = pos | |
355 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
356 | local rngm = Instance.new("SpecialMesh", rng) | |
357 | rngm.MeshType = "Brick" | |
358 | rngm.Scale = VT(x1,y1,z1) | |
359 | if rainbowmode == true then | |
360 | rng.Color = Color3.new(r/255,g/255,b/255) | |
361 | end | |
362 | local scaler2 = 1 | |
363 | local speeder = FastSpeed/10 | |
364 | if type == "Add" then | |
365 | scaler2 = 1*value | |
366 | elseif type == "Divide" then | |
367 | scaler2 = 1/value | |
368 | end | |
369 | coroutine.resume(coroutine.create(function() | |
370 | for i = 0,10/bonuspeed,0.1 do | |
371 | swait() | |
372 | if type == "Add" then | |
373 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
374 | elseif type == "Divide" then | |
375 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
376 | end | |
377 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
378 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
379 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
380 | end | |
381 | rng:Destroy() | |
382 | end)) | |
383 | end | |
384 | New = function(Object, Parent, Name, Data) | |
385 | local Object = Instance.new(Object) | |
386 | for Index, Value in pairs(Data or {}) do | |
387 | Object[Index] = Value | |
388 | end | |
389 | Object.Parent = Parent | |
390 | Object.Name = Name | |
391 | return Object | |
392 | end | |
393 | function QuaternionFromCFrame(cf) | |
394 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
395 | local trace = m00 + m11 + m22 | |
396 | if trace > 0 then | |
397 | local s = math.sqrt(1 + trace) | |
398 | local recip = 0.5 / s | |
399 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
400 | else | |
401 | local i = 0 | |
402 | if m00 < m11 then | |
403 | i = 1 | |
404 | end | |
405 | if m22 > (i == 0 and m00 or m11) then | |
406 | i = 2 | |
407 | end | |
408 | if i == 0 then | |
409 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
410 | local recip = 0.5 / s | |
411 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
412 | elseif i == 1 then | |
413 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
414 | local recip = 0.5 / s | |
415 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
416 | elseif i == 2 then | |
417 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
418 | local recip = 0.5 / s | |
419 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
420 | end | |
421 | end | |
422 | end | |
423 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
424 | local xs, ys, zs = x + x, y + y, z + z | |
425 | local wx, wy, wz = w * xs, w * ys, w * zs | |
426 | local xx = x * xs | |
427 | local xy = x * ys | |
428 | local xz = x * zs | |
429 | local yy = y * ys | |
430 | local yz = y * zs | |
431 | local zz = z * zs | |
432 | 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)) | |
433 | end | |
434 | function QuaternionSlerp(a, b, t) | |
435 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
436 | local startInterp, finishInterp | |
437 | if cosTheta >= 1.0E-4 then | |
438 | if 1 - cosTheta > 1.0E-4 then | |
439 | local theta = math.acos(cosTheta) | |
440 | local invSinTheta = 1 / Sin(theta) | |
441 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
442 | finishInterp = Sin(t * theta) * invSinTheta | |
443 | else | |
444 | startInterp = 1 - t | |
445 | finishInterp = t | |
446 | end | |
447 | elseif 1 + cosTheta > 1.0E-4 then | |
448 | local theta = math.acos(-cosTheta) | |
449 | local invSinTheta = 1 / Sin(theta) | |
450 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
451 | finishInterp = Sin(t * theta) * invSinTheta | |
452 | else | |
453 | startInterp = t - 1 | |
454 | finishInterp = t | |
455 | end | |
456 | 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 | |
457 | end | |
458 | function rayCast(Position, Direction, Range, Ignore) | |
459 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
460 | end | |
461 | local RbxUtility = LoadLibrary("RbxUtility") | |
462 | local Create = RbxUtility.Create | |
463 | ||
464 | ------------------------------------------------------- | |
465 | --Start Damage Function-- | |
466 | ------------------------------------------------------- | |
467 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
468 | if hit.Parent == nil then | |
469 | return | |
470 | end | |
471 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
472 | for _, v in pairs(hit.Parent:children()) do | |
473 | if v:IsA("Humanoid") then | |
474 | h = v | |
475 | end | |
476 | end | |
477 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
478 | ||
479 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
480 | end | |
481 | ||
482 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
483 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
484 | if hit.Parent.DebounceHit.Value == true then | |
485 | return | |
486 | end | |
487 | end | |
488 | if insta == true then | |
489 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
490 | end | |
491 | local c = Create("ObjectValue"){ | |
492 | Name = "creator", | |
493 | Value = game:service("Players").LocalPlayer, | |
494 | Parent = h, | |
495 | } | |
496 | game:GetService("Debris"):AddItem(c, .5) | |
497 | if HitSound ~= nil and HitPitch ~= nil then | |
498 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
499 | end | |
500 | local Damage = math.random(minim, maxim) | |
501 | local blocked = false | |
502 | local block = hit.Parent:findFirstChild("Block") | |
503 | if block ~= nil then | |
504 | if block.className == "IntValue" then | |
505 | if block.Value > 0 then | |
506 | blocked = true | |
507 | block.Value = block.Value - 1 | |
508 | print(block.Value) | |
509 | end | |
510 | end | |
511 | end | |
512 | if blocked == false then | |
513 | h.Health = h.Health - Damage | |
514 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
515 | else | |
516 | h.Health = h.Health - (Damage / 2) | |
517 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
518 | end | |
519 | if Type == "Knockdown" then | |
520 | local hum = hit.Parent.Humanoid | |
521 | hum.PlatformStand = true | |
522 | coroutine.resume(coroutine.create(function(HHumanoid) | |
523 | swait(1) | |
524 | HHumanoid.PlatformStand = false | |
525 | end), hum) | |
526 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
527 | local bodvol = Create("BodyVelocity"){ | |
528 | velocity = angle * knockback, | |
529 | P = 5000, | |
530 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
531 | Parent = hit, | |
532 | } | |
533 | local rl = Create("BodyAngularVelocity"){ | |
534 | P = 3000, | |
535 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
536 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
537 | Parent = hit, | |
538 | } | |
539 | game:GetService("Debris"):AddItem(bodvol, .5) | |
540 | game:GetService("Debris"):AddItem(rl, .5) | |
541 | elseif Type == "Normal" then | |
542 | local vp = Create("BodyVelocity"){ | |
543 | P = 500, | |
544 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
545 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
546 | } | |
547 | if knockback > 0 then | |
548 | vp.Parent = hit.Parent.Torso | |
549 | end | |
550 | game:GetService("Debris"):AddItem(vp, .5) | |
551 | elseif Type == "Up" then | |
552 | local bodyVelocity = Create("BodyVelocity"){ | |
553 | velocity = Vector3.new(0, 20, 0), | |
554 | P = 5000, | |
555 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
556 | Parent = hit, | |
557 | } | |
558 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
559 | elseif Type == "DarkUp" then | |
560 | coroutine.resume(coroutine.create(function() | |
561 | for i = 0, 1, 0.1 do | |
562 | swait() | |
563 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
564 | end | |
565 | end)) | |
566 | local bodyVelocity = Create("BodyVelocity"){ | |
567 | velocity = Vector3.new(0, 20, 0), | |
568 | P = 5000, | |
569 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
570 | Parent = hit, | |
571 | } | |
572 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
573 | elseif Type == "Snare" then | |
574 | local bp = Create("BodyPosition"){ | |
575 | P = 2000, | |
576 | D = 100, | |
577 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
578 | position = hit.Parent.Torso.Position, | |
579 | Parent = hit.Parent.Torso, | |
580 | } | |
581 | game:GetService("Debris"):AddItem(bp, 1) | |
582 | elseif Type == "Freeze" then | |
583 | local BodPos = Create("BodyPosition"){ | |
584 | P = 50000, | |
585 | D = 1000, | |
586 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
587 | position = hit.Parent.Torso.Position, | |
588 | Parent = hit.Parent.Torso, | |
589 | } | |
590 | local BodGy = Create("BodyGyro") { | |
591 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
592 | P = 20e+003, | |
593 | Parent = hit.Parent.Torso, | |
594 | cframe = hit.Parent.Torso.CFrame, | |
595 | } | |
596 | hit.Parent.Torso.Anchored = true | |
597 | coroutine.resume(coroutine.create(function(Part) | |
598 | swait(1.5) | |
599 | Part.Anchored = false | |
600 | end), hit.Parent.Torso) | |
601 | game:GetService("Debris"):AddItem(BodPos, 3) | |
602 | game:GetService("Debris"):AddItem(BodGy, 3) | |
603 | end | |
604 | local debounce = Create("BoolValue"){ | |
605 | Name = "DebounceHit", | |
606 | Parent = hit.Parent, | |
607 | Value = true, | |
608 | } | |
609 | game:GetService("Debris"):AddItem(debounce, Delay) | |
610 | c = Create("ObjectValue"){ | |
611 | Name = "creator", | |
612 | Value = Player, | |
613 | Parent = h, | |
614 | } | |
615 | game:GetService("Debris"):AddItem(c, .5) | |
616 | end | |
617 | end | |
618 | ------------------------------------------------------- | |
619 | --End Damage Function-- | |
620 | ------------------------------------------------------- | |
621 | ||
622 | ------------------------------------------------------- | |
623 | --Start Damage Function Customization-- | |
624 | ------------------------------------------------------- | |
625 | function ShowDamage(Pos, Text, Time, Color) | |
626 | local Rate = (1 / 30) | |
627 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
628 | local Text = (Text or "") | |
629 | local Time = (Time or 2) | |
630 | local Color = (Color or Color3.new(1, 0, 1)) | |
631 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
632 | EffectPart.Anchored = true | |
633 | local BillboardGui = Create("BillboardGui"){ | |
634 | Size = UDim2.new(3, 0, 3, 0), | |
635 | Adornee = EffectPart, | |
636 | Parent = EffectPart, | |
637 | } | |
638 | local TextLabel = Create("TextLabel"){ | |
639 | BackgroundTransparency = 1, | |
640 | Size = UDim2.new(1, 0, 1, 0), | |
641 | Text = Text, | |
642 | Font = "Bodoni", | |
643 | TextColor3 = Color, | |
644 | TextScaled = true, | |
645 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
646 | Parent = BillboardGui, | |
647 | } | |
648 | game.Debris:AddItem(EffectPart, (Time)) | |
649 | EffectPart.Parent = game:GetService("Workspace") | |
650 | delay(0, function() | |
651 | local Frames = (Time / Rate) | |
652 | for Frame = 1, Frames do | |
653 | wait(Rate) | |
654 | local Percent = (Frame / Frames) | |
655 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
656 | TextLabel.TextTransparency = Percent | |
657 | end | |
658 | if EffectPart and EffectPart.Parent then | |
659 | EffectPart:Destroy() | |
660 | end | |
661 | end) | |
662 | end | |
663 | ------------------------------------------------------- | |
664 | --End Damage Function Customization-- | |
665 | ------------------------------------------------------- | |
666 | ||
667 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
668 | for _, c in pairs(workspace:children()) do | |
669 | local hum = c:findFirstChild("Humanoid") | |
670 | if hum ~= nil then | |
671 | local head = c:findFirstChild("Head") | |
672 | if head ~= nil then | |
673 | local targ = head.Position - Part.Position | |
674 | local mag = targ.magnitude | |
675 | if magni >= mag and c.Name ~= plr.Name then | |
676 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
677 | end | |
678 | end | |
679 | end | |
680 | end | |
681 | end | |
682 | ||
683 | ||
684 | CFuncs = { | |
685 | Part = { | |
686 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
687 | local Part = Create("Part")({ | |
688 | Parent = Parent, | |
689 | Reflectance = Reflectance, | |
690 | Transparency = Transparency, | |
691 | CanCollide = false, | |
692 | Locked = true, | |
693 | BrickColor = BrickColor.new(tostring(BColor)), | |
694 | Name = Name, | |
695 | Size = Size, | |
696 | Material = Material | |
697 | }) | |
698 | RemoveOutlines(Part) | |
699 | return Part | |
700 | end | |
701 | }, | |
702 | Mesh = { | |
703 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
704 | local Msh = Create(Mesh)({ | |
705 | Parent = Part, | |
706 | Offset = OffSet, | |
707 | Scale = Scale | |
708 | }) | |
709 | if Mesh == "SpecialMesh" then | |
710 | Msh.MeshType = MeshType | |
711 | Msh.MeshId = MeshId | |
712 | end | |
713 | return Msh | |
714 | end | |
715 | }, | |
716 | Mesh = { | |
717 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
718 | local Msh = Create(Mesh)({ | |
719 | Parent = Part, | |
720 | Offset = OffSet, | |
721 | Scale = Scale | |
722 | }) | |
723 | if Mesh == "SpecialMesh" then | |
724 | Msh.MeshType = MeshType | |
725 | Msh.MeshId = MeshId | |
726 | end | |
727 | return Msh | |
728 | end | |
729 | }, | |
730 | Weld = { | |
731 | Create = function(Parent, Part0, Part1, C0, C1) | |
732 | local Weld = Create("Weld")({ | |
733 | Parent = Parent, | |
734 | Part0 = Part0, | |
735 | Part1 = Part1, | |
736 | C0 = C0, | |
737 | C1 = C1 | |
738 | }) | |
739 | return Weld | |
740 | end | |
741 | }, | |
742 | Sound = { | |
743 | Create = function(id, par, vol, pit) | |
744 | coroutine.resume(coroutine.create(function() | |
745 | local S = Create("Sound")({ | |
746 | Volume = vol, | |
747 | Pitch = pit or 1, | |
748 | SoundId = id, | |
749 | Parent = par or workspace | |
750 | }) | |
751 | wait() | |
752 | S:play() | |
753 | game:GetService("Debris"):AddItem(S, 6) | |
754 | end)) | |
755 | end | |
756 | }, | |
757 | ParticleEmitter = { | |
758 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
759 | local fp = Create("ParticleEmitter")({ | |
760 | Parent = Parent, | |
761 | Color = ColorSequence.new(Color1, Color2), | |
762 | LightEmission = LightEmission, | |
763 | Size = Size, | |
764 | Texture = Texture, | |
765 | Transparency = Transparency, | |
766 | ZOffset = ZOffset, | |
767 | Acceleration = Accel, | |
768 | Drag = Drag, | |
769 | LockedToPart = LockedToPart, | |
770 | VelocityInheritance = VelocityInheritance, | |
771 | EmissionDirection = EmissionDirection, | |
772 | Enabled = Enabled, | |
773 | Lifetime = LifeTime, | |
774 | Rate = Rate, | |
775 | Rotation = Rotation, | |
776 | RotSpeed = RotSpeed, | |
777 | Speed = Speed, | |
778 | VelocitySpread = VelocitySpread | |
779 | }) | |
780 | return fp | |
781 | end | |
782 | } | |
783 | } | |
784 | function RemoveOutlines(part) | |
785 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
786 | end | |
787 | function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
788 | local Part = Create("Part")({ | |
789 | formFactor = FormFactor, | |
790 | Parent = Parent, | |
791 | Reflectance = Reflectance, | |
792 | Transparency = Transparency, | |
793 | CanCollide = false, | |
794 | Locked = true, | |
795 | BrickColor = BrickColor.new(tostring(BColor)), | |
796 | Name = Name, | |
797 | Size = Size, | |
798 | Material = Material | |
799 | }) | |
800 | RemoveOutlines(Part) | |
801 | return Part | |
802 | end | |
803 | function CreateMesh1(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
804 | local Msh = Create(Mesh)({ | |
805 | Parent = Part, | |
806 | Offset = OffSet, | |
807 | Scale = Scale | |
808 | }) | |
809 | if Mesh == "SpecialMesh" then | |
810 | Msh.MeshType = MeshType | |
811 | Msh.MeshId = MeshId | |
812 | end | |
813 | return Msh | |
814 | end | |
815 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
816 | local Weld = Create("Weld")({ | |
817 | Parent = Parent, | |
818 | Part0 = Part0, | |
819 | Part1 = Part1, | |
820 | C0 = C0, | |
821 | C1 = C1 | |
822 | }) | |
823 | return Weld | |
824 | end | |
825 | ||
826 | ||
827 | ------------------------------------------------------- | |
828 | --Start Effect Function-- | |
829 | ------------------------------------------------------- | |
830 | EffectModel = Instance.new("Model", char) | |
831 | Effects = { | |
832 | Block = { | |
833 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
834 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
835 | prt.Anchored = true | |
836 | prt.CFrame = cframe | |
837 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
838 | game:GetService("Debris"):AddItem(prt, 10) | |
839 | if Type == 1 or Type == nil then | |
840 | table.insert(Effects, { | |
841 | prt, | |
842 | "Block1", | |
843 | delay, | |
844 | x3, | |
845 | y3, | |
846 | z3, | |
847 | msh | |
848 | }) | |
849 | elseif Type == 2 then | |
850 | table.insert(Effects, { | |
851 | prt, | |
852 | "Block2", | |
853 | delay, | |
854 | x3, | |
855 | y3, | |
856 | z3, | |
857 | msh | |
858 | }) | |
859 | else | |
860 | table.insert(Effects, { | |
861 | prt, | |
862 | "Block3", | |
863 | delay, | |
864 | x3, | |
865 | y3, | |
866 | z3, | |
867 | msh | |
868 | }) | |
869 | end | |
870 | end | |
871 | }, | |
872 | Sphere = { | |
873 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
874 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
875 | prt.Anchored = true | |
876 | prt.CFrame = cframe | |
877 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
878 | game:GetService("Debris"):AddItem(prt, 10) | |
879 | table.insert(Effects, { | |
880 | prt, | |
881 | "Cylinder", | |
882 | delay, | |
883 | x3, | |
884 | y3, | |
885 | z3, | |
886 | msh | |
887 | }) | |
888 | end | |
889 | }, | |
890 | Cylinder = { | |
891 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
892 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
893 | prt.Anchored = true | |
894 | prt.CFrame = cframe | |
895 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
896 | game:GetService("Debris"):AddItem(prt, 10) | |
897 | table.insert(Effects, { | |
898 | prt, | |
899 | "Cylinder", | |
900 | delay, | |
901 | x3, | |
902 | y3, | |
903 | z3, | |
904 | msh | |
905 | }) | |
906 | end | |
907 | }, | |
908 | Wave = { | |
909 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
910 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
911 | prt.Anchored = true | |
912 | prt.CFrame = cframe | |
913 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
914 | game:GetService("Debris"):AddItem(prt, 10) | |
915 | table.insert(Effects, { | |
916 | prt, | |
917 | "Cylinder", | |
918 | delay, | |
919 | x3 / 60, | |
920 | y3 / 60, | |
921 | z3 / 60, | |
922 | msh | |
923 | }) | |
924 | end | |
925 | }, | |
926 | Ring = { | |
927 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
928 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
929 | prt.Anchored = true | |
930 | prt.CFrame = cframe | |
931 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
932 | game:GetService("Debris"):AddItem(prt, 10) | |
933 | table.insert(Effects, { | |
934 | prt, | |
935 | "Cylinder", | |
936 | delay, | |
937 | x3, | |
938 | y3, | |
939 | z3, | |
940 | msh | |
941 | }) | |
942 | end | |
943 | }, | |
944 | Break = { | |
945 | Create = function(brickcolor, cframe, x1, y1, z1) | |
946 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
947 | prt.Anchored = true | |
948 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
949 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
950 | local num = math.random(10, 50) / 1000 | |
951 | game:GetService("Debris"):AddItem(prt, 10) | |
952 | table.insert(Effects, { | |
953 | prt, | |
954 | "Shatter", | |
955 | num, | |
956 | prt.CFrame, | |
957 | math.random() - math.random(), | |
958 | 0, | |
959 | math.random(50, 100) / 100 | |
960 | }) | |
961 | end | |
962 | }, | |
963 | Spiral = { | |
964 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
965 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
966 | prt.Anchored = true | |
967 | prt.CFrame = cframe | |
968 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
969 | game:GetService("Debris"):AddItem(prt, 10) | |
970 | table.insert(Effects, { | |
971 | prt, | |
972 | "Cylinder", | |
973 | delay, | |
974 | x3, | |
975 | y3, | |
976 | z3, | |
977 | msh | |
978 | }) | |
979 | end | |
980 | }, | |
981 | Push = { | |
982 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
983 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
984 | prt.Anchored = true | |
985 | prt.CFrame = cframe | |
986 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
987 | game:GetService("Debris"):AddItem(prt, 10) | |
988 | table.insert(Effects, { | |
989 | prt, | |
990 | "Cylinder", | |
991 | delay, | |
992 | x3, | |
993 | y3, | |
994 | z3, | |
995 | msh | |
996 | }) | |
997 | end | |
998 | } | |
999 | } | |
1000 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
1001 | local fp = IT("Part") | |
1002 | fp.formFactor = formfactor | |
1003 | fp.Parent = parent | |
1004 | fp.Reflectance = reflectance | |
1005 | fp.Transparency = transparency | |
1006 | fp.CanCollide = false | |
1007 | fp.Locked = true | |
1008 | fp.BrickColor = brickcolor | |
1009 | fp.Name = name | |
1010 | fp.Size = size | |
1011 | fp.Position = tors.Position | |
1012 | RemoveOutlines(fp) | |
1013 | fp.Material = "SmoothPlastic" | |
1014 | fp:BreakJoints() | |
1015 | return fp | |
1016 | end | |
1017 | ||
1018 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1019 | local mesh = IT(Mesh) | |
1020 | mesh.Parent = part | |
1021 | if Mesh == "SpecialMesh" then | |
1022 | mesh.MeshType = meshtype | |
1023 | if meshid ~= "nil" then | |
1024 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
1025 | end | |
1026 | end | |
1027 | mesh.Offset = offset | |
1028 | mesh.Scale = scale | |
1029 | return mesh | |
1030 | end | |
1031 | ||
1032 | function MagicCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
1033 | local type = type | |
1034 | local rng = Instance.new("Part", char) | |
1035 | rng.Anchored = true | |
1036 | rng.BrickColor = color | |
1037 | rng.CanCollide = false | |
1038 | rng.FormFactor = 3 | |
1039 | rng.Name = "Ring" | |
1040 | rng.Material = "Neon" | |
1041 | rng.Size = Vector3.new(1, 1, 1) | |
1042 | rng.Transparency = 1 | |
1043 | rng.TopSurface = 0 | |
1044 | rng.BottomSurface = 0 | |
1045 | rng.CFrame = pos | |
1046 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
1047 | local rngm = Instance.new("SpecialMesh", rng) | |
1048 | rngm.MeshType = MType | |
1049 | rngm.Scale = Vector3.new(x1, y1, z1) | |
1050 | local scaler2 = 1 | |
1051 | local speeder = FastSpeed | |
1052 | if type == "Add" then | |
1053 | scaler2 = 1 * value | |
1054 | elseif type == "Divide" then | |
1055 | scaler2 = 1 / value | |
1056 | end | |
1057 | coroutine.resume(coroutine.create(function() | |
1058 | for i = 0, 10 / bonuspeed, 0.1 do | |
1059 | swait() | |
1060 | if type == "Add" then | |
1061 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1062 | elseif type == "Divide" then | |
1063 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1064 | end | |
1065 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
1066 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
1067 | rng.Transparency = rng.Transparency - 0.01 * bonuspeed | |
1068 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
1069 | end | |
1070 | rng:Destroy() | |
1071 | end)) | |
1072 | end | |
1073 | ||
1074 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
1075 | local type = type | |
1076 | local rng = Instance.new("Part", char) | |
1077 | rng.Anchored = true | |
1078 | rng.BrickColor = color | |
1079 | rng.CanCollide = false | |
1080 | rng.FormFactor = 3 | |
1081 | rng.Name = "Ring" | |
1082 | rng.Material = "Neon" | |
1083 | rng.Size = Vector3.new(1, 1, 1) | |
1084 | rng.Transparency = 0 | |
1085 | rng.TopSurface = 0 | |
1086 | rng.BottomSurface = 0 | |
1087 | rng.CFrame = pos | |
1088 | local rngm = Instance.new("SpecialMesh", rng) | |
1089 | rngm.MeshType = MType | |
1090 | rngm.Scale = scale | |
1091 | local scaler2 = 1 | |
1092 | if type == "Add" then | |
1093 | scaler2 = 1 * value | |
1094 | elseif type == "Divide" then | |
1095 | scaler2 = 1 / value | |
1096 | end | |
1097 | coroutine.resume(coroutine.create(function() | |
1098 | for i = 0, 10 / bonuspeed, 0.1 do | |
1099 | swait() | |
1100 | if type == "Add" then | |
1101 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1102 | elseif type == "Divide" then | |
1103 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1104 | end | |
1105 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1106 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
1107 | end | |
1108 | rng:Destroy() | |
1109 | end)) | |
1110 | end | |
1111 | ||
1112 | function Eviscerate(dude) | |
1113 | if dude.Name ~= char then | |
1114 | local bgf = IT("BodyGyro", dude.Head) | |
1115 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1116 | local val = IT("BoolValue", dude) | |
1117 | val.Name = "IsHit" | |
1118 | local ds = coroutine.wrap(function() | |
1119 | dude:WaitForChild("Head"):BreakJoints() | |
1120 | wait(0.5) | |
1121 | target = nil | |
1122 | coroutine.resume(coroutine.create(function() | |
1123 | for i, v in pairs(dude:GetChildren()) do | |
1124 | if v:IsA("Accessory") then | |
1125 | v:Destroy() | |
1126 | end | |
1127 | if v:IsA("Humanoid") then | |
1128 | v:Destroy() | |
1129 | end | |
1130 | if v:IsA("CharacterMesh") then | |
1131 | v:Destroy() | |
1132 | end | |
1133 | if v:IsA("Model") then | |
1134 | v:Destroy() | |
1135 | end | |
1136 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1137 | for x, o in pairs(v:GetChildren()) do | |
1138 | if o:IsA("Decal") then | |
1139 | o:Destroy() | |
1140 | end | |
1141 | end | |
1142 | coroutine.resume(coroutine.create(function() | |
1143 | v.Material = "Neon" | |
1144 | v.CanCollide = false | |
1145 | local PartEmmit1 = IT("ParticleEmitter", v) | |
1146 | PartEmmit1.LightEmission = 1 | |
1147 | PartEmmit1.Texture = "rbxassetid://284205403" | |
1148 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1149 | PartEmmit1.Rate = 150 | |
1150 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1151 | PartEmmit1.Size = NumberSequence.new({ | |
1152 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1153 | NumberSequenceKeypoint.new(1, 0, 0) | |
1154 | }) | |
1155 | PartEmmit1.Transparency = NumberSequence.new({ | |
1156 | NumberSequenceKeypoint.new(0, 0, 0), | |
1157 | NumberSequenceKeypoint.new(1, 1, 0) | |
1158 | }) | |
1159 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1160 | PartEmmit1.VelocitySpread = 30000 | |
1161 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
1162 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
1163 | local BodPoss = IT("BodyPosition", v) | |
1164 | BodPoss.P = 3000 | |
1165 | BodPoss.D = 1000 | |
1166 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1167 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1168 | v.Color = maincolor.Color | |
1169 | coroutine.resume(coroutine.create(function() | |
1170 | for i = 0, 49 do | |
1171 | swait(1) | |
1172 | v.Transparency = v.Transparency + 0.08 | |
1173 | end | |
1174 | wait(0.5) | |
1175 | PartEmmit1.Enabled = false | |
1176 | wait(3) | |
1177 | v:Destroy() | |
1178 | dude:Destroy() | |
1179 | end)) | |
1180 | end)) | |
1181 | end | |
1182 | end | |
1183 | end)) | |
1184 | end) | |
1185 | ds() | |
1186 | end | |
1187 | end | |
1188 | ||
1189 | function FindNearestHead(Position, Distance, SinglePlayer) | |
1190 | if SinglePlayer then | |
1191 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
1192 | end | |
1193 | local List = {} | |
1194 | for i, v in pairs(workspace:GetChildren()) do | |
1195 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
1196 | table.insert(List, v) | |
1197 | end | |
1198 | end | |
1199 | return List | |
1200 | end | |
1201 | ||
1202 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
1203 | local type = type | |
1204 | local rng = Instance.new("Part", char) | |
1205 | rng.Anchored = true | |
1206 | rng.BrickColor = color | |
1207 | rng.CanCollide = false | |
1208 | rng.FormFactor = 3 | |
1209 | rng.Name = "Ring" | |
1210 | rng.Material = "Neon" | |
1211 | rng.Size = Vector3.new(1, 1, 1) | |
1212 | rng.Transparency = 0 | |
1213 | rng.TopSurface = 0 | |
1214 | rng.BottomSurface = 0 | |
1215 | rng.CFrame = pos | |
1216 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
1217 | local rngm = Instance.new("SpecialMesh", rng) | |
1218 | rngm.MeshType = MType | |
1219 | rngm.Scale = Vector3.new(x1, y1, z1) | |
1220 | local scaler2 = 1 | |
1221 | local speeder = FastSpeed | |
1222 | if type == "Add" then | |
1223 | scaler2 = 1 * value | |
1224 | elseif type == "Divide" then | |
1225 | scaler2 = 1 / value | |
1226 | end | |
1227 | coroutine.resume(coroutine.create(function() | |
1228 | for i = 0, 10 / bonuspeed, 0.1 do | |
1229 | swait() | |
1230 | if type == "Add" then | |
1231 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1232 | elseif type == "Divide" then | |
1233 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1234 | end | |
1235 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
1236 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
1237 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1238 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
1239 | end | |
1240 | rng:Destroy() | |
1241 | end)) | |
1242 | end | |
1243 | ||
1244 | function SoulSteal(dude) | |
1245 | if dude.Name ~= char then | |
1246 | local bgf = IT("BodyGyro", dude.Head) | |
1247 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1248 | local val = IT("BoolValue", dude) | |
1249 | val.Name = "IsHit" | |
1250 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
1251 | local soulst = coroutine.wrap(function() | |
1252 | local soul = Instance.new("Part",dude) | |
1253 | soul.Size = Vector3.new(1,1,1) | |
1254 | soul.CanCollide = false | |
1255 | soul.Anchored = false | |
1256 | soul.Position = torso.Position | |
1257 | soul.Transparency = 1 | |
1258 | local PartEmmit1 = IT("ParticleEmitter", soul) | |
1259 | PartEmmit1.LightEmission = 1 | |
1260 | PartEmmit1.Texture = "rbxassetid://569507414" | |
1261 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1262 | PartEmmit1.Rate = 250 | |
1263 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
1264 | PartEmmit1.Size = NumberSequence.new({ | |
1265 | NumberSequenceKeypoint.new(0, 1, 0), | |
1266 | NumberSequenceKeypoint.new(1, 0, 0) | |
1267 | }) | |
1268 | PartEmmit1.Transparency = NumberSequence.new({ | |
1269 | NumberSequenceKeypoint.new(0, 0, 0), | |
1270 | NumberSequenceKeypoint.new(1, 1, 0) | |
1271 | }) | |
1272 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1273 | PartEmmit1.VelocitySpread = 30000 | |
1274 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
1275 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
1276 | local BodPoss = IT("BodyPosition", soul) | |
1277 | BodPoss.P = 3000 | |
1278 | BodPoss.D = 1000 | |
1279 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1280 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1281 | wait(1.6) | |
1282 | soul.Touched:connect(function(hit) | |
1283 | if hit.Parent == char then | |
1284 | soul:Destroy() | |
1285 | end | |
1286 | end) | |
1287 | wait(1.2) | |
1288 | while soul do | |
1289 | swait() | |
1290 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1291 | BodPoss.Position = tors.Position | |
1292 | end | |
1293 | end) | |
1294 | soulst() | |
1295 | end | |
1296 | end | |
1297 | function FaceMouse() | |
1298 | local Cam = workspace.CurrentCamera | |
1299 | return { | |
1300 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
1301 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
1302 | } | |
1303 | end | |
1304 | ------------------------------------------------------- | |
1305 | --End Effect Function-- | |
1306 | ------------------------------------------------------- | |
1307 | function Cso(ID, PARENT, VOLUME, PITCH) | |
1308 | local NSound = nil | |
1309 | coroutine.resume(coroutine.create(function() | |
1310 | NSound = IT("Sound", PARENT) | |
1311 | NSound.Volume = VOLUME | |
1312 | NSound.Pitch = PITCH | |
1313 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1314 | swait() | |
1315 | NSound:play() | |
1316 | game:GetService("Debris"):AddItem(NSound, 10) | |
1317 | end)) | |
1318 | return NSound | |
1319 | end | |
1320 | function CameraEnshaking(Length, Intensity) | |
1321 | coroutine.resume(coroutine.create(function() | |
1322 | local intensity = 1 * Intensity | |
1323 | local rotM = 0.01 * Intensity | |
1324 | for i = 0, Length, 0.1 do | |
1325 | swait() | |
1326 | intensity = intensity - 0.05 * Intensity / Length | |
1327 | rotM = rotM - 5.0E-4 * Intensity / Length | |
1328 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
1329 | 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) | |
1330 | end | |
1331 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
1332 | end)) | |
1333 | end | |
1334 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
1335 | local Hitboxpart = Instance.new("Part", EffectModel) | |
1336 | RemoveOutlines(Hitboxpart) | |
1337 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
1338 | Hitboxpart.CanCollide = false | |
1339 | Hitboxpart.Transparency = 1 | |
1340 | Hitboxpart.Anchored = true | |
1341 | Hitboxpart.CFrame = Pose | |
1342 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime) | |
1343 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
1344 | end | |
1345 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1346 | local prt = CreatePart1(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1347 | prt.Anchored = true | |
1348 | prt.CFrame = cframe | |
1349 | local msh = CreateMesh1("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1350 | game:GetService("Debris"):AddItem(prt, 10) | |
1351 | if Type == 1 or Type == nil then | |
1352 | table.insert(Effects, { | |
1353 | prt, | |
1354 | "Block1", | |
1355 | delay, | |
1356 | x3, | |
1357 | y3, | |
1358 | z3, | |
1359 | msh | |
1360 | }) | |
1361 | elseif Type == 2 then | |
1362 | table.insert(Effects, { | |
1363 | prt, | |
1364 | "Block2", | |
1365 | delay, | |
1366 | x3, | |
1367 | y3, | |
1368 | z3, | |
1369 | msh | |
1370 | }) | |
1371 | elseif Type == 3 then | |
1372 | table.insert(Effects, { | |
1373 | prt, | |
1374 | "Block3", | |
1375 | delay, | |
1376 | x3, | |
1377 | y3, | |
1378 | z3, | |
1379 | msh | |
1380 | }) | |
1381 | end | |
1382 | end | |
1383 | ||
1384 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1385 | local Part = Create("Part"){ | |
1386 | Parent = Parent, | |
1387 | Reflectance = Reflectance, | |
1388 | Transparency = Transparency, | |
1389 | CanCollide = false, | |
1390 | Locked = true, | |
1391 | BrickColor = BrickColor.new(tostring(BColor)), | |
1392 | Name = Name, | |
1393 | Size = Size, | |
1394 | Material = Material, | |
1395 | } | |
1396 | RemoveOutlines(Part) | |
1397 | return Part | |
1398 | end | |
1399 | ||
1400 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1401 | local Msh = Create(Mesh){ | |
1402 | Parent = Part, | |
1403 | Offset = OffSet, | |
1404 | Scale = Scale, | |
1405 | } | |
1406 | if Mesh == "SpecialMesh" then | |
1407 | Msh.MeshType = MeshType | |
1408 | Msh.MeshId = MeshId | |
1409 | end | |
1410 | return Msh | |
1411 | end | |
1412 | ||
1413 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1414 | 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)) | |
1415 | prt.Anchored = true | |
1416 | prt.CFrame = cframe | |
1417 | local msh = CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1)) | |
1418 | game:GetService("Debris"):AddItem(prt,2) | |
1419 | coroutine.resume(coroutine.create(function(Part,Mesh,num) | |
1420 | for i=0,1,delay do | |
1421 | swait() | |
1422 | Part.Transparency=i | |
1423 | Mesh.Scale=Mesh.Scale + Vector3.new(x3,y3,z3) | |
1424 | end | |
1425 | Part.Parent=nil | |
1426 | end),prt,msh,(math.random(0,1)+math.random())/5) | |
1427 | end | |
1428 | ------------------------------------------------------- | |
1429 | --End Important Functions-- | |
1430 | ------------------------------------------------------- | |
1431 | ||
1432 | ||
1433 | ||
1434 | --[[ | |
1435 | Thanks for using Build-To-Lua by jarredbcv. | |
1436 | ]]-- | |
1437 | ||
1438 | New = function(Object, Parent, Name, Data) | |
1439 | local Object = Instance.new(Object) | |
1440 | for Index, Value in pairs(Data or {}) do | |
1441 | Object[Index] = Value | |
1442 | end | |
1443 | Object.Parent = Parent | |
1444 | Object.Name = Name | |
1445 | return Object | |
1446 | end | |
1447 | ||
1448 | Gunty = New("Model",char,"Gunty",{}) | |
1449 | Handle = New("Part",Gunty,"Handle",{Material = Enum.Material.Metal,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,}) | |
1450 | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1451 | 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),}) | |
1452 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1453 | 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),}) | |
1454 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,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,}) | |
1455 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1456 | 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),}) | |
1457 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1458 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1459 | 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),}) | |
1460 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1461 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1462 | 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),}) | |
1463 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1464 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1465 | 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),}) | |
1466 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1467 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1468 | 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),}) | |
1469 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1470 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1471 | 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),}) | |
1472 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1473 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1474 | 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),}) | |
1475 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,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,}) | |
1476 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1477 | 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),}) | |
1478 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,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,}) | |
1479 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1480 | 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),}) | |
1481 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1482 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1483 | 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),}) | |
1484 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,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,}) | |
1485 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1486 | 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),}) | |
1487 | Wedge = New("WedgePart",Gunty,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1488 | 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),}) | |
1489 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1490 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1491 | 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),}) | |
1492 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1493 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1494 | 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),}) | |
1495 | 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),}) | |
1496 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1497 | 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),}) | |
1498 | 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),}) | |
1499 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1500 | 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),}) | |
1501 | 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),}) | |
1502 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1503 | 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),}) | |
1504 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,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,}) | |
1505 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1506 | 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),}) | |
1507 | 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),}) | |
1508 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1509 | 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),}) | |
1510 | Wedge = New("WedgePart",Gunty,"Wedge",{Material = Enum.Material.Metal,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,}) | |
1511 | 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),}) | |
1512 | 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),}) | |
1513 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1514 | 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),}) | |
1515 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,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,}) | |
1516 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1517 | 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),}) | |
1518 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1519 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1520 | 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),}) | |
1521 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1522 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1523 | 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),}) | |
1524 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,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,}) | |
1525 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1526 | 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),}) | |
1527 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1528 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1529 | 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),}) | |
1530 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,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),}) | |
1531 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1532 | 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),}) | |
1533 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,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,}) | |
1534 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1535 | 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),}) | |
1536 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1537 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1538 | 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),}) | |
1539 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1540 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1541 | 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),}) | |
1542 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1543 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1544 | 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),}) | |
1545 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1546 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1547 | 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),}) | |
1548 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,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),}) | |
1549 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1550 | 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),}) | |
1551 | Wedge = New("WedgePart",Gunty,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1552 | 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),}) | |
1553 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1554 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1555 | 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),}) | |
1556 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1557 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1558 | 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),}) | |
1559 | 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),}) | |
1560 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1561 | 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),}) | |
1562 | 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),}) | |
1563 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1564 | 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),}) | |
1565 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1566 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1567 | 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),}) | |
1568 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1569 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1570 | 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),}) | |
1571 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,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),}) | |
1572 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1573 | 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),}) | |
1574 | 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),}) | |
1575 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1576 | 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),}) | |
1577 | ||
1578 | ||
1579 | local NewInstance = function(instance,parent,properties) | |
1580 | local inst = Instance.new(instance,parent) | |
1581 | if(properties)then | |
1582 | for i,v in next, properties do | |
1583 | pcall(function() inst[i] = v end) | |
1584 | end | |
1585 | end | |
1586 | return inst; | |
1587 | end | |
1588 | ||
1589 | local HW = NewInstance('Weld',char,{Part0 = ra, Part1 = Handle, C0 = CF(0, 0, 0) * angles(0,0,0)}) | |
1590 | ||
1591 | ArmorColorParts = {} | |
1592 | ArmorColorParts2 = {} | |
1593 | NeonColorParts = {} | |
1594 | local all, last = {}, nil | |
1595 | function scan(p) | |
1596 | for _, v in pairs(p:GetChildren()) do | |
1597 | if v:IsA("BasePart") then | |
1598 | if v.BrickColor == BrickColor.new("Black") then | |
1599 | table.insert(ArmorColorParts, v) | |
1600 | end | |
1601 | if v.BrickColor == BrickColor.new("Medium stone grey") then | |
1602 | table.insert(ArmorColorParts2, v) | |
1603 | end | |
1604 | if v.BrickColor == BrickColor.new("Dark green") then | |
1605 | table.insert(NeonColorParts, v) | |
1606 | end | |
1607 | if last then | |
1608 | local w = Instance.new("Weld") | |
1609 | w.Part0, w.Part1 = last, v | |
1610 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
1611 | w.Parent = last | |
1612 | end | |
1613 | table.insert(all, v) | |
1614 | last = v | |
1615 | end | |
1616 | scan(v) | |
1617 | end | |
1618 | end | |
1619 | scan(Gunty) | |
1620 | for _, v in pairs(all) do | |
1621 | v.Anchored = false | |
1622 | v.CanCollide = false | |
1623 | end | |
1624 | ------------------------------------------------------- | |
1625 | --Start Customization-- | |
1626 | ------------------------------------------------------- | |
1627 | local Player_Size = 1 | |
1628 | if Player_Size ~= 1 then | |
1629 | root.Size = root.Size * Player_Size | |
1630 | tors.Size = tors.Size * Player_Size | |
1631 | hed.Size = hed.Size * Player_Size | |
1632 | ra.Size = ra.Size * Player_Size | |
1633 | la.Size = la.Size * Player_Size | |
1634 | rl.Size = rl.Size * Player_Size | |
1635 | ll.Size = ll.Size * Player_Size | |
1636 | ---------------------------------------------------------------------------------- | |
1637 | rootj.Parent = root | |
1638 | neck.Parent = tors | |
1639 | RW.Parent = tors | |
1640 | LW.Parent = tors | |
1641 | RH.Parent = tors | |
1642 | LH.Parent = tors | |
1643 | ---------------------------------------------------------------------------------- | |
1644 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1645 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1646 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
1647 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
1648 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
1649 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
1650 | ---------------------------------------------------------------------------------- | |
1651 | 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)) | |
1652 | 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)) | |
1653 | 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)) | |
1654 | 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)) | |
1655 | --hat.Parent = Character | |
1656 | end | |
1657 | ---------------------------------------------------------------------------------- | |
1658 | local SONG = 1547042045 | |
1659 | local SONG2 = 0 | |
1660 | local Music = Instance.new("Sound",tors) | |
1661 | Music.Volume = 2.5 | |
1662 | Music.Looped = true | |
1663 | Music.Pitch = 1 --Pitcher | |
1664 | ---------------------------------------------------------------------------------- | |
1665 | local equipped = false | |
1666 | local idle = 0 | |
1667 | local change = 1 | |
1668 | local val = 0 | |
1669 | local toim = 0 | |
1670 | local idleanim = 0.4 | |
1671 | local sine = 0 | |
1672 | local Mode = 1 | |
1673 | ---------------------------------------------------------------------------------- | |
1674 | hum.WalkSpeed = 8 | |
1675 | hum.JumpPower = 57 | |
1676 | hum.Animator.Parent = nil | |
1677 | local naeeym2 = IT("BillboardGui",char) | |
1678 | naeeym2.AlwaysOnTop = true | |
1679 | naeeym2.Size = UDim2.new(5,35,2,15) | |
1680 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1681 | naeeym2.MaxDistance = 75 | |
1682 | naeeym2.Adornee = hed | |
1683 | naeeym2.Name = "Name" | |
1684 | --naeeym2.PlayerToHideFrom = Player | |
1685 | local tecks2 = IT("TextLabel",naeeym2) | |
1686 | tecks2.BackgroundTransparency = 1 | |
1687 | tecks2.TextScaled = true | |
1688 | tecks2.BorderSizePixel = 0 | |
1689 | tecks2.Text = "Normal" | |
1690 | tecks2.Font = "Fantasy" | |
1691 | tecks2.TextSize = 30 | |
1692 | tecks2.TextStrokeTransparency = 0 | |
1693 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
1694 | tecks2.TextStrokeColor3 = Color3.fromRGB(40, 127, 71) | |
1695 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1696 | tecks2.Parent = naeeym2 | |
1697 | ------------------------------------------------------- | |
1698 | --End Customization-- | |
1699 | ------------------------------------------------------- | |
1700 | ||
1701 | ||
1702 | ------------------------------------------------------- | |
1703 | --Start Attacks N Stuff-- | |
1704 | ------------------------------------------------------- | |
1705 | function resetmode() | |
1706 | tecks2.Text = "Normal" | |
1707 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
1708 | tecks2.TextStrokeColor3 = Color3.fromRGB(40, 127, 71) | |
1709 | for i, v in pairs(ArmorColorParts) do | |
1710 | v.BrickColor = BrickColor.new("Black") | |
1711 | v.Material = "SmoothPlastic" | |
1712 | v.Transparency = 0 | |
1713 | end | |
1714 | for i, v in pairs(ArmorColorParts2) do | |
1715 | v.BrickColor = BrickColor.new("Medium stone grey") | |
1716 | v.Material = "Metal" | |
1717 | v.Transparency = 0 | |
1718 | end | |
1719 | for i, v in pairs(NeonColorParts) do | |
1720 | maincolor = BrickColor.new("Dark green") | |
1721 | v.BrickColor = maincolor | |
1722 | v.Material = "Neon" | |
1723 | v.Transparency = 0 | |
1724 | end | |
1725 | Mode = 1 | |
1726 | SONG = 1547042045 | |
1727 | end | |
1728 | function Taunt() | |
1729 | attack = true | |
1730 | hum.WalkSpeed = 0 | |
1731 | TAUNT:Play() | |
1732 | repeat | |
1733 | swait() | |
1734 | TAUNT.Parent = tors | |
1735 | 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) | |
1736 | 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) | |
1737 | 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) | |
1738 | 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) | |
1739 | 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) | |
1740 | 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) | |
1741 | until TAUNT.Playing == false | |
1742 | attack = false | |
1743 | hum.WalkSpeed = 8 | |
1744 | end | |
1745 | function attackone() | |
1746 | attack = true | |
1747 | hum.WalkSpeed = 3.01 | |
1748 | for i = 0, 1.7, 0.1 do | |
1749 | swait() | |
1750 | 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) | |
1751 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3) | |
1752 | 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) | |
1753 | 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) | |
1754 | 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) | |
1755 | 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) | |
1756 | end | |
1757 | Cso("203426541", ra, 10, 1) | |
1758 | HitboxFunction(root.CFrame * CF(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal") | |
1759 | CameraEnshaking(2, 5) | |
1760 | for i = 0, 1.4, 0.1 do | |
1761 | swait() | |
1762 | BlockEffect(maincolor, ra.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2) | |
1763 | 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) | |
1764 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3) | |
1765 | 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) | |
1766 | 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) | |
1767 | 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) | |
1768 | 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) | |
1769 | end | |
1770 | hum.WalkSpeed = 8 | |
1771 | attack = false | |
1772 | end | |
1773 | function attacktwo() | |
1774 | attack = true | |
1775 | hum.WalkSpeed = 3.01 | |
1776 | for i = 0, 1.7, 0.1 do | |
1777 | swait() | |
1778 | 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) | |
1779 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
1780 | 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) | |
1781 | 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) | |
1782 | 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) | |
1783 | 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) | |
1784 | end | |
1785 | Cso("203426541", rl, 10, 1) | |
1786 | HitboxFunction(root.CFrame * CF(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal") | |
1787 | CameraEnshaking(2, 3) | |
1788 | for i = 0, 1.4, 0.1 do | |
1789 | swait() | |
1790 | 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) | |
1791 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3) | |
1792 | 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) | |
1793 | 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) | |
1794 | 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) | |
1795 | 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) | |
1796 | end | |
1797 | hum.WalkSpeed = 8 | |
1798 | attack = false | |
1799 | end | |
1800 | function attackthree() | |
1801 | attack = true | |
1802 | hum.WalkSpeed = 3.01 | |
1803 | for i = 0, 1.4, 0.1 do | |
1804 | swait() | |
1805 | 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) | |
1806 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1807 | 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) | |
1808 | 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) | |
1809 | 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) | |
1810 | 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) | |
1811 | end | |
1812 | Cso("203426541", hed, 10, 1) | |
1813 | for i = 0, 1.7, 0.1 do | |
1814 | swait() | |
1815 | 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) | |
1816 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1817 | 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) | |
1818 | 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) | |
1819 | 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) | |
1820 | 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) | |
1821 | end | |
1822 | CameraEnshaking(2, 8) | |
1823 | Cso("260435136", hed, 10, .9) | |
1824 | BlockEffect(maincolor, Handle.CFrame * CF(0, -2, 0), 11, 11, 11, 10, 10, 10, 0.04, 1) | |
1825 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -2, 0), 6, 6, 6, 5, 5, 5, 0.04, 1) | |
1826 | HitboxFunction(root.CFrame * CF(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal") | |
1827 | for i = 0, 1.8, 0.1 do | |
1828 | swait() | |
1829 | 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) | |
1830 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.2) | |
1831 | 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) | |
1832 | 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) | |
1833 | 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) | |
1834 | 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) | |
1835 | end | |
1836 | hum.WalkSpeed = 8 | |
1837 | attack = false | |
1838 | end | |
1839 | function Power_Burst() | |
1840 | hum.WalkSpeed = 4 | |
1841 | attack = true | |
1842 | Cso("163619849", Handle, 10, 1.35) | |
1843 | for i = 0,4.3,0.1 do | |
1844 | swait() | |
1845 | 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) | |
1846 | 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) | |
1847 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-23 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3) | |
1848 | 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) | |
1849 | 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) | |
1850 | 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) | |
1851 | 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) | |
1852 | end | |
1853 | CameraEnshaking(2.5, 20) | |
1854 | Cso("539294959", Handle, 10, .9) | |
1855 | BlockEffect(maincolor, Handle.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1) | |
1856 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1) | |
1857 | HitboxFunction(root.CFrame * CF(0, 0, -0), 0.01, 1, 1, 1, 19, 30, 75, 35, "Normal") | |
1858 | for i = 0,3,0.1 do | |
1859 | swait() | |
1860 | 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) | |
1861 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3) | |
1862 | 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) | |
1863 | 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) | |
1864 | 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) | |
1865 | 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) | |
1866 | end | |
1867 | hum.WalkSpeed = 8 | |
1868 | attack = false | |
1869 | end | |
1870 | function Magic_Bombs() | |
1871 | attack = true | |
1872 | hum.WalkSpeed = 0 | |
1873 | local GYRO = IT("BodyGyro",root) | |
1874 | GYRO.D = 100 | |
1875 | GYRO.P = 2000 | |
1876 | GYRO.MaxTorque = VT(0,4000000,0) | |
1877 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
1878 | for i = 0,3.6,0.1 do | |
1879 | swait() | |
1880 | 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) | |
1881 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1882 | 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) | |
1883 | 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) | |
1884 | 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) | |
1885 | 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) | |
1886 | end | |
1887 | CameraEnshaking(1, 6) | |
1888 | GYRO:Destroy() | |
1889 | Cso("588734356", Handle, 10, 1.05) | |
1890 | BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1) | |
1891 | BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1) | |
1892 | HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal") | |
1893 | for i = 0,2,0.1 do | |
1894 | swait() | |
1895 | 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) | |
1896 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1897 | 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) | |
1898 | 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) | |
1899 | 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) | |
1900 | 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) | |
1901 | end | |
1902 | local GYRO = IT("BodyGyro",root) | |
1903 | GYRO.D = 100 | |
1904 | GYRO.P = 2000 | |
1905 | GYRO.MaxTorque = VT(0,4000000,0) | |
1906 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
1907 | for i = 0,2.4,0.1 do | |
1908 | swait() | |
1909 | 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) | |
1910 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1911 | 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) | |
1912 | 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) | |
1913 | 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) | |
1914 | 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) | |
1915 | end | |
1916 | GYRO:Destroy() | |
1917 | CameraEnshaking(1, 6) | |
1918 | Cso("588734356", Handle, 10, 1.05) | |
1919 | BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1) | |
1920 | BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1) | |
1921 | HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6,5, 14, 24, 2, "Normal") | |
1922 | for i = 0,2,0.1 do | |
1923 | swait() | |
1924 | 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) | |
1925 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1926 | 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) | |
1927 | 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) | |
1928 | 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) | |
1929 | 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) | |
1930 | end | |
1931 | local GYRO = IT("BodyGyro",root) | |
1932 | GYRO.D = 100 | |
1933 | GYRO.P = 2000 | |
1934 | GYRO.MaxTorque = VT(0,4000000,0) | |
1935 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
1936 | for i = 0,2.4,0.1 do | |
1937 | swait() | |
1938 | 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) | |
1939 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1940 | 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) | |
1941 | 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) | |
1942 | 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) | |
1943 | 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) | |
1944 | end | |
1945 | GYRO:Destroy() | |
1946 | CameraEnshaking(1, 6) | |
1947 | Cso("588734356", Handle, 10, 1.05) | |
1948 | BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1) | |
1949 | BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1) | |
1950 | HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal") | |
1951 | for i = 0,2,0.1 do | |
1952 | swait() | |
1953 | 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) | |
1954 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1955 | 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) | |
1956 | 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) | |
1957 | 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) | |
1958 | 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) | |
1959 | end | |
1960 | attack = false | |
1961 | hum.WalkSpeed = 8 | |
1962 | end | |
1963 | function Dangerous_Field() | |
1964 | attack = true | |
1965 | hum.WalkSpeed = 0 | |
1966 | for i = 0,10,0.1 do | |
1967 | swait() | |
1968 | 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) | |
1969 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1970 | 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) | |
1971 | 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) | |
1972 | 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) | |
1973 | 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) | |
1974 | CameraEnshaking(1, 7) | |
1975 | Cso("588734356", Handle, 10, 1.2) | |
1976 | BlockEffect(maincolor, Handle.CFrame * CF(0, -8, 0), 9, 9, 9, 11, 11, 11, 0.07, 1) | |
1977 | BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -8, 0), 3, 3, 3, 5, 5, 5, 0.05, 1) | |
1978 | HitboxFunction(Handle.CFrame * CF(0, 0, -10.3), 0.05, 1, 1, 1, 7.3, 15, 20, 3, "Normal") | |
1979 | HitboxFunction(Handle.CFrame * CF(0, 0, -0), 0.05, 1, 1, 1, 5, 2, 3, 10, "Normal") | |
1980 | end | |
1981 | attack = false | |
1982 | hum.WalkSpeed = 8 | |
1983 | end | |
1984 | function Shockwave() | |
1985 | attack = true | |
1986 | hum.WalkSpeed = 0 | |
1987 | for i = 0,4,0.1 do | |
1988 | swait() | |
1989 | 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) | |
1990 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1991 | 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) | |
1992 | 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) | |
1993 | 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) | |
1994 | 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) | |
1995 | end | |
1996 | coroutine.resume(coroutine.create(function() | |
1997 | BlockEffect(maincolor, rl.CFrame * CF(-1, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1998 | BlockEffect(maincolor, rl.CFrame * CF(-3, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1999 | BlockEffect(maincolor, rl.CFrame * CF(2, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2000 | HitboxFunction(rl.CFrame * CF(-1, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare") | |
2001 | HitboxFunction(rl.CFrame * CF(-3, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare") | |
2002 | HitboxFunction(rl.CFrame * CF(2, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare") | |
2003 | CameraEnshaking(1, 7) | |
2004 | wait(0.05) | |
2005 | BlockEffect(maincolor, rl.CFrame * CF(-0.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2006 | BlockEffect(maincolor, rl.CFrame * CF(-2.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2007 | BlockEffect(maincolor, rl.CFrame * CF(1.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2008 | HitboxFunction(rl.CFrame * CF(-0.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 20, 10, "Snare") | |
2009 | HitboxFunction(rl.CFrame * CF(-2.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
2010 | HitboxFunction(rl.CFrame * CF(1.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
2011 | CameraEnshaking(1, 7) | |
2012 | wait(0.05) | |
2013 | BlockEffect(maincolor, rl.CFrame * CF(-0.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2014 | BlockEffect(maincolor, rl.CFrame * CF(-2.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2015 | BlockEffect(maincolor, rl.CFrame * CF(1.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2016 | HitboxFunction(rl.CFrame * CF(-0.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
2017 | HitboxFunction(rl.CFrame * CF(-2.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
2018 | HitboxFunction(rl.CFrame * CF(1.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
2019 | CameraEnshaking(1, 7) | |
2020 | wait(0.05) | |
2021 | BlockEffect(maincolor, rl.CFrame * CF(-0.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2022 | BlockEffect(maincolor, rl.CFrame * CF(-2.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2023 | BlockEffect(maincolor, rl.CFrame * CF(1.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2024 | HitboxFunction(rl.CFrame * CF(-0.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
2025 | HitboxFunction(rl.CFrame * CF(-2.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
2026 | HitboxFunction(rl.CFrame * CF(1.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
2027 | CameraEnshaking(1, 7) | |
2028 | wait(0.05) | |
2029 | BlockEffect(maincolor, rl.CFrame * CF(-0.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2030 | BlockEffect(maincolor, rl.CFrame * CF(-2.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2031 | BlockEffect(maincolor, rl.CFrame * CF(1.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2032 | HitboxFunction(rl.CFrame * CF(-0.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
2033 | HitboxFunction(rl.CFrame * CF(-2.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
2034 | HitboxFunction(rl.CFrame * CF(1.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
2035 | CameraEnshaking(1, 7) | |
2036 | wait(0.05) | |
2037 | BlockEffect(maincolor, rl.CFrame * CF(-0, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2038 | BlockEffect(maincolor, rl.CFrame * CF(-2, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2039 | BlockEffect(maincolor, rl.CFrame * CF(1, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2040 | HitboxFunction(rl.CFrame * CF(-0, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
2041 | HitboxFunction(rl.CFrame * CF(-2, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
2042 | HitboxFunction(rl.CFrame * CF(1, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
2043 | CameraEnshaking(1, 7) | |
2044 | end)) | |
2045 | Cso("440145223", Handle, 10, 1.05) | |
2046 | for i = 1,7,0.1 do | |
2047 | 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) | |
2048 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
2049 | 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) | |
2050 | 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) | |
2051 | 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) | |
2052 | 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) | |
2053 | end | |
2054 | wait(.6) | |
2055 | hum.WalkSpeed = 8 | |
2056 | attack = false | |
2057 | end | |
2058 | function Pulse() | |
2059 | attack = true | |
2060 | hum.WalkSpeed = 0 | |
2061 | local GYRO = IT("BodyGyro",root) | |
2062 | GYRO.D = 100 | |
2063 | GYRO.P = 2000 | |
2064 | GYRO.MaxTorque = VT(0,4000000,0) | |
2065 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
2066 | for i = 0,4,0.1 do | |
2067 | swait() | |
2068 | 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) | |
2069 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
2070 | 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) | |
2071 | 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) | |
2072 | 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) | |
2073 | 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) | |
2074 | end | |
2075 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2076 | HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 30, 40, 0, "Freeze") | |
2077 | CameraEnshaking(1, 25) | |
2078 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2079 | HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2080 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2081 | HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2082 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2083 | HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2084 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2085 | HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2086 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2087 | HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2088 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2089 | HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2090 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2091 | HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2092 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2093 | HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2094 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2095 | HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2096 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2097 | HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2098 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2099 | HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2100 | Cso("440145223", Handle, 10, 1.05) | |
2101 | GYRO:Destroy() | |
2102 | for i = 1,2,0.1 do | |
2103 | swait() | |
2104 | 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) | |
2105 | 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) | |
2106 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
2107 | 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) | |
2108 | 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) | |
2109 | 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) | |
2110 | 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) | |
2111 | end | |
2112 | hum.WalkSpeed = 8 | |
2113 | attack = false | |
2114 | end | |
2115 | function LAZER() | |
2116 | attack = true | |
2117 | hum.WalkSpeed = 0.03 | |
2118 | for i = 0,4,0.1 do | |
2119 | swait() | |
2120 | 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) | |
2121 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
2122 | 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) | |
2123 | 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) | |
2124 | 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) | |
2125 | 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) | |
2126 | end | |
2127 | LAZOR:Play() | |
2128 | local GYRO = IT("BodyGyro",root) | |
2129 | GYRO.D = 100 | |
2130 | GYRO.P = 2000 | |
2131 | GYRO.MaxTorque = VT(0,4000000,0) | |
2132 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
2133 | repeat | |
2134 | swait(2) | |
2135 | 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) | |
2136 | 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) | |
2137 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
2138 | LAZOR.Parent = ra | |
2139 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2140 | HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 1, 5, 0, "Freeze") | |
2141 | CameraEnshaking(1, 7) | |
2142 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2143 | HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2144 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2145 | HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2146 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2147 | HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2148 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2149 | HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2150 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2151 | HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2152 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2153 | HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2154 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2155 | HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2156 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2157 | HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2158 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2159 | HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2160 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2161 | HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2162 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2163 | HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2164 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -65, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2165 | HitboxFunction(Handle.CFrame * CF(0, -67, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2166 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -70, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2167 | HitboxFunction(Handle.CFrame * CF(0, -72, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2168 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -75, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2169 | HitboxFunction(Handle.CFrame * CF(0, -77, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2170 | until LAZOR.Playing == false | |
2171 | GYRO:Destroy() | |
2172 | hum.WalkSpeed = 8 | |
2173 | attack = false | |
2174 | end | |
2175 | function Spirit_Beam() | |
2176 | attack = true | |
2177 | hum.WalkSpeed = 0 | |
2178 | local GYRO = IT("BodyGyro",root) | |
2179 | GYRO.D = 100 | |
2180 | GYRO.P = 2000 | |
2181 | GYRO.MaxTorque = VT(0,4000000,0) | |
2182 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
2183 | for i = 0,5,0.1 do | |
2184 | swait() | |
2185 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
2186 | 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) | |
2187 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2188 | 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) | |
2189 | 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) | |
2190 | 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) | |
2191 | 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) | |
2192 | end | |
2193 | 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),}) | |
2194 | HitboxFunction(ref.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 4, 25, 50, 1, "Normal") | |
2195 | BlockEffect(maincolor, ref.CFrame * CF(-0, -0, -0), 4, 4, 4, 5, 5, 5, 0.07, 1) | |
2196 | local beam = Instance.new("Part", workspace) | |
2197 | beam.BrickColor = BrickColor.new("Fog") | |
2198 | beam.FormFactor = "Custom" | |
2199 | beam.Material = "Glass" | |
2200 | beam.Transparency = 0.5 | |
2201 | beam.Anchored = true | |
2202 | beam.Locked = true | |
2203 | beam.CanCollide = false | |
2204 | local distance = (Handle.CFrame.p - mouse.Hit.p).magnitude | |
2205 | beam.Size = Vector3.new(1.05, 1.05, distance) | |
2206 | beam.CFrame = CFrame.new(Handle.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2) | |
2207 | game:GetService("Debris"):AddItem(beam, 0.14) | |
2208 | local sound = Instance.new('Sound',Handle) | |
2209 | sound.SoundId = 'rbxassetid://588697948' | |
2210 | sound.Volume = 7 | |
2211 | sound.EmitterSize = 40 | |
2212 | sound.MaxDistance = 450 | |
2213 | sound:Play() | |
2214 | game:GetService("Debris"):AddItem(beam, sound.TimeLength) | |
2215 | GYRO:Destroy() | |
2216 | 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) | |
2217 | 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) | |
2218 | 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) | |
2219 | 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) | |
2220 | 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) | |
2221 | 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) | |
2222 | 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) | |
2223 | 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) | |
2224 | 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) | |
2225 | 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) | |
2226 | wait(0.3) | |
2227 | attack = false | |
2228 | hum.WalkSpeed = 8 | |
2229 | ref:Destroy() | |
2230 | end | |
2231 | function Distort() | |
2232 | attack = true | |
2233 | hum.WalkSpeed = 0 | |
2234 | local pos = root.Position | |
2235 | root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos) | |
2236 | Cso("261227592", tors, 10, 0.85) | |
2237 | for i = 1,2.5,0.1 do | |
2238 | swait() | |
2239 | rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
2240 | end | |
2241 | attack = false | |
2242 | hum.WalkSpeed = 8 | |
2243 | end | |
2244 | function Ancient_Rage() | |
2245 | attack = true | |
2246 | hum.WalkSpeed = 4 | |
2247 | Cso("907329532", tors, 10, 1.05) | |
2248 | for i = 1,14,0.1 do | |
2249 | swait() | |
2250 | rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
2251 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
2252 | 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) | |
2253 | 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) | |
2254 | 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) | |
2255 | 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) | |
2256 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 7)) do | |
2257 | if v:FindFirstChild("Head") then | |
2258 | Eviscerate(v) | |
2259 | end | |
2260 | end | |
2261 | end | |
2262 | attack = false | |
2263 | hum.WalkSpeed = 8 | |
2264 | end | |
2265 | function TTTTTTTTTTTaunt() | |
2266 | attack = true | |
2267 | hum.WalkSpeed = 0 | |
2268 | DTAUNT:Play() | |
2269 | repeat | |
2270 | swait() | |
2271 | DTAUNT.Parent = tors | |
2272 | 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) | |
2273 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3) | |
2274 | 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) | |
2275 | 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) | |
2276 | 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) | |
2277 | 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) | |
2278 | until DTAUNT.Playing == false | |
2279 | attack = false | |
2280 | hum.WalkSpeed = 8 | |
2281 | end | |
2282 | function HAAH() | |
2283 | attack = true | |
2284 | hum.WalkSpeed = 0 | |
2285 | Cso("300208779", hed, 10, 1) | |
2286 | for i = 0,9,0.1 do | |
2287 | swait() | |
2288 | 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) | |
2289 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3) | |
2290 | if Mrandom(1,15) == 1 then | |
2291 | 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) | |
2292 | end | |
2293 | 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) | |
2294 | 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) | |
2295 | 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) | |
2296 | 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) | |
2297 | end | |
2298 | attack = false | |
2299 | hum.WalkSpeed = 10 | |
2300 | end | |
2301 | function again() | |
2302 | attack = true | |
2303 | hum.WalkSpeed = 0 | |
2304 | ITAUNT:Play() | |
2305 | repeat | |
2306 | swait() | |
2307 | ITAUNT.Parent = tors | |
2308 | 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) | |
2309 | 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) | |
2310 | 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) | |
2311 | 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) | |
2312 | 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) | |
2313 | 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) | |
2314 | until ITAUNT.Playing == false | |
2315 | attack = false | |
2316 | hum.WalkSpeed = 8 | |
2317 | end | |
2318 | function LunarSpin() | |
2319 | attack = true | |
2320 | hum.WalkSpeed = 0 | |
2321 | for i = 0,17,0.05 do | |
2322 | CameraEnshaking(1, 5) | |
2323 | MagniDamage(tors, 47, 2, 5, 0, "Normal") | |
2324 | Effects.Spiral.Create(BrickC("Teal"), tors.CFrame * CF(0, 0, 0), 3, 3, 3, 4, 4, 4, 0.03) | |
2325 | Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
2326 | swait() | |
2327 | 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) | |
2328 | 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) | |
2329 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2330 | 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) | |
2331 | 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) | |
2332 | 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) | |
2333 | 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) | |
2334 | end | |
2335 | hum.WalkSpeed = 8 | |
2336 | attack = false | |
2337 | end | |
2338 | function Decapitate() | |
2339 | local target = nil | |
2340 | local targettorso = nil | |
2341 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
2342 | if mouse.Target.Parent.Humanoid.PlatformStand == false then | |
2343 | target = mouse.Target.Parent.Humanoid | |
2344 | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso") | |
2345 | targethead = mouse.Target.Parent:FindFirstChild("Head") | |
2346 | end | |
2347 | end | |
2348 | if target ~= nil then | |
2349 | targettorso.Anchored = true | |
2350 | attack = true | |
2351 | hum.WalkSpeed = 0 | |
2352 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
2353 | for i = 0,4.2,0.1 do | |
2354 | swait() | |
2355 | 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) | |
2356 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
2357 | 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) | |
2358 | 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) | |
2359 | 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) | |
2360 | 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) | |
2361 | end | |
2362 | local ModelHead01 = New("Model", char, "", {}) | |
2363 | local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {}) | |
2364 | local Head01 = targethead:Clone() | |
2365 | targethead.Transparency = 1 | |
2366 | Head01.Parent = ModelHead01 | |
2367 | local weldHead01 = Instance.new("Weld") | |
2368 | weldHead01.Parent = Head01 | |
2369 | weldHead01.Part0 = targethead | |
2370 | weldHead01.Part1 = Head01 | |
2371 | weldHead01.C1 = CFrame.new(0, 0, 0) | |
2372 | targethead.face:Remove() | |
2373 | weldHead01.Part0 = ra | |
2374 | weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0)) | |
2375 | targettorso:BreakJoints() | |
2376 | CreateSound("314390675", targettorso, 5, .7) | |
2377 | for i = 0,3.2,0.1 do | |
2378 | swait() | |
2379 | 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) | |
2380 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
2381 | 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) | |
2382 | 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) | |
2383 | 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) | |
2384 | 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) | |
2385 | end | |
2386 | for i = 0,4.2,0.1 do | |
2387 | swait() | |
2388 | 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) | |
2389 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
2390 | 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) | |
2391 | 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) | |
2392 | 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) | |
2393 | 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) | |
2394 | end | |
2395 | CreateSound("541909763", targettorso, 5, .8) | |
2396 | weldHead01:Destroy() | |
2397 | Head01.CanCollide = true | |
2398 | local bodyVelocity2 = Create("BodyVelocity")({ | |
2399 | velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50, | |
2400 | P = 5000, | |
2401 | maxForce = Vector3.new(8000, 8000, 8000), | |
2402 | Parent = Head01 | |
2403 | }) | |
2404 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.05) | |
2405 | for i = 0,6.2,0.1 do | |
2406 | swait() | |
2407 | 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) | |
2408 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3) | |
2409 | 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) | |
2410 | 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) | |
2411 | 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) | |
2412 | 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) | |
2413 | end | |
2414 | targettorso.Anchored = false | |
2415 | attack = false | |
2416 | hum.WalkSpeed = 8 | |
2417 | root.CFrame = targettorso.CFrame * CF(0,0,3.4) | |
2418 | end | |
2419 | end | |
2420 | function BalanceSpin() | |
2421 | attack = true | |
2422 | hum.WalkSpeed = 2 | |
2423 | for i = 0,17,0.07 do | |
2424 | CameraEnshaking(1, 5) | |
2425 | MagniDamage(tors, 30, 7, 11, 0, "Normal") | |
2426 | swait() | |
2427 | 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") | |
2428 | 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") | |
2429 | 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") | |
2430 | 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) | |
2431 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2432 | 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) | |
2433 | 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) | |
2434 | 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) | |
2435 | 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) | |
2436 | end | |
2437 | hum.WalkSpeed = 8 | |
2438 | attack = false | |
2439 | end | |
2440 | ||
2441 | function BARK() | |
2442 | attack = true | |
2443 | hum.WalkSpeed = 0 | |
2444 | BATAUNT:Play() | |
2445 | repeat | |
2446 | BATAUNT.Parent = tors | |
2447 | swait() | |
2448 | 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) | |
2449 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1) | |
2450 | 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) | |
2451 | 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) | |
2452 | 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) | |
2453 | 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) | |
2454 | until BATAUNT.Playing == false | |
2455 | attack = false | |
2456 | hum.WalkSpeed = 8 | |
2457 | end | |
2458 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
2459 | local NSound = nil | |
2460 | coroutine.resume(coroutine.create(function() | |
2461 | NSound = Instance.new("Sound", PARENT) | |
2462 | NSound.Volume = VOLUME | |
2463 | NSound.Pitch = PITCH | |
2464 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
2465 | swait() | |
2466 | NSound:play() | |
2467 | game:GetService("Debris"):AddItem(NSound, 10) | |
2468 | end)) | |
2469 | return NSound | |
2470 | end | |
2471 | function Bark_Splosion() | |
2472 | attack = true | |
2473 | for i = 0,2,0.05 do | |
2474 | swait() | |
2475 | Effects.Block.Create(BrickC("Cool yellow"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
2476 | Effects.Block.Create(BrickC("Medium stone grey"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
2477 | 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) | |
2478 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2479 | 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) | |
2480 | 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) | |
2481 | 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) | |
2482 | 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) | |
2483 | end | |
2484 | CreateSound("331666100", tors, 10, 1) | |
2485 | 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) | |
2486 | MagniDamage(tors, 34, 25, 50, 15, "DarkUp") | |
2487 | CameraEnshaking(1.5, 10) | |
2488 | for i = 1,2,0.1 do | |
2489 | swait() | |
2490 | 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) | |
2491 | 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) | |
2492 | 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) | |
2493 | 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) | |
2494 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9) | |
2495 | 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) | |
2496 | 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) | |
2497 | 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) | |
2498 | 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) | |
2499 | end | |
2500 | wait(.6) | |
2501 | attack = false | |
2502 | end | |
2503 | corrupted = false | |
2504 | function Pixel_Corrupt() | |
2505 | attack = true | |
2506 | corrupted = true | |
2507 | for i = 0,3,0.05 do | |
2508 | swait() | |
2509 | 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) | |
2510 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9) | |
2511 | 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) | |
2512 | 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) | |
2513 | 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) | |
2514 | 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) | |
2515 | 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) | |
2516 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2517 | 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) | |
2518 | 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) | |
2519 | 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) | |
2520 | 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) | |
2521 | end | |
2522 | 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),}) | |
2523 | HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 20, 20, 25, 0, "Normal") | |
2524 | BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 30, 30, 30, 32, 32, 32, 0.07, 1) | |
2525 | CreateSound("331666100", refa, 10, 1) | |
2526 | CameraEnshaking(1.5, 10) | |
2527 | coroutine.resume(coroutine.create(function() | |
2528 | for i = 1,20,0.1 do | |
2529 | swait(5) | |
2530 | 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) | |
2531 | 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) | |
2532 | 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) | |
2533 | 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) | |
2534 | CreateSound("331666100", refa, 10, 1) | |
2535 | BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 22, 22, 22, 25, 25, 25, 0.041, 1) | |
2536 | HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 21.3, 5, 8, 0, "Normal") | |
2537 | end | |
2538 | refa:Destroy() | |
2539 | corrupted = false | |
2540 | end)) | |
2541 | for i = 1,2.5,0.1 do | |
2542 | swait() | |
2543 | 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) | |
2544 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.6) | |
2545 | 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) | |
2546 | 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) | |
2547 | 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) | |
2548 | 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) | |
2549 | end | |
2550 | wait(.3) | |
2551 | attack = false | |
2552 | end | |
2553 | function un_fun() | |
2554 | attack = true | |
2555 | hum.WalkSpeed = 0 | |
2556 | BTAUNT:Play() | |
2557 | repeat | |
2558 | swait() | |
2559 | BTAUNT.Parent = tors | |
2560 | 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) | |
2561 | 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) | |
2562 | 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) | |
2563 | 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) | |
2564 | 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) | |
2565 | 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) | |
2566 | until BTAUNT.Playing == false | |
2567 | attack = false | |
2568 | hum.WalkSpeed = 8 | |
2569 | end | |
2570 | function thisisit() | |
2571 | attack = true | |
2572 | hum.WalkSpeed = 0 | |
2573 | STAUNT:Play() | |
2574 | repeat | |
2575 | swait() | |
2576 | STAUNT.Parent = tors | |
2577 | 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) | |
2578 | 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) | |
2579 | 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) | |
2580 | 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) | |
2581 | 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) | |
2582 | 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) | |
2583 | until STAUNT.Playing == false | |
2584 | attack = false | |
2585 | hum.WalkSpeed = 8 | |
2586 | end | |
2587 | function Exploit() | |
2588 | exploitable = false | |
2589 | Cso("907332670", tors, 10, 1.05) | |
2590 | coroutine.resume(coroutine.create(function() | |
2591 | for i = 1,20,0.1 do | |
2592 | swait() | |
2593 | 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) | |
2594 | end | |
2595 | Cso("12222030", tors, 10, 1.05) | |
2596 | BlockEffect(maincolor, tors.CFrame * CF(0, 0, 0), 17, 17, 17, 20, 20, 20, 0.04, 1) | |
2597 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 27)) do | |
2598 | if v:FindFirstChild("Head") then | |
2599 | Eviscerate(v) | |
2600 | SoulSteal(v) | |
2601 | end | |
2602 | end | |
2603 | wait(15) | |
2604 | exploitable = true | |
2605 | end)) | |
2606 | end | |
2607 | function ASCENTION() | |
2608 | attack = true | |
2609 | hum.WalkSpeed = 0 | |
2610 | Cso("987502413", tors, 10, 1.05) | |
2611 | local vel2 = Instance.new("BodyVelocity",tors) | |
2612 | vel2.Velocity = Vector3.new(0,30,0) | |
2613 | vel2.MaxForce = Vector3.new(10000000,10000000,10000000) | |
2614 | for i = 0,20,0.1 do | |
2615 | HitboxFunction(tors.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 7, 10, 20, 20, "Normal") | |
2616 | swait() | |
2617 | BlockEffect(maincolor, ra.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1) | |
2618 | BlockEffect(maincolor, la.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1) | |
2619 | CameraEnshaking(1, 4) | |
2620 | 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) | |
2621 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2622 | 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) | |
2623 | 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) | |
2624 | 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) | |
2625 | 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) | |
2626 | end | |
2627 | hum.WalkSpeed = 8 | |
2628 | vel2:Destroy() | |
2629 | attack = false | |
2630 | end | |
2631 | ------------------------------------------------------- | |
2632 | --End Attacks N Stuff-- | |
2633 | ------------------------------------------------------- | |
2634 | Sprinting = false | |
2635 | mouse.KeyDown:connect(function(key) | |
2636 | if string.byte(key) == 48 and attack == false and Mode ~= 10 then | |
2637 | Swing = 2 | |
2638 | hum.WalkSpeed = 38.82 | |
2639 | Sprinting = true | |
2640 | end | |
2641 | end) | |
2642 | mouse.KeyUp:connect(function(key) | |
2643 | if string.byte(key) == 48 and attack == false then | |
2644 | Swing = 1 | |
2645 | Sprinting = false | |
2646 | hum.WalkSpeed = 8 | |
2647 | end | |
2648 | end) | |
2649 | mouse.KeyDown:connect(function(key) | |
2650 | if attack == false then | |
2651 | if key == 'q' and Mode == 1 then | |
2652 | Power_Burst() | |
2653 | elseif key == '1' and Mode ~= 2 then | |
2654 | Mode = 2 | |
2655 | SONG = 409475133 | |
2656 | tecks2.Text = "Machinery" | |
2657 | tecks2.TextColor3 = Color3.fromRGB(196, 40, 28) | |
2658 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 89, 89) | |
2659 | for i, v in pairs(ArmorColorParts) do | |
2660 | v.BrickColor = BrickColor.new("Bright red") | |
2661 | v.Material = "Metal" | |
2662 | v.Transparency = 0 | |
2663 | end | |
2664 | for i, v in pairs(ArmorColorParts2) do | |
2665 | v.BrickColor = BrickColor.new("Persimmon") | |
2666 | v.Material = "Metal" | |
2667 | v.Transparency = 0 | |
2668 | end | |
2669 | for i, v in pairs(NeonColorParts) do | |
2670 | maincolor = BrickColor.new("New Yeller") | |
2671 | v.BrickColor = maincolor | |
2672 | v.Material = "Neon" | |
2673 | v.Transparency = 0 | |
2674 | end | |
2675 | elseif key == '1' and Mode == 2 then | |
2676 | resetmode() | |
2677 | elseif key == 't' and Mode == 1 then | |
2678 | Taunt() | |
2679 | elseif key == 'q' and Mode == 2 then | |
2680 | Magic_Bombs() | |
2681 | elseif key == 'e' and Mode == 2 then | |
2682 | Dangerous_Field() | |
2683 | elseif key == 't' and Mode == 2 then | |
2684 | HAAH() | |
2685 | end | |
2686 | --------------------------------------------------------------------- | |
2687 | if key == 'm' and Mode == 1 then | |
2688 | Mode = pIXELATED | |
2689 | SONG = 1244332148 | |
2690 | tecks2.Text = "Pixels" | |
2691 | tecks2.TextColor3 = Color3.fromRGB(0, 255, 255) | |
2692 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 255) | |
2693 | for i, v in pairs(ArmorColorParts) do | |
2694 | v.BrickColor = BrickColor.new("Navy blue") | |
2695 | v.Material = "Glass" | |
2696 | v.Transparency = 0 | |
2697 | end | |
2698 | for i, v in pairs(ArmorColorParts2) do | |
2699 | v.BrickColor = BrickColor.new("Dark blue") | |
2700 | v.Material = "Glass" | |
2701 | v.Transparency = 0 | |
2702 | end | |
2703 | for i, v in pairs(NeonColorParts) do | |
2704 | maincolor = BrickColor.new("Lapis") | |
2705 | v.BrickColor = maincolor | |
2706 | v.Material = "Neon" | |
2707 | v.Transparency = 0 | |
2708 | end | |
2709 | elseif key == 'm' and Mode == pIXELATED then | |
2710 | resetmode() | |
2711 | elseif key == 'q' and Mode == pIXELATED and corrupted == false then | |
2712 | Pixel_Corrupt() | |
2713 | end | |
2714 | --------------------------------------------------------------------- | |
2715 | if key == '2' and Mode ~= 3 then | |
2716 | Mode = 3 | |
2717 | SONG = 1634231515 | |
2718 | tecks2.Text = "Below-Zero" | |
2719 | tecks2.TextColor3 = Color3.fromRGB(0, 255, 255) | |
2720 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
2721 | for i, v in pairs(ArmorColorParts) do | |
2722 | v.BrickColor = BrickColor.new("Bright blue") | |
2723 | v.Material = "Marble" | |
2724 | v.Transparency = 0 | |
2725 | end | |
2726 | for i, v in pairs(ArmorColorParts2) do | |
2727 | v.BrickColor = BrickColor.new("Institutional white") | |
2728 | v.Material = "Metal" | |
2729 | v.Transparency = 0 | |
2730 | end | |
2731 | for i, v in pairs(NeonColorParts) do | |
2732 | maincolor = BrickColor.new("Toothpaste") | |
2733 | v.BrickColor = maincolor | |
2734 | v.Material = "Neon" | |
2735 | v.Transparency = 0 | |
2736 | end | |
2737 | elseif key == '2' and Mode == 3 then | |
2738 | resetmode() | |
2739 | elseif key == 't' and Mode == 3 then | |
2740 | un_fun() | |
2741 | elseif key == 'q' and Mode == 3 then | |
2742 | Shockwave() | |
2743 | end | |
2744 | --------------------------------------------------------------------- | |
2745 | if key == '3' and Mode ~= 4 then | |
2746 | Mode = 4 | |
2747 | SONG = 539526132 | |
2748 | tecks2.Text = "Infused" | |
2749 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
2750 | tecks2.TextStrokeColor3 = Color3.fromRGB(245, 205, 48) | |
2751 | for i, v in pairs(ArmorColorParts) do | |
2752 | v.BrickColor = BrickColor.new("Black") | |
2753 | v.Material = "SmoothPlastic" | |
2754 | v.Transparency = 0 | |
2755 | end | |
2756 | for i, v in pairs(ArmorColorParts2) do | |
2757 | v.BrickColor = BrickColor.new("Really black") | |
2758 | v.Material = "Metal" | |
2759 | v.Transparency = 0 | |
2760 | end | |
2761 | for i, v in pairs(NeonColorParts) do | |
2762 | maincolor = BrickColor.new("Bright yellow") | |
2763 | v.BrickColor = maincolor | |
2764 | v.Material = "Neon" | |
2765 | v.Transparency = 0 | |
2766 | end | |
2767 | elseif key == '3' and Mode == 4 then | |
2768 | resetmode() | |
2769 | elseif key == 't' and Mode == 4 then | |
2770 | again() | |
2771 | elseif key == 'q' and Mode == 4 then | |
2772 | Pulse() | |
2773 | end | |
2774 | --------------------------------------------------------------------- | |
2775 | if key == 'm' and Mode == 4 then | |
2776 | attack = true | |
2777 | SONG = 1764195391 | |
2778 | hum.WalkSpeed = 0 | |
2779 | for i = 1,20,0.1 do | |
2780 | swait() | |
2781 | 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) | |
2782 | 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) | |
2783 | 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) | |
2784 | 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) | |
2785 | 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) | |
2786 | 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) | |
2787 | 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) | |
2788 | end | |
2789 | hum.WalkSpeed = 8 | |
2790 | attack = false | |
2791 | Mode = 100 | |
2792 | tecks2.Text = "Overclocked" | |
2793 | tecks2.TextColor3 = Color3.fromRGB(1, 1, 1) | |
2794 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 176, 0) | |
2795 | Cso("743499393", tors, 10, 1.05) | |
2796 | BlockEffect(BrickC("New Yeller"), Handle.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1) | |
2797 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1) | |
2798 | for i, v in pairs(ArmorColorParts) do | |
2799 | v.BrickColor = BrickColor.new("Bright yellow") | |
2800 | v.Material = "DiamondPlate" | |
2801 | v.Transparency = 0.2 | |
2802 | end | |
2803 | for i, v in pairs(ArmorColorParts2) do | |
2804 | v.BrickColor = BrickColor.new("Really black") | |
2805 | v.Material = "Neon" | |
2806 | v.Transparency = 0 | |
2807 | end | |
2808 | for i, v in pairs(NeonColorParts) do | |
2809 | maincolor = BrickColor.new("New Yeller") | |
2810 | v.BrickColor = maincolor | |
2811 | v.Material = "Glass" | |
2812 | v.Transparency = 0.5 | |
2813 | end | |
2814 | elseif key == 'm' and Mode == 100 then | |
2815 | resetmode() | |
2816 | elseif key == 'q' and Mode == 100 then | |
2817 | LAZER() | |
2818 | end | |
2819 | --------------------------------------------------------------------- | |
2820 | if key == '4' and Mode ~= 5 then | |
2821 | Mode = 5 | |
2822 | SONG = 170282324 | |
2823 | tecks2.Text = "Cyber" | |
2824 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
2825 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255) | |
2826 | for i, v in pairs(ArmorColorParts) do | |
2827 | v.BrickColor = BrickColor.new("Black") | |
2828 | v.Material = "SmoothPlastic" | |
2829 | v.Transparency = 0 | |
2830 | end | |
2831 | for i, v in pairs(ArmorColorParts2) do | |
2832 | v.BrickColor = BrickColor.new("Really black") | |
2833 | v.Material = "Metal" | |
2834 | v.Transparency = 0 | |
2835 | end | |
2836 | for i, v in pairs(NeonColorParts) do | |
2837 | maincolor = BrickColor.new("Toothpaste") | |
2838 | v.BrickColor = maincolor | |
2839 | v.Material = "Neon" | |
2840 | v.Transparency = 0 | |
2841 | end | |
2842 | elseif key == '4' and Mode == 5 then | |
2843 | resetmode() | |
2844 | elseif key == 'q' and Mode == 5 and exploitable == true then | |
2845 | Exploit() | |
2846 | end | |
2847 | --------------------------------------------------------------------- | |
2848 | if key == '5' and Mode ~= 6 then | |
2849 | Mode = 6 | |
2850 | SONG = 407749940 | |
2851 | tecks2.Text = "ControlledBR" | |
2852 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
2853 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 89, 89) | |
2854 | for i, v in pairs(ArmorColorParts) do | |
2855 | v.BrickColor = BrickColor.new("Dark red") | |
2856 | v.Material = "SmoothPlastic" | |
2857 | v.Transparency = 0 | |
2858 | end | |
2859 | for i, v in pairs(ArmorColorParts2) do | |
2860 | v.BrickColor = BrickColor.new("Really black") | |
2861 | v.Material = "Metal" | |
2862 | v.Transparency = 0 | |
2863 | end | |
2864 | for i, v in pairs(NeonColorParts) do | |
2865 | maincolor = BrickColor.new("Really red") | |
2866 | v.BrickColor = maincolor | |
2867 | v.Material = "Neon" | |
2868 | v.Transparency = 0 | |
2869 | end | |
2870 | elseif key == '5' and Mode == 6 then | |
2871 | resetmode() | |
2872 | elseif key == 'q' and Mode == 6 then | |
2873 | Distort() | |
2874 | elseif key == 'e' and Mode == 6 then | |
2875 | Ancient_Rage() | |
2876 | elseif key == 't' and Mode == 6 then | |
2877 | TTTTTTTTTTTaunt() | |
2878 | end | |
2879 | --------------------------------------------------------------------- | |
2880 | if key == '6' and Mode ~= 7 then | |
2881 | Mode = 7 | |
2882 | SONG = 150794704 | |
2883 | tecks2.Text = "Such Wow" | |
2884 | tecks2.TextColor3 = Color3.fromRGB(163, 162, 165) | |
2885 | tecks2.TextStrokeColor3 = Color3.fromRGB(253, 234, 141) | |
2886 | for i, v in pairs(ArmorColorParts) do | |
2887 | v.BrickColor = BrickColor.new("Cool yellow") | |
2888 | v.Material = "SmoothPlastic" | |
2889 | v.Transparency = 0 | |
2890 | end | |
2891 | for i, v in pairs(ArmorColorParts2) do | |
2892 | v.BrickColor = BrickColor.new("Medium stone grey") | |
2893 | v.Material = "Metal" | |
2894 | v.Transparency = 0 | |
2895 | end | |
2896 | for i, v in pairs(NeonColorParts) do | |
2897 | maincolor = BrickColor.new("New Yeller") | |
2898 | v.BrickColor = maincolor | |
2899 | v.Material = "Neon" | |
2900 | v.Transparency = 0 | |
2901 | end | |
2902 | elseif key == '6' and Mode == 7 then | |
2903 | resetmode() | |
2904 | elseif key == 't' and Mode == 7 then | |
2905 | BARK() | |
2906 | elseif key == 'q' and Mode == 7 then | |
2907 | Bark_Splosion() | |
2908 | end | |
2909 | if key == 'm' and Mode == 7 then | |
2910 | SONG = 257453119 | |
2911 | attack = true | |
2912 | hum.WalkSpeed = 0 | |
2913 | for i = 0,10,0.08 do | |
2914 | swait() | |
2915 | 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) | |
2916 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2917 | 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) | |
2918 | 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) | |
2919 | 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) | |
2920 | 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) | |
2921 | end | |
2922 | attack = false | |
2923 | hum.WalkSpeed = 8 | |
2924 | Mode = 50 | |
2925 | BlockEffect(BrickC("Magenta"), Handle.CFrame * CF(0, -0, 0), 25, 25, 25, 30, 30, 30, 0.05, 1) | |
2926 | tecks2.Text = "ASCEND" | |
2927 | tecks2.TextColor3 = Color3.fromRGB(255, 0, 255) | |
2928 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
2929 | for i, v in pairs(ArmorColorParts) do | |
2930 | v.BrickColor = BrickColor.new("Magenta") | |
2931 | v.Material = "Foil" | |
2932 | v.Transparency = 0 | |
2933 | end | |
2934 | for i, v in pairs(ArmorColorParts2) do | |
2935 | v.BrickColor = BrickColor.new("Dark indigo") | |
2936 | v.Material = "Glass" | |
2937 | v.Transparency = 0.1 | |
2938 | end | |
2939 | for i, v in pairs(NeonColorParts) do | |
2940 | maincolor = BrickColor.new("White") | |
2941 | v.BrickColor = maincolor | |
2942 | v.Material = "Neon" | |
2943 | v.Transparency = 0 | |
2944 | end | |
2945 | elseif key == 'm' and Mode == 50 then | |
2946 | resetmode() | |
2947 | elseif key == 'q' and Mode == 50 then | |
2948 | ASCENTION() | |
2949 | end | |
2950 | --------------------------------------------------------------------- | |
2951 | if key == 'm' and Mode == 8 then | |
2952 | Mode = 25 | |
2953 | SONG = 1770978966 | |
2954 | tecks2.Text = "Spirit" | |
2955 | BlockEffect(BrickC("Fog"), Handle.CFrame * CF(0, -0, 0), 25, 25, 25, 30, 30, 30, 0.05, 1) | |
2956 | tecks2.TextColor3 = Color3.fromRGB(255, 255, 255) | |
2957 | tecks2.TextStrokeColor3 = Color3.fromRGB(163, 162, 165) | |
2958 | for i, v in pairs(ArmorColorParts) do | |
2959 | v.BrickColor = BrickColor.new("Ghost grey") | |
2960 | v.Material = "SmoothPlastic" | |
2961 | v.Transparency = 0.7 | |
2962 | end | |
2963 | for i, v in pairs(ArmorColorParts2) do | |
2964 | v.BrickColor = BrickColor.new("Quill grey") | |
2965 | v.Material = "Glass" | |
2966 | v.Transparency = 0.5 | |
2967 | end | |
2968 | for i, v in pairs(NeonColorParts) do | |
2969 | maincolor = BrickColor.new("Fog") | |
2970 | v.BrickColor = maincolor | |
2971 | v.Material = "Neon" | |
2972 | v.Transparency = 0.5 | |
2973 | end | |
2974 | elseif key == 'm' and Mode == 25 then | |
2975 | resetmode() | |
2976 | elseif key == 't' and Mode == 25 then | |
2977 | thisisit() | |
2978 | elseif key == 'q' and Mode == 25 then | |
2979 | Spirit_Beam() | |
2980 | end | |
2981 | --------------------------------------------------------------------- | |
2982 | if key == '7' and Mode ~= 8 then | |
2983 | Mode = 8 | |
2984 | SONG = 561833161 | |
2985 | tecks2.Text = "Lunar" | |
2986 | tecks2.TextColor3 = Color3.fromRGB(18, 238, 212) | |
2987 | tecks2.TextStrokeColor3 = Color3.fromRGB(4, 175, 236) | |
2988 | for i, v in pairs(ArmorColorParts) do | |
2989 | v.BrickColor = BrickColor.new("Teal") | |
2990 | v.Material = "SmoothPlastic" | |
2991 | v.Transparency = 0 | |
2992 | end | |
2993 | for i, v in pairs(ArmorColorParts2) do | |
2994 | v.BrickColor = BrickColor.new("Medium stone grey") | |
2995 | v.Material = "Metal" | |
2996 | v.Transparency = 0 | |
2997 | end | |
2998 | for i, v in pairs(NeonColorParts) do | |
2999 | maincolor = BrickColor.new("Cyan") | |
3000 | v.BrickColor = maincolor | |
3001 | v.Material = "Neon" | |
3002 | v.Transparency = 0 | |
3003 | end | |
3004 | elseif key == '7' and Mode == 8 then | |
3005 | resetmode() | |
3006 | elseif key == 'q' and Mode == 8 then | |
3007 | LunarSpin() | |
3008 | end | |
3009 | --------------------------------------------------------------------- | |
3010 | if key == '8' and Mode ~= 9 then | |
3011 | Mode = 9 | |
3012 | SONG = 933385346 | |
3013 | tecks2.Text = "Balance" | |
3014 | tecks2.TextColor3 = Color3.new(255, 255, 255) | |
3015 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
3016 | for i, v in pairs(ArmorColorParts) do | |
3017 | v.BrickColor = BrickColor.new("Institutional white") | |
3018 | v.Material = "Glass" | |
3019 | v.Transparency = 0 | |
3020 | end | |
3021 | for i, v in pairs(ArmorColorParts2) do | |
3022 | v.BrickColor = BrickColor.new("Really black") | |
3023 | v.Material = "Glass" | |
3024 | v.Transparency = 0.5 | |
3025 | end | |
3026 | for i, v in pairs(NeonColorParts) do | |
3027 | maincolor = BrickColor.new("Institutional white") | |
3028 | v.BrickColor = maincolor | |
3029 | v.Material = "Neon" | |
3030 | v.Transparency = 0 | |
3031 | end | |
3032 | elseif key == '8' and Mode == 9 then | |
3033 | resetmode() | |
3034 | elseif key == 't' and Mode == 9 then | |
3035 | heregoes() | |
3036 | elseif key == 'q' and Mode == 9 then | |
3037 | BalanceSpin() | |
3038 | end | |
3039 | --------------------------------------------------------------------------- | |
3040 | if key == 'm' and Mode == 9 and Mode ~= 10 and Sprinting == false then | |
3041 | Mode = 10 | |
3042 | SONG = 919231299 | |
3043 | local A = math.random(1,4) | |
3044 | if A == 1 then | |
3045 | SONG = 919231299 | |
3046 | elseif A == 2 then | |
3047 | SONG = 460874877 | |
3048 | elseif A == 3 then | |
3049 | SONG = 943961217 | |
3050 | elseif A == 4 then | |
3051 | SONG = 623662713 | |
3052 | end | |
3053 | tecks2.Text = "InSaNe" | |
3054 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
3055 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
3056 | for i, v in pairs(ArmorColorParts) do | |
3057 | v.BrickColor = BrickColor.random() | |
3058 | v.Material = "Glass" | |
3059 | v.Transparency = 0 | |
3060 | end | |
3061 | for i, v in pairs(ArmorColorParts2) do | |
3062 | v.BrickColor = BrickColor.random() | |
3063 | v.Material = "Glass" | |
3064 | v.Transparency = 0 | |
3065 | end | |
3066 | for i, v in pairs(NeonColorParts) do | |
3067 | maincolor = BrickColor.random() | |
3068 | v.BrickColor = maincolor | |
3069 | v.Material = "Neon" | |
3070 | v.Transparency = 0 | |
3071 | end | |
3072 | elseif key == 'm' and Mode == 10 then | |
3073 | resetmode() | |
3074 | elseif key == 'q' and Mode == 10 then | |
3075 | Decapitate() | |
3076 | end | |
3077 | end | |
3078 | end) | |
3079 | local Combo = 1 | |
3080 | mouse.Button1Down:connect(function(key) | |
3081 | if attack == false then | |
3082 | if Combo == 1 then | |
3083 | Combo = 2 | |
3084 | attackone() | |
3085 | elseif Combo == 2 then | |
3086 | Combo = 3 | |
3087 | attacktwo() | |
3088 | elseif Combo == 3 then | |
3089 | Combo = 1 | |
3090 | attackthree() | |
3091 | end | |
3092 | end | |
3093 | end) | |
3094 | ||
3095 | ||
3096 | ||
3097 | ||
3098 | ||
3099 | ||
3100 | ||
3101 | ------------------------------------------------------- | |
3102 | --Start Animations-- | |
3103 | ------------------------------------------------------- | |
3104 | while true do | |
3105 | swait() | |
3106 | sine = sine + change | |
3107 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
3108 | local velderp = root.Velocity.y | |
3109 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
3110 | if equipped == true or equipped == false then | |
3111 | if attack == false then | |
3112 | idle = idle + 1 | |
3113 | else | |
3114 | idle = 0 | |
3115 | end | |
3116 | if Mode == 5 then | |
3117 | 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") | |
3118 | end | |
3119 | if Mode == 25 then | |
3120 | 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) | |
3121 | end | |
3122 | if Mode == 100 then | |
3123 | 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) | |
3124 | 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") | |
3125 | end | |
3126 | if Mode == 7 then | |
3127 | 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") | |
3128 | end | |
3129 | if Mode == 10 then | |
3130 | 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) | |
3131 | tecks2.TextColor3 = maincolor.Color | |
3132 | tecks2.TextStrokeColor3 = maincolor.Color | |
3133 | for i, v in pairs(ArmorColorParts) do | |
3134 | v.BrickColor = BrickColor.random() | |
3135 | v.Material = "Glass" | |
3136 | v.Transparency = 0 | |
3137 | end | |
3138 | for i, v in pairs(ArmorColorParts2) do | |
3139 | v.BrickColor = BrickColor.random() | |
3140 | v.Material = "Glass" | |
3141 | v.Transparency = 0 | |
3142 | end | |
3143 | for i, v in pairs(NeonColorParts) do | |
3144 | maincolor = BrickColor.random() | |
3145 | v.BrickColor = maincolor | |
3146 | v.Material = "Neon" | |
3147 | v.Transparency = 0 | |
3148 | end | |
3149 | end | |
3150 | if Mode == 6 then | |
3151 | local A = math.random(1,15) | |
3152 | if A == 1 then | |
3153 | 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") | |
3154 | if A == 2 then | |
3155 | 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") | |
3156 | end | |
3157 | end | |
3158 | end | |
3159 | if 1 < root.Velocity.y and hitfloor == nil then | |
3160 | Anim = "Jump" | |
3161 | if attack == false then | |
3162 | 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) | |
3163 | 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) | |
3164 | 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) | |
3165 | 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) | |
3166 | 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) | |
3167 | 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) | |
3168 | end | |
3169 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
3170 | Anim = "Fall" | |
3171 | if attack == false then | |
3172 | 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) | |
3173 | 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) | |
3174 | 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) | |
3175 | 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) | |
3176 | 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) | |
3177 | 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) | |
3178 | end | |
3179 | elseif torvel < 1 and hitfloor ~= nil then | |
3180 | Anim = "Idle" | |
3181 | change = 1 | |
3182 | if attack == false then | |
3183 | if Mode == 1 then --Normal | |
3184 | 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) | |
3185 | 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) | |
3186 | 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) | |
3187 | 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) | |
3188 | 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) | |
3189 | 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) | |
3190 | elseif Mode == pIXELATED then --PIXELATED | |
3191 | 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) | |
3192 | 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) | |
3193 | 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) | |
3194 | 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) | |
3195 | 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) | |
3196 | 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) | |
3197 | elseif Mode == 50 then --ASCENDED | |
3198 | 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) | |
3199 | 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) | |
3200 | 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) | |
3201 | 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) | |
3202 | 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) | |
3203 | 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) | |
3204 | elseif Mode == 2 then --Machinery | |
3205 | 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) | |
3206 | 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) | |
3207 | 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) | |
3208 | 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) | |
3209 | 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) | |
3210 | 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) | |
3211 | elseif Mode == 3 then --ICE | |
3212 | 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) | |
3213 | 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) | |
3214 | 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) | |
3215 | 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) | |
3216 | 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) | |
3217 | 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) | |
3218 | elseif Mode == 4 then --Infused | |
3219 | 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) | |
3220 | 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) | |
3221 | 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) | |
3222 | 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) | |
3223 | 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) | |
3224 | 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) | |
3225 | elseif Mode == 5 then --Cybernetic | |
3226 | 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) | |
3227 | 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) | |
3228 | 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) | |
3229 | 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) | |
3230 | 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) | |
3231 | 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) | |
3232 | elseif Mode == 25 then --Spiritual | |
3233 | 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) | |
3234 | 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) | |
3235 | 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) | |
3236 | 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) | |
3237 | 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) | |
3238 | 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) | |
3239 | elseif Mode == 6 then --Controlled Beyond Recognition | |
3240 | 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) | |
3241 | 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) | |
3242 | 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) | |
3243 | 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) | |
3244 | 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) | |
3245 | 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) | |
3246 | elseif Mode == 7 or Mode == 9 then --Sucho Wowo --Mr.Balancia | |
3247 | 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) | |
3248 | 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) | |
3249 | 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) | |
3250 | 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) | |
3251 | 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) | |
3252 | 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) | |
3253 | elseif Mode == 100 then --Overclocked | |
3254 | 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) | |
3255 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3) | |
3256 | 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) | |
3257 | 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) | |
3258 | 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) | |
3259 | 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) | |
3260 | elseif Mode == 8 then --Lunarist | |
3261 | 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") | |
3262 | 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) | |
3263 | 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) | |
3264 | 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) | |
3265 | 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) | |
3266 | 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) | |
3267 | 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) | |
3268 | elseif Mode == 10 then --INSANITY | |
3269 | 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) | |
3270 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3) | |
3271 | 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) | |
3272 | 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) | |
3273 | 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) | |
3274 | 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) | |
3275 | 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) | |
3276 | 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) | |
3277 | end | |
3278 | end | |
3279 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
3280 | Anim = "Walk" | |
3281 | change = 1.1 | |
3282 | if attack == false then | |
3283 | if Mode == 6 then | |
3284 | 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) | |
3285 | 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) | |
3286 | 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) | |
3287 | 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) | |
3288 | 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) | |
3289 | 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) | |
3290 | elseif Mode == 5 then | |
3291 | 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) | |
3292 | 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) | |
3293 | 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) | |
3294 | 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) | |
3295 | 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) | |
3296 | 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) | |
3297 | elseif Mode == 25 then | |
3298 | 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) | |
3299 | 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) | |
3300 | 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) | |
3301 | 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) | |
3302 | 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) | |
3303 | 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) | |
3304 | elseif Mode == 100 then | |
3305 | 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) | |
3306 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3307 | 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) | |
3308 | 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) | |
3309 | 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) | |
3310 | 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) | |
3311 | elseif Mode == 10 then | |
3312 | 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) | |
3313 | 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) | |
3314 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(55), Rad(0), Rad(-0)), 0.3) | |
3315 | 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) | |
3316 | 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) | |
3317 | 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) | |
3318 | 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) | |
3319 | elseif Mode == 8 then | |
3320 | 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) | |
3321 | 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) | |
3322 | 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) | |
3323 | 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) | |
3324 | 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) | |
3325 | 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) | |
3326 | elseif Mode ~= 6 or Mode ~= 5 or Mode ~= 8 then | |
3327 | 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) | |
3328 | 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) | |
3329 | 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) | |
3330 | 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) | |
3331 | 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) | |
3332 | 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) | |
3333 | end | |
3334 | end | |
3335 | elseif torvel >= 25 and hitfloor ~= nil then | |
3336 | Anim = "Sprint" | |
3337 | change = 1.35 | |
3338 | if attack == false then | |
3339 | if Mode == 5 then | |
3340 | 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) | |
3341 | 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) | |
3342 | 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) | |
3343 | 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) | |
3344 | 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) | |
3345 | 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) | |
3346 | elseif Mode == 25 or Mode == 10 then | |
3347 | 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) | |
3348 | 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) | |
3349 | 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) | |
3350 | 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) | |
3351 | 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) | |
3352 | 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) | |
3353 | elseif Mode ~= 5 then | |
3354 | 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) | |
3355 | 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) | |
3356 | 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) | |
3357 | 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) | |
3358 | 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) | |
3359 | 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) | |
3360 | end | |
3361 | end | |
3362 | end | |
3363 | end | |
3364 | Music.SoundId = "rbxassetid://"..SONG | |
3365 | Music.Looped = true | |
3366 | Music.Pitch = 1 | |
3367 | Music.Volume = 2.5 | |
3368 | Music.Parent = tors | |
3369 | Music:Resume() | |
3370 | if 0 < #Effects then | |
3371 | for e = 1, #Effects do | |
3372 | if Effects[e] ~= nil then | |
3373 | local Thing = Effects[e] | |
3374 | if Thing ~= nil then | |
3375 | local Part = Thing[1] | |
3376 | local Mode = Thing[2] | |
3377 | local Delay = Thing[3] | |
3378 | local IncX = Thing[4] | |
3379 | local IncY = Thing[5] | |
3380 | local IncZ = Thing[6] | |
3381 | if 1 >= Thing[1].Transparency then | |
3382 | if Thing[2] == "Block1" then | |
3383 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
3384 | local Mesh = Thing[1].Mesh | |
3385 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3386 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3387 | elseif Thing[2] == "Block2" then | |
3388 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
3389 | local Mesh = Thing[7] | |
3390 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3391 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3392 | elseif Thing[2] == "Block3" then | |
3393 | 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) | |
3394 | local Mesh = Thing[7] | |
3395 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3396 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3397 | elseif Thing[2] == "Cylinder" then | |
3398 | local Mesh = Thing[1].Mesh | |
3399 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3400 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3401 | elseif Thing[2] == "Blood" then | |
3402 | local Mesh = Thing[7] | |
3403 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
3404 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3405 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3406 | elseif Thing[2] == "Elec" then local Mesh = Thing[1].Mesh | |
3407 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
3408 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3409 | elseif Thing[2] == "Disappear" then | |
3410 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3411 | elseif Thing[2] == "Shatter" then | |
3412 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3413 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
3414 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
3415 | Thing[6] = Thing[6] + Thing[5] | |
3416 | end | |
3417 | else | |
3418 | Part.Parent = nil | |
3419 | table.remove(Effects, e) | |
3420 | end | |
3421 | end | |
3422 | end | |
3423 | end | |
3424 | end | |
3425 | end | |
3426 | ------------------------------------------------------- | |
3427 | --End Animations And Script-- | |
3428 | ------------------------------------------------------- |