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