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