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