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