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