SHOW:
|
|
- or go back to the newest paste.
1 | ---------------------------------------------------------------- | |
2 | --------------------------Noob Script-------------------------- | |
3 | ---------------------------------------------------------------- | |
4 | print([[ | |
5 | --made by henriquegame2015 | |
6 | --FE code by henry (henriquegame2015) | |
7 | ||
8 | -------------------------------- | |
9 | you find rare script good | |
10 | dont leak... | |
11 | -------------------------------- | |
12 | ]]) | |
13 | ||
14 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
15 | local Player,game,owner = owner,game | |
16 | local RealPlayer = Player | |
17 | do | |
18 | local rp = RealPlayer | |
19 | script.Parent = rp.Character | |
20 | ||
21 | --RemoteEvent for communicating | |
22 | local Event = Instance.new("RemoteEvent") | |
23 | Event.Name = "UserInput_Event" | |
24 | ||
25 | --Fake event to make stuff like Mouse.KeyDown work | |
26 | local function fakeEvent() | |
27 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
28 | t.connect = t.Connect | |
29 | return t | |
30 | end | |
31 | ||
32 | --Creating fake input objects with fake variables | |
33 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
34 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
35 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
37 | end} | |
38 | --Merged 2 functions into one by checking amount of arguments | |
39 | CAS.UnbindAction = CAS.BindAction | |
40 | ||
41 | --This function will trigger the events that have been :Connect()'ed | |
42 | local function te(self,ev,...) | |
43 | local t = m[ev] | |
44 | if t and t._fakeEvent then | |
45 | for _,f in pairs(t.Functions) do | |
46 | f(...) | |
47 | end | |
48 | end | |
49 | end | |
50 | m.TrigEvent = te | |
51 | UIS.TrigEvent = te | |
52 | ||
53 | Event.OnServerEvent:Connect(function(plr,io) | |
54 | if plr~=rp then return end | |
55 | m.Target = io.Target | |
56 | m.Hit = io.Hit | |
57 | if not io.isMouse then | |
58 | local b = io.UserInputState == Enum.UserInputState.Begin | |
59 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
60 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
61 | end | |
62 | for _,t in pairs(CAS.Actions) do | |
63 | for _,k in pairs(t.Keys) do | |
64 | if k==io.KeyCode then | |
65 | t.Function(t.Name,io.UserInputState,io) | |
66 | end | |
67 | end | |
68 | end | |
69 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
70 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
71 | end | |
72 | end) | |
73 | Event.Parent = NLS([==[ | |
74 | local Player = game:GetService("Players").LocalPlayer | |
75 | local Event = script:WaitForChild("UserInput_Event") | |
76 | ||
77 | local Mouse = Player:GetMouse() | |
78 | local UIS = game:GetService("UserInputService") | |
79 | local input = function(io,a) | |
80 | if a then return end | |
81 | --Since InputObject is a client-side instance, we create and pass table instead | |
82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
83 | end | |
84 | UIS.InputBegan:Connect(input) | |
85 | UIS.InputEnded:Connect(input) | |
86 | ||
87 | local h,t | |
88 | --Give the server mouse data 30 times every second, but only if the values changed | |
89 | --If player is not moving their mouse, client won't fire events | |
90 | while wait(1/30) do | |
91 | if h~=Mouse.Hit or t~=Mouse.Target then | |
92 | h,t=Mouse.Hit,Mouse.Target | |
93 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
94 | end | |
95 | end]==],Player.Character) | |
96 | ||
97 | ----Sandboxed game object that allows the usage of client-side methods and services | |
98 | --Real game object | |
99 | local _rg = game | |
100 | ||
101 | --Metatable for fake service | |
102 | local fsmt = { | |
103 | __index = function(self,k) | |
104 | local s = rawget(self,"_RealService") | |
105 | if s then return s[k] end | |
106 | end, | |
107 | __newindex = function(self,k,v) | |
108 | local s = rawget(self,"_RealService") | |
109 | if s then s[k]=v end | |
110 | end, | |
111 | __call = function(self,...) | |
112 | local s = rawget(self,"_RealService") | |
113 | if s then return s(...) end | |
114 | end | |
115 | } | |
116 | local function FakeService(t,RealService) | |
117 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
118 | return setmetatable(t,fsmt) | |
119 | end | |
120 | ||
121 | --Fake game object | |
122 | local g = { | |
123 | GetService = function(self,s) | |
124 | return self[s] | |
125 | end, | |
126 | Players = FakeService({ | |
127 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
128 | },"Players"), | |
129 | UserInputService = FakeService(UIS,"UserInputService"), | |
130 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
131 | } | |
132 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
133 | g.service = g.GetService | |
134 | ||
135 | g.RunService = FakeService({ | |
136 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
137 | BindToRenderStep = function(self,name,_,fun) | |
138 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
139 | end, | |
140 | UnbindFromRenderStep = function(self,name) | |
141 | self._btrs[name]:Disconnect() | |
142 | end, | |
143 | },"RunService") | |
144 | ||
145 | setmetatable(g,{ | |
146 | __index=function(self,s) | |
147 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
148 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
149 | end, | |
150 | __newindex = fsmt.__newindex, | |
151 | __call = fsmt.__call | |
152 | }) | |
153 | --Changing owner to fake player object to support owner:GetMouse() | |
154 | game,owner = g,g.Players.LocalPlayer | |
155 | end | |
156 | ||
157 | Player = owner | |
158 | PlayerGui = Player.PlayerGui | |
159 | Cam = workspace.CurrentCamera | |
160 | Backpack = Player.Backpack | |
161 | Character = Player.Character | |
162 | Humanoid = Character.Humanoid | |
163 | Mouse = Player:GetMouse() | |
164 | RootPart = Character["HumanoidRootPart"] | |
165 | Torso = Character["Torso"] | |
166 | Head = Character["Head"] | |
167 | RightArm = Character["Right Arm"] | |
168 | LeftArm = Character["Left Arm"] | |
169 | RightLeg = Character["Right Leg"] | |
170 | LeftLeg = Character["Left Leg"] | |
171 | RootJoint = RootPart["RootJoint"] | |
172 | Neck = Torso["Neck"] | |
173 | RightShoulder = Torso["Right Shoulder"] | |
174 | LeftShoulder = Torso["Left Shoulder"] | |
175 | RightHip = Torso["Right Hip"] | |
176 | LeftHip = Torso["Left Hip"] | |
177 | ||
178 | Character = Player.Character | |
179 | Humanoid = Character.Humanoid | |
180 | --------- | |
181 | plr = game.Players.LocalPlayer | |
182 | chara = plr.Character | |
183 | mouse = plr:GetMouse() | |
184 | Create = Instance.new | |
185 | Huge = math.huge | |
186 | ||
187 | ||
188 | ||
189 | ||
190 | ||
191 | ||
192 | Player = game:GetService("Players").LocalPlayer | |
193 | PlayerGui = Player.PlayerGui | |
194 | Cam = workspace.CurrentCamera | |
195 | Backpack = Player.Backpack | |
196 | Character = Player.Character | |
197 | char = Player.Character | |
198 | Humanoid = Character.Humanoid | |
199 | Mouse = Player:GetMouse() | |
200 | RootPart = Character["HumanoidRootPart"] | |
201 | Torso = Character["Torso"] | |
202 | Head = Character["Head"] | |
203 | RightArm = Character["Right Arm"] | |
204 | LeftArm = Character["Left Arm"] | |
205 | RightLeg = Character["Right Leg"] | |
206 | LeftLeg = Character["Left Leg"] | |
207 | RootJoint = RootPart["RootJoint"] | |
208 | Neck = Torso["Neck"] | |
209 | RightShoulder = Torso["Right Shoulder"] | |
210 | LeftShoulder = Torso["Left Shoulder"] | |
211 | RightHip = Torso["Right Hip"] | |
212 | LeftHip = Torso["Left Hip"] | |
213 | ||
214 | local Orin = "http://www.roblox.com/asset/?id=161258368" | |
215 | Head.face.Texture = Orin | |
216 | function weld(a, b, acf) | |
217 | local w = Instance.new("Weld", a) | |
218 | w.Part0 = a | |
219 | w.Part1 = b | |
220 | w.C0 = acf | |
221 | end | |
222 | ||
223 | char.Humanoid.MaxHealth = 9999 | |
224 | char.Humanoid.Health = 9999 | |
225 | ||
226 | char.Humanoid.Changed:Connect(function() | |
227 | ||
228 | ||
229 | char.Humanoid.Health = 9999 | |
230 | ||
231 | end) | |
232 | -------------------------------- | |
233 | char.Head.face.Texture = "rbxassetid://299663123" | |
234 | -------------------------------- | |
235 | ||
236 | ||
237 | ||
238 | ||
239 | ------------------------------------------------------- | |
240 | ||
241 | local FavIDs = { | |
242 | 340106355, --Nefl Crystals | |
243 | 927529620, --Dimension | |
244 | 876981900, --Fantasy | |
245 | 398987889, --Ordinary Days | |
246 | 1117396305, --Oh wait, it's you. | |
247 | 885996042, --Action Winter Journey | |
248 | 919231299, --Sprawling Idiot Effigy | |
249 | 743466274, --Good Day Sunshine | |
250 | 727411183, --Knife Fight | |
251 | 1402748531, --The Earth Is Counting On You! | |
252 | 595230126 --Robot Language | |
253 | } | |
254 | ||
255 | ||
256 | ||
257 | --The reality of my life isn't real but a Universe -makhail07 | |
258 | wait(0.2) | |
259 | local plr = game:service'Players'.LocalPlayer | |
260 | print('Local User is '..plr.Name) | |
261 | print('SCRIPTNAME Loaded') | |
262 | print('SCRIPT DESCRIPTION') | |
263 | local char = plr.Character | |
264 | local hum = char.Humanoid | |
265 | local hed = char.Head | |
266 | local root = char.HumanoidRootPart | |
267 | local rootj = root.RootJoint | |
268 | local tors = char.Torso | |
269 | local ra = char["Right Arm"] | |
270 | local la = char["Left Arm"] | |
271 | local rl = char["Right Leg"] | |
272 | local ll = char["Left Leg"] | |
273 | local neck = tors["Neck"] | |
274 | local mouse = plr:GetMouse() | |
275 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
276 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
277 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
278 | local maincolor = BrickColor.new("New Yeller") | |
279 | ||
280 | ------------------------------------------------------- | |
281 | --Start Good Stuff-- | |
282 | ------------------------------------------------------- | |
283 | cam = game.Workspace.CurrentCamera | |
284 | CF = CFrame.new | |
285 | angles = CFrame.Angles | |
286 | attack = false | |
287 | Euler = CFrame.fromEulerAnglesXYZ | |
288 | Rad = math.rad | |
289 | IT = Instance.new | |
290 | BrickC = BrickColor.new | |
291 | Cos = math.cos | |
292 | Acos = math.acos | |
293 | Sin = math.sin | |
294 | Asin = math.asin | |
295 | Abs = math.abs | |
296 | Mrandom = math.random | |
297 | Floor = math.floor | |
298 | ||
299 | ||
300 | ||
301 | ------------------------------------------------------- | |
302 | --End Good Stuff-- | |
303 | ------------------------------------------------------- | |
304 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
305 | RSH, LSH = nil, nil | |
306 | RW = Instance.new("Weld") | |
307 | LW = Instance.new("Weld") | |
308 | RH = tors["Right Hip"] | |
309 | LH = tors["Left Hip"] | |
310 | RSH = tors["Right Shoulder"] | |
311 | LSH = tors["Left Shoulder"] | |
312 | RSH.Parent = nil | |
313 | LSH.Parent = nil | |
314 | RW.Name = "RW" | |
315 | RW.Part0 = tors | |
316 | RW.C0 = CF(1.5, 0.5, 0) | |
317 | RW.C1 = CF(0, 0.5, 0) | |
318 | RW.Part1 = ra | |
319 | RW.Parent = tors | |
320 | LW.Name = "LW" | |
321 | LW.Part0 = tors | |
322 | LW.C0 = CF(-1.5, 0.5, 0) | |
323 | LW.C1 = CF(0, 0.5, 0) | |
324 | LW.Part1 = la | |
325 | LW.Parent = tors | |
326 | Effects = {} | |
327 | ------------------------------------------------------- | |
328 | --Start HeartBeat-- | |
329 | ------------------------------------------------------- | |
330 | ArtificialHB = Instance.new("BindableEvent", script) | |
331 | ArtificialHB.Name = "Heartbeat" | |
332 | script:WaitForChild("Heartbeat") | |
333 | ||
334 | frame = 1 / 60 | |
335 | tf = 0 | |
336 | allowframeloss = false | |
337 | tossremainder = false | |
338 | ||
339 | ||
340 | lastframe = tick() | |
341 | script.Heartbeat:Fire() | |
342 | ||
343 | ||
344 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
345 | tf = tf + s | |
346 | if tf >= frame then | |
347 | if allowframeloss then | |
348 | script.Heartbeat:Fire() | |
349 | lastframe = tick() | |
350 | else | |
351 | for i = 1, math.floor(tf / frame) do | |
352 | script.Heartbeat:Fire() | |
353 | end | |
354 | lastframe = tick() | |
355 | end | |
356 | if tossremainder then | |
357 | tf = 0 | |
358 | else | |
359 | tf = tf - frame * math.floor(tf / frame) | |
360 | end | |
361 | end | |
362 | end) | |
363 | ------------------------------------------------------- | |
364 | --End HeartBeat-- | |
365 | ------------------------------------------------------- | |
366 | ||
367 | ------------------------------------------------------- | |
368 | --Start Important Functions-- | |
369 | ------------------------------------------------------- | |
370 | function swait(num) | |
371 | if num == 0 or num == nil then | |
372 | game:service("RunService").Stepped:wait(0) | |
373 | else | |
374 | for i = 0, num do | |
375 | game:service("RunService").Stepped:wait(0) | |
376 | end | |
377 | end | |
378 | end | |
379 | function thread(f) | |
380 | coroutine.resume(coroutine.create(f)) | |
381 | end | |
382 | function clerp(a, b, t) | |
383 | local qa = { | |
384 | QuaternionFromCFrame(a) | |
385 | } | |
386 | local qb = { | |
387 | QuaternionFromCFrame(b) | |
388 | } | |
389 | local ax, ay, az = a.x, a.y, a.z | |
390 | local bx, by, bz = b.x, b.y, b.z | |
391 | local _t = 1 - t | |
392 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
393 | end | |
394 | function QuaternionFromCFrame(cf) | |
395 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
396 | local trace = m00 + m11 + m22 | |
397 | if trace > 0 then | |
398 | local s = math.sqrt(1 + trace) | |
399 | local recip = 0.5 / s | |
400 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
401 | else | |
402 | local i = 0 | |
403 | if m00 < m11 then | |
404 | i = 1 | |
405 | end | |
406 | if m22 > (i == 0 and m00 or m11) then | |
407 | i = 2 | |
408 | end | |
409 | if i == 0 then | |
410 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
411 | local recip = 0.5 / s | |
412 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
413 | elseif i == 1 then | |
414 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
415 | local recip = 0.5 / s | |
416 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
417 | elseif i == 2 then | |
418 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
419 | local recip = 0.5 / s | |
420 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
421 | end | |
422 | end | |
423 | end | |
424 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
425 | local xs, ys, zs = x + x, y + y, z + z | |
426 | local wx, wy, wz = w * xs, w * ys, w * zs | |
427 | local xx = x * xs | |
428 | local xy = x * ys | |
429 | local xz = x * zs | |
430 | local yy = y * ys | |
431 | local yz = y * zs | |
432 | local zz = z * zs | |
433 | 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)) | |
434 | end | |
435 | function QuaternionSlerp(a, b, t) | |
436 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
437 | local startInterp, finishInterp | |
438 | if cosTheta >= 1.0E-4 then | |
439 | if 1 - cosTheta > 1.0E-4 then | |
440 | local theta = math.acos(cosTheta) | |
441 | local invSinTheta = 1 / Sin(theta) | |
442 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
443 | finishInterp = Sin(t * theta) * invSinTheta | |
444 | else | |
445 | startInterp = 1 - t | |
446 | finishInterp = t | |
447 | end | |
448 | elseif 1 + cosTheta > 1.0E-4 then | |
449 | local theta = math.acos(-cosTheta) | |
450 | local invSinTheta = 1 / Sin(theta) | |
451 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
452 | finishInterp = Sin(t * theta) * invSinTheta | |
453 | else | |
454 | startInterp = t - 1 | |
455 | finishInterp = t | |
456 | end | |
457 | 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 | |
458 | end | |
459 | function rayCast(Position, Direction, Range, Ignore) | |
460 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
461 | end | |
462 | local RbxUtility = LoadLibrary("RbxUtility") | |
463 | local Create = RbxUtility.Create | |
464 | ||
465 | function getRegion(point,range,ignore) | |
466 | return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100) | |
467 | end | |
468 | ||
469 | function GetTorso(char) | |
470 | return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' | |
471 | end | |
472 | ||
473 | local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end} | |
474 | ------------------------------------------------------- | |
475 | --Start Damage Function-- | |
476 | ------------------------------------------------------- | |
477 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
478 | if hit.Parent == nil then | |
479 | return | |
480 | end | |
481 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
482 | for _, v in pairs(hit.Parent:children()) do | |
483 | if v:IsA("Humanoid") then | |
484 | h = v | |
485 | end | |
486 | end | |
487 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
488 | ||
489 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
490 | end | |
491 | ||
492 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
493 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
494 | if hit.Parent.DebounceHit.Value == true then | |
495 | return | |
496 | end | |
497 | end | |
498 | if insta == true then | |
499 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
500 | end | |
501 | local c = Create("ObjectValue"){ | |
502 | Name = "creator", | |
503 | Value = game:service("Players").LocalPlayer, | |
504 | Parent = h, | |
505 | } | |
506 | game:GetService("Debris"):AddItem(c, .5) | |
507 | if HitSound ~= nil and HitPitch ~= nil then | |
508 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
509 | end | |
510 | local Damage = math.random(minim, maxim) | |
511 | local blocked = false | |
512 | local block = hit.Parent:findFirstChild("Block") | |
513 | if block ~= nil then | |
514 | if block.className == "IntValue" then | |
515 | if block.Value > 0 then | |
516 | blocked = true | |
517 | block.Value = block.Value - 1 | |
518 | print(block.Value) | |
519 | end | |
520 | end | |
521 | end | |
522 | if blocked == false then | |
523 | h.Health = h.Health - Damage | |
524 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
525 | else | |
526 | h.Health = h.Health - (Damage / 2) | |
527 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
528 | end | |
529 | if Type == "Knockdown" then | |
530 | local hum = hit.Parent.Humanoid | |
531 | hum.PlatformStand = true | |
532 | coroutine.resume(coroutine.create(function(HHumanoid) | |
533 | swait(1) | |
534 | HHumanoid.PlatformStand = false | |
535 | end), hum) | |
536 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
537 | local bodvol = Create("BodyVelocity"){ | |
538 | velocity = angle * knockback, | |
539 | P = 5000, | |
540 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
541 | Parent = hit, | |
542 | } | |
543 | local rl = Create("BodyAngularVelocity"){ | |
544 | P = 3000, | |
545 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
546 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
547 | Parent = hit, | |
548 | } | |
549 | game:GetService("Debris"):AddItem(bodvol, .5) | |
550 | game:GetService("Debris"):AddItem(rl, .5) | |
551 | elseif Type == "Normal" then | |
552 | local vp = Create("BodyVelocity"){ | |
553 | P = 500, | |
554 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
555 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
556 | } | |
557 | if knockback > 0 then | |
558 | vp.Parent = hit.Parent.Torso | |
559 | end | |
560 | game:GetService("Debris"):AddItem(vp, .5) | |
561 | elseif Type == "Up" then | |
562 | local bodyVelocity = Create("BodyVelocity"){ | |
563 | velocity = Vector3.new(0, 20, 0), | |
564 | P = 5000, | |
565 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
566 | Parent = hit, | |
567 | } | |
568 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
569 | elseif Type == "DarkUp" then | |
570 | coroutine.resume(coroutine.create(function() | |
571 | for i = 0, 1, 0.1 do | |
572 | swait() | |
573 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
574 | end | |
575 | end)) | |
576 | local bodyVelocity = Create("BodyVelocity"){ | |
577 | velocity = Vector3.new(0, 20, 0), | |
578 | P = 5000, | |
579 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
580 | Parent = hit, | |
581 | } | |
582 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
583 | elseif Type == "Snare" then | |
584 | local bp = Create("BodyPosition"){ | |
585 | P = 2000, | |
586 | D = 100, | |
587 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
588 | position = hit.Parent.Torso.Position, | |
589 | Parent = hit.Parent.Torso, | |
590 | } | |
591 | game:GetService("Debris"):AddItem(bp, 1) | |
592 | elseif Type == "Freeze" then | |
593 | local BodPos = Create("BodyPosition"){ | |
594 | P = 50000, | |
595 | D = 1000, | |
596 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
597 | position = hit.Parent.Torso.Position, | |
598 | Parent = hit.Parent.Torso, | |
599 | } | |
600 | local BodGy = Create("BodyGyro") { | |
601 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
602 | P = 20e+003, | |
603 | Parent = hit.Parent.Torso, | |
604 | cframe = hit.Parent.Torso.CFrame, | |
605 | } | |
606 | hit.Parent.Torso.Anchored = true | |
607 | coroutine.resume(coroutine.create(function(Part) | |
608 | swait(1.5) | |
609 | Part.Anchored = false | |
610 | end), hit.Parent.Torso) | |
611 | game:GetService("Debris"):AddItem(BodPos, 3) | |
612 | game:GetService("Debris"):AddItem(BodGy, 3) | |
613 | end | |
614 | local debounce = Create("BoolValue"){ | |
615 | Name = "DebounceHit", | |
616 | Parent = hit.Parent, | |
617 | Value = true, | |
618 | } | |
619 | game:GetService("Debris"):AddItem(debounce, Delay) | |
620 | c = Create("ObjectValue"){ | |
621 | Name = "creator", | |
622 | Value = Player, | |
623 | Parent = h, | |
624 | } | |
625 | game:GetService("Debris"):AddItem(c, .5) | |
626 | end | |
627 | end | |
628 | ------------------------------------------------------- | |
629 | --End Damage Function-- | |
630 | ------------------------------------------------------- | |
631 | ||
632 | ------------------------------------------------------- | |
633 | --Start Damage Function Customization-- | |
634 | ------------------------------------------------------- | |
635 | function ShowDamage(Pos, Text, Time, Color) | |
636 | local Rate = (1 / 30) | |
637 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
638 | local Text = (Text or "") | |
639 | local Time = (Time or 2) | |
640 | local Color = (Color or Color3.new(255, 255, 1)) | |
641 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
642 | EffectPart.Anchored = true | |
643 | local BillboardGui = Create("BillboardGui"){ | |
644 | Size = UDim2.new(3, 0, 3, 0), | |
645 | Adornee = EffectPart, | |
646 | Parent = EffectPart, | |
647 | } | |
648 | local TextLabel = Create("TextLabel"){ | |
649 | BackgroundTransparency = 1, | |
650 | Size = UDim2.new(1, 0, 1, 0), | |
651 | Text = Text, | |
652 | Font = "Bodoni", | |
653 | TextColor3 = Color, | |
654 | TextScaled = true, | |
655 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
656 | Parent = BillboardGui, | |
657 | } | |
658 | game.Debris:AddItem(EffectPart, (Time)) | |
659 | EffectPart.Parent = game:GetService("Workspace") | |
660 | delay(0, function() | |
661 | local Frames = (Time / Rate) | |
662 | for Frame = 1, Frames do | |
663 | wait(Rate) | |
664 | local Percent = (Frame / Frames) | |
665 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
666 | TextLabel.TextTransparency = Percent | |
667 | end | |
668 | if EffectPart and EffectPart.Parent then | |
669 | EffectPart:Destroy() | |
670 | end | |
671 | end) | |
672 | end | |
673 | ------------------------------------------------------- | |
674 | --End Damage Function Customization-- | |
675 | ------------------------------------------------------- | |
676 | ||
677 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
678 | for _, c in pairs(workspace:children()) do | |
679 | local hum = c:findFirstChild("Humanoid") | |
680 | if hum ~= nil then | |
681 | local head = c:findFirstChild("Head") | |
682 | if head ~= nil then | |
683 | local targ = head.Position - Part.Position | |
684 | local mag = targ.magnitude | |
685 | if magni >= mag and c.Name ~= plr.Name then | |
686 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
687 | end | |
688 | end | |
689 | end | |
690 | end | |
691 | end | |
692 | ||
693 | ||
694 | CFuncs = { | |
695 | Part = { | |
696 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
697 | local Part = Create("Part")({ | |
698 | Parent = Parent, | |
699 | Reflectance = Reflectance, | |
700 | Transparency = Transparency, | |
701 | CanCollide = false, | |
702 | Locked = true, | |
703 | BrickColor = BrickColor.new(tostring(BColor)), | |
704 | Name = Name, | |
705 | Size = Size, | |
706 | Material = Material | |
707 | }) | |
708 | RemoveOutlines(Part) | |
709 | return Part | |
710 | end | |
711 | }, | |
712 | Mesh = { | |
713 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
714 | local Msh = Create(Mesh)({ | |
715 | Parent = Part, | |
716 | Offset = OffSet, | |
717 | Scale = Scale | |
718 | }) | |
719 | if Mesh == "SpecialMesh" then | |
720 | Msh.MeshType = MeshType | |
721 | Msh.MeshId = MeshId | |
722 | end | |
723 | return Msh | |
724 | end | |
725 | }, | |
726 | Mesh = { | |
727 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
728 | local Msh = Create(Mesh)({ | |
729 | Parent = Part, | |
730 | Offset = OffSet, | |
731 | Scale = Scale | |
732 | }) | |
733 | if Mesh == "SpecialMesh" then | |
734 | Msh.MeshType = MeshType | |
735 | Msh.MeshId = MeshId | |
736 | end | |
737 | return Msh | |
738 | end | |
739 | }, | |
740 | Weld = { | |
741 | Create = function(Parent, Part0, Part1, C0, C1) | |
742 | local Weld = Create("Weld")({ | |
743 | Parent = Parent, | |
744 | Part0 = Part0, | |
745 | Part1 = Part1, | |
746 | C0 = C0, | |
747 | C1 = C1 | |
748 | }) | |
749 | return Weld | |
750 | end | |
751 | }, | |
752 | Sound = { | |
753 | Create = function(id, par, vol, pit) | |
754 | coroutine.resume(coroutine.create(function() | |
755 | local S = Create("Sound")({ | |
756 | Volume = vol, | |
757 | Pitch = pit or 1, | |
758 | SoundId = id, | |
759 | Parent = par or workspace | |
760 | }) | |
761 | wait() | |
762 | S:play() | |
763 | game:GetService("Debris"):AddItem(S, 6) | |
764 | end)) | |
765 | end | |
766 | }, | |
767 | ParticleEmitter = { | |
768 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
769 | local fp = Create("ParticleEmitter")({ | |
770 | Parent = Parent, | |
771 | Color = ColorSequence.new(Color1, Color2), | |
772 | LightEmission = LightEmission, | |
773 | Size = Size, | |
774 | Texture = Texture, | |
775 | Transparency = Transparency, | |
776 | ZOffset = ZOffset, | |
777 | Acceleration = Accel, | |
778 | Drag = Drag, | |
779 | LockedToPart = LockedToPart, | |
780 | VelocityInheritance = VelocityInheritance, | |
781 | EmissionDirection = EmissionDirection, | |
782 | Enabled = Enabled, | |
783 | Lifetime = LifeTime, | |
784 | Rate = Rate, | |
785 | Rotation = Rotation, | |
786 | RotSpeed = RotSpeed, | |
787 | Speed = Speed, | |
788 | VelocitySpread = VelocitySpread | |
789 | }) | |
790 | return fp | |
791 | end | |
792 | } | |
793 | } | |
794 | function RemoveOutlines(part) | |
795 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
796 | end | |
797 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
798 | local Part = Create("Part")({ | |
799 | formFactor = FormFactor, | |
800 | Parent = Parent, | |
801 | Reflectance = Reflectance, | |
802 | Transparency = Transparency, | |
803 | CanCollide = false, | |
804 | Locked = true, | |
805 | BrickColor = BrickColor.new(tostring(BColor)), | |
806 | Name = Name, | |
807 | Size = Size, | |
808 | Material = Material | |
809 | }) | |
810 | RemoveOutlines(Part) | |
811 | return Part | |
812 | end | |
813 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
814 | local Msh = Create(Mesh)({ | |
815 | Parent = Part, | |
816 | Offset = OffSet, | |
817 | Scale = Scale | |
818 | }) | |
819 | if Mesh == "SpecialMesh" then | |
820 | Msh.MeshType = MeshType | |
821 | Msh.MeshId = MeshId | |
822 | end | |
823 | return Msh | |
824 | end | |
825 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
826 | local Weld = Create("Weld")({ | |
827 | Parent = Parent, | |
828 | Part0 = Part0, | |
829 | Part1 = Part1, | |
830 | C0 = C0, | |
831 | C1 = C1 | |
832 | }) | |
833 | return Weld | |
834 | end | |
835 | ||
836 | ||
837 | ------------------------------------------------------- | |
838 | --Start Effect Function-- | |
839 | ------------------------------------------------------- | |
840 | EffectModel = Instance.new("Model", char) | |
841 | Effects = { | |
842 | Block = { | |
843 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
844 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
845 | prt.Anchored = true | |
846 | prt.CFrame = cframe | |
847 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
848 | game:GetService("Debris"):AddItem(prt, 10) | |
849 | if Type == 1 or Type == nil then | |
850 | table.insert(Effects, { | |
851 | prt, | |
852 | "Block1", | |
853 | delay, | |
854 | x3, | |
855 | y3, | |
856 | z3, | |
857 | msh | |
858 | }) | |
859 | elseif Type == 2 then | |
860 | table.insert(Effects, { | |
861 | prt, | |
862 | "Block2", | |
863 | delay, | |
864 | x3, | |
865 | y3, | |
866 | z3, | |
867 | msh | |
868 | }) | |
869 | else | |
870 | table.insert(Effects, { | |
871 | prt, | |
872 | "Block3", | |
873 | delay, | |
874 | x3, | |
875 | y3, | |
876 | z3, | |
877 | msh | |
878 | }) | |
879 | end | |
880 | end | |
881 | }, | |
882 | Sphere = { | |
883 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
884 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
885 | prt.Anchored = true | |
886 | prt.CFrame = cframe | |
887 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
888 | game:GetService("Debris"):AddItem(prt, 10) | |
889 | table.insert(Effects, { | |
890 | prt, | |
891 | "Cylinder", | |
892 | delay, | |
893 | x3, | |
894 | y3, | |
895 | z3, | |
896 | msh | |
897 | }) | |
898 | end | |
899 | }, | |
900 | Cylinder = { | |
901 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
902 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
903 | prt.Anchored = true | |
904 | prt.CFrame = cframe | |
905 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
906 | game:GetService("Debris"):AddItem(prt, 10) | |
907 | table.insert(Effects, { | |
908 | prt, | |
909 | "Cylinder", | |
910 | delay, | |
911 | x3, | |
912 | y3, | |
913 | z3, | |
914 | msh | |
915 | }) | |
916 | end | |
917 | }, | |
918 | Wave = { | |
919 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
920 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
921 | prt.Anchored = true | |
922 | prt.CFrame = cframe | |
923 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
924 | game:GetService("Debris"):AddItem(prt, 10) | |
925 | table.insert(Effects, { | |
926 | prt, | |
927 | "Cylinder", | |
928 | delay, | |
929 | x3 / 60, | |
930 | y3 / 60, | |
931 | z3 / 60, | |
932 | msh | |
933 | }) | |
934 | end | |
935 | }, | |
936 | Ring = { | |
937 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
938 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
939 | prt.Anchored = true | |
940 | prt.CFrame = cframe | |
941 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
942 | game:GetService("Debris"):AddItem(prt, 10) | |
943 | table.insert(Effects, { | |
944 | prt, | |
945 | "Cylinder", | |
946 | delay, | |
947 | x3, | |
948 | y3, | |
949 | z3, | |
950 | msh | |
951 | }) | |
952 | end | |
953 | }, | |
954 | Break = { | |
955 | Create = function(brickcolor, cframe, x1, y1, z1) | |
956 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
957 | prt.Anchored = true | |
958 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
959 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
960 | local num = math.random(10, 50) / 1000 | |
961 | game:GetService("Debris"):AddItem(prt, 10) | |
962 | table.insert(Effects, { | |
963 | prt, | |
964 | "Shatter", | |
965 | num, | |
966 | prt.CFrame, | |
967 | math.random() - math.random(), | |
968 | 0, | |
969 | math.random(50, 100) / 100 | |
970 | }) | |
971 | end | |
972 | }, | |
973 | Spiral = { | |
974 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
975 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
976 | prt.Anchored = true | |
977 | prt.CFrame = cframe | |
978 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
979 | game:GetService("Debris"):AddItem(prt, 10) | |
980 | table.insert(Effects, { | |
981 | prt, | |
982 | "Cylinder", | |
983 | delay, | |
984 | x3, | |
985 | y3, | |
986 | z3, | |
987 | msh | |
988 | }) | |
989 | end | |
990 | }, | |
991 | Push = { | |
992 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
993 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
994 | prt.Anchored = true | |
995 | prt.CFrame = cframe | |
996 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
997 | game:GetService("Debris"):AddItem(prt, 10) | |
998 | table.insert(Effects, { | |
999 | prt, | |
1000 | "Cylinder", | |
1001 | delay, | |
1002 | x3, | |
1003 | y3, | |
1004 | z3, | |
1005 | msh | |
1006 | }) | |
1007 | end | |
1008 | } | |
1009 | } | |
1010 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
1011 | local fp = IT("Part") | |
1012 | fp.formFactor = formfactor | |
1013 | fp.Parent = parent | |
1014 | fp.Reflectance = reflectance | |
1015 | fp.Transparency = transparency | |
1016 | fp.CanCollide = false | |
1017 | fp.Locked = true | |
1018 | fp.BrickColor = brickcolor | |
1019 | fp.Name = name | |
1020 | fp.Size = size | |
1021 | fp.Position = tors.Position | |
1022 | RemoveOutlines(fp) | |
1023 | fp.Material = "SmoothPlastic" | |
1024 | fp:BreakJoints() | |
1025 | return fp | |
1026 | end | |
1027 | ||
1028 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1029 | local mesh = IT(Mesh) | |
1030 | mesh.Parent = part | |
1031 | if Mesh == "SpecialMesh" then | |
1032 | mesh.MeshType = meshtype | |
1033 | if meshid ~= "nil" then | |
1034 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
1035 | end | |
1036 | end | |
1037 | mesh.Offset = offset | |
1038 | mesh.Scale = scale | |
1039 | return mesh | |
1040 | end | |
1041 | ||
1042 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
1043 | local type = type | |
1044 | local rng = Instance.new("Part", char) | |
1045 | rng.Anchored = true | |
1046 | rng.BrickColor = color | |
1047 | rng.CanCollide = false | |
1048 | rng.FormFactor = 3 | |
1049 | rng.Name = "Ring" | |
1050 | rng.Material = "Neon" | |
1051 | rng.Size = Vector3.new(1, 1, 1) | |
1052 | rng.Transparency = 0 | |
1053 | rng.TopSurface = 0 | |
1054 | rng.BottomSurface = 0 | |
1055 | rng.CFrame = pos | |
1056 | local rngm = Instance.new("SpecialMesh", rng) | |
1057 | rngm.MeshType = MType | |
1058 | rngm.Scale = scale | |
1059 | local scaler2 = 1 | |
1060 | if type == "Add" then | |
1061 | scaler2 = 1 * value | |
1062 | elseif type == "Divide" then | |
1063 | scaler2 = 1 / value | |
1064 | end | |
1065 | coroutine.resume(coroutine.create(function() | |
1066 | for i = 0, 10 / bonuspeed, 0.1 do | |
1067 | swait() | |
1068 | if type == "Add" then | |
1069 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1070 | elseif type == "Divide" then | |
1071 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1072 | end | |
1073 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1074 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
1075 | end | |
1076 | rng:Destroy() | |
1077 | end)) | |
1078 | end | |
1079 | ||
1080 | function Eviscerate(dude) | |
1081 | if dude.Name ~= char then | |
1082 | local bgf = IT("BodyGyro", dude.Head) | |
1083 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1084 | local val = IT("BoolValue", dude) | |
1085 | val.Name = "IsHit" | |
1086 | local ds = coroutine.wrap(function() | |
1087 | dude:WaitForChild("Head"):BreakJoints() | |
1088 | wait(0.5) | |
1089 | target = nil | |
1090 | coroutine.resume(coroutine.create(function() | |
1091 | for i, v in pairs(dude:GetChildren()) do | |
1092 | if v:IsA("Accessory") then | |
1093 | v:Destroy() | |
1094 | end | |
1095 | if v:IsA("Humanoid") then | |
1096 | v:Destroy() | |
1097 | end | |
1098 | if v:IsA("CharacterMesh") then | |
1099 | v:Destroy() | |
1100 | end | |
1101 | if v:IsA("Model") then | |
1102 | v:Destroy() | |
1103 | end | |
1104 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1105 | for x, o in pairs(v:GetChildren()) do | |
1106 | if o:IsA("Decal") then | |
1107 | o:Destroy() | |
1108 | end | |
1109 | end | |
1110 | coroutine.resume(coroutine.create(function() | |
1111 | v.Material = "Neon" | |
1112 | v.CanCollide = false | |
1113 | local PartEmmit1 = IT("ParticleEmitter", v) | |
1114 | PartEmmit1.LightEmission = 1 | |
1115 | PartEmmit1.Texture = "rbxassetid://2582829122" | |
1116 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1117 | PartEmmit1.Rate = 150 | |
1118 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1119 | PartEmmit1.Size = NumberSequence.new({ | |
1120 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1121 | NumberSequenceKeypoint.new(1, 0, 0) | |
1122 | }) | |
1123 | PartEmmit1.Transparency = NumberSequence.new({ | |
1124 | NumberSequenceKeypoint.new(0, 0, 0), | |
1125 | NumberSequenceKeypoint.new(1, 1, 0) | |
1126 | }) | |
1127 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1128 | PartEmmit1.VelocitySpread = 30000 | |
1129 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
1130 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
1131 | local BodPoss = IT("BodyPosition", v) | |
1132 | BodPoss.P = 3000 | |
1133 | BodPoss.D = 1000 | |
1134 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1135 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1136 | v.Color = maincolor.Color | |
1137 | coroutine.resume(coroutine.create(function() | |
1138 | for i = 0, 49 do | |
1139 | swait(1) | |
1140 | v.Transparency = v.Transparency + 0.08 | |
1141 | end | |
1142 | wait(0.5) | |
1143 | PartEmmit1.Enabled = false | |
1144 | wait(3) | |
1145 | v:Destroy() | |
1146 | dude:Destroy() | |
1147 | end)) | |
1148 | end)) | |
1149 | end | |
1150 | end | |
1151 | end)) | |
1152 | end) | |
1153 | ds() | |
1154 | end | |
1155 | end | |
1156 | ||
1157 | function FindNearestHead(Position, Distance, SinglePlayer) | |
1158 | if SinglePlayer then | |
1159 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
1160 | end | |
1161 | local List = {} | |
1162 | for i, v in pairs(workspace:GetChildren()) do | |
1163 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
1164 | table.insert(List, v) | |
1165 | end | |
1166 | end | |
1167 | return List | |
1168 | end | |
1169 | ||
1170 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
1171 | local type = type | |
1172 | local rng = Instance.new("Part", char) | |
1173 | rng.Anchored = true | |
1174 | rng.BrickColor = color | |
1175 | rng.CanCollide = false | |
1176 | rng.FormFactor = 3 | |
1177 | rng.Name = "Ring" | |
1178 | rng.Material = "Neon" | |
1179 | rng.Size = Vector3.new(1, 1, 1) | |
1180 | rng.Transparency = 0 | |
1181 | rng.TopSurface = 0 | |
1182 | rng.BottomSurface = 0 | |
1183 | rng.CFrame = pos | |
1184 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
1185 | local rngm = Instance.new("SpecialMesh", rng) | |
1186 | rngm.MeshType = MType | |
1187 | rngm.Scale = Vector3.new(x1, y1, z1) | |
1188 | local scaler2 = 1 | |
1189 | local speeder = FastSpeed | |
1190 | if type == "Add" then | |
1191 | scaler2 = 1 * value | |
1192 | elseif type == "Divide" then | |
1193 | scaler2 = 1 / value | |
1194 | end | |
1195 | coroutine.resume(coroutine.create(function() | |
1196 | for i = 0, 10 / bonuspeed, 0.1 do | |
1197 | swait() | |
1198 | if type == "Add" then | |
1199 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1200 | elseif type == "Divide" then | |
1201 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1202 | end | |
1203 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
1204 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
1205 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1206 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
1207 | end | |
1208 | rng:Destroy() | |
1209 | end)) | |
1210 | end | |
1211 | ||
1212 | function SoulSteal(dude) | |
1213 | if dude.Name ~= char then | |
1214 | local bgf = IT("BodyGyro", dude.Head) | |
1215 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1216 | local val = IT("BoolValue", dude) | |
1217 | val.Name = "IsHit" | |
1218 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
1219 | local soulst = coroutine.wrap(function() | |
1220 | local soul = Instance.new("Part",dude) | |
1221 | soul.Size = Vector3.new(1,1,1) | |
1222 | soul.CanCollide = false | |
1223 | soul.Anchored = false | |
1224 | soul.Position = torso.Position | |
1225 | soul.Transparency = 1 | |
1226 | local PartEmmit1 = IT("ParticleEmitter", soul) | |
1227 | PartEmmit1.LightEmission = 1 | |
1228 | PartEmmit1.Texture = "rbxassetid://2582829122" | |
1229 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1230 | PartEmmit1.Rate = 250 | |
1231 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
1232 | PartEmmit1.Size = NumberSequence.new({ | |
1233 | NumberSequenceKeypoint.new(0, 1, 0), | |
1234 | NumberSequenceKeypoint.new(1, 0, 0) | |
1235 | }) | |
1236 | PartEmmit1.Transparency = NumberSequence.new({ | |
1237 | NumberSequenceKeypoint.new(0, 0, 0), | |
1238 | NumberSequenceKeypoint.new(1, 1, 0) | |
1239 | }) | |
1240 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1241 | PartEmmit1.VelocitySpread = 30000 | |
1242 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
1243 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
1244 | local BodPoss = IT("BodyPosition", soul) | |
1245 | BodPoss.P = 3000 | |
1246 | BodPoss.D = 1000 | |
1247 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1248 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1249 | wait(1.6) | |
1250 | soul.Touched:connect(function(hit) | |
1251 | if hit.Parent == char then | |
1252 | soul:Destroy() | |
1253 | end | |
1254 | end) | |
1255 | wait(1.2) | |
1256 | while soul do | |
1257 | swait() | |
1258 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1259 | BodPoss.Position = tors.Position | |
1260 | end | |
1261 | end) | |
1262 | soulst() | |
1263 | end | |
1264 | end | |
1265 | function FaceMouse() | |
1266 | local Cam = workspace.CurrentCamera | |
1267 | return { | |
1268 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
1269 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
1270 | } | |
1271 | end | |
1272 | ||
1273 | BTAUNT = Instance.new("Sound", tors) | |
1274 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=869166432" | |
1275 | BTAUNT.Volume = 10 | |
1276 | BTAUNT.Pitch = 1 | |
1277 | BTAUNT.Looped = true | |
1278 | BTAUNT.TimePosition = 0 | |
1279 | ||
1280 | BTAUNT2 = Instance.new("Sound", tors) | |
1281 | BTAUNT2.SoundId = "http://www.roblox.com/asset/?id=935804253" | |
1282 | BTAUNT2.Volume = 10 | |
1283 | BTAUNT2.Pitch = 1 | |
1284 | BTAUNT2.Looped = false | |
1285 | BTAUNT2.TimePosition = 0 | |
1286 | ||
1287 | BTAUNT3 = Instance.new("Sound", tors) | |
1288 | BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=2866646141" | |
1289 | BTAUNT3.Volume = 2 | |
1290 | BTAUNT3.Pitch = 1 | |
1291 | BTAUNT3.Looped = true | |
1292 | BTAUNT3.TimePosition = 0 | |
1293 | ||
1294 | TEST = Instance.new("Sound", tors) | |
1295 | TEST.SoundId = "http://www.roblox.com/asset/?id=130766856" | |
1296 | TEST.Volume = 25 | |
1297 | TEST.Pitch = 1 | |
1298 | TEST.Looped = false | |
1299 | TEST.TimePosition = 0 | |
1300 | ------------------------------------------------------- | |
1301 | --End Effect Function-- | |
1302 | ------------------------------------------------------- | |
1303 | function Cso(ID, PARENT, VOLUME, PITCH) | |
1304 | local NSound = nil | |
1305 | coroutine.resume(coroutine.create(function() | |
1306 | NSound = IT("Sound", PARENT) | |
1307 | NSound.Volume = VOLUME | |
1308 | NSound.Pitch = PITCH | |
1309 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1310 | swait() | |
1311 | NSound:play() | |
1312 | game:GetService("Debris"):AddItem(NSound, 50) | |
1313 | end)) | |
1314 | return NSound | |
1315 | end | |
1316 | function CameraEnshaking(Length, Intensity) | |
1317 | coroutine.resume(coroutine.create(function() | |
1318 | local intensity = 1 * Intensity | |
1319 | local rotM = 0.01 * Intensity | |
1320 | for i = 0, Length, 0.1 do | |
1321 | swait() | |
1322 | intensity = intensity - 0.05 * Intensity / Length | |
1323 | rotM = rotM - 5.0E-4 * Intensity / Length | |
1324 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
1325 | 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) | |
1326 | end | |
1327 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
1328 | end)) | |
1329 | end | |
1330 | ------------------------------------------------------- | |
1331 | --End Important Functions-- | |
1332 | ------------------------------------------------------- | |
1333 | ||
1334 | ||
1335 | ------------------------------------------------------- | |
1336 | --Start Customization-- | |
1337 | ------------------------------------------------------- | |
1338 | local Player_Size = 1 | |
1339 | if Player_Size ~= 1 then | |
1340 | root.Size = root.Size * Player_Size | |
1341 | tors.Size = tors.Size * Player_Size | |
1342 | hed.Size = hed.Size * Player_Size | |
1343 | ra.Size = ra.Size * Player_Size | |
1344 | la.Size = la.Size * Player_Size | |
1345 | rl.Size = rl.Size * Player_Size | |
1346 | ll.Size = ll.Size * Player_Size | |
1347 | ---------------------------------------------------------------------------------- | |
1348 | rootj.Parent = root | |
1349 | neck.Parent = tors | |
1350 | RW.Parent = tors | |
1351 | LW.Parent = tors | |
1352 | RH.Parent = tors | |
1353 | LH.Parent = tors | |
1354 | ---------------------------------------------------------------------------------- | |
1355 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1356 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1357 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
1358 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
1359 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
1360 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
1361 | ---------------------------------------------------------------------------------- | |
1362 | 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)) | |
1363 | 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)) | |
1364 | 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)) | |
1365 | 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)) | |
1366 | --hat.Parent = Character | |
1367 | end | |
1368 | ---------------------------------------------------------------------------------- | |
1369 | ---------------------------------------------------------------------------------- | |
1370 | local equipped = false | |
1371 | local idle = 0 | |
1372 | local change = 1 | |
1373 | local val = 0 | |
1374 | local toim = 0 | |
1375 | local idleanim = 0.4 | |
1376 | local sine = 0 | |
1377 | local Sit = 1 | |
1378 | ---------------------------------------------------------------------------------- | |
1379 | hum.WalkSpeed = 8 | |
1380 | hum.JumpPower = 57 | |
1381 | hum.Animator.Parent = nil | |
1382 | ---------------------------------------------------------------------------------- | |
1383 | ||
1384 | ||
1385 | ------------------------------------------------------- | |
1386 | --End Customization-- | |
1387 | ------------------------------------------------------- | |
1388 | local Blobby = Instance.new("Part", char) | |
1389 | Blobby.Name = "Blob" | |
1390 | Blobby.CanCollide = false | |
1391 | Blobby.BrickColor = BrickColor.new("Really black") | |
1392 | Blobby.Transparency = 0 | |
1393 | Blobby.Material = "Plastic" | |
1394 | Blobby.Size = Vector3.new(1, 1, 2) | |
1395 | Blobby.TopSurface = Enum.SurfaceType.Smooth | |
1396 | Blobby.BottomSurface = Enum.SurfaceType.Smooth | |
1397 | ||
1398 | local Weld = Instance.new("Weld", Blobby) | |
1399 | Weld.Part0 = ra | |
1400 | Weld.Part1 = Blobby | |
1401 | Weld.C1 = CFrame.new(0, 0.8, 0) | |
1402 | Weld.C0 = CFrame.Angles(Rad(-180),0,135) | |
1403 | ||
1404 | local M2 = Instance.new("SpecialMesh") | |
1405 | M2.Parent = Blobby | |
1406 | M2.MeshId = "rbxassetid://0" | |
1407 | M2.TextureId = "rbxassetid://0" | |
1408 | M2.Scale = Vector3.new(1, 0.8, 1) | |
1409 | ||
1410 | --[[local naeeym2 = Instance.new("BillboardGui",char) | |
1411 | naeeym2.AlwaysOnTop = true | |
1412 | naeeym2.Size = UDim2.new(5,35,2,15) | |
1413 | naeeym2.StudsOffset = Vector3.new(0, 3.5, 0) | |
1414 | naeeym2.Adornee = hed | |
1415 | naeeym2.Name = "Name" | |
1416 | --naeeym2.PlayerToHideFrom = Player | |
1417 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1418 | tecks2.BackgroundTransparency = 1 | |
1419 | tecks2.TextScaled = true | |
1420 | tecks2.BorderSizePixel = 0 | |
1421 | tecks2.Text = "Uh." | |
1422 | tecks2.Font = Enum.Font.Bodoni | |
1423 | tecks2.TextSize = 30 | |
1424 | tecks2.TextStrokeTransparency = 0 | |
1425 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
1426 | tecks2.TextStrokeColor3 = Color3.new(1, 1, 1) | |
1427 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1428 | tecks2.Parent = naeeym2]] | |
1429 | ---------------------------------------------------------------------------------- | |
1430 | local AddInstance = function(Object, ...) | |
1431 | local Obj = Instance.new(Object) | |
1432 | for i,v in next,(...) do | |
1433 | Obj[i] = v | |
1434 | end | |
1435 | return Obj | |
1436 | end | |
1437 | ---------------------------------------------------- | |
1438 | ||
1439 | MeshT = "rbxassetid://1374148" | |
1440 | TextureM = "rbxassetid://0" | |
1441 | ||
1442 | ||
1443 | ||
1444 | ||
1445 | local Load = Instance.new("Animation", char) | |
1446 | ||
1447 | ||
1448 | local Reaper = AddInstance("Part",{ | |
1449 | Parent = hed, | |
1450 | CFrame = hed.CFrame, | |
1451 | formFactor = "Symmetric", | |
1452 | Size = Vector3.new(1, 1, 1), | |
1453 | CanCollide = false, | |
1454 | TopSurface = "Smooth", | |
1455 | BottomSurface = "Smooth", | |
1456 | Locked = true, | |
1457 | }) | |
1458 | local Weld = AddInstance("Weld",{ | |
1459 | Parent = Reaper, | |
1460 | Part0 = hed, | |
1461 | C0 = CFrame.new(0, 0.4, 0)*CFrame.Angles(0, 0, 0), | |
1462 | Part1 = Reaper, | |
1463 | }) | |
1464 | local Mesh = AddInstance("SpecialMesh",{ | |
1465 | Parent = Reaper, | |
1466 | MeshId = MeshT, | |
1467 | TextureId = TextureM, | |
1468 | Offset = Vector3.new(0, 0.3, 0), | |
1469 | Scale = Vector3.new(1.05,1.05,1.05), | |
1470 | VertexColor = Vector3.new(0.3, 0, 0.3), | |
1471 | }) | |
1472 | ||
1473 | ||
1474 | ||
1475 | ||
1476 | ||
1477 | ------------------------------------------------------- | |
1478 | ||
1479 | ||
1480 | ||
1481 | ||
1482 | wait(1) | |
1483 | plr = game.Players.LocalPlayer | |
1484 | char = plr.Character | |
1485 | mouse = plr:GetMouse() | |
1486 | whitecolor = Color3.new(255,255,1) | |
1487 | epicmode = false | |
1488 | normal = true | |
1489 | for i,v in pairs(char:GetChildren()) do | |
1490 | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then | |
1491 | v:Destroy() | |
1492 | end | |
1493 | end | |
1494 | local shirt = Instance.new("Shirt",char) | |
1495 | shirt.ShirtTemplate = "rbxassetid://0" | |
1496 | local pants = Instance.new("Pants",char) | |
1497 | pants.PantsTemplate = "rbxassetid://0" | |
1498 | local bdycolors = char["Body Colors"] | |
1499 | bdycolors.HeadColor3 = whitecolor | |
1500 | bdycolors.LeftArmColor3 = whitecolor | |
1501 | bdycolors.LeftLegColor3 = whitecolor | |
1502 | bdycolors.RightArmColor3 = whitecolor | |
1503 | bdycolors.RightLegColor3 = whitecolor | |
1504 | bdycolors.TorsoColor3 = whitecolor | |
1505 | for i,v in pairs(char:GetChildren()) do | |
1506 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
1507 | v:Destroy() | |
1508 | end | |
1509 | end | |
1510 | ||
1511 | ||
1512 | ||
1513 | local BC = Character["Body Colors"] | |
1514 | BC.HeadColor = BrickColor.new("New Yeller") | |
1515 | BC.LeftArmColor = BrickColor.new("New Yeller") | |
1516 | BC.LeftLegColor = BrickColor.new("New Yeller") | |
1517 | BC.RightArmColor = BrickColor.new("New Yeller") | |
1518 | BC.RightLegColor = BrickColor.new("New Yeller") | |
1519 | BC.TorsoColor = BrickColor.new("New Yeller") | |
1520 | ||
1521 | ||
1522 | ||
1523 | ||
1524 | ||
1525 | local wings = Instance.new("Part", char) | |
1526 | wings.CFrame = char.Torso.CFrame | |
1527 | wings.BrickColor = BrickColor.new("Black") | |
1528 | wings.Locked = true | |
1529 | wings.CanCollide = false | |
1530 | ||
1531 | local weld = Instance.new("Weld", wings) | |
1532 | weld.Part0 = wings | |
1533 | weld.Part1 = char.Torso | |
1534 | ||
1535 | local specialMesh = Instance.new("SpecialMesh", wings) | |
1536 | specialMesh.MeshId = "rbxassetid://0" | |
1537 | specialMesh.Offset = Vector3.new(0,0.1,-0.2) | |
1538 | specialMesh.Scale = Vector3.new(1,1,1) | |
1539 | ||
1540 | ||
1541 | ||
1542 | ------------------------------------------------------- | |
1543 | --Start Attacks N Stuff-- | |
1544 | ------------------------------------------------------- | |
1545 | local naeeym2 = Instance.new("BillboardGui",char) | |
1546 | naeeym2.AlwaysOnTop = true | |
1547 | naeeym2.Size = UDim2.new(5,35,2,35) | |
1548 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1549 | naeeym2.Adornee = hed | |
1550 | naeeym2.Name = "Name" | |
1551 | ||
1552 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1553 | tecks2.BackgroundTransparency = 1 | |
1554 | tecks2.TextScaled = true | |
1555 | tecks2.BorderSizePixel = 0 | |
1556 | tecks2.Text = "Script By Henriquegame2015 (Rare Script)(Leaked)" | |
1557 | tecks2.Font = "Fantasy" | |
1558 | tecks2.TextSize = 30 | |
1559 | tecks2.TextStrokeTransparency = 0 | |
1560 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1561 | tecks2.TextStrokeColor3 = BrickColor.new('White').Color | |
1562 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1563 | tecks2.Parent = naeeym2 | |
1564 | textfag = tecks2 | |
1565 | tecks2.Text = "Loading" | |
1566 | wait(2) | |
1567 | tecks2.Text = "Furry Switcher Loaded" | |
1568 | wait(1) | |
1569 | tecks2.Text = "Neutral" | |
1570 | BTAUNT:Play() | |
1571 | coroutine.resume(coroutine.create(function() | |
1572 | while textfag ~= nil do | |
1573 | swait() | |
1574 | textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
1575 | textfag.Rotation = math.random(-3,3) | |
1576 | end | |
1577 | end)) | |
1578 | ||
1579 | ||
1580 | char.Humanoid.JumpPower = 115 | |
1581 | char.Humanoid.WalkSpeed = 30 | |
1582 | ||
1583 | ||
1584 | ----------------------------------------------- | |
1585 | ||
1586 | function chatfunc(text, color) | |
1587 | local chat = coroutine.wrap(function() | |
1588 | if char:FindFirstChild("TalkingBillBoard") ~= nil then | |
1589 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
1590 | end | |
1591 | local naeeym2 = Instance.new("BillboardGui", char) | |
1592 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
1593 | naeeym2.StudsOffset = Vector3.new(0, 3, 0) | |
1594 | naeeym2.Adornee = hed | |
1595 | naeeym2.Name = "TalkingBillBoard" | |
1596 | local tecks2 = Instance.new("TextLabel", naeeym2) | |
1597 | tecks2.BackgroundTransparency = 1 | |
1598 | tecks2.BorderSizePixel = 0 | |
1599 | tecks2.Text = "" | |
1600 | tecks2.Font = "SciFi" | |
1601 | tecks2.TextSize = 30 | |
1602 | tecks2.TextStrokeTransparency = 0 | |
1603 | tecks2.TextColor3 = color | |
1604 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1605 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
1606 | local tecks3 = Instance.new("TextLabel", naeeym2) | |
1607 | tecks3.BackgroundTransparency = 1 | |
1608 | tecks3.BorderSizePixel = 0 | |
1609 | tecks3.Text = "" | |
1610 | tecks3.Font = "SciFi" | |
1611 | tecks3.TextSize = 30 | |
1612 | tecks3.TextStrokeTransparency = 0 | |
1613 | tecks3.TextColor3 = Color3.new(0, 0, 0) | |
1614 | tecks3.TextStrokeColor3 = color | |
1615 | tecks3.Size = UDim2.new(1, 0, 0.5, 0) | |
1616 | coroutine.resume(coroutine.create(function() | |
1617 | while true do | |
1618 | swait(1) | |
1619 | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
1620 | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
1621 | tecks2.Rotation = math.random(-5, 5) | |
1622 | tecks3.Rotation = math.random(-5, 5) | |
1623 | end | |
1624 | end)) | |
1625 | for i = 1, string.len(text) do | |
1626 | CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115) | |
1627 | tecks2.Text = string.sub(text, 1, i) | |
1628 | tecks3.Text = string.sub(text, 1, i) | |
1629 | swait(1) | |
1630 | end | |
1631 | wait(1) | |
1632 | local randomrot = math.random(1, 2) | |
1633 | if randomrot == 1 then | |
1634 | for i = 1, 50 do | |
1635 | swait() | |
1636 | tecks2.Rotation = tecks2.Rotation - 0.75 | |
1637 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1638 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
1639 | tecks3.Rotation = tecks2.Rotation + 0.75 | |
1640 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1641 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
1642 | end | |
1643 | elseif randomrot == 2 then | |
1644 | for i = 1, 50 do | |
1645 | swait() | |
1646 | tecks2.Rotation = tecks2.Rotation + 0.75 | |
1647 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1648 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
1649 | tecks3.Rotation = tecks2.Rotation - 0.75 | |
1650 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1651 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
1652 | end | |
1653 | end | |
1654 | naeeym2:Destroy() | |
1655 | end) | |
1656 | chat() | |
1657 | end | |
1658 | ||
1659 | ||
1660 | ||
1661 | ||
1662 | ||
1663 | ||
1664 | ||
1665 | --Switcher------------------------------------- | |
1666 | ||
1667 | ||
1668 | local effectTorso = Instance.new("Sparkles", char.Torso) | |
1669 | effectTorso.SparkleColor = Color3.new(0, 85, 255) | |
1670 | effectTorso.Enabled = false | |
1671 | ||
1672 | local animation = Instance.new("NumberValue", char) | |
1673 | animation.Value = 1 | |
1674 | animation.Name = "Animation" | |
1675 | ||
1676 | local animation2 = Instance.new("NumberValue", char) | |
1677 | animation2.Value = 1 | |
1678 | animation2.Name = "mode" | |
1679 | ||
1680 | ||
1681 | ||
1682 | ||
1683 | --------------------------- | |
1684 | ||
1685 | ||
1686 | function Noob2 () | |
1687 | ||
1688 | ||
1689 | if animation2.Value == 1 then | |
1690 | ||
1691 | animation2.Value = 2 | |
1692 | ||
1693 | specialMesh.MeshId = "rbxassetid://0" | |
1694 | ||
1695 | wait(0.1) | |
1696 | shirt.ShirtTemplate = "rbxassetid://0" | |
1697 | wait(0.1) | |
1698 | pants.PantsTemplate = "rbxassetid://0" | |
1699 | tecks2.Text = "._." | |
1700 | ||
1701 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1702 | tecks2.TextStrokeColor3 = BrickColor.new('Hot pink').Color | |
1703 | maincolor = BrickColor.new("Hot pink") | |
1704 | ||
1705 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1131624146" | |
1706 | ||
1707 | BC.HeadColor = BrickColor.new("Hot pink") | |
1708 | BC.LeftArmColor = BrickColor.new("Violet") | |
1709 | BC.LeftLegColor = BrickColor.new("Violet" | |
1710 | BC.RightArmColor = BrickColor.new("Hot pink") | |
1711 | BC.RightLegColor = BrickColor.new("Violet") | |
1712 | BC.TorsoColor = BrickColor.new("Hot pink") | |
1713 | char.Torso.Material = ("Plastic") | |
1714 | ||
1715 | effectTorso.Enabled = false | |
1716 | ||
1717 | animation.Value = 3 | |
1718 | ||
1719 | ||
1720 | hed.face.Texture = "rbxassetid://10521899" | |
1721 | ||
1722 | ||
1723 | ||
1724 | end | |
1725 | ||
1726 | ||
1727 | ||
1728 | end | |
1729 | ||
1730 | function Noob3 () | |
1731 | ||
1732 | ||
1733 | if animation2.Value == 1 then | |
1734 | ||
1735 | animation2.Value = 3 | |
1736 | ||
1737 | specialMesh.MeshId = "rbxassetid://0" | |
1738 | wait(0.1) | |
1739 | shirt.ShirtTemplate = "rbxassetid://0" | |
1740 | wait(0.1) | |
1741 | pants.PantsTemplate = "rbxassetid://0" | |
1742 | tecks2.Text = "Fallen" | |
1743 | ||
1744 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1745 | tecks2.TextStrokeColor3 = BrickColor.new('Really red').Color | |
1746 | maincolor = BrickColor.new("Really red") | |
1747 | ||
1748 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1564523997" | |
1749 | ||
1750 | BC.HeadColor = BrickColor.new("Mid gray") | |
1751 | BC.LeftArmColor = BrickColor.new("Dark stone grey") | |
1752 | BC.LeftLegColor = BrickColor.new("Dark stone grey") | |
1753 | BC.RightArmColor = BrickColor.new("Really black") | |
1754 | BC.RightLegColor = BrickColor.new("Mid gray") | |
1755 | BC.TorsoColor = BrickColor.new("Mid gray") | |
1756 | ||
1757 | char.Torso.Material = ("Plastic") | |
1758 | ||
1759 | effectTorso.Enabled = false | |
1760 | ||
1761 | animation.Value = 1 | |
1762 | ||
1763 | hed.face.Texture = "rbxassetid://168044187" | |
1764 | ||
1765 | ||
1766 | ||
1767 | ||
1768 | ||
1769 | end | |
1770 | ||
1771 | ||
1772 | ||
1773 | end | |
1774 | ||
1775 | function Noob4 () | |
1776 | ||
1777 | ||
1778 | ||
1779 | ||
1780 | animation2.Value = 1 | |
1781 | ||
1782 | ||
1783 | specialMesh.MeshId = "rbxassetid://0" | |
1784 | ||
1785 | ||
1786 | ||
1787 | ||
1788 | ||
1789 | wait(0.1) | |
1790 | shirt.ShirtTemplate = "rbxassetid://0" | |
1791 | wait(0.1) | |
1792 | pants.PantsTemplate = "rbxassetid://0" | |
1793 | tecks2.Text = "Neutral" | |
1794 | ||
1795 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1796 | tecks2.TextStrokeColor3 = BrickColor.new('New Yeller').Color | |
1797 | maincolor = BrickColor.new("New Yeller") | |
1798 | ||
1799 | ||
1800 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=869166432" | |
1801 | ||
1802 | BC.HeadColor = BrickColor.new("Institutional white") | |
1803 | BC.LeftArmColor = BrickColor.new("Dark stone grey") | |
1804 | BC.LeftLegColor = BrickColor.new("Dark stone grey") | |
1805 | BC.RightArmColor = BrickColor.new("Dark stone grey") | |
1806 | BC.RightLegColor = BrickColor.new("Dark stone grey") | |
1807 | BC.TorsoColor = BrickColor.new("Institutional white") | |
1808 | char.Torso.Material = ("Plastic") | |
1809 | effectTorso.Enabled = false | |
1810 | ||
1811 | animation.Value = 1 | |
1812 | ||
1813 | hed.face.Texture = "rbxassetid://299663123" | |
1814 | ||
1815 | ||
1816 | end | |
1817 | ||
1818 | ||
1819 | function Noob5 () | |
1820 | ||
1821 | ||
1822 | if animation2.Value == 1 then | |
1823 | ||
1824 | animation2.Value = 5 | |
1825 | specialMesh.MeshId = "rbxassetid://0" | |
1826 | ||
1827 | ||
1828 | wait(0.1) | |
1829 | shirt.ShirtTemplate = "rbxassetid://0" | |
1830 | wait(0.1) | |
1831 | pants.PantsTemplate = "rbxassetid://0" | |
1832 | tecks2.Text = "Mysterious" | |
1833 | ||
1834 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1835 | tecks2.TextStrokeColor3 = BrickColor.new('White').Color | |
1836 | maincolor = BrickColor.new("White") | |
1837 | ||
1838 | ||
1839 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1382488262" | |
1840 | ||
1841 | BC.HeadColor = BrickColor.new("Black") | |
1842 | BC.LeftArmColor = BrickColor.new("Black") | |
1843 | BC.LeftLegColor = BrickColor.new("Black") | |
1844 | BC.RightArmColor = BrickColor.new("Really red") | |
1845 | BC.RightLegColor = BrickColor.new("Really red") | |
1846 | BC.TorsoColor = BrickColor.new("Black") | |
1847 | char.Torso.Material = ("Plastic") | |
1848 | effectTorso.Enabled = false | |
1849 | ||
1850 | animation.Value = 1 | |
1851 | ||
1852 | ||
1853 | hed.face.Texture = "rbxassetid://299663123" | |
1854 | ||
1855 | ||
1856 | ||
1857 | ||
1858 | end | |
1859 | ||
1860 | ||
1861 | end | |
1862 | ||
1863 | ||
1864 | ||
1865 | function Noob6 () | |
1866 | ||
1867 | ||
1868 | if animation2.Value == 1 then | |
1869 | ||
1870 | animation2.Value = 6 | |
1871 | specialMesh.MeshId = "rbxassetid://0" | |
1872 | ||
1873 | wait(0.1) | |
1874 | shirt.ShirtTemplate = "rbxassetid://0" | |
1875 | wait(0.1) | |
1876 | pants.PantsTemplate = "rbxassetid://0" | |
1877 | tecks2.Text = "Misfortune" | |
1878 | ||
1879 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1880 | tecks2.TextStrokeColor3 = BrickColor.new('Neon orange').Color | |
1881 | maincolor = BrickColor.new("Really black") | |
1882 | ||
1883 | ||
1884 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=929330882" | |
1885 | ||
1886 | BC.HeadColor = BrickColor.new("White") | |
1887 | BC.LeftArmColor = BrickColor.new("Br. yellowish orange") | |
1888 | BC.LeftLegColor = BrickColor.new("Br. yellowish orange") | |
1889 | BC.RightArmColor = BrickColor.new("Br. yellowish orange") | |
1890 | BC.RightLegColor = BrickColor.new("Br. yellowish orange") | |
1891 | BC.TorsoColor = BrickColor.new("White") | |
1892 | char.Torso.Material = ("Plastic") | |
1893 | ||
1894 | effectTorso.Enabled = false | |
1895 | ||
1896 | animation.Value = 1 | |
1897 | ||
1898 | ||
1899 | hed.face.Texture = "rbxassetid://152818646" | |
1900 | ||
1901 | ||
1902 | ||
1903 | ||
1904 | end | |
1905 | ||
1906 | ||
1907 | ||
1908 | ||
1909 | end | |
1910 | ||
1911 | ||
1912 | function Noob7 () | |
1913 | ||
1914 | ||
1915 | if animation2.Value == 1 then | |
1916 | ||
1917 | animation2.Value = 7 | |
1918 | specialMesh.MeshId = "rbxassetid://0" | |
1919 | ||
1920 | ||
1921 | wait(0.1) | |
1922 | shirt.ShirtTemplate = "rbxassetid://0" | |
1923 | wait(0.1) | |
1924 | pants.PantsTemplate = "rbxassetid://0" | |
1925 | tecks2.Text = "Timestop" | |
1926 | ||
1927 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1928 | tecks2.TextStrokeColor3 = BrickColor.new('Deep orange').Color | |
1929 | maincolor = BrickColor.new("Deep orange") | |
1930 | ||
1931 | ||
1932 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=492070484" | |
1933 | ||
1934 | BC.HeadColor = BrickColor.new("Smoky grey") | |
1935 | BC.LeftArmColor = BrickColor.new("Really black") | |
1936 | BC.LeftLegColor = BrickColor.new("Black") | |
1937 | BC.RightArmColor = BrickColor.new("Smoky grey") | |
1938 | BC.RightLegColor = BrickColor.new("Black") | |
1939 | BC.TorsoColor = BrickColor.new("Smoky grey") | |
1940 | ||
1941 | char.Torso.Material = ("Plastic") | |
1942 | ||
1943 | ||
1944 | effectTorso.Enabled = false | |
1945 | ||
1946 | animation.Value = 1 | |
1947 | ||
1948 | hed.face.Texture = "rbxassetid://152818646" | |
1949 | ||
1950 | ||
1951 | ||
1952 | end | |
1953 | ||
1954 | ||
1955 | ||
1956 | ||
1957 | ||
1958 | end | |
1959 | ||
1960 | ||
1961 | ||
1962 | function Noob8 () | |
1963 | ||
1964 | ||
1965 | if animation2.Value == 1 then | |
1966 | ||
1967 | animation2.Value = 8 | |
1968 | ||
1969 | ||
1970 | specialMesh.MeshId = "rbxassetid://0" | |
1971 | ||
1972 | ||
1973 | wait(0.1) | |
1974 | ||
1975 | tecks2.Text = "Lunatic" | |
1976 | ||
1977 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1978 | tecks2.TextStrokeColor3 = BrickColor.new('Really blue').Color | |
1979 | maincolor = BrickColor.new("Really blue") | |
1980 | ||
1981 | ||
1982 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=255288110" | |
1983 | ||
1984 | BC.HeadColor = BrickColor.new("Bright blue") | |
1985 | BC.LeftArmColor = BrickColor.new("Light blue") | |
1986 | BC.LeftLegColor = BrickColor.new("Light blue") | |
1987 | BC.RightArmColor = BrickColor.new("Bright blue") | |
1988 | BC.RightLegColor = BrickColor.new("Bright blue") | |
1989 | BC.TorsoColor = BrickColor.new("Really blue") | |
1990 | ||
1991 | effectTorso.Enabled = true | |
1992 | ||
1993 | ||
1994 | shirt.ShirtTemplate = "rbxassetid://0" | |
1995 | wait(0.1) | |
1996 | pants.PantsTemplate = "rbxassetid://0" | |
1997 | ||
1998 | animation.Value = 2 | |
1999 | ||
2000 | hed.face.Texture = "rbxassetid://299663123" | |
2001 | ||
2002 | ||
2003 | end | |
2004 | ||
2005 | ||
2006 | ||
2007 | ||
2008 | ||
2009 | ||
2010 | end | |
2011 | ||
2012 | ||
2013 | function Noob9 () | |
2014 | ||
2015 | ||
2016 | if animation2.Value == 1 then | |
2017 | ||
2018 | animation2.Value = 9 | |
2019 | ||
2020 | specialMesh.MeshId = "rbxassetid://0" | |
2021 | ||
2022 | wait(0.1) | |
2023 | ||
2024 | tecks2.Text = "INSANITY" | |
2025 | ||
2026 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
2027 | tecks2.TextStrokeColor3 = BrickColor.new('Royal purple').Color | |
2028 | maincolor = BrickColor.new("Royal purple") | |
2029 | ||
2030 | ||
2031 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=2533880583" | |
2032 | ||
2033 | BC.HeadColor = BrickColor.new("Lilac") | |
2034 | BC.LeftArmColor = BrickColor.new("Royal purple") | |
2035 | BC.LeftLegColor = BrickColor.new("Royal purple") | |
2036 | BC.RightArmColor = BrickColor.new("Royal purple") | |
2037 | BC.RightLegColor = BrickColor.new("Dark indigo") | |
2038 | BC.TorsoColor = BrickColor.new("Lilac") | |
2039 | ||
2040 | effectTorso.Enabled = false | |
2041 | ||
2042 | ||
2043 | shirt.ShirtTemplate = "rbxassetid://0" | |
2044 | wait(0.1) | |
2045 | pants.PantsTemplate = "rbxassetid://0" | |
2046 | ||
2047 | animation.Value = 4 | |
2048 | ||
2049 | hed.face.Texture = "rbxassetid://299663123" | |
2050 | ||
2051 | ||
2052 | ||
2053 | end | |
2054 | ||
2055 | end | |
2056 | ||
2057 | ||
2058 | ||
2059 | ||
2060 | ||
2061 | ||
2062 | function Noob10() | |
2063 | ||
2064 | ||
2065 | ||
2066 | ||
2067 | ||
2068 | ||
2069 | if animation2.Value == 1 then | |
2070 | ||
2071 | animation2.Value = 10 | |
2072 | ||
2073 | ||
2074 | specialMesh.MeshId = "rbxassetid://215682815" | |
2075 | ||
2076 | ||
2077 | ||
2078 | ||
2079 | wait(0.1) | |
2080 | ||
2081 | tecks2.Text = "Darkness" | |
2082 | ||
2083 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
2084 | tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color | |
2085 | maincolor = BrickColor.new("Really black") | |
2086 | ||
2087 | ||
2088 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1703475948" | |
2089 | ||
2090 | BC.HeadColor = BrickColor.new("Really black") | |
2091 | BC.LeftArmColor = BrickColor.new("Dark stone grey") | |
2092 | BC.LeftLegColor = BrickColor.new("Dark stone grey") | |
2093 | BC.RightArmColor = BrickColor.new("Really black") | |
2094 | BC.RightLegColor = BrickColor.new("Really black") | |
2095 | BC.TorsoColor = BrickColor.new("Black") | |
2096 | ||
2097 | effectTorso.Enabled = false | |
2098 | ||
2099 | ||
2100 | shirt.ShirtTemplate = "rbxassetid://0" | |
2101 | wait(0.1) | |
2102 | pants.PantsTemplate = "rbxassetid://0" | |
2103 | ||
2104 | animation.Value = 10 | |
2105 | ||
2106 | hed.face.Texture = "rbxassetid://299663123" | |
2107 | ||
2108 | end | |
2109 | ||
2110 | ||
2111 | ||
2112 | ||
2113 | ||
2114 | ||
2115 | ||
2116 | ||
2117 | ||
2118 | ||
2119 | ||
2120 | end | |
2121 | ||
2122 | ||
2123 | ||
2124 | ||
2125 | ||
2126 | ||
2127 | ||
2128 | ||
2129 | ||
2130 | ||
2131 | ||
2132 | ||
2133 | ||
2134 | ||
2135 | ||
2136 | ||
2137 | ||
2138 | ||
2139 | ||
2140 | ||
2141 | ||
2142 | ||
2143 | ||
2144 | ||
2145 | -------------------------------------------------- | |
2146 | ||
2147 | ||
2148 | function hate() | |
2149 | chatfunc("It's time", BrickColor.new("White").Color) | |
2150 | wait(3) | |
2151 | chatfunc("You cannot escape.", BrickColor.new("White").Color) | |
2152 | wait(3) | |
2153 | attack = true | |
2154 | Cso("464600985", hed, 3.5, 1) | |
2155 | local orb = Instance.new("Part", char) | |
2156 | orb.Anchored = true | |
2157 | orb.BrickColor = BrickC("Really black") | |
2158 | orb.CanCollide = false | |
2159 | orb.FormFactor = 3 | |
2160 | orb.Name = "Ring" | |
2161 | orb.Material = "Neon" | |
2162 | orb.Size = Vector3.new(1, 1, 1) | |
2163 | orb.Transparency = 0 | |
2164 | orb.TopSurface = 0 | |
2165 | orb.BottomSurface = 0 | |
2166 | local orbm = Instance.new("SpecialMesh", orb) | |
2167 | orbm.MeshType = "Sphere" | |
2168 | orbm.Name = "SizeMesh" | |
2169 | orbm.Scale = Vector3.new(0, 0, 0) | |
2170 | local scaled = 0.1 | |
2171 | local posid = 0 | |
2172 | for i = 0, 2, 0.1 do | |
2173 | swait() | |
2174 | scaled = scaled + 0.1 | |
2175 | posid = posid - scaled | |
2176 | orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0) | |
2177 | orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled) | |
2178 | 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) | |
2179 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2180 | 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(0)), 0.15) | |
2181 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
2182 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12) | |
2183 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2184 | end | |
2185 | ||
2186 | chatfunc("Stop running away.", BrickColor.new("White").Color) | |
2187 | wait(3) | |
2188 | chatfunc("Just DIE...", BrickColor.new("White").Color) | |
2189 | wait(2) | |
2190 | for i = 0, 2, 0.1 do | |
2191 | swait() | |
2192 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2193 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
2194 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2195 | 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) | |
2196 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
2197 | 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(-5)), 0.1) | |
2198 | end | |
2199 | coroutine.resume(coroutine.create(function() | |
2200 | orb.Anchored = false | |
2201 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1) | |
2202 | local a = Instance.new("Part", workspace) | |
2203 | a.Name = "Direction" | |
2204 | a.Anchored = true | |
2205 | a.BrickColor = BrickC("Really black") | |
2206 | a.Material = "Neon" | |
2207 | a.Transparency = 1 | |
2208 | a.CanCollide = false | |
2209 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500) | |
2210 | local ignore = orb | |
2211 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
2212 | a.BottomSurface = 10 | |
2213 | a.TopSurface = 10 | |
2214 | local distance = (orb.CFrame.p - position).magnitude | |
2215 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
2216 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
2217 | orb.CFrame = a.CFrame | |
2218 | a:Destroy() | |
2219 | local bv = Instance.new("BodyVelocity") | |
2220 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
2221 | bv.velocity = orb.CFrame.lookVector * 125 | |
2222 | bv.Parent = orb | |
2223 | local hitted = false | |
2224 | game:GetService("Debris"):AddItem(orb, 15) | |
2225 | swait() | |
2226 | local hit = orb.Touched:connect(function(hit) | |
2227 | if hitted == false then | |
2228 | hitted = true | |
2229 | CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1) | |
2230 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do | |
2231 | if v:FindFirstChild("Head") then | |
2232 | Eviscerate(v) | |
2233 | end | |
2234 | end | |
2235 | Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really black"), "Sphere") | |
2236 | Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really black"), "Sphere") | |
2237 | for i = 0, 9 do | |
2238 | Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere") | |
2239 | Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere") | |
2240 | end | |
2241 | orb.Anchored = true | |
2242 | orb.Transparency = 1 | |
2243 | wait(8) | |
2244 | orb:Destroy() | |
2245 | end | |
2246 | end) | |
2247 | end)) | |
2248 | for i = 0, 1, 0.1 do | |
2249 | swait() | |
2250 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(30)), 0.3) | |
2251 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-30)), 0.3) | |
2252 | 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.3) | |
2253 | 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.3) | |
2254 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3) | |
2255 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.3) | |
2256 | end | |
2257 | attack = false | |
2258 | end | |
2259 | ||
2260 | ||
2261 | ||
2262 | ||
2263 | ||
2264 | ||
2265 | ||
2266 | ||
2267 | ||
2268 | ||
2269 | ||
2270 | ||
2271 | ||
2272 | ||
2273 | ||
2274 | ||
2275 | ||
2276 | ||
2277 | ||
2278 | ||
2279 | ||
2280 | ||
2281 | function die() | |
2282 | attack = true | |
2283 | M2.MeshId = "http://www.roblox.com/asset/?id=12592754" | |
2284 | M2.TextureId = "http://www.roblox.com/asset/?id=12592745" | |
2285 | for i = 0, 2.6, 0.1 do | |
2286 | swait() | |
2287 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2288 | 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.3) | |
2289 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
2290 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2) | |
2291 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2292 | end | |
2293 | Cso("357417055", tors, 10, 1) | |
2294 | CameraEnshaking(2, 15) | |
2295 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
2296 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
2297 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
2298 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do | |
2299 | if v:FindFirstChild("Head") then | |
2300 | Eviscerate(v) | |
2301 | end | |
2302 | end | |
2303 | for i = 0, 3, 0.1 do | |
2304 | swait() | |
2305 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2306 | 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.3) | |
2307 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
2308 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
2309 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3) | |
2310 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2311 | end | |
2312 | M2.MeshId = "http://www.roblox.com/asset/?id=0" | |
2313 | M2.TextureId = "http://www.roblox.com/asset/?id=0" | |
2314 | attack = false | |
2315 | end | |
2316 | ||
2317 | ||
2318 | function dance() | |
2319 | attack = true | |
2320 | hum.WalkSpeed = 0 | |
2321 | CFuncs.Sound.Create("rbxassetid://130791919", head, 100, 1) | |
2322 | for i = 0, 2, 0.1 do | |
2323 | swait() | |
2324 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2325 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2326 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2327 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2328 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
2329 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2330 | end | |
2331 | for i = 0, 6, 0.1 do | |
2332 | swait() | |
2333 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2334 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 2) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.15) | |
2335 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2336 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2337 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2338 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
2339 | end | |
2340 | for i = 0, 2, 0.1 do | |
2341 | swait() | |
2342 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2343 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2344 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2345 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2346 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
2347 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2348 | end | |
2349 | attack = false | |
2350 | hum.WalkSpeed = 20 | |
2351 | end | |
2352 | ||
2353 | function aaa() | |
2354 | attack = true | |
2355 | hum.WalkSpeed = 0 | |
2356 | for i = 0,20, 0.1 do | |
2357 | swait() | |
2358 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2359 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
2360 | 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
2361 | 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
2362 | RW.C0 = clerp(RW.C0, CF(1.1* Player_Size, 0.5 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(180), Rad(6), Rad(-56)), 0.1) | |
2363 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.1 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(45), Rad(6), Rad(86)), 0.1) | |
2364 | end | |
2365 | hum.WalkSpeed = 16 | |
2366 | attack = false | |
2367 | end | |
2368 | ||
2369 | function finalChaos() | |
2370 | attack = true | |
2371 | spawn(function() | |
2372 | local p = Instance.new("Part",char) | |
2373 | p.Anchored = true | |
2374 | p.CanCollide = false | |
2375 | p.CFrame = CFrame.new(mouse.Hit.p+Vector3.new(0,100,0)) | |
2376 | local m = Instance.new("SpecialMesh",p) | |
2377 | m.MeshId = "https://roblox.com/asset/?id=28140935" | |
2378 | m.Scale = Vector3.new(2,2,2) | |
2379 | for i=1,30 do | |
2380 | p.CFrame = p.CFrame-Vector3.new(0,3.3333,0) | |
2381 | p.CFrame = p.CFrame * CFrame.Angles(0.5,0,0) | |
2382 | wait() | |
2383 | end | |
2384 | local beam = Instance.new("Part",char) | |
2385 | beam.Anchored = true | |
2386 | beam.CanCollide = false | |
2387 | beam.BrickColor = BrickColor.new("White") | |
2388 | beam.Material = Enum.Material.Neon | |
2389 | beam.Size = Vector3.new(1,1,1) | |
2390 | beam.Position = p.Position+Vector3.new(0,1000,0) | |
2391 | beam.CFrame = beam.CFrame * CFrame.Angles(0,0,89.5354) | |
2392 | local m = Instance.new("SpecialMesh",beam) | |
2393 | m.MeshType = "Cylinder" | |
2394 | m.Scale = Vector3.new(2000,15,15) | |
2395 | damage(6,20,35,p.Position) | |
2396 | p.Transparency = 1 | |
2397 | CFuncs.Sound.Create("rbxassetid://440145223", p, 10, 1) | |
2398 | for i=1,10 do | |
2399 | m.Scale = m.Scale-Vector3.new(0,1,1) | |
2400 | beam.Transparency = i / 10 | |
2401 | wait() | |
2402 | end | |
2403 | p:Destroy() | |
2404 | end) | |
2405 | attack = false | |
2406 | end | |
2407 | ||
2408 | function beam() | |
2409 | attack = true | |
2410 | hum.WalkSpeed = 0 | |
2411 | local Ring1 = Instance.new("Part", char) | |
2412 | Ring1.Anchored = true | |
2413 | Ring1.BrickColor = maincolor | |
2414 | Ring1.CanCollide = false | |
2415 | Ring1.FormFactor = 3 | |
2416 | Ring1.Name = "Ring" | |
2417 | Ring1.Material = "Neon" | |
2418 | Ring1.Size = Vector3.new(1, 0.05, 1) | |
2419 | Ring1.Transparency = 1 | |
2420 | Ring1.TopSurface = 0 | |
2421 | Ring1.BottomSurface = 0 | |
2422 | local Ring1Mesh = Instance.new("SpecialMesh", Ring1) | |
2423 | Ring1Mesh.MeshType = "Brick" | |
2424 | Ring1Mesh.Name = "SizeMesh" | |
2425 | Ring1Mesh.Scale = Vector3.new(0, 1, 0) | |
2426 | local InnerRing1 = Ring1:Clone() | |
2427 | InnerRing1.Parent = char | |
2428 | InnerRing1.Transparency = 0 | |
2429 | InnerRing1.BrickColor = BrickColor.new("New Yeller") | |
2430 | InnerRing1.Size = Vector3.new(1, 1, 1) | |
2431 | local InnerRing1Mesh = InnerRing1.SizeMesh | |
2432 | InnerRing1Mesh.Scale = Vector3.new(0, 0, 0) | |
2433 | InnerRing1Mesh.MeshType = "Sphere" | |
2434 | Ring1:Destroy() | |
2435 | for i = 0, 6, 0.1 do | |
2436 | swait() | |
2437 | --orb.CFrame = Pupil.CFrame | |
2438 | Aura(7, 0.12, "Add", Head.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Sphere") | |
2439 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2440 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2441 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2442 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2443 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12) | |
2444 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12) | |
2445 | end | |
2446 | InnerRing1.Transparency = 1 | |
2447 | InnerRing1.CFrame = Head.CFrame + root.CFrame.lookVector * 5 | |
2448 | Cso("2545012765", char, 10, 1) | |
2449 | Cso("2606661976", char, 2.3, 1) | |
2450 | local a = IT("Part", char) | |
2451 | a.Name = "Direction" | |
2452 | a.Anchored = true | |
2453 | a.BrickColor = BrickC("Pastel violet") | |
2454 | a.Material = "SmoothPlastic" | |
2455 | a.Transparency = 0 | |
2456 | a.Shape = "Cylinder" | |
2457 | a.CanCollide = false | |
2458 | local a2 = IT("Part", char) | |
2459 | a2.Name = "Direction" | |
2460 | a2.Anchored = true | |
2461 | a2.BrickColor = maincolor | |
2462 | a2.Color = maincolor.Color | |
2463 | a2.Material = "Neon" | |
2464 | a2.Transparency = 0.7 | |
2465 | a2.Shape = "Cylinder" | |
2466 | a2.CanCollide = false | |
2467 | local ba = IT("Part", char) | |
2468 | ba.Name = "HitDirect" | |
2469 | ba.Anchored = true | |
2470 | ba.BrickColor = maincolor | |
2471 | ba.Material = "Neon" | |
2472 | ba.Transparency = 1 | |
2473 | ba.CanCollide = false | |
2474 | local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) | |
2475 | local ignore = char | |
2476 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
2477 | a.BottomSurface = 10 | |
2478 | a.TopSurface = 10 | |
2479 | a2.BottomSurface = 10 | |
2480 | a2.TopSurface = 10 | |
2481 | local distance = (InnerRing1.CFrame.p - position).magnitude | |
2482 | a.Size = Vector3.new(distance, 1, 1) | |
2483 | a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
2484 | a2.Size = Vector3.new(distance, 1, 1) | |
2485 | a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
2486 | ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) | |
2487 | a.CFrame = a.CFrame * angles(0, Rad(90), 0) | |
2488 | a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) | |
2489 | game:GetService("Debris"):AddItem(a, 20) | |
2490 | game:GetService("Debris"):AddItem(a2, 20) | |
2491 | game:GetService("Debris"):AddItem(ba, 20) | |
2492 | local msh = Instance.new("SpecialMesh", a) | |
2493 | msh.MeshType = "Brick" | |
2494 | msh.Scale = Vector3.new(1, 5, 5) | |
2495 | local msh2 = Instance.new("SpecialMesh", a2) | |
2496 | msh2.MeshType = "Brick" | |
2497 | msh2.Scale = Vector3.new(1, 7, 7) | |
2498 | for i = 0, 10, 0.1 do | |
2499 | swait() | |
2500 | CameraEnshaking(1, 5) | |
2501 | a2.Color = maincolor.Color | |
2502 | root.CFrame = FaceMouse()[1] | |
2503 | InnerRing1.CFrame = Head.CFrame + root.CFrame.lookVector * 4 | |
2504 | ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) | |
2505 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
2506 | distance = (InnerRing1.CFrame.p - position).magnitude | |
2507 | a.Size = Vector3.new(distance, 1, 1) | |
2508 | a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
2509 | a2.Size = Vector3.new(distance, 1, 1) | |
2510 | a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
2511 | ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) | |
2512 | a.CFrame = a.CFrame * angles(0, Rad(90), 0) | |
2513 | a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) | |
2514 | msh.Scale = msh.Scale - Vector3.new(0, 0.05, 0.05) | |
2515 | msh2.Scale = msh2.Scale - Vector3.new(0, 0.03, 0.03) | |
2516 | Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere") | |
2517 | for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do | |
2518 | if v:FindFirstChild("Head") then | |
2519 | Eviscerate(v) | |
2520 | end | |
2521 | end | |
2522 | end | |
2523 | a:Destroy() | |
2524 | a2:Destroy() | |
2525 | ba:Destroy() | |
2526 | InnerRing1:Destroy() | |
2527 | attack = false | |
2528 | hum.WalkSpeed = 10 | |
2529 | hum.CameraOffset = Vector3.new(0,0,0) | |
2530 | end | |
2531 | ||
2532 | function Call_Upon_The_Eyes() | |
2533 | attack = true | |
2534 | hum.WalkSpeed = 0 | |
2535 | for i = 0, 6, 0.1 do | |
2536 | swait() | |
2537 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2538 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2539 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2540 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2541 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12) | |
2542 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2543 | end | |
2544 | Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
2545 | Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
2546 | Magic(1, "Add", mouse.Hit, Vector3.new(100000, 100000, 100000000), 0.5, maincolor, "Sphere") | |
2547 | Magic(1, "Add", mouse.Hit, Vector3.new(10000000, 100000, 10000000), 0.75, maincolor, "Sphere") | |
2548 | CameraEnshaking(4, 25) | |
2549 | for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do | |
2550 | if v:FindFirstChild("Head") then | |
2551 | Eviscerate(v) | |
2552 | end | |
2553 | end | |
2554 | for i = 0, 6, 0.1 do | |
2555 | swait() | |
2556 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2557 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2558 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2559 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
2560 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.2) | |
2561 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2562 | end | |
2563 | attack = false | |
2564 | hum.WalkSpeed = 10 | |
2565 | end | |
2566 | ||
2567 | function CHAOS() | |
2568 | attack = true | |
2569 | root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position) | |
2570 | Cso("2545012765", hed, 10, 1) | |
2571 | Effects.Ring.Create(BrickC("Royal purple"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(-1),Rad(0)), 2.5, 2.5, 40, 3, 3, 45, 0.01) | |
2572 | ||
2573 | Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04) | |
2574 | Effects.Sphere.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02) | |
2575 | Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01) | |
2576 | ||
2577 | 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) | |
2578 | 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) | |
2579 | 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) | |
2580 | 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) | |
2581 | 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) | |
2582 | 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) | |
2583 | 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) | |
2584 | 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) | |
2585 | 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) | |
2586 | 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) | |
2587 | 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) | |
2588 | 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) | |
2589 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do | |
2590 | if v:FindFirstChild("Head") then | |
2591 | Eviscerate(v) | |
2592 | end | |
2593 | end | |
2594 | attack = false | |
2595 | end | |
2596 | function Chain2() | |
2597 | if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
2598 | local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
2599 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso") | |
2600 | local HEAD = HUM.Parent:FindFirstChild("Head") | |
2601 | local RIGHTARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightLowerArm") | |
2602 | local LEFTARM = HUM.Parent:FindFirstChild("Left Arm") or HUM.Parent:FindFirstChild("LeftLowerArm") | |
2603 | if HEAD and TORSO and HUM.Health > 0 then | |
2604 | local GYRO = IT("BodyGyro",root) | |
2605 | GYRO.D = 275 | |
2606 | GYRO.P = 20000 | |
2607 | GYRO.MaxTorque = Vector3.new(0,40000,0) | |
2608 | attack = true | |
2609 | hum.WalkSpeed = 0 | |
2610 | local hit,pos,hummie; | |
2611 | local Hook2 = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false) | |
2612 | Hook2.Transparency = 1 | |
2613 | local A2 = NewInstance("Attachment",Hook2) | |
2614 | local B2 = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)}) | |
2615 | local Chain2 = NewInstance("Beam",Hook2,{Attachment0 = A2,Attachment1=B2,Color = Color3.fromRGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1}) | |
2616 | for i = 0, 2.3, .1 do | |
2617 | swait() | |
2618 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
2619 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2620 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2621 | 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(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15) | |
2622 | 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(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
2623 | 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(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
2624 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1) | |
2625 | end | |
2626 | Cso("169105657", ra, 7, 1.2) | |
2627 | for i = 0, 5, .1 do | |
2628 | if(hit)then break end | |
2629 | swait() | |
2630 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
2631 | Hook2.CFrame = TORSO.CFrame | |
2632 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2633 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2634 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
2635 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15) | |
2636 | 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(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
2637 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1) | |
2638 | end | |
2639 | Cso("169105657", ra, 5, .8) | |
2640 | Cso("2545211765", char, 7, 1) | |
2641 | GYRO:remove() | |
2642 | TORSO:BreakJoints() | |
2643 | for i = 0, 6, .1 do | |
2644 | swait() | |
2645 | Hook2.CFrame = Hook2.CFrame:lerp(tors.CFrame * CF(0, 0, -1), .2) | |
2646 | if(hit)then hit.CFrame = Hook2.CFrame; hit.Velocity = Vector3.new() | |
2647 | end | |
2648 | if((Hook2.CFrame.p-tors.CFrame.p).magnitude < 2)then | |
2649 | break | |
2650 | end | |
2651 | Chain2.TextureLength = 4 | |
2652 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2653 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2654 | 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(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(90)), 0.15) | |
2655 | 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(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
2656 | 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(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
2657 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1) | |
2658 | end | |
2659 | hum.WalkSpeed = 16 | |
2660 | attack = false | |
2661 | Hook2:Destroy() | |
2662 | end | |
2663 | end | |
2664 | end | |
2665 | ||
2666 | function dejzrXD() | |
2667 | attack = true | |
2668 | hum.WalkSpeed = 20 | |
2669 | for i = 0, 1, 0.1 do | |
2670 | swait() | |
2671 | Cso("262562442", char, 10, 1) | |
2672 | hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0) | |
2673 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2674 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2) | |
2675 | 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(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2) | |
2676 | 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(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2) | |
2677 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2) | |
2678 | 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.2) | |
2679 | end | |
2680 | Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
2681 | Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
2682 | Magic(1, "Add", mouse.Hit, Vector3.new(1000, 100000, 1000), 0.5, maincolor, "Sphere") | |
2683 | Magic(1, "Add", mouse.Hit, Vector3.new(1000, 1000, 1000), 0.75, maincolor, "Sphere") | |
2684 | CameraEnshaking(4, 5) | |
2685 | for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do | |
2686 | if v:FindFirstChild("Head") then | |
2687 | Eviscerate(v) | |
2688 | end | |
2689 | end | |
2690 | for i = 0, 1, 0.1 do | |
2691 | swait() | |
2692 | hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0) | |
2693 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2694 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2) | |
2695 | 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(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2) | |
2696 | 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(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2) | |
2697 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2) | |
2698 | 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.2) | |
2699 | end | |
2700 | attack = false | |
2701 | Speed = 20 | |
2702 | end | |
2703 | ||
2704 | function specialchaos() | |
2705 | wait(0) | |
2706 | CHOICE = 6 | |
2707 | Cso("130781067", hed, 10, 1) | |
2708 | local killsky = Instance.new('Sky', game:GetService'Lighting') | |
2709 | killsky.SkyboxBk = "rbxassetid://3662994" | |
2710 | killsky.SkyboxDn = "rbxassetid://3662994" | |
2711 | killsky.SkyboxFt = "rbxassetid://3662994" | |
2712 | killsky.SkyboxLf = "rbxassetid://3662994" | |
2713 | killsky.SkyboxRt = "rbxassetid://3662994" | |
2714 | killsky.SkyboxUp = "rbxassetid://3662994" | |
2715 | --- | |
2716 | killsky.StarCount = 0 | |
2717 | killsky.SunAngularSize = 0 | |
2718 | killsky.MoonAngularSize = 0 | |
2719 | killsky.MoonTextureId = "" | |
2720 | killsky.CelestialBodiesShown = false | |
2721 | if HITFLOOR ~= nil then | |
2722 | ATTACK = false | |
2723 | Rooted = false | |
2724 | local RINGSPIN = true | |
2725 | local CONSTRUCTING = true | |
2726 | local RING = CreatePart(3, Effects, "Neon", 0, 10, "Royal purple", "Ring", VT(0,0,0)) | |
2727 | RING.Color = C3(0,0,0) | |
2728 | MakeForm(RING,"Cyl") | |
2729 | RING.CFrame = CF(HITPOS) | |
2730 | coroutine.resume(coroutine.create(function() | |
2731 | repeat | |
2732 | Swait() | |
2733 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
2734 | until CONSTRUCTING == false | |
2735 | repeat | |
2736 | Swait() | |
2737 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
2738 | until RINGSPIN == false | |
2739 | for i = 1, 25 do | |
2740 | Swait() | |
2741 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
2742 | RING.Size = RING.Size - VT(0.15,0,0.15) | |
2743 | --DECAL.Transparency = DECAL.Transparency + 1/25 | |
2744 | RING.Transparency = RING.Transparency + 1/25 | |
2745 | end | |
2746 | RING:remove() | |
2747 | end)) | |
2748 | for i = 1, 15 do | |
2749 | Swait() | |
2750 | RING.Size = RING.Size + VT(0,0,0) | |
2751 | RING.Transparency = RING.Transparency - 1/15 | |
2752 | end | |
2753 | end | |
2754 | hum.WalkSpeed = 20 | |
2755 | attack = false | |
2756 | end | |
2757 | function icando() | |
2758 | attack = true | |
2759 | hum.WalkSpeed = 0 | |
2760 | TEST:Remove() | |
2761 | TEST:Play() | |
2762 | repeat | |
2763 | for i = 0,4,0.1 do | |
2764 | swait() | |
2765 | TEST.Parent = tors | |
2766 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2767 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3) | |
2768 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
2769 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
2770 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-76)), 0.1) | |
2771 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(56)), 0.1) | |
2772 | end | |
2773 | until TEST.Playing == false | |
2774 | TEST:Stop() | |
2775 | TEST:Play() | |
2776 | TEST:Remove() | |
2777 | print('I CAN DO ANYTHING') | |
2778 | attack = false | |
2779 | hum.WalkSpeed = 20 | |
2780 | end | |
2781 | ||
2782 | function finalChaos2() | |
2783 | attack = true | |
2784 | M2.MeshId = "http://www.roblox.com/asset/?id=12592754" | |
2785 | M2.TextureId = "rbxassetid://2582829122" | |
2786 | M2.Scale = Vector3.new(5, 5, 5) | |
2787 | Cso("2545018472", hed, 10, 1) | |
2788 | for i = 0, 1, 0.1 do | |
2789 | swait() | |
2790 | hum.CameraOffset = Vector3.new(0, 8, 0) | |
2791 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2792 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
2793 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2) | |
2794 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2) | |
2795 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(180), Rad(0), Rad(15)), 0.2) | |
2796 | 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(-30), Rad(-90)), 0.2) | |
2797 | end | |
2798 | Cso("483458132", char, 10, .7) | |
2799 | Cso("483458132", char, 10, 1) | |
2800 | CameraEnshaking(6, 65) | |
2801 | Effects.Wave.Create(BrickColor.new("Royal Purple"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
2802 | Effects.Wave.Create(BrickColor.new("Really white"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
2803 | Effects.Wave.Create(BrickColor.new("Royal Purple"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
2804 | Effects.Ring.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04) | |
2805 | Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04) | |
2806 | Effects.Sphere.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02) | |
2807 | Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01) | |
2808 | Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Royal Purple"), "Sphere") | |
2809 | Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Royal Purple"), "Sphere") | |
2810 | Magic(1, "Add", root.CFrame, Vector3.new(1, 100000, 1), 0.5, BrickColor.new("Really white"), "Sphere") | |
2811 | Magic(1, "Add", root.CFrame, Vector3.new(1, 1, 1), 0.75, BrickColor.new("Really white"), "Sphere") | |
2812 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 99999999999.5)) do | |
2813 | if v:FindFirstChild("Head") then | |
2814 | Eviscerate(v) | |
2815 | end | |
2816 | end | |
2817 | for i = 0, 1, 0.1 do | |
2818 | swait() | |
2819 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2820 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
2821 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2) | |
2822 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2) | |
2823 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2) | |
2824 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2) | |
2825 | end | |
2826 | M2.Scale = Vector3.new(1, 1, 1) | |
2827 | M2.MeshId = "http://www.roblox.com/asset/?id=0" | |
2828 | M2.TextureId = "http://www.roblox.com/asset/?id=0" | |
2829 | attack = false | |
2830 | end | |
2831 | ||
2832 | function DRAG_THEM_TO_HELL() | |
2833 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
2834 | local HUM = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
2835 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso") | |
2836 | local HEAD = HUM.Parent:FindFirstChild("Head") | |
2837 | if HEAD and TORSO and HUM.Health > 0 then | |
2838 | local GYRO = IT("BodyGyro",root) | |
2839 | GYRO.D = 275 | |
2840 | GYRO.P = 20000 | |
2841 | GYRO.MaxTorque = Vector3.new(0,40000,0) | |
2842 | attack = true | |
2843 | hum.WalkSpeed = 0 | |
2844 | local hit,pos,hummie; | |
2845 | local Hook = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false) | |
2846 | Hook.Transparency = 1 | |
2847 | local A = NewInstance("Attachment",Hook) | |
2848 | local B = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)}) | |
2849 | local Chain = NewInstance("Beam",Hook,{Attachment0 = A,Attachment1=B,Color = Color3.fromRGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1}) | |
2850 | local POS = mouse.Hit.p | |
2851 | local CHAINS = false | |
2852 | local CHAINLINKS = {} | |
2853 | local A = IT("Attachment",la) | |
2854 | A.Position = Vector3.new(1,-1,0)*Player_Size | |
2855 | A.Orientation = Vector3.new(-90, -89.982, 0) | |
2856 | local B = IT("Attachment",la) | |
2857 | B.Position = Vector3.new(-1,-1,0)*Player_Size | |
2858 | B.Orientation = Vector3.new(-90, 89.988, 0) | |
2859 | local C = IT("Attachment",la) | |
2860 | C.Position = Vector3.new(0.5,-1.3,0)*Player_Size | |
2861 | C.Orientation = Vector3.new(-90, -89.982, 0) | |
2862 | local D = IT("Attachment",la) | |
2863 | D.Position = Vector3.new(-0.5,-1.3,0)*Player_Size | |
2864 | D.Orientation = Vector3.new(-90, 89.988, 0) | |
2865 | local LIGHT = IT("Attachment",la) | |
2866 | LIGHT.Position = Vector3.new(0,-1,0)*Player_Size | |
2867 | local LIGHT2 = IT("PointLight",LIGHT) | |
2868 | LIGHT2.Range = 7 | |
2869 | LIGHT2.Brightness = 5 | |
2870 | LIGHT2.Color = Color3.new(0,0,0) | |
2871 | for i = 1, 2 do | |
2872 | local TWIST = -2 | |
2873 | local START = A | |
2874 | local END = B | |
2875 | if i == 1 then | |
2876 | START = B | |
2877 | END = A | |
2878 | end | |
2879 | local ChainLink = IT("Beam",tors) | |
2880 | ChainLink.Texture = "rbxassetid://73042633" | |
2881 | ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138)) | |
2882 | ChainLink.TextureSpeed = 1 | |
2883 | ChainLink.Width0 = 1 | |
2884 | ChainLink.Width1 = 1 | |
2885 | ChainLink.TextureLength = 2.5 | |
2886 | ChainLink.Attachment0 = START | |
2887 | ChainLink.Attachment1 = END | |
2888 | ChainLink.CurveSize0 = TWIST | |
2889 | ChainLink.CurveSize1 = TWIST | |
2890 | --ChainLink.FaceCamera = true | |
2891 | ChainLink.Segments = 45 | |
2892 | ChainLink.Transparency = NumberSequence.new(0.25) | |
2893 | table.insert(CHAINLINKS,ChainLink) | |
2894 | end | |
2895 | for i = 1, 2 do | |
2896 | local TWIST = -1 | |
2897 | local START = C | |
2898 | local END = D | |
2899 | if i == 1 then | |
2900 | START = D | |
2901 | END = C | |
2902 | end | |
2903 | local ChainLink = IT("Beam",tors) | |
2904 | ChainLink.Texture = "rbxassetid://73042633" | |
2905 | ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138)) | |
2906 | ChainLink.TextureSpeed = 1 | |
2907 | ChainLink.Width0 = 1 | |
2908 | ChainLink.Width1 = 1 | |
2909 | ChainLink.TextureLength = 5 | |
2910 | ChainLink.Attachment0 = START | |
2911 | ChainLink.Attachment1 = END | |
2912 | ChainLink.CurveSize0 = TWIST | |
2913 | ChainLink.CurveSize1 = TWIST | |
2914 | --ChainLink.FaceCamera = true | |
2915 | ChainLink.Segments = 25 | |
2916 | ChainLink.LightEmission = 0.5 | |
2917 | ChainLink.Transparency = NumberSequence.new(0.25) | |
2918 | table.insert(CHAINLINKS,ChainLink) | |
2919 | end | |
2920 | for i = 0, 2.3, .1 do | |
2921 | swait() | |
2922 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
2923 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2924 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2925 | 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(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15) | |
2926 | 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(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
2927 | 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(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
2928 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1) | |
2929 | end | |
2930 | Cso("169105657", ra, 7, 1.2) | |
2931 | for i = 0, 4, .1 do | |
2932 | if(hit)then break end | |
2933 | swait() | |
2934 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
2935 | Hook.CFrame = HEAD.CFrame | |
2936 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2937 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2938 | 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(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15) | |
2939 | 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(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15) | |
2940 | 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(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
2941 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1) | |
2942 | end | |
2943 | for _,v in next, getRegion(Hook.Position,1,{char}) do | |
2944 | if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then | |
2945 | hit = GetTorso(v.Parent); | |
2946 | hummie = v.Parent:FindFirstChildOfClass'Humanoid'; | |
2947 | break; | |
2948 | end | |
2949 | end | |
2950 | Cso("169105657", ra, 5, .8) | |
2951 | Cso("1251737869", tors, 2, 1.1) | |
2952 | GYRO:remove() | |
2953 | for i = 0, 3, .1 do | |
2954 | swait() | |
2955 | HUM.PlatformStand = true | |
2956 | Hook.CFrame = Hook.CFrame:lerp(ra.CFrame * CF(0, 0, -1), .2) | |
2957 | if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = Vector3.new() | |
2958 | end | |
2959 | if((Hook.CFrame.p-ra.CFrame.p).magnitude < 2)then | |
2960 | break | |
2961 | end | |
2962 | Chain.TextureLength = 4 | |
2963 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2964 | 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(45)), 0.3) | |
2965 | 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(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(10)), 0.15) | |
2966 | 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(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(10)), 0.15) | |
2967 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(45)), 0.1) | |
2968 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(30), Rad(-.6), Rad(-25)), 0.1) | |
2969 | end | |
2970 | hum.WalkSpeed = 16 | |
2971 | attack = false | |
2972 | Hook:Destroy() | |
2973 | A:remove() | |
2974 | B:remove() | |
2975 | C:remove() | |
2976 | D:remove() | |
2977 | end | |
2978 | end | |
2979 | end | |
2980 | function ultra() | |
2981 | attack = true | |
2982 | hum.WalkSpeed = 0 | |
2983 | BTAUNT:Remove() | |
2984 | hed.face.Texture = "rbxassetid://299663123" | |
2985 | local Fire = IT("Sound",Character.Torso) | |
2986 | Fire.SoundId = "rbxassetid://1060413310" | |
2987 | Fire.Looped = true | |
2988 | Fire.Pitch = 1 | |
2989 | Fire.Volume = 1 | |
2990 | Fire:Play() | |
2991 | BTAUNT:Play() | |
2992 | BTAUNT:Remove() | |
2993 | wait(1) | |
2994 | for i = 0,18,0.1 do | |
2995 | swait() | |
2996 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2997 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2998 | 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(0)), 0.15) | |
2999 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
3000 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1) | |
3001 | LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1) | |
3002 | end | |
3003 | wait(1) | |
3004 | for i = 0,1.2,0.1 do | |
3005 | swait() | |
3006 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
3007 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3008 | 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(0)), 0.15) | |
3009 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
3010 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1) | |
3011 | LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1) | |
3012 | end | |
3013 | for i = 0,1.2,0.1 do | |
3014 | swait() | |
3015 | ||
3016 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
3017 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3018 | 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(0)), 0.15) | |
3019 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
3020 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
3021 | LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1) | |
3022 | end | |
3023 | M2.MeshId = "http://www.roblox.com/asset/?id=12592754" | |
3024 | M2.TextureId = "rbxassetid://26884682" | |
3025 | tecks2:Remove() | |
3026 | Fire:Stop() | |
3027 | local BC = char["Body Colors"] | |
3028 | BC.HeadColor = BrickColor.new("New Yeller") | |
3029 | BC.LeftArmColor = BrickColor.new("New Yeller") | |
3030 | BC.LeftLegColor = BrickColor.new("New Yeller") | |
3031 | BC.RightArmColor = BrickColor.new("New Yeller") | |
3032 | BC.RightLegColor = BrickColor.new("New Yeller") | |
3033 | BC.TorsoColor = BrickColor.new("New Yeller") | |
3034 | tecks2:Remove() | |
3035 | BTAUNT3:Play() | |
3036 | local naeeym2 = Instance.new("BillboardGui",char) | |
3037 | naeeym2.AlwaysOnTop = true | |
3038 | naeeym2.Size = UDim2.new(5,35,2,35) | |
3039 | naeeym2.StudsOffset = Vector3.new(0,1,0) | |
3040 | naeeym2.Adornee = hed | |
3041 | naeeym2.Name = "Name" | |
3042 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
3043 | tecks2.BackgroundTransparency = 1 | |
3044 | tecks2.TextScaled = true | |
3045 | tecks2.BorderSizePixel = 0 | |
3046 | tecks2.Font = "Garamond" | |
3047 | tecks2.TextSize = 30 | |
3048 | tecks2.TextStrokeTransparency = 0 | |
3049 | tecks2.TextColor3 = BrickColor.new('Really black').Color | |
3050 | tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color | |
3051 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
3052 | tecks2.Parent = naeeym2 | |
3053 | textfag = tecks2 | |
3054 | wait(1) | |
3055 | tecks2.Text = "The Boss Noob" | |
3056 | coroutine.resume(coroutine.create(function() | |
3057 | while textfag ~= nil do | |
3058 | swait() | |
3059 | textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
3060 | textfag.Rotation = math.random(-3,3) | |
3061 | end | |
3062 | end)) | |
3063 | hed.face.Texture = "rbxassetid://299663123" | |
3064 | ------------------- | |
3065 | Spawn(function() | |
3066 | while Equipped and Humanoid.Parent and Torso.Parent do | |
3067 | if Angle == 360 then | |
3068 | Angle = 0 | |
3069 | end | |
3070 | Angle = Angle + 0.05 | |
3071 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character}) | |
3072 | if Hit then | |
3073 | if not Circle.Parent then | |
3074 | Circle.Parent = Character | |
3075 | end | |
3076 | for i, v in pairs(CircleParts) do | |
3077 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
3078 | end | |
3079 | else | |
3080 | Circle.Parent = nil | |
3081 | end | |
3082 | wait() | |
3083 | end | |
3084 | end) | |
3085 | attack = false | |
3086 | hum.WalkSpeed = 75 | |
3087 | end | |
3088 | ------------------------------------------------------- | |
3089 | --End Attacks N Stuff-- | |
3090 | ------------------------------------------------------- | |
3091 | mouse.KeyDown:connect(function(key) | |
3092 | if attack == false then | |
3093 | if key == "t" then | |
3094 | ||
3095 | chatfunc("...", BrickColor.new("White").Color) | |
3096 | ||
3097 | dance() | |
3098 | ||
3099 | ||
3100 | ||
3101 | ||
3102 | elseif key == 'y' then | |
3103 | ||
3104 | chatfunc("Your time is over.", BrickColor.new("White").Color) | |
3105 | aaa() | |
3106 | ||
3107 | ||
3108 | elseif key == "p" then | |
3109 | finalChaos() | |
3110 | elseif key == "z" then | |
3111 | beam() | |
3112 | elseif key == "x" then | |
3113 | Call_Upon_The_Eyes() | |
3114 | elseif key == "v" then | |
3115 | dejzrXD() | |
3116 | elseif key == "b" then | |
3117 | ||
3118 | ||
3119 | ||
3120 | if animation2.Value == 1 then | |
3121 | ||
3122 | attack = true | |
3123 | ||
3124 | char.Humanoid.WalkSpeed = 0 | |
3125 | ||
3126 | for i = 0, 7, 0.1 do | |
3127 | swait() | |
3128 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
3129 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
3130 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
3131 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
3132 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12) | |
3133 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
3134 | end | |
3135 | ||
3136 | ||
3137 | ||
3138 | local block322 = Instance.new("Part", char) | |
3139 | ||
3140 | ||
3141 | ||
3142 | block322.Size = Vector3.new(10,10,10) | |
3143 | ||
3144 | block322.Anchored = true | |
3145 | ||
3146 | ||
3147 | block322.CanCollide = false | |
3148 | ||
3149 | block322.Transparency = 0 | |
3150 | block322.Material = "Neon" | |
3151 | block322.Shape = "Ball" | |
3152 | block322.BrickColor = BrickColor.new("Really black") | |
3153 | block322.CFrame = char.Torso.CFrame | |
3154 | ||
3155 | ||
3156 | wait(1) | |
3157 | ||
3158 | block322.BrickColor = BrickColor.new("Really black") | |
3159 | wait(1) | |
3160 | ||
3161 | ||
3162 | ||
3163 | block322.Transparency = block322.Transparency + 0.2 | |
3164 | block322.Size = Vector3.new(12,12,12) | |
3165 | ||
3166 | wait(0.01) | |
3167 | ||
3168 | ||
3169 | block322.Transparency = block322.Transparency + 0.2 | |
3170 | block322.Size = Vector3.new(14,14,14) | |
3171 | ||
3172 | wait(0.01) | |
3173 | ||
3174 | ||
3175 | ||
3176 | block322.Transparency = block322.Transparency + 0.2 | |
3177 | block322.Size = Vector3.new(16,16,16) | |
3178 | ||
3179 | wait(0.01) | |
3180 | ||
3181 | ||
3182 | ||
3183 | block322.Transparency = block322.Transparency + 0.2 | |
3184 | block322.Size = Vector3.new(18,18,18) | |
3185 | ||
3186 | wait(0.01) | |
3187 | ||
3188 | ||
3189 | ||
3190 | block322.Transparency = block322.Transparency + 0.2 | |
3191 | block322.Size = Vector3.new(20,20,20) | |
3192 | ||
3193 | wait(0.01) | |
3194 | ||
3195 | char.Humanoid.WalkSpeed = 30 | |
3196 | Cso("262562442", char, 10, 1) | |
3197 | ||
3198 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3199 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3200 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3201 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3202 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3203 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3204 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3205 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3206 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3207 | ||
3208 | ||
3209 | attack = false | |
3210 | ||
3211 | end | |
3212 | ||
3213 | ||
3214 | ||
3215 | ||
3216 | ||
3217 | ||
3218 | ||
3219 | Noob10() | |
3220 | ||
3221 | ||
3222 | ||
3223 | ||
3224 | ||
3225 | elseif key == "n" then | |
3226 | CHAOS() | |
3227 | elseif key == "f" then | |
3228 | icando() | |
3229 | elseif key == "h" then | |
3230 | finalChaos2() | |
3231 | elseif key == "g" then | |
3232 | hate() | |
3233 | elseif key == "c" then | |
3234 | DRAG_THEM_TO_HELL() | |
3235 | elseif key == "q" then | |
3236 | ||
3237 | if animation2.Value == 1 then | |
3238 | ||
3239 | ||
3240 | char.Humanoid.WalkSpeed = 0 | |
3241 | local block44 = Instance.new("Part", char) | |
3242 | block44.Size = Vector3.new(10,10,10) | |
3243 | ||
3244 | block44.Anchored = true | |
3245 | ||
3246 | block44.CanCollide = false | |
3247 | ||
3248 | block44.Transparency = 0 | |
3249 | block44.Material = "Neon" | |
3250 | block44.Shape = "Ball" | |
3251 | block44.BrickColor = BrickColor.new("Dark orange") | |
3252 | block44.CFrame = char.Torso.CFrame | |
3253 | ||
3254 | wait(1) | |
3255 | ||
3256 | block44.BrickColor = BrickColor.new("Dark orange") | |
3257 | wait(1) | |
3258 | ||
3259 | ||
3260 | ||
3261 | block44.Transparency = block44.Transparency + 0.2 | |
3262 | block44.Size = Vector3.new(11, 11, 11) | |
3263 | ||
3264 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3265 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3266 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3267 | ||
3268 | ||
3269 | wait(0.01) | |
3270 | ||
3271 | block44.Transparency = block44.Transparency + 0.2 | |
3272 | block44.Size = Vector3.new(12, 12, 12) | |
3273 | ||
3274 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3275 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3276 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3277 | ||
3278 | ||
3279 | ||
3280 | wait(0.01) | |
3281 | ||
3282 | block44.Transparency = block44.Transparency + 0.2 | |
3283 | block44.Size = Vector3.new(13, 13, 13) | |
3284 | ||
3285 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3286 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3287 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3288 | ||
3289 | ||
3290 | ||
3291 | wait(0.01) | |
3292 | ||
3293 | block44.Transparency = block44.Transparency + 0.2 | |
3294 | block44.Size = Vector3.new(14, 14, 14) | |
3295 | ||
3296 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3297 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3298 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3299 | ||
3300 | ||
3301 | ||
3302 | wait(0.01) | |
3303 | ||
3304 | block44.Transparency = block44.Transparency + 0.2 | |
3305 | block44.Size = Vector3.new(15, 15, 15) | |
3306 | ||
3307 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3308 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3309 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3310 | ||
3311 | ||
3312 | ||
3313 | wait(0.01) | |
3314 | ||
3315 | block44.Transparency = 0 | |
3316 | ||
3317 | block44.Transparency = block44.Transparency + 0.2 | |
3318 | block44.Size = Vector3.new(11, 11, 11) | |
3319 | ||
3320 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3321 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3322 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3323 | ||
3324 | ||
3325 | ||
3326 | wait(0.01) | |
3327 | ||
3328 | block44.Transparency = block44.Transparency + 0.2 | |
3329 | block44.Size = Vector3.new(12, 12, 12) | |
3330 | ||
3331 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3332 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3333 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3334 | ||
3335 | ||
3336 | ||
3337 | wait(0.01) | |
3338 | ||
3339 | block44.Transparency = block44.Transparency + 0.2 | |
3340 | block44.Size = Vector3.new(13, 13, 13) | |
3341 | ||
3342 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3343 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3344 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3345 | ||
3346 | ||
3347 | ||
3348 | wait(0.01) | |
3349 | ||
3350 | block44.Transparency = block44.Transparency + 0.2 | |
3351 | block44.Size = Vector3.new(14, 14, 14) | |
3352 | ||
3353 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3354 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3355 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3356 | ||
3357 | ||
3358 | ||
3359 | wait(0.01) | |
3360 | ||
3361 | block44.Transparency = block44.Transparency + 0.2 | |
3362 | block44.Size = Vector3.new(15, 15, 15) | |
3363 | ||
3364 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3365 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3366 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3367 | ||
3368 | ||
3369 | ||
3370 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3371 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3372 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3373 | ||
3374 | ||
3375 | ||
3376 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3377 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3378 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3379 | ||
3380 | ||
3381 | ||
3382 | wait(0.01) | |
3383 | ||
3384 | Cso("262562442", char, 10, 1) | |
3385 | ||
3386 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3387 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3388 | Effects.Wave.Create(BrickColor.new("Dark orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3389 | ||
3390 | ||
3391 | char.Humanoid.WalkSpeed = 30 | |
3392 | block44:Destroy() | |
3393 | ||
3394 | end | |
3395 | ||
3396 | ||
3397 | ||
3398 | ||
3399 | ||
3400 | ||
3401 | ||
3402 | ||
3403 | ||
3404 | Noob6() | |
3405 | chatfunc("You will regret that.", BrickColor.new("Neon orange").Color) | |
3406 | elseif key == "l" then | |
3407 | ||
3408 | ||
3409 | if animation2.Value == 1 then | |
3410 | ||
3411 | char.Humanoid.WalkSpeed = 0 | |
3412 | for i = 0, 4, 0.1 do | |
3413 | swait() | |
3414 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
3415 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
3416 | 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
3417 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
3418 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 - 4.5 * Sin(sine / 20))), 0.3) | |
3419 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 + 4.5 * Sin(sine / 20))), 0.3) | |
3420 | end | |
3421 | ||
3422 | for i = 0, 1, 0.1 do | |
3423 | swait() | |
3424 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
3425 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
3426 | 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
3427 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
3428 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 - 4.5 * Sin(sine / 20))), 0.3) | |
3429 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 + 4.5 * Sin(sine / 20))), 0.3) | |
3430 | end | |
3431 | ||
3432 | local block35 = Instance.new("Part", char) | |
3433 | block35.Size = Vector3.new(10,10,10) | |
3434 | ||
3435 | block35.Anchored = true | |
3436 | ||
3437 | block35.CanCollide = false | |
3438 | ||
3439 | block35.Transparency = 0 | |
3440 | block35.Material = "Neon" | |
3441 | block35.Shape = "Ball" | |
3442 | block35.BrickColor = BrickColor.new("Pink") | |
3443 | block35.CFrame = char.Torso.CFrame | |
3444 | ||
3445 | wait(1) | |
3446 | ||
3447 | block35.BrickColor = BrickColor.new("Pink") | |
3448 | wait(1) | |
3449 | ||
3450 | ||
3451 | ||
3452 | block35.Transparency = block35.Transparency + 0.2 | |
3453 | block35.Size = Vector3.new(11, 11, 11) | |
3454 | ||
3455 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3456 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3457 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3458 | ||
3459 | wait(0.01) | |
3460 | ||
3461 | block35.Transparency = block35.Transparency + 0.2 | |
3462 | block35.Size = Vector3.new(12, 12, 12) | |
3463 | ||
3464 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3465 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3466 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3467 | ||
3468 | ||
3469 | wait(0.01) | |
3470 | ||
3471 | block35.Transparency = block35.Transparency + 0.2 | |
3472 | block35.Size = Vector3.new(13, 13, 13) | |
3473 | ||
3474 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3475 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3476 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3477 | ||
3478 | ||
3479 | wait(0.01) | |
3480 | ||
3481 | block35.Transparency = block35.Transparency + 0.2 | |
3482 | block35.Size = Vector3.new(14, 14, 14) | |
3483 | ||
3484 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3485 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3486 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3487 | ||
3488 | ||
3489 | wait(0.01) | |
3490 | ||
3491 | block35.Transparency = block35.Transparency + 0.2 | |
3492 | block35.Size = Vector3.new(15, 15, 15) | |
3493 | ||
3494 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3495 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3496 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3497 | ||
3498 | ||
3499 | wait(0.01) | |
3500 | ||
3501 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3502 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3503 | Effects.Wave.Create(BrickColor.new("Pink"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3504 | ||
3505 | ||
3506 | block35:Destroy() | |
3507 | ||
3508 | Cso("262562442", char, 10, 1) | |
3509 | ||
3510 | char.Humanoid.WalkSpeed = 30 | |
3511 | end | |
3512 | ||
3513 | ||
3514 | ||
3515 | Noob2() | |
3516 | ||
3517 | chatfunc("uhh why is this mode a thing?", BrickColor.new("Pink").Color) | |
3518 | ||
3519 | elseif key == "k" then | |
3520 | ||
3521 | ||
3522 | if animation2.Value == 1 then | |
3523 | ||
3524 | char.Humanoid.WalkSpeed = 0 | |
3525 | ||
3526 | local block32 = Instance.new("Part", char) | |
3527 | block32.Size = Vector3.new(10,10,10) | |
3528 | ||
3529 | block32.Anchored = true | |
3530 | ||
3531 | block32.CanCollide = false | |
3532 | ||
3533 | block32.Transparency = 0 | |
3534 | block32.Material = "Neon" | |
3535 | block32.Shape = "Ball" | |
3536 | block32.BrickColor = BrickColor.new("Really red") | |
3537 | block32.CFrame = char.Torso.CFrame | |
3538 | ||
3539 | wait(1) | |
3540 | ||
3541 | block32.BrickColor = BrickColor.new("Really red") | |
3542 | wait(1) | |
3543 | ||
3544 | ||
3545 | ||
3546 | block32.Transparency = block32.Transparency + 0.2 | |
3547 | block32.Size = Vector3.new(11, 11, 11) | |
3548 | ||
3549 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3550 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3551 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3552 | ||
3553 | ||
3554 | wait(0.01) | |
3555 | ||
3556 | block32.Transparency = block32.Transparency + 0.2 | |
3557 | block32.Size = Vector3.new(12, 12, 12) | |
3558 | ||
3559 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3560 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3561 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3562 | ||
3563 | ||
3564 | wait(0.01) | |
3565 | ||
3566 | block32.Transparency = block32.Transparency + 0.2 | |
3567 | block32.Size = Vector3.new(13, 13, 13) | |
3568 | ||
3569 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3570 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3571 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3572 | ||
3573 | ||
3574 | wait(0.01) | |
3575 | ||
3576 | block32.Transparency = block32.Transparency + 0.2 | |
3577 | block32.Size = Vector3.new(14, 14, 14) | |
3578 | ||
3579 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3580 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3581 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3582 | ||
3583 | ||
3584 | wait(0.01) | |
3585 | ||
3586 | block32.Transparency = block32.Transparency + 0.2 | |
3587 | block32.Size = Vector3.new(15, 15, 15) | |
3588 | ||
3589 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3590 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3591 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3592 | ||
3593 | ||
3594 | wait(0.01) | |
3595 | ||
3596 | block32:Destroy() | |
3597 | ||
3598 | ||
3599 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3600 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3601 | Effects.Wave.Create(BrickColor.new("Really red"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3602 | ||
3603 | chatfunc("You are gonna die.", BrickColor.new("Really red").Color) | |
3604 | ||
3605 | Cso("262562442", char, 10, 1) | |
3606 | char.Humanoid.WalkSpeed = 30 | |
3607 | ||
3608 | end | |
3609 | ||
3610 | Noob3() | |
3611 | ||
3612 | elseif key == "j" then | |
3613 | ||
3614 | ||
3615 | ||
3616 | Effects.Wave.Create(BrickColor.new("New Yeller"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3617 | Effects.Wave.Create(BrickColor.new("New Yeller"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3618 | Effects.Wave.Create(BrickColor.new("New Yeller"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3619 | ||
3620 | Effects.Wave.Create(BrickColor.new("New Yeller"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3621 | Effects.Wave.Create(BrickColor.new("New Yeller"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3622 | Effects.Wave.Create(BrickColor.new("New Yeller"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3623 | ||
3624 | ||
3625 | Effects.Wave.Create(BrickColor.new("New Yeller"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3626 | Effects.Wave.Create(BrickColor.new("New Yeller"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3627 | Effects.Wave.Create(BrickColor.new("New Yeller"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3628 | ||
3629 | ||
3630 | Effects.Wave.Create(BrickColor.new("New Yeller"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3631 | Effects.Wave.Create(BrickColor.new("New Yeller"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3632 | Effects.Wave.Create(BrickColor.new("New Yeller"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3633 | ||
3634 | ||
3635 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1) | |
3636 | ||
3637 | Noob4() | |
3638 | ||
3639 | chatfunc("Hm.", BrickColor.new("New Yeller").Color) | |
3640 | ||
3641 | elseif key == "m" then | |
3642 | ||
3643 | if animation2.Value == 1 then | |
3644 | ||
3645 | ||
3646 | char.Humanoid.WalkSpeed = 0 | |
3647 | local block3 = Instance.new("Part", char) | |
3648 | ||
3649 | ||
3650 | ||
3651 | block3.Size = Vector3.new(10,10,10) | |
3652 | ||
3653 | block3.Anchored = true | |
3654 | ||
3655 | ||
3656 | block3.CanCollide = false | |
3657 | ||
3658 | block3.Transparency = 0 | |
3659 | block3.Material = "Neon" | |
3660 | block3.Shape = "Ball" | |
3661 | block3.BrickColor = BrickColor.new("White") | |
3662 | block3.CFrame = char.Torso.CFrame | |
3663 | ||
3664 | ||
3665 | wait(1) | |
3666 | ||
3667 | block3.BrickColor = BrickColor.new("White") | |
3668 | wait(1) | |
3669 | ||
3670 | ||
3671 | ||
3672 | block3.Transparency = block3.Transparency + 0.2 | |
3673 | block3.Size = Vector3.new(12,12,12) | |
3674 | ||
3675 | wait(0.01) | |
3676 | ||
3677 | ||
3678 | block3.Transparency = block3.Transparency + 0.2 | |
3679 | block3.Size = Vector3.new(14,14,14) | |
3680 | ||
3681 | wait(0.01) | |
3682 | ||
3683 | ||
3684 | ||
3685 | block3.Transparency = block3.Transparency + 0.2 | |
3686 | block3.Size = Vector3.new(16,16,16) | |
3687 | ||
3688 | wait(0.01) | |
3689 | ||
3690 | ||
3691 | ||
3692 | block3.Transparency = block3.Transparency + 0.2 | |
3693 | block3.Size = Vector3.new(18,18,18) | |
3694 | ||
3695 | wait(0.01) | |
3696 | ||
3697 | ||
3698 | ||
3699 | block3.Transparency = block3.Transparency + 0.2 | |
3700 | block3.Size = Vector3.new(20,20,20) | |
3701 | ||
3702 | wait(0.01) | |
3703 | ||
3704 | ||
3705 | ||
3706 | ||
3707 | Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3708 | Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3709 | Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3710 | Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3711 | Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3712 | Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3713 | Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3714 | Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3715 | Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3716 | ||
3717 | char.Humanoid.WalkSpeed = 30 | |
3718 | ||
3719 | end | |
3720 | ||
3721 | ||
3722 | ||
3723 | ||
3724 | ||
3725 | ||
3726 | ||
3727 | ||
3728 | ||
3729 | Noob5() | |
3730 | ||
3731 | chatfunc("How funny.", BrickColor.new("White").Color) | |
3732 | ||
3733 | ||
3734 | elseif key == "e" then | |
3735 | if animation2.Value == 1 then | |
3736 | ||
3737 | attack = true | |
3738 | char.Humanoid.WalkSpeed = 0 | |
3739 | ||
3740 | for i = 0, 4, 0.1 do | |
3741 | swait() | |
3742 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
3743 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
3744 | 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
3745 | 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
3746 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
3747 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
3748 | end | |
3749 | ||
3750 | for i = 0, 1, 0.1 do | |
3751 | swait() | |
3752 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
3753 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
3754 | 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
3755 | 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
3756 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 - 4.5 * Sin(sine / 20))), 0.3) | |
3757 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 + 4.5 * Sin(sine / 20))), 0.3) | |
3758 | end | |
3759 | ||
3760 | for i = 0, 1, 0.1 do | |
3761 | swait() | |
3762 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
3763 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
3764 | 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
3765 | 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
3766 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 - 4.5 * Sin(sine / 20))), 0.3) | |
3767 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 + 4.5 * Sin(sine / 20))), 0.3) | |
3768 | end | |
3769 | ||
3770 | ||
3771 | local block2 = Instance.new("Part", char) | |
3772 | block2.Size = Vector3.new(10,10,10) | |
3773 | ||
3774 | block2.Anchored = true | |
3775 | ||
3776 | block2.CanCollide = false | |
3777 | ||
3778 | block2.Transparency = 0 | |
3779 | block2.Material = "Neon" | |
3780 | block2.Shape = "Ball" | |
3781 | block2.BrickColor = BrickColor.new("Neon orange") | |
3782 | block2.CFrame = char.Torso.CFrame | |
3783 | ||
3784 | wait(1) | |
3785 | ||
3786 | block2.BrickColor = BrickColor.new("White") | |
3787 | wait(2) | |
3788 | ||
3789 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1) | |
3790 | ||
3791 | block2:Destroy() | |
3792 | ||
3793 | Effects.Wave.Create(BrickColor.new("Neon orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3794 | Effects.Wave.Create(BrickColor.new("Neon orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3795 | Effects.Wave.Create(BrickColor.new("Neon orange"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3796 | ||
3797 | Cso("262562442", char, 10, 1) | |
3798 | ||
3799 | end | |
3800 | ||
3801 | attack = false | |
3802 | char.Humanoid.WalkSpeed = 30 | |
3803 | ||
3804 | Noob7() | |
3805 | ||
3806 | elseif key == "u" then | |
3807 | ||
3808 | if animation2.Value == 1 then | |
3809 | ||
3810 | attack = true | |
3811 | ||
3812 | ||
3813 | char.Humanoid.WalkSpeed = 0 | |
3814 | ||
3815 | local block = Instance.new("Part", char) | |
3816 | local number = Instance.new("NumberValue", block) | |
3817 | number.Value = 10 | |
3818 | block.Size = Vector3.new(number.Value,number.Value,number.Value) | |
3819 | ||
3820 | block.Anchored = true | |
3821 | ||
3822 | block.CanCollide = false | |
3823 | ||
3824 | block.Transparency = 0 | |
3825 | block.Material = "Neon" | |
3826 | block.Shape = "Ball" | |
3827 | block.BrickColor = BrickColor.new("Really blue") | |
3828 | block.CFrame = char.Torso.CFrame | |
3829 | ||
3830 | wait(1) | |
3831 | ||
3832 | block.BrickColor = BrickColor.new("White") | |
3833 | wait(1) | |
3834 | for g = 1,4 do | |
3835 | ||
3836 | ||
3837 | block.Transparency = block.Transparency + 0.3 | |
3838 | number.Value = number.Value + 2 | |
3839 | wait(0.01) | |
3840 | ||
3841 | end | |
3842 | ||
3843 | Cso("262562442", char, 10, 1) | |
3844 | ||
3845 | ||
3846 | ||
3847 | block:Destroy() | |
3848 | ||
3849 | Effects.Wave.Create(BrickColor.new("Really blue"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3850 | Effects.Wave.Create(BrickColor.new("Really blue"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3851 | Effects.Wave.Create(BrickColor.new("Really blue"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3852 | ||
3853 | Effects.Wave.Create(BrickColor.new("Really blue"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3854 | Effects.Wave.Create(BrickColor.new("Really blue"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3855 | Effects.Wave.Create(BrickColor.new("Really blue"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3856 | ||
3857 | Effects.Wave.Create(BrickColor.new("Really blue"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3858 | Effects.Wave.Create(BrickColor.new("Really blue"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3859 | Effects.Wave.Create(BrickColor.new("Really blue"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3860 | ||
3861 | Effects.Wave.Create(BrickColor.new("Really blue"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3862 | Effects.Wave.Create(BrickColor.new("Really blue"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3863 | Effects.Wave.Create(BrickColor.new("Really blue"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3864 | ||
3865 | ||
3866 | ||
3867 | ||
3868 | ||
3869 | ||
3870 | ||
3871 | chatfunc("Spinnn", BrickColor.new("Really blue").Color) | |
3872 | char.Humanoid.WalkSpeed = 30 | |
3873 | ||
3874 | end | |
3875 | ||
3876 | ||
3877 | ||
3878 | Noob8() | |
3879 | ||
3880 | for i = 0,10,0.08 do | |
3881 | swait() | |
3882 | 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) | |
3883 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3884 | 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) | |
3885 | 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) | |
3886 | 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) | |
3887 | 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) | |
3888 | end | |
3889 | ||
3890 | ||
3891 | attack = false | |
3892 | ||
3893 | ||
3894 | elseif key == "r" then | |
3895 | ||
3896 | ||
3897 | ||
3898 | if animation2.Value == 1 then | |
3899 | ||
3900 | attack = true | |
3901 | char.Humanoid.WalkSpeed = 0 | |
3902 | ||
3903 | for i = 0, 2, 0.1 do | |
3904 | swait() | |
3905 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
3906 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
3907 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
3908 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
3909 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
3910 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
3911 | end | |
3912 | for i = 0, 6, 0.1 do | |
3913 | swait() | |
3914 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
3915 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 2) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.15) | |
3916 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
3917 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
3918 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
3919 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
3920 | end | |
3921 | ||
3922 | ||
3923 | local block31 = Instance.new("Part", char) | |
3924 | ||
3925 | ||
3926 | block31.Size = Vector3.new(10,10,10) | |
3927 | ||
3928 | block31.Anchored = true | |
3929 | ||
3930 | block31.CanCollide = false | |
3931 | ||
3932 | block31.Transparency = 0 | |
3933 | block31.Material = "Neon" | |
3934 | block31.Shape = "Ball" | |
3935 | block31.BrickColor = BrickColor.new("Lilac") | |
3936 | block31.CFrame = char.Torso.CFrame | |
3937 | ||
3938 | ||
3939 | ||
3940 | wait(1) | |
3941 | ||
3942 | block31.BrickColor = BrickColor.new("Lilac") | |
3943 | wait(1) | |
3944 | for g = 1,5 do | |
3945 | ||
3946 | ||
3947 | block31.Transparency = block31.Transparency + 0.2 | |
3948 | ||
3949 | wait(0.01) | |
3950 | ||
3951 | end | |
3952 | ||
3953 | ||
3954 | Cso("262562442", char, 10, 1) | |
3955 | ||
3956 | Effects.Wave.Create(BrickColor.new("Lilac"), tors.CFrame * CF(0, -3, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3957 | Effects.Wave.Create(BrickColor.new("Lilac"), tors.CFrame * CF(0, -3, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3958 | Effects.Wave.Create(BrickColor.new("Lilac"), tors.CFrame * CF(0, -3, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3959 | ||
3960 | Effects.Wave.Create(BrickColor.new("Lilac"), tors.CFrame * CF(0, -3, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3961 | Effects.Wave.Create(BrickColor.new("Lilac"), tors.CFrame * CF(0, -3, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3962 | Effects.Wave.Create(BrickColor.new("Lilac"), tors.CFrame * CF(0, -3, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3963 | ||
3964 | Effects.Wave.Create(BrickColor.new("Lilac"), tors.CFrame * CF(0, -3, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3965 | Effects.Wave.Create(BrickColor.new("Lilac"), tors.CFrame * CF(0, -3, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3966 | Effects.Wave.Create(BrickColor.new("Lilac"), tors.CFrame * CF(0, -3, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3967 | ||
3968 | Effects.Wave.Create(BrickColor.new("Lilac"), tors.CFrame * CF(0, -3, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3969 | Effects.Wave.Create(BrickColor.new("Lilac"), tors.CFrame * CF(0, -3, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3970 | Effects.Wave.Create(BrickColor.new("Lilac"), tors.CFrame * CF(0, -3, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3971 | ||
3972 | Effects.Wave.Create(BrickColor.new("Lilac"), tors.CFrame * CF(0, -3, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3973 | Effects.Wave.Create(BrickColor.new("Lilac"), tors.CFrame * CF(0, -3, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3974 | Effects.Wave.Create(BrickColor.new("Lilac"), tors.CFrame * CF(0, -3, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
3975 | ||
3976 | ||
3977 | end | |
3978 | ||
3979 | ||
3980 | ||
3981 | attack = false | |
3982 | char.Humanoid.WalkSpeed = 30 | |
3983 | ||
3984 | Noob9() | |
3985 | ||
3986 | chatfunc("HAHAHAHAHAHA!", BrickColor.new("Lilac").Color) | |
3987 | ||
3988 | wait(1) | |
3989 | ||
3990 | ||
3991 | ||
3992 | end | |
3993 | end | |
3994 | end) | |
3995 | ||
3996 | mouse.Button1Down:connect(function(key) | |
3997 | if attack == false then | |
3998 | die() | |
3999 | end | |
4000 | end) | |
4001 | ||
4002 | function Part(parent,color,material,size,cframe,anchored,cancollide) | |
4003 | local part = Instance.new("Part") | |
4004 | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or Color3.new(0,0,0) | |
4005 | part.Material = material or Enum.Material.SmoothPlastic | |
4006 | part.TopSurface,part.BottomSurface=10,10 | |
4007 | part.Size = size or Vector3.new(1,1,1) | |
4008 | part.CFrame = cframe or CF(0,0,0) | |
4009 | part.Anchored = anchored or true | |
4010 | part.CanCollide = cancollide or false | |
4011 | part.Parent = parent or char | |
4012 | return part | |
4013 | end | |
4014 | ||
4015 | NewInstance = function(instance,parent,properties) | |
4016 | local inst = Instance.new(instance) | |
4017 | inst.Parent = parent | |
4018 | if(properties)then | |
4019 | for i,v in next, properties do | |
4020 | pcall(function() inst[i] = v end) | |
4021 | end | |
4022 | end | |
4023 | return inst; | |
4024 | end | |
4025 | ------------------------------------------------------- | |
4026 | --Start Damage Function-- | |
4027 | ------------------------------------------------------- | |
4028 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher! | |
4029 | local type = type | |
4030 | local rng = Instance.new("Part", char) | |
4031 | rng.Anchored = true | |
4032 | rng.BrickColor = color | |
4033 | rng.CanCollide = false | |
4034 | rng.FormFactor = 3 | |
4035 | rng.Name = "Ring" | |
4036 | rng.Material = "Neon" | |
4037 | rng.Size = Vector3.new(1, 1, 1) | |
4038 | rng.Transparency = 0 | |
4039 | rng.TopSurface = 0 | |
4040 | rng.BottomSurface = 0 | |
4041 | rng.CFrame = pos | |
4042 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
4043 | local rngm = Instance.new("SpecialMesh", rng) | |
4044 | rngm.MeshType = "Brick" | |
4045 | if rainbowmode == true then | |
4046 | rng.Color = Color3.new(r/255,g/255,b/255) | |
4047 | end | |
4048 | local scaler2 = 1 | |
4049 | local speeder = FastSpeed/10 | |
4050 | if type == "Add" then | |
4051 | scaler2 = 1*value | |
4052 | elseif type == "Divide" then | |
4053 | scaler2 = 1/value | |
4054 | end | |
4055 | coroutine.resume(coroutine.create(function() | |
4056 | for i = 0,10/bonuspeed,0.1 do | |
4057 | swait() | |
4058 | if type == "Add" then | |
4059 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
4060 | elseif type == "Divide" then | |
4061 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
4062 | end | |
4063 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
4064 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
4065 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
4066 | end | |
4067 | rng:Destroy() | |
4068 | end)) | |
4069 | end | |
4070 | ||
4071 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
4072 | if hit.Parent == nil then | |
4073 | return | |
4074 | end | |
4075 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
4076 | for _, v in pairs(hit.Parent:children()) do | |
4077 | if v:IsA("Humanoid") then | |
4078 | h = v | |
4079 | end | |
4080 | end | |
4081 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
4082 | ||
4083 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
4084 | end | |
4085 | ||
4086 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
4087 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
4088 | if hit.Parent.DebounceHit.Value == true then | |
4089 | return | |
4090 | end | |
4091 | end | |
4092 | if insta == true then | |
4093 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
4094 | end | |
4095 | local c = Create("ObjectValue"){ | |
4096 | Name = "creator", | |
4097 | Value = game:service("Players").LocalPlayer, | |
4098 | Parent = h, | |
4099 | } | |
4100 | game:GetService("Debris"):AddItem(c, .5) | |
4101 | if HitSound ~= nil and HitPitch ~= nil then | |
4102 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
4103 | end | |
4104 | local Damage = math.random(minim, maxim) | |
4105 | local blocked = false | |
4106 | local block = hit.Parent:findFirstChild("Block") | |
4107 | if block ~= nil then | |
4108 | if block.className == "IntValue" then | |
4109 | if block.Value > 0 then | |
4110 | blocked = true | |
4111 | block.Value = block.Value - 1 | |
4112 | print(block.Value) | |
4113 | end | |
4114 | end | |
4115 | end | |
4116 | if blocked == false then | |
4117 | h.Health = h.Health - Damage | |
4118 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
4119 | else | |
4120 | h.Health = h.Health - (Damage / 2) | |
4121 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
4122 | end | |
4123 | if Type == "Knockdown" then | |
4124 | local hum = hit.Parent.Humanoid | |
4125 | hum.PlatformStand = true | |
4126 | coroutine.resume(coroutine.create(function(HHumanoid) | |
4127 | swait(1) | |
4128 | HHumanoid.PlatformStand = false | |
4129 | end), hum) | |
4130 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
4131 | local bodvol = Create("BodyVelocity"){ | |
4132 | velocity = angle * knockback, | |
4133 | P = 5000, | |
4134 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
4135 | Parent = hit, | |
4136 | } | |
4137 | local rl = Create("BodyAngularVelocity"){ | |
4138 | P = 3000, | |
4139 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
4140 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
4141 | Parent = hit, | |
4142 | } | |
4143 | game:GetService("Debris"):AddItem(bodvol, .5) | |
4144 | game:GetService("Debris"):AddItem(rl, .5) | |
4145 | elseif Type == "Normal" then | |
4146 | local vp = Create("BodyVelocity"){ | |
4147 | P = 500, | |
4148 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
4149 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
4150 | } | |
4151 | if knockback > 0 then | |
4152 | vp.Parent = hit.Parent.Torso | |
4153 | end | |
4154 | game:GetService("Debris"):AddItem(vp, .5) | |
4155 | elseif Type == "Up" then | |
4156 | local bodyVelocity = Create("BodyVelocity"){ | |
4157 | velocity = Vector3.new(0, 20, 0), | |
4158 | P = 5000, | |
4159 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
4160 | Parent = hit, | |
4161 | } | |
4162 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
4163 | elseif Type == "DarkUp" then | |
4164 | coroutine.resume(coroutine.create(function() | |
4165 | for i = 0, 1, 0.1 do | |
4166 | swait() | |
4167 | Effects.Block.Create(BrickColor.new("Royal purple"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
4168 | end | |
4169 | end)) | |
4170 | local bodyVelocity = Create("BodyVelocity"){ | |
4171 | velocity = Vector3.new(0, 20, 0), | |
4172 | P = 5000, | |
4173 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
4174 | Parent = hit, | |
4175 | } | |
4176 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
4177 | elseif Type == "Snare" then | |
4178 | local bp = Create("BodyPosition"){ | |
4179 | P = 2000, | |
4180 | D = 100, | |
4181 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
4182 | position = hit.Parent.Torso.Position, | |
4183 | Parent = hit.Parent.Torso, | |
4184 | } | |
4185 | game:GetService("Debris"):AddItem(bp, 1) | |
4186 | elseif Type == "Freeze" then | |
4187 | local BodPos = Create("BodyPosition"){ | |
4188 | P = 50000, | |
4189 | D = 1000, | |
4190 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
4191 | position = hit.Parent.Torso.Position, | |
4192 | Parent = hit.Parent.Torso, | |
4193 | } | |
4194 | local BodGy = Create("BodyGyro") { | |
4195 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
4196 | P = 20e+003, | |
4197 | Parent = hit.Parent.Torso, | |
4198 | cframe = hit.Parent.Torso.CFrame, | |
4199 | } | |
4200 | hit.Parent.Torso.Anchored = true | |
4201 | coroutine.resume(coroutine.create(function(Part) | |
4202 | swait(1.5) | |
4203 | Part.Anchored = false | |
4204 | end), hit.Parent.Torso) | |
4205 | game:GetService("Debris"):AddItem(BodPos, 3) | |
4206 | game:GetService("Debris"):AddItem(BodGy, 3) | |
4207 | end | |
4208 | local debounce = Create("BoolValue"){ | |
4209 | Name = "DebounceHit", | |
4210 | Parent = hit.Parent, | |
4211 | Value = true, | |
4212 | } | |
4213 | game:GetService("Debris"):AddItem(debounce, Delay) | |
4214 | c = Create("ObjectValue"){ | |
4215 | Name = "creator", | |
4216 | Value = Player, | |
4217 | Parent = h, | |
4218 | } | |
4219 | game:GetService("Debris"):AddItem(c, .5) | |
4220 | end | |
4221 | end | |
4222 | ||
4223 | function damage(range,mindam,maxdam,pos) | |
4224 | for i,v in ipairs(workspace:GetChildren()) do | |
4225 | if v:IsA("Model") then | |
4226 | if v.Name ~= Player.Name then | |
4227 | if v:FindFirstChildOfClass("Humanoid") then | |
4228 | if v:FindFirstChild("Head") then | |
4229 | if (v:FindFirstChild("Head").Position - pos).magnitude < 10 then | |
4230 | if v:FindFirstChildOfClass("Humanoid").Health > 5000 then v:FindFirstChildOfClass("Humanoid").Health = 0 else | |
4231 | v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(mindam,maxdam) | |
4232 | end | |
4233 | end | |
4234 | end | |
4235 | end | |
4236 | end | |
4237 | end | |
4238 | end | |
4239 | end | |
4240 | ------------------------------------------------------- | |
4241 | --End Damage Function-- | |
4242 | ------------------------------------------------------- | |
4243 | ||
4244 | ------------------------------------------------------- | |
4245 | --Start Animations-- | |
4246 | ------------------------------------------------------- | |
4247 | print("By Makhail07") | |
4248 | while true do | |
4249 | swait() | |
4250 | sine = sine + change | |
4251 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
4252 | local velderp = root.Velocity.y | |
4253 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
4254 | if equipped == true or equipped == false then | |
4255 | if attack == false then | |
4256 | idle = idle + 1 | |
4257 | else | |
4258 | idle = 0 | |
4259 | end | |
4260 | if 1 < root.Velocity.y and hitfloor == nil then | |
4261 | Anim = "Jump" | |
4262 | if attack == false then | |
4263 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
4264 | 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.3) | |
4265 | 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.15) | |
4266 | 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.15) | |
4267 | 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.1) | |
4268 | 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.1) | |
4269 | end | |
4270 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
4271 | Anim = "Fall" | |
4272 | if attack == false then | |
4273 | 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.15) | |
4274 | 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.3) | |
4275 | 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.15) | |
4276 | 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.15) | |
4277 | 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.1) | |
4278 | 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.1) | |
4279 | end | |
4280 | elseif torvel < 1 and hitfloor ~= nil then | |
4281 | Anim = "Idle" | |
4282 | change = 1 | |
4283 | if attack == false then | |
4284 | ||
4285 | if animation.Value == 1 then | |
4286 | ||
4287 | ||
4288 | 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) | |
4289 | 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) | |
4290 | 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) | |
4291 | 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) | |
4292 | 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) | |
4293 | 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) | |
4294 | ||
4295 | ||
4296 | else | |
4297 | ||
4298 | if animation.Value == 2 then | |
4299 | ||
4300 | ||
4301 | 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) | |
4302 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3) | |
4303 | 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) | |
4304 | 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) | |
4305 | 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) | |
4306 | 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) | |
4307 | ||
4308 | ||
4309 | else | |
4310 | ||
4311 | ||
4312 | if animation.Value == 3 then | |
4313 | ||
4314 | ||
4315 | ||
4316 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) | |
4317 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
4318 | 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(-10)), 0.15) | |
4319 | 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(6)), 0.15) | |
4320 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) | |
4321 | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
4322 | ||
4323 | ||
4324 | else | |
4325 | ||
4326 | ||
4327 | if animation.Value == 4 then | |
4328 | ||
4329 | ||
4330 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 10)), Rad(1 + -43 * Sin(sine / 10)), Rad(0)), 0.15) | |
4331 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(1 + -43 * Sin(sine / 8))), 0.3) | |
4332 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.8 * Cos(sine / 10), 0.025 * Cos(sine / 10)) * RHCF * angles(Rad(-9.5), Rad(-20), Rad(0)), 0.15) | |
4333 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 + 0.8 * Cos(sine / 10), 0.025 * Cos(sine / 10)) * LHCF * angles(Rad(-6.5), Rad(20), Rad(0)), 0.15) | |
4334 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 10)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(50), Rad(23 + 150 * Sin(sine / 8))), 0.1) | |
4335 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 10)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-50), Rad(-23 + 150 * Sin(sine / 8))), 0.1) | |
4336 | ||
4337 | ||
4338 | else | |
4339 | ||
4340 | ||
4341 | ||
4342 | if animation.Value == 10 then | |
4343 | ||
4344 | ||
4345 | ||
4346 | 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.15) | |
4347 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 12.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.3) | |
4348 | 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.15) | |
4349 | 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.15) | |
4350 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1) | |
4351 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(-43 - 4.5 * Sin(sine / 12))), 0.1) | |
4352 | ||
4353 | ||
4354 | ||
4355 | ||
4356 | end | |
4357 | ||
4358 | ||
4359 | end | |
4360 | ||
4361 | end | |
4362 | end | |
4363 | ||
4364 | ||
4365 | end | |
4366 | ||
4367 | end | |
4368 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
4369 | Anim = "Walk" | |
4370 | change = 1 | |
4371 | if attack == false then | |
4372 | hum.WalkSpeed = 25 | |
4373 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15) | |
4374 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
4375 | RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * 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) | |
4376 | LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * 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) | |
4377 | 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(5 - 2.5 * Sin(sine / 20))), 0.1) | |
4378 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
4379 | end | |
4380 | elseif torvel >= 25 and hitfloor ~= nil then | |
4381 | Anim = "Sprint" | |
4382 | change = 1.35 | |
4383 | if attack == false then | |
4384 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
4385 | 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.3) | |
4386 | 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) | |
4387 | 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) | |
4388 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1) | |
4389 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
4390 | end | |
4391 | end | |
4392 | end | |
4393 | if 0 < #Effects then | |
4394 | for e = 1, #Effects do | |
4395 | if Effects[e] ~= nil then | |
4396 | local Thing = Effects[e] | |
4397 | if Thing ~= nil then | |
4398 | local Part = Thing[1] | |
4399 | local Mode = Thing[2] | |
4400 | local Delay = Thing[3] | |
4401 | local IncX = Thing[4] | |
4402 | local IncY = Thing[5] | |
4403 | local IncZ = Thing[6] | |
4404 | if 1 >= Thing[1].Transparency then | |
4405 | if Thing[2] == "Block1" then | |
4406 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
4407 | local Mesh = Thing[1].Mesh | |
4408 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
4409 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
4410 | elseif Thing[2] == "Block2" then | |
4411 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
4412 | local Mesh = Thing[7] | |
4413 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
4414 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
4415 | elseif Thing[2] == "Block3" then | |
4416 | 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) | |
4417 | local Mesh = Thing[7] | |
4418 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
4419 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
4420 | elseif Thing[2] == "Cylinder" then | |
4421 | local Mesh = Thing[1].Mesh | |
4422 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
4423 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
4424 | elseif Thing[2] == "Blood" then | |
4425 | local Mesh = Thing[7] | |
4426 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
4427 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
4428 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
4429 | elseif Thing[2] == "Elec" then | |
4430 | local Mesh = Thing[1].Mesh | |
4431 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
4432 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
4433 | elseif Thing[2] == "Disappear" then | |
4434 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
4435 | elseif Thing[2] == "Shatter" then | |
4436 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
4437 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
4438 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
4439 | Thing[6] = Thing[6] + Thing[5] | |
4440 | end | |
4441 | else | |
4442 | Part.Parent = nil | |
4443 | table.remove(Effects, e) | |
4444 | end | |
4445 | end | |
4446 | end | |
4447 | end | |
4448 | end | |
4449 | end | |
4450 | ------------------------------------------------------- | |
4451 | --End Animations And Script-- | |
4452 | ------------------------------------------------------ |