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