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