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