SHOW:
|
|
- or go back to the newest paste.
1 | ---------------------------------------------------------------- | |
2 | --------------------------Noob Script-------------------------- | |
3 | ---------------------------------------------------------------- | |
4 | print([[ | |
5 | - | --made by henriquegame2015 |
5 | + | --made by colemaster10000 |
6 | - | --FE code by henry (henriquegame2015) |
6 | + | --FE code by jeff (JeffDaBoii) |
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=869166432" | |
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=130766856" | |
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) | |
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 | MeshT = "rbxassetid://1028713" | |
1450 | TextureM = "rbxassetid://127678851" | |
1451 | ||
1452 | ||
1453 | ||
1454 | ||
1455 | local Load = Instance.new("Animation", char) | |
1456 | ||
1457 | ||
1458 | local Reaper = AddInstance("Part",{ | |
1459 | Parent = hed, | |
1460 | CFrame = hed.CFrame, | |
1461 | formFactor = "Symmetric", | |
1462 | Size = Vector3.new(1, 1, 1), | |
1463 | CanCollide = false, | |
1464 | TopSurface = "Smooth", | |
1465 | BottomSurface = "Smooth", | |
1466 | Locked = true, | |
1467 | }) | |
1468 | local Weld = AddInstance("Weld",{ | |
1469 | Parent = Reaper, | |
1470 | Part0 = hed, | |
1471 | C0 = CFrame.new(0, 0.4, 0)*CFrame.Angles(0, 0, 0), | |
1472 | Part1 = Reaper, | |
1473 | }) | |
1474 | local Mesh = AddInstance("SpecialMesh",{ | |
1475 | Parent = Reaper, | |
1476 | MeshId = MeshT, | |
1477 | TextureId = TextureM, | |
1478 | Offset = Vector3.new(0, 0.3, 0), | |
1479 | Scale = Vector3.new(1.05,1.05,1.05), | |
1480 | VertexColor = Vector3.new(0.3, 0, 0.3), | |
1481 | }) | |
1482 | ||
1483 | ||
1484 | ||
1485 | ||
1486 | ||
1487 | ------------------------------------------------------- | |
1488 | wait(1) | |
1489 | plr = game.Players.LocalPlayer | |
1490 | char = plr.Character | |
1491 | mouse = plr:GetMouse() | |
1492 | whitecolor = Color3.new(255,255,1) | |
1493 | epicmode = false | |
1494 | normal = true | |
1495 | for i,v in pairs(char:GetChildren()) do | |
1496 | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then | |
1497 | v:Destroy() | |
1498 | end | |
1499 | end | |
1500 | local shirt = Instance.new("Shirt",char) | |
1501 | shirt.ShirtTemplate = "rbxassetid://463141967" | |
1502 | local pants = Instance.new("Pants",char) | |
1503 | pants.PantsTemplate = "rbxassetid://175974404" | |
1504 | local bdycolors = char["Body Colors"] | |
1505 | bdycolors.HeadColor3 = whitecolor | |
1506 | bdycolors.LeftArmColor3 = whitecolor | |
1507 | bdycolors.LeftLegColor3 = whitecolor | |
1508 | bdycolors.RightArmColor3 = whitecolor | |
1509 | bdycolors.RightLegColor3 = whitecolor | |
1510 | bdycolors.TorsoColor3 = whitecolor | |
1511 | for i,v in pairs(char:GetChildren()) do | |
1512 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
1513 | v:Destroy() | |
1514 | end | |
1515 | end | |
1516 | ||
1517 | ||
1518 | ||
1519 | local BC = Character["Body Colors"] | |
1520 | BC.HeadColor = BrickColor.new("New Yeller") | |
1521 | BC.LeftArmColor = BrickColor.new("New Yeller") | |
1522 | BC.LeftLegColor = BrickColor.new("New Yeller") | |
1523 | BC.RightArmColor = BrickColor.new("New Yeller") | |
1524 | BC.RightLegColor = BrickColor.new("New Yeller") | |
1525 | BC.TorsoColor = BrickColor.new("New Yeller") | |
1526 | ||
1527 | ||
1528 | ||
1529 | local righteyebrickcolor = "Institutional white" | |
1530 | local reye = Instance.new("Part", char) | |
1531 | reye.CanCollide = false | |
1532 | reye.BrickColor = BrickColor.new(righteyebrickcolor) | |
1533 | reye.Material = "Neon" | |
1534 | reye.Size = Vector3.new(.25,.35,.15) | |
1535 | weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0)) | |
1536 | m1 = Instance.new("SpecialMesh", reye) | |
1537 | m1.MeshType = "Sphere" | |
1538 | m1.Scale = Vector3.new(0.9,0.9,0.9) | |
1539 | reye.Locked = true | |
1540 | reye.Name = "re" | |
1541 | ||
1542 | ------------------------------------------------------- | |
1543 | --Start Attacks N Stuff-- | |
1544 | ------------------------------------------------------- | |
1545 | local naeeym2 = Instance.new("BillboardGui",char) | |
1546 | naeeym2.AlwaysOnTop = true | |
1547 | naeeym2.Size = UDim2.new(5,35,2,35) | |
1548 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1549 | naeeym2.Adornee = hed | |
1550 | naeeym2.Name = "Name" | |
1551 | ||
1552 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1553 | tecks2.BackgroundTransparency = 1 | |
1554 | tecks2.TextScaled = true | |
1555 | tecks2.BorderSizePixel = 0 | |
1556 | tecks2.Text = "Script By Henriquegame2015 (Rare Script)(Leaked)" | |
1557 | tecks2.Font = "Fantasy" | |
1558 | tecks2.TextSize = 30 | |
1559 | tecks2.TextStrokeTransparency = 0 | |
1560 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1561 | tecks2.TextStrokeColor3 = BrickColor.new('New Yeller').Color | |
1562 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1563 | tecks2.Parent = naeeym2 | |
1564 | textfag = tecks2 | |
1565 | tecks2.Text = "Load....." | |
1566 | wait(2) | |
1567 | tecks2.Text = "Script Leaked" | |
1568 | wait(1) | |
1569 | tecks2.Text = "Noob Switcher" | |
1570 | BTAUNT:Play() | |
1571 | coroutine.resume(coroutine.create(function() | |
1572 | while textfag ~= nil do | |
1573 | swait() | |
1574 | textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
1575 | textfag.Rotation = math.random(-3,3) | |
1576 | end | |
1577 | end)) | |
1578 | ||
1579 | ||
1580 | char.Humanoid.JumpPower = 115 | |
1581 | char.Humanoid.WalkSpeed = 30 | |
1582 | ||
1583 | ||
1584 | --Switcher------------------------------------- | |
1585 | ||
1586 | ||
1587 | local effectTorso = Instance.new("Sparkles", char.Torso) | |
1588 | effectTorso.SparkleColor = Color3.new(0, 85, 255) | |
1589 | effectTorso.Enabled = false | |
1590 | ||
1591 | local animation = Instance.new("NumberValue", char) | |
1592 | animation.Value = 1 | |
1593 | animation.Name = "Animation" | |
1594 | ||
1595 | ||
1596 | ||
1597 | ||
1598 | --------------------------- | |
1599 | ||
1600 | ||
1601 | function Noob2 () | |
1602 | ||
1603 | wait(0.1) | |
1604 | shirt.ShirtTemplate = "rbxassetid://583914109" | |
1605 | wait(0.1) | |
1606 | pants.PantsTemplate = "rbxassetid://7825739" | |
1607 | tecks2.Text = "Anime" | |
1608 | ||
1609 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1610 | tecks2.TextStrokeColor3 = BrickColor.new('Hot pink').Color | |
1611 | maincolor = BrickColor.new("Hot pink") | |
1612 | ||
1613 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1131624146" | |
1614 | ||
1615 | BC.HeadColor = BrickColor.new("New Yeller") | |
1616 | BC.LeftArmColor = BrickColor.new("New Yeller") | |
1617 | BC.LeftLegColor = BrickColor.new("New Yeller") | |
1618 | BC.RightArmColor = BrickColor.new("New Yeller") | |
1619 | BC.RightLegColor = BrickColor.new("New Yeller") | |
1620 | BC.TorsoColor = BrickColor.new("New Yeller") | |
1621 | char.Torso.Material = ("Plastic") | |
1622 | ||
1623 | effectTorso.Enabled = false | |
1624 | ||
1625 | animation.Value = 3 | |
1626 | ||
1627 | ||
1628 | hed.face.Texture = "rbxassetid://10521899" | |
1629 | ||
1630 | ||
1631 | end | |
1632 | ||
1633 | function Noob3 () | |
1634 | ||
1635 | wait(0.1) | |
1636 | shirt.ShirtTemplate = "rbxassetid://259122117" | |
1637 | wait(0.1) | |
1638 | pants.PantsTemplate = "rbxassetid://227915108" | |
1639 | tecks2.Text = "Murder" | |
1640 | ||
1641 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1642 | tecks2.TextStrokeColor3 = BrickColor.new('Really red').Color | |
1643 | maincolor = BrickColor.new("Really red") | |
1644 | ||
1645 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1564523997" | |
1646 | ||
1647 | BC.HeadColor = BrickColor.new("New Yeller") | |
1648 | BC.LeftArmColor = BrickColor.new("New Yeller") | |
1649 | BC.LeftLegColor = BrickColor.new("New Yeller") | |
1650 | BC.RightArmColor = BrickColor.new("New Yeller") | |
1651 | BC.RightLegColor = BrickColor.new("New Yeller") | |
1652 | BC.TorsoColor = BrickColor.new("New Yeller") | |
1653 | ||
1654 | char.Torso.Material = ("Plastic") | |
1655 | ||
1656 | effectTorso.Enabled = false | |
1657 | ||
1658 | animation.Value = 1 | |
1659 | ||
1660 | hed.face.Texture = "rbxassetid://10521899" | |
1661 | ||
1662 | ||
1663 | end | |
1664 | ||
1665 | function Noob4 () | |
1666 | ||
1667 | wait(0.1) | |
1668 | shirt.ShirtTemplate = "rbxassetid://463141967" | |
1669 | wait(0.1) | |
1670 | pants.PantsTemplate = "rbxassetid://175974404" | |
1671 | tecks2.Text = "Noob Switcher" | |
1672 | ||
1673 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1674 | tecks2.TextStrokeColor3 = BrickColor.new('New Yeller').Color | |
1675 | maincolor = BrickColor.new("New Yeller") | |
1676 | ||
1677 | ||
1678 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=869166432" | |
1679 | ||
1680 | BC.HeadColor = BrickColor.new("New Yeller") | |
1681 | BC.LeftArmColor = BrickColor.new("New Yeller") | |
1682 | BC.LeftLegColor = BrickColor.new("New Yeller") | |
1683 | BC.RightArmColor = BrickColor.new("New Yeller") | |
1684 | BC.RightLegColor = BrickColor.new("New Yeller") | |
1685 | BC.TorsoColor = BrickColor.new("New Yeller") | |
1686 | char.Torso.Material = ("Plastic") | |
1687 | effectTorso.Enabled = false | |
1688 | ||
1689 | animation.Value = 1 | |
1690 | ||
1691 | hed.face.Texture = "rbxassetid://10521899" | |
1692 | ||
1693 | ||
1694 | end | |
1695 | ||
1696 | ||
1697 | function Noob5 () | |
1698 | ||
1699 | wait(0.1) | |
1700 | shirt.ShirtTemplate = "rbxassetid://1533635803" | |
1701 | wait(0.1) | |
1702 | pants.PantsTemplate = "rbxassetid://1460022985" | |
1703 | tecks2.Text = "Pandora" | |
1704 | ||
1705 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1706 | tecks2.TextStrokeColor3 = BrickColor.new('White').Color | |
1707 | maincolor = BrickColor.new("White") | |
1708 | ||
1709 | ||
1710 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1382488262" | |
1711 | ||
1712 | BC.HeadColor = BrickColor.new("New Yeller") | |
1713 | BC.LeftArmColor = BrickColor.new("New Yeller") | |
1714 | BC.LeftLegColor = BrickColor.new("Black") | |
1715 | BC.RightArmColor = BrickColor.new("New Yeller") | |
1716 | BC.RightLegColor = BrickColor.new("Black") | |
1717 | BC.TorsoColor = BrickColor.new("New Yeller") | |
1718 | char.Torso.Material = ("Plastic") | |
1719 | effectTorso.Enabled = false | |
1720 | ||
1721 | animation.Value = 1 | |
1722 | ||
1723 | ||
1724 | hed.face.Texture = "rbxassetid://10521899" | |
1725 | ||
1726 | end | |
1727 | ||
1728 | ||
1729 | ||
1730 | function Noob6 () | |
1731 | ||
1732 | wait(0.1) | |
1733 | shirt.ShirtTemplate = "rbxassetid://338740550" | |
1734 | wait(0.1) | |
1735 | pants.PantsTemplate = "rbxassetid://338750779" | |
1736 | tecks2.Text = "Injustice" | |
1737 | ||
1738 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1739 | tecks2.TextStrokeColor3 = BrickColor.new('Neon orange').Color | |
1740 | maincolor = BrickColor.new("Really black") | |
1741 | ||
1742 | ||
1743 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=929330882" | |
1744 | ||
1745 | BC.HeadColor = BrickColor.new("White") | |
1746 | BC.LeftArmColor = BrickColor.new("White") | |
1747 | BC.LeftLegColor = BrickColor.new("White") | |
1748 | BC.RightArmColor = BrickColor.new("White") | |
1749 | BC.RightLegColor = BrickColor.new("White") | |
1750 | BC.TorsoColor = BrickColor.new("White") | |
1751 | char.Torso.Material = ("Plastic") | |
1752 | ||
1753 | effectTorso.Enabled = false | |
1754 | ||
1755 | animation.Value = 1 | |
1756 | ||
1757 | ||
1758 | hed.face.Texture = "rbxassetid://10521899" | |
1759 | ||
1760 | ||
1761 | end | |
1762 | ||
1763 | ||
1764 | function Noob7 () | |
1765 | ||
1766 | wait(0.1) | |
1767 | shirt.ShirtTemplate = "rbxassetid://45695443" | |
1768 | wait(0.1) | |
1769 | pants.PantsTemplate = "rbxassetid://45696190" | |
1770 | tecks2.Text = "God of Time" | |
1771 | ||
1772 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1773 | tecks2.TextStrokeColor3 = BrickColor.new('Deep orange').Color | |
1774 | maincolor = BrickColor.new("Deep orange") | |
1775 | ||
1776 | ||
1777 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=492070484" | |
1778 | ||
1779 | BC.HeadColor = BrickColor.new("Smoky grey") | |
1780 | BC.LeftArmColor = BrickColor.new("Smoky grey") | |
1781 | BC.LeftLegColor = BrickColor.new("Black") | |
1782 | BC.RightArmColor = BrickColor.new("Smoky grey") | |
1783 | BC.RightLegColor = BrickColor.new("Black") | |
1784 | BC.TorsoColor = BrickColor.new("Smoky grey") | |
1785 | ||
1786 | char.Torso.Material = ("Plastic") | |
1787 | ||
1788 | ||
1789 | effectTorso.Enabled = false | |
1790 | ||
1791 | animation.Value = 1 | |
1792 | ||
1793 | hed.face.Texture = "rbxassetid://10521899" | |
1794 | ||
1795 | ||
1796 | ||
1797 | end | |
1798 | ||
1799 | ||
1800 | ||
1801 | function Noob8 () | |
1802 | ||
1803 | wait(0.1) | |
1804 | ||
1805 | tecks2.Text = "★ Rockefeller Street ★" | |
1806 | ||
1807 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1808 | tecks2.TextStrokeColor3 = BrickColor.new('Really blue').Color | |
1809 | maincolor = BrickColor.new("Really blue") | |
1810 | ||
1811 | ||
1812 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=255288110" | |
1813 | ||
1814 | BC.HeadColor = BrickColor.new("Bright blue") | |
1815 | BC.LeftArmColor = BrickColor.new("Light blue") | |
1816 | BC.LeftLegColor = BrickColor.new("Light blue") | |
1817 | BC.RightArmColor = BrickColor.new("Bright blue") | |
1818 | BC.RightLegColor = BrickColor.new("Bright blue") | |
1819 | BC.TorsoColor = BrickColor.new("Really blue") | |
1820 | ||
1821 | effectTorso.Enabled = true | |
1822 | ||
1823 | ||
1824 | shirt.ShirtTemplate = "rbxassetid://0" | |
1825 | wait(0.1) | |
1826 | pants.PantsTemplate = "rbxassetid://0" | |
1827 | ||
1828 | animation.Value = 2 | |
1829 | ||
1830 | hed.face.Texture = "rbxassetid://10521899" | |
1831 | ||
1832 | ||
1833 | ||
1834 | ||
1835 | end | |
1836 | ||
1837 | ||
1838 | function Noob9 () | |
1839 | ||
1840 | wait(0.1) | |
1841 | ||
1842 | tecks2.Text = "J҉ E҉ V҉ I҉ L҉" | |
1843 | ||
1844 | tecks2.TextColor3 = BrickColor.new('Black').Color | |
1845 | tecks2.TextStrokeColor3 = BrickColor.new('Royal purple').Color | |
1846 | maincolor = BrickColor.new("Royal purple") | |
1847 | ||
1848 | ||
1849 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=2533880583" | |
1850 | ||
1851 | BC.HeadColor = BrickColor.new("Lilac") | |
1852 | BC.LeftArmColor = BrickColor.new("Lilac") | |
1853 | BC.LeftLegColor = BrickColor.new("Lilac") | |
1854 | BC.RightArmColor = BrickColor.new("Lilac") | |
1855 | BC.RightLegColor = BrickColor.new("Lilac") | |
1856 | BC.TorsoColor = BrickColor.new("Lilac") | |
1857 | ||
1858 | effectTorso.Enabled = false | |
1859 | ||
1860 | ||
1861 | shirt.ShirtTemplate = "rbxassetid://2544612637" | |
1862 | wait(0.1) | |
1863 | pants.PantsTemplate = "rbxassetid://2544611861" | |
1864 | ||
1865 | animation.Value = 4 | |
1866 | ||
1867 | hed.face.Texture = "rbxassetid://241553801" | |
1868 | ||
1869 | ||
1870 | ||
1871 | ||
1872 | ||
1873 | ||
1874 | ||
1875 | ||
1876 | ||
1877 | end | |
1878 | ||
1879 | ||
1880 | -------------------------------------------- | |
1881 | ||
1882 | ||
1883 | ||
1884 | ||
1885 | ||
1886 | ||
1887 | ||
1888 | ||
1889 | ||
1890 | ||
1891 | -------------------------------------------------- | |
1892 | ||
1893 | function die() | |
1894 | attack = true | |
1895 | M2.MeshId = "http://www.roblox.com/asset/?id=12592754" | |
1896 | M2.TextureId = "http://www.roblox.com/asset/?id=12592745" | |
1897 | for i = 0, 2.6, 0.1 do | |
1898 | swait() | |
1899 | 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) | |
1900 | 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) | |
1901 | 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) | |
1902 | 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) | |
1903 | 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) | |
1904 | end | |
1905 | Cso("357417055", tors, 10, 1) | |
1906 | CameraEnshaking(2, 15) | |
1907 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1908 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1909 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1910 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do | |
1911 | if v:FindFirstChild("Head") then | |
1912 | Eviscerate(v) | |
1913 | end | |
1914 | end | |
1915 | for i = 0, 3, 0.1 do | |
1916 | swait() | |
1917 | 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) | |
1918 | 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) | |
1919 | 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) | |
1920 | 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) | |
1921 | 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) | |
1922 | 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) | |
1923 | end | |
1924 | M2.MeshId = "http://www.roblox.com/asset/?id=0" | |
1925 | M2.TextureId = "http://www.roblox.com/asset/?id=0" | |
1926 | attack = false | |
1927 | end | |
1928 | ||
1929 | ||
1930 | function dance() | |
1931 | attack = true | |
1932 | hum.WalkSpeed = 0 | |
1933 | CFuncs.Sound.Create("rbxassetid://130791919", head, 100, 1) | |
1934 | for i = 0, 2, 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 * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
1938 | 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) | |
1939 | 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) | |
1940 | 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) | |
1941 | 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) | |
1942 | end | |
1943 | for i = 0, 6, 0.1 do | |
1944 | swait() | |
1945 | 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) | |
1946 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 2) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.15) | |
1947 | 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) | |
1948 | 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) | |
1949 | 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) | |
1950 | 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) | |
1951 | end | |
1952 | for i = 0, 2, 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 * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
1956 | 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) | |
1957 | 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) | |
1958 | 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) | |
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 | attack = false | |
1962 | hum.WalkSpeed = 20 | |
1963 | end | |
1964 | ||
1965 | function aaa() | |
1966 | attack = true | |
1967 | hum.WalkSpeed = 0 | |
1968 | for i = 0,20, 0.1 do | |
1969 | swait() | |
1970 | 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) | |
1971 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
1972 | 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) | |
1973 | 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) | |
1974 | 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) | |
1975 | 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) | |
1976 | end | |
1977 | hum.WalkSpeed = 16 | |
1978 | attack = false | |
1979 | end | |
1980 | ||
1981 | function finalChaos() | |
1982 | attack = true | |
1983 | spawn(function() | |
1984 | local p = Instance.new("Part",char) | |
1985 | p.Anchored = true | |
1986 | p.CanCollide = false | |
1987 | p.CFrame = CFrame.new(mouse.Hit.p+Vector3.new(0,100,0)) | |
1988 | local m = Instance.new("SpecialMesh",p) | |
1989 | m.MeshId = "https://roblox.com/asset/?id=28140935" | |
1990 | m.Scale = Vector3.new(2,2,2) | |
1991 | for i=1,30 do | |
1992 | p.CFrame = p.CFrame-Vector3.new(0,3.3333,0) | |
1993 | p.CFrame = p.CFrame * CFrame.Angles(0.5,0,0) | |
1994 | wait() | |
1995 | end | |
1996 | local beam = Instance.new("Part",char) | |
1997 | beam.Anchored = true | |
1998 | beam.CanCollide = false | |
1999 | beam.BrickColor = BrickColor.new("White") | |
2000 | beam.Material = Enum.Material.Neon | |
2001 | beam.Size = Vector3.new(1,1,1) | |
2002 | beam.Position = p.Position+Vector3.new(0,1000,0) | |
2003 | beam.CFrame = beam.CFrame * CFrame.Angles(0,0,89.5354) | |
2004 | local m = Instance.new("SpecialMesh",beam) | |
2005 | m.MeshType = "Cylinder" | |
2006 | m.Scale = Vector3.new(2000,15,15) | |
2007 | damage(6,20,35,p.Position) | |
2008 | p.Transparency = 1 | |
2009 | CFuncs.Sound.Create("rbxassetid://440145223", p, 10, 1) | |
2010 | for i=1,10 do | |
2011 | m.Scale = m.Scale-Vector3.new(0,1,1) | |
2012 | beam.Transparency = i / 10 | |
2013 | wait() | |
2014 | end | |
2015 | p:Destroy() | |
2016 | end) | |
2017 | attack = false | |
2018 | end | |
2019 | ||
2020 | function beam() | |
2021 | attack = true | |
2022 | hum.WalkSpeed = 0 | |
2023 | local Ring1 = Instance.new("Part", char) | |
2024 | Ring1.Anchored = true | |
2025 | Ring1.BrickColor = maincolor | |
2026 | Ring1.CanCollide = false | |
2027 | Ring1.FormFactor = 3 | |
2028 | Ring1.Name = "Ring" | |
2029 | Ring1.Material = "Neon" | |
2030 | Ring1.Size = Vector3.new(1, 0.05, 1) | |
2031 | Ring1.Transparency = 1 | |
2032 | Ring1.TopSurface = 0 | |
2033 | Ring1.BottomSurface = 0 | |
2034 | local Ring1Mesh = Instance.new("SpecialMesh", Ring1) | |
2035 | Ring1Mesh.MeshType = "Brick" | |
2036 | Ring1Mesh.Name = "SizeMesh" | |
2037 | Ring1Mesh.Scale = Vector3.new(0, 1, 0) | |
2038 | local InnerRing1 = Ring1:Clone() | |
2039 | InnerRing1.Parent = char | |
2040 | InnerRing1.Transparency = 0 | |
2041 | InnerRing1.BrickColor = BrickColor.new("New Yeller") | |
2042 | InnerRing1.Size = Vector3.new(1, 1, 1) | |
2043 | local InnerRing1Mesh = InnerRing1.SizeMesh | |
2044 | InnerRing1Mesh.Scale = Vector3.new(0, 0, 0) | |
2045 | InnerRing1Mesh.MeshType = "Sphere" | |
2046 | Ring1:Destroy() | |
2047 | for i = 0, 6, 0.1 do | |
2048 | swait() | |
2049 | --orb.CFrame = Pupil.CFrame | |
2050 | 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") | |
2051 | 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) | |
2052 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2053 | 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) | |
2054 | 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) | |
2055 | 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) | |
2056 | 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) | |
2057 | end | |
2058 | InnerRing1.Transparency = 1 | |
2059 | InnerRing1.CFrame = Head.CFrame + root.CFrame.lookVector * 5 | |
2060 | Cso("2545012765", char, 10, 1) | |
2061 | Cso("2606661976", char, 2.3, 1) | |
2062 | local a = IT("Part", char) | |
2063 | a.Name = "Direction" | |
2064 | a.Anchored = true | |
2065 | a.BrickColor = BrickC("Pastel violet") | |
2066 | a.Material = "SmoothPlastic" | |
2067 | a.Transparency = 0 | |
2068 | a.Shape = "Cylinder" | |
2069 | a.CanCollide = false | |
2070 | local a2 = IT("Part", char) | |
2071 | a2.Name = "Direction" | |
2072 | a2.Anchored = true | |
2073 | a2.BrickColor = maincolor | |
2074 | a2.Color = maincolor.Color | |
2075 | a2.Material = "Neon" | |
2076 | a2.Transparency = 0.7 | |
2077 | a2.Shape = "Cylinder" | |
2078 | a2.CanCollide = false | |
2079 | local ba = IT("Part", char) | |
2080 | ba.Name = "HitDirect" | |
2081 | ba.Anchored = true | |
2082 | ba.BrickColor = maincolor | |
2083 | ba.Material = "Neon" | |
2084 | ba.Transparency = 1 | |
2085 | ba.CanCollide = false | |
2086 | local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) | |
2087 | local ignore = char | |
2088 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
2089 | a.BottomSurface = 10 | |
2090 | a.TopSurface = 10 | |
2091 | a2.BottomSurface = 10 | |
2092 | a2.TopSurface = 10 | |
2093 | local distance = (InnerRing1.CFrame.p - position).magnitude | |
2094 | a.Size = Vector3.new(distance, 1, 1) | |
2095 | a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
2096 | a2.Size = Vector3.new(distance, 1, 1) | |
2097 | a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
2098 | ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) | |
2099 | a.CFrame = a.CFrame * angles(0, Rad(90), 0) | |
2100 | a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) | |
2101 | game:GetService("Debris"):AddItem(a, 20) | |
2102 | game:GetService("Debris"):AddItem(a2, 20) | |
2103 | game:GetService("Debris"):AddItem(ba, 20) | |
2104 | local msh = Instance.new("SpecialMesh", a) | |
2105 | msh.MeshType = "Brick" | |
2106 | msh.Scale = Vector3.new(1, 5, 5) | |
2107 | local msh2 = Instance.new("SpecialMesh", a2) | |
2108 | msh2.MeshType = "Brick" | |
2109 | msh2.Scale = Vector3.new(1, 7, 7) | |
2110 | for i = 0, 10, 0.1 do | |
2111 | swait() | |
2112 | CameraEnshaking(1, 5) | |
2113 | a2.Color = maincolor.Color | |
2114 | root.CFrame = FaceMouse()[1] | |
2115 | InnerRing1.CFrame = Head.CFrame + root.CFrame.lookVector * 4 | |
2116 | ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) | |
2117 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
2118 | distance = (InnerRing1.CFrame.p - position).magnitude | |
2119 | a.Size = Vector3.new(distance, 1, 1) | |
2120 | a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
2121 | a2.Size = Vector3.new(distance, 1, 1) | |
2122 | a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
2123 | ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) | |
2124 | a.CFrame = a.CFrame * angles(0, Rad(90), 0) | |
2125 | a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) | |
2126 | msh.Scale = msh.Scale - Vector3.new(0, 0.05, 0.05) | |
2127 | msh2.Scale = msh2.Scale - Vector3.new(0, 0.03, 0.03) | |
2128 | 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") | |
2129 | for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do | |
2130 | if v:FindFirstChild("Head") then | |
2131 | Eviscerate(v) | |
2132 | end | |
2133 | end | |
2134 | end | |
2135 | a:Destroy() | |
2136 | a2:Destroy() | |
2137 | ba:Destroy() | |
2138 | InnerRing1:Destroy() | |
2139 | attack = false | |
2140 | hum.WalkSpeed = 10 | |
2141 | hum.CameraOffset = Vector3.new(0,0,0) | |
2142 | end | |
2143 | ||
2144 | function Call_Upon_The_Eyes() | |
2145 | attack = true | |
2146 | hum.WalkSpeed = 0 | |
2147 | for i = 0, 6, 0.1 do | |
2148 | swait() | |
2149 | 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) | |
2150 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2151 | 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) | |
2152 | 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) | |
2153 | 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) | |
2154 | 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) | |
2155 | end | |
2156 | Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
2157 | Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
2158 | Magic(1, "Add", mouse.Hit, Vector3.new(100000, 100000, 100000000), 0.5, maincolor, "Sphere") | |
2159 | Magic(1, "Add", mouse.Hit, Vector3.new(10000000, 100000, 10000000), 0.75, maincolor, "Sphere") | |
2160 | CameraEnshaking(4, 25) | |
2161 | for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do | |
2162 | if v:FindFirstChild("Head") then | |
2163 | Eviscerate(v) | |
2164 | end | |
2165 | end | |
2166 | for i = 0, 6, 0.1 do | |
2167 | swait() | |
2168 | 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) | |
2169 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2170 | 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) | |
2171 | 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) | |
2172 | 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) | |
2173 | 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) | |
2174 | end | |
2175 | attack = false | |
2176 | hum.WalkSpeed = 10 | |
2177 | end | |
2178 | ||
2179 | function CHAOS() | |
2180 | attack = true | |
2181 | root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position) | |
2182 | Cso("2545012765", hed, 10, 1) | |
2183 | 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) | |
2184 | ||
2185 | Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04) | |
2186 | Effects.Sphere.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02) | |
2187 | Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01) | |
2188 | ||
2189 | 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) | |
2190 | 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) | |
2191 | 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) | |
2192 | 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) | |
2193 | 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) | |
2194 | 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) | |
2195 | 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) | |
2196 | 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) | |
2197 | 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) | |
2198 | 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) | |
2199 | 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) | |
2200 | 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) | |
2201 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do | |
2202 | if v:FindFirstChild("Head") then | |
2203 | Eviscerate(v) | |
2204 | end | |
2205 | end | |
2206 | attack = false | |
2207 | end | |
2208 | function Chain2() | |
2209 | if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
2210 | local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
2211 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso") | |
2212 | local HEAD = HUM.Parent:FindFirstChild("Head") | |
2213 | local RIGHTARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightLowerArm") | |
2214 | local LEFTARM = HUM.Parent:FindFirstChild("Left Arm") or HUM.Parent:FindFirstChild("LeftLowerArm") | |
2215 | if HEAD and TORSO and HUM.Health > 0 then | |
2216 | local GYRO = IT("BodyGyro",root) | |
2217 | GYRO.D = 275 | |
2218 | GYRO.P = 20000 | |
2219 | GYRO.MaxTorque = Vector3.new(0,40000,0) | |
2220 | attack = true | |
2221 | hum.WalkSpeed = 0 | |
2222 | local hit,pos,hummie; | |
2223 | local Hook2 = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false) | |
2224 | Hook2.Transparency = 1 | |
2225 | local A2 = NewInstance("Attachment",Hook2) | |
2226 | local B2 = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)}) | |
2227 | 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}) | |
2228 | for i = 0, 2.3, .1 do | |
2229 | swait() | |
2230 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
2231 | 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) | |
2232 | 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) | |
2233 | 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) | |
2234 | 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) | |
2235 | 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) | |
2236 | 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) | |
2237 | end | |
2238 | Cso("169105657", ra, 7, 1.2) | |
2239 | for i = 0, 5, .1 do | |
2240 | if(hit)then break end | |
2241 | swait() | |
2242 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
2243 | Hook2.CFrame = TORSO.CFrame | |
2244 | 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) | |
2245 | 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) | |
2246 | 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) | |
2247 | 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) | |
2248 | 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) | |
2249 | 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) | |
2250 | end | |
2251 | Cso("169105657", ra, 5, .8) | |
2252 | Cso("2545211765", char, 7, 1) | |
2253 | GYRO:remove() | |
2254 | TORSO:BreakJoints() | |
2255 | for i = 0, 6, .1 do | |
2256 | swait() | |
2257 | Hook2.CFrame = Hook2.CFrame:lerp(tors.CFrame * CF(0, 0, -1), .2) | |
2258 | if(hit)then hit.CFrame = Hook2.CFrame; hit.Velocity = Vector3.new() | |
2259 | end | |
2260 | if((Hook2.CFrame.p-tors.CFrame.p).magnitude < 2)then | |
2261 | break | |
2262 | end | |
2263 | Chain2.TextureLength = 4 | |
2264 | 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) | |
2265 | 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) | |
2266 | 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) | |
2267 | 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) | |
2268 | 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) | |
2269 | 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) | |
2270 | end | |
2271 | hum.WalkSpeed = 16 | |
2272 | attack = false | |
2273 | Hook2:Destroy() | |
2274 | end | |
2275 | end | |
2276 | end | |
2277 | ||
2278 | function dejzrXD() | |
2279 | attack = true | |
2280 | hum.WalkSpeed = 20 | |
2281 | for i = 0, 1, 0.1 do | |
2282 | swait() | |
2283 | Cso("262562442", char, 10, 1) | |
2284 | hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0) | |
2285 | 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) | |
2286 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2) | |
2287 | 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) | |
2288 | 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) | |
2289 | 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) | |
2290 | 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) | |
2291 | end | |
2292 | Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
2293 | Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
2294 | Magic(1, "Add", mouse.Hit, Vector3.new(1000, 100000, 1000), 0.5, maincolor, "Sphere") | |
2295 | Magic(1, "Add", mouse.Hit, Vector3.new(1000, 1000, 1000), 0.75, maincolor, "Sphere") | |
2296 | CameraEnshaking(4, 5) | |
2297 | for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do | |
2298 | if v:FindFirstChild("Head") then | |
2299 | Eviscerate(v) | |
2300 | end | |
2301 | end | |
2302 | for i = 0, 1, 0.1 do | |
2303 | swait() | |
2304 | hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0) | |
2305 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) | |
2306 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2) | |
2307 | 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) | |
2308 | 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) | |
2309 | 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) | |
2310 | 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) | |
2311 | end | |
2312 | attack = false | |
2313 | Speed = 20 | |
2314 | end | |
2315 | ||
2316 | function specialchaos() | |
2317 | wait(0) | |
2318 | CHOICE = 6 | |
2319 | Cso("130781067", hed, 10, 1) | |
2320 | local killsky = Instance.new('Sky', game:GetService'Lighting') | |
2321 | killsky.SkyboxBk = "rbxassetid://3662994" | |
2322 | killsky.SkyboxDn = "rbxassetid://3662994" | |
2323 | killsky.SkyboxFt = "rbxassetid://3662994" | |
2324 | killsky.SkyboxLf = "rbxassetid://3662994" | |
2325 | killsky.SkyboxRt = "rbxassetid://3662994" | |
2326 | killsky.SkyboxUp = "rbxassetid://3662994" | |
2327 | --- | |
2328 | killsky.StarCount = 0 | |
2329 | killsky.SunAngularSize = 0 | |
2330 | killsky.MoonAngularSize = 0 | |
2331 | killsky.MoonTextureId = "" | |
2332 | killsky.CelestialBodiesShown = false | |
2333 | if HITFLOOR ~= nil then | |
2334 | ATTACK = false | |
2335 | Rooted = false | |
2336 | local RINGSPIN = true | |
2337 | local CONSTRUCTING = true | |
2338 | local RING = CreatePart(3, Effects, "Neon", 0, 10, "Royal purple", "Ring", VT(0,0,0)) | |
2339 | RING.Color = C3(0,0,0) | |
2340 | MakeForm(RING,"Cyl") | |
2341 | RING.CFrame = CF(HITPOS) | |
2342 | coroutine.resume(coroutine.create(function() | |
2343 | repeat | |
2344 | Swait() | |
2345 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
2346 | until CONSTRUCTING == false | |
2347 | repeat | |
2348 | Swait() | |
2349 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
2350 | until RINGSPIN == false | |
2351 | for i = 1, 25 do | |
2352 | Swait() | |
2353 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
2354 | RING.Size = RING.Size - VT(0.15,0,0.15) | |
2355 | --DECAL.Transparency = DECAL.Transparency + 1/25 | |
2356 | RING.Transparency = RING.Transparency + 1/25 | |
2357 | end | |
2358 | RING:remove() | |
2359 | end)) | |
2360 | for i = 1, 15 do | |
2361 | Swait() | |
2362 | RING.Size = RING.Size + VT(0,0,0) | |
2363 | RING.Transparency = RING.Transparency - 1/15 | |
2364 | end | |
2365 | end | |
2366 | hum.WalkSpeed = 20 | |
2367 | attack = false | |
2368 | end | |
2369 | function icando() | |
2370 | attack = true | |
2371 | hum.WalkSpeed = 0 | |
2372 | TEST:Remove() | |
2373 | TEST:Play() | |
2374 | repeat | |
2375 | for i = 0,4,0.1 do | |
2376 | swait() | |
2377 | TEST.Parent = tors | |
2378 | 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) | |
2379 | 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) | |
2380 | 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) | |
2381 | 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) | |
2382 | 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) | |
2383 | 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) | |
2384 | end | |
2385 | until TEST.Playing == false | |
2386 | TEST:Stop() | |
2387 | TEST:Play() | |
2388 | TEST:Remove() | |
2389 | print('I CAN DO ANYTHING') | |
2390 | attack = false | |
2391 | hum.WalkSpeed = 20 | |
2392 | end | |
2393 | ||
2394 | function finalChaos2() | |
2395 | attack = true | |
2396 | M2.MeshId = "http://www.roblox.com/asset/?id=12592754" | |
2397 | M2.TextureId = "rbxassetid://2582829122" | |
2398 | M2.Scale = Vector3.new(5, 5, 5) | |
2399 | Cso("2545018472", hed, 10, 1) | |
2400 | for i = 0, 1, 0.1 do | |
2401 | swait() | |
2402 | hum.CameraOffset = Vector3.new(0, 8, 0) | |
2403 | 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) | |
2404 | 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) | |
2405 | 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) | |
2406 | 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) | |
2407 | 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) | |
2408 | 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) | |
2409 | end | |
2410 | Cso("483458132", char, 10, .7) | |
2411 | Cso("483458132", char, 10, 1) | |
2412 | CameraEnshaking(6, 65) | |
2413 | 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) | |
2414 | 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) | |
2415 | 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) | |
2416 | 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) | |
2417 | Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04) | |
2418 | Effects.Sphere.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02) | |
2419 | Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01) | |
2420 | Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Royal Purple"), "Sphere") | |
2421 | Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Royal Purple"), "Sphere") | |
2422 | Magic(1, "Add", root.CFrame, Vector3.new(1, 100000, 1), 0.5, BrickColor.new("Really white"), "Sphere") | |
2423 | Magic(1, "Add", root.CFrame, Vector3.new(1, 1, 1), 0.75, BrickColor.new("Really white"), "Sphere") | |
2424 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 99999999999.5)) do | |
2425 | if v:FindFirstChild("Head") then | |
2426 | Eviscerate(v) | |
2427 | end | |
2428 | end | |
2429 | for i = 0, 1, 0.1 do | |
2430 | swait() | |
2431 | 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) | |
2432 | 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) | |
2433 | 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) | |
2434 | 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) | |
2435 | 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) | |
2436 | 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) | |
2437 | end | |
2438 | M2.Scale = Vector3.new(1, 1, 1) | |
2439 | M2.MeshId = "http://www.roblox.com/asset/?id=0" | |
2440 | M2.TextureId = "http://www.roblox.com/asset/?id=0" | |
2441 | attack = false | |
2442 | end | |
2443 | ||
2444 | function DRAG_THEM_TO_HELL() | |
2445 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
2446 | local HUM = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
2447 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso") | |
2448 | local HEAD = HUM.Parent:FindFirstChild("Head") | |
2449 | if HEAD and TORSO and HUM.Health > 0 then | |
2450 | local GYRO = IT("BodyGyro",root) | |
2451 | GYRO.D = 275 | |
2452 | GYRO.P = 20000 | |
2453 | GYRO.MaxTorque = Vector3.new(0,40000,0) | |
2454 | attack = true | |
2455 | hum.WalkSpeed = 0 | |
2456 | local hit,pos,hummie; | |
2457 | local Hook = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false) | |
2458 | Hook.Transparency = 1 | |
2459 | local A = NewInstance("Attachment",Hook) | |
2460 | local B = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)}) | |
2461 | 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}) | |
2462 | local POS = mouse.Hit.p | |
2463 | local CHAINS = false | |
2464 | local CHAINLINKS = {} | |
2465 | local A = IT("Attachment",la) | |
2466 | A.Position = Vector3.new(1,-1,0)*Player_Size | |
2467 | A.Orientation = Vector3.new(-90, -89.982, 0) | |
2468 | local B = IT("Attachment",la) | |
2469 | B.Position = Vector3.new(-1,-1,0)*Player_Size | |
2470 | B.Orientation = Vector3.new(-90, 89.988, 0) | |
2471 | local C = IT("Attachment",la) | |
2472 | C.Position = Vector3.new(0.5,-1.3,0)*Player_Size | |
2473 | C.Orientation = Vector3.new(-90, -89.982, 0) | |
2474 | local D = IT("Attachment",la) | |
2475 | D.Position = Vector3.new(-0.5,-1.3,0)*Player_Size | |
2476 | D.Orientation = Vector3.new(-90, 89.988, 0) | |
2477 | local LIGHT = IT("Attachment",la) | |
2478 | LIGHT.Position = Vector3.new(0,-1,0)*Player_Size | |
2479 | local LIGHT2 = IT("PointLight",LIGHT) | |
2480 | LIGHT2.Range = 7 | |
2481 | LIGHT2.Brightness = 5 | |
2482 | LIGHT2.Color = Color3.new(0,0,0) | |
2483 | for i = 1, 2 do | |
2484 | local TWIST = -2 | |
2485 | local START = A | |
2486 | local END = B | |
2487 | if i == 1 then | |
2488 | START = B | |
2489 | END = A | |
2490 | end | |
2491 | local ChainLink = IT("Beam",tors) | |
2492 | ChainLink.Texture = "rbxassetid://73042633" | |
2493 | ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138)) | |
2494 | ChainLink.TextureSpeed = 1 | |
2495 | ChainLink.Width0 = 1 | |
2496 | ChainLink.Width1 = 1 | |
2497 | ChainLink.TextureLength = 2.5 | |
2498 | ChainLink.Attachment0 = START | |
2499 | ChainLink.Attachment1 = END | |
2500 | ChainLink.CurveSize0 = TWIST | |
2501 | ChainLink.CurveSize1 = TWIST | |
2502 | --ChainLink.FaceCamera = true | |
2503 | ChainLink.Segments = 45 | |
2504 | ChainLink.Transparency = NumberSequence.new(0.25) | |
2505 | table.insert(CHAINLINKS,ChainLink) | |
2506 | end | |
2507 | for i = 1, 2 do | |
2508 | local TWIST = -1 | |
2509 | local START = C | |
2510 | local END = D | |
2511 | if i == 1 then | |
2512 | START = D | |
2513 | END = C | |
2514 | end | |
2515 | local ChainLink = IT("Beam",tors) | |
2516 | ChainLink.Texture = "rbxassetid://73042633" | |
2517 | ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138)) | |
2518 | ChainLink.TextureSpeed = 1 | |
2519 | ChainLink.Width0 = 1 | |
2520 | ChainLink.Width1 = 1 | |
2521 | ChainLink.TextureLength = 5 | |
2522 | ChainLink.Attachment0 = START | |
2523 | ChainLink.Attachment1 = END | |
2524 | ChainLink.CurveSize0 = TWIST | |
2525 | ChainLink.CurveSize1 = TWIST | |
2526 | --ChainLink.FaceCamera = true | |
2527 | ChainLink.Segments = 25 | |
2528 | ChainLink.LightEmission = 0.5 | |
2529 | ChainLink.Transparency = NumberSequence.new(0.25) | |
2530 | table.insert(CHAINLINKS,ChainLink) | |
2531 | end | |
2532 | for i = 0, 2.3, .1 do | |
2533 | swait() | |
2534 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
2535 | 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) | |
2536 | 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) | |
2537 | 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) | |
2538 | 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) | |
2539 | 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) | |
2540 | 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) | |
2541 | end | |
2542 | Cso("169105657", ra, 7, 1.2) | |
2543 | for i = 0, 4, .1 do | |
2544 | if(hit)then break end | |
2545 | swait() | |
2546 | GYRO.cframe = CF(root.Position,TORSO.Position) | |
2547 | Hook.CFrame = HEAD.CFrame | |
2548 | 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) | |
2549 | 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) | |
2550 | 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) | |
2551 | 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) | |
2552 | 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) | |
2553 | 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) | |
2554 | end | |
2555 | for _,v in next, getRegion(Hook.Position,1,{char}) do | |
2556 | if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then | |
2557 | hit = GetTorso(v.Parent); | |
2558 | hummie = v.Parent:FindFirstChildOfClass'Humanoid'; | |
2559 | break; | |
2560 | end | |
2561 | end | |
2562 | Cso("169105657", ra, 5, .8) | |
2563 | Cso("1251737869", tors, 2, 1.1) | |
2564 | GYRO:remove() | |
2565 | for i = 0, 3, .1 do | |
2566 | swait() | |
2567 | HUM.PlatformStand = true | |
2568 | Hook.CFrame = Hook.CFrame:lerp(ra.CFrame * CF(0, 0, -1), .2) | |
2569 | if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = Vector3.new() | |
2570 | end | |
2571 | if((Hook.CFrame.p-ra.CFrame.p).magnitude < 2)then | |
2572 | break | |
2573 | end | |
2574 | Chain.TextureLength = 4 | |
2575 | 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) | |
2576 | 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) | |
2577 | 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) | |
2578 | 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) | |
2579 | 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) | |
2580 | 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) | |
2581 | end | |
2582 | hum.WalkSpeed = 16 | |
2583 | attack = false | |
2584 | Hook:Destroy() | |
2585 | A:remove() | |
2586 | B:remove() | |
2587 | C:remove() | |
2588 | D:remove() | |
2589 | end | |
2590 | end | |
2591 | end | |
2592 | function ultra() | |
2593 | attack = true | |
2594 | hum.WalkSpeed = 0 | |
2595 | BTAUNT:Remove() | |
2596 | hed.face.Texture = "rbxassetid://160952297" | |
2597 | local Fire = IT("Sound",Character.Torso) | |
2598 | Fire.SoundId = "rbxassetid://1060413310" | |
2599 | Fire.Looped = true | |
2600 | Fire.Pitch = 1 | |
2601 | Fire.Volume = 1 | |
2602 | Fire:Play() | |
2603 | BTAUNT:Play() | |
2604 | BTAUNT:Remove() | |
2605 | wait(1) | |
2606 | for i = 0,18,0.1 do | |
2607 | swait() | |
2608 | 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) | |
2609 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2610 | 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) | |
2611 | 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) | |
2612 | 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) | |
2613 | 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) | |
2614 | end | |
2615 | wait(1) | |
2616 | for i = 0,1.2,0.1 do | |
2617 | swait() | |
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 * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2620 | 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) | |
2621 | 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) | |
2622 | 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) | |
2623 | 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) | |
2624 | end | |
2625 | for i = 0,1.2,0.1 do | |
2626 | swait() | |
2627 | ||
2628 | 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) | |
2629 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2630 | 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) | |
2631 | 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) | |
2632 | 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) | |
2633 | 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) | |
2634 | end | |
2635 | M2.MeshId = "http://www.roblox.com/asset/?id=12592754" | |
2636 | M2.TextureId = "rbxassetid://26884682" | |
2637 | tecks2:Remove() | |
2638 | Fire:Stop() | |
2639 | local BC = char["Body Colors"] | |
2640 | BC.HeadColor = BrickColor.new("New Yeller") | |
2641 | BC.LeftArmColor = BrickColor.new("New Yeller") | |
2642 | BC.LeftLegColor = BrickColor.new("New Yeller") | |
2643 | BC.RightArmColor = BrickColor.new("New Yeller") | |
2644 | BC.RightLegColor = BrickColor.new("New Yeller") | |
2645 | BC.TorsoColor = BrickColor.new("New Yeller") | |
2646 | tecks2:Remove() | |
2647 | BTAUNT3:Play() | |
2648 | local naeeym2 = Instance.new("BillboardGui",char) | |
2649 | naeeym2.AlwaysOnTop = true | |
2650 | naeeym2.Size = UDim2.new(5,35,2,35) | |
2651 | naeeym2.StudsOffset = Vector3.new(0,1,0) | |
2652 | naeeym2.Adornee = hed | |
2653 | naeeym2.Name = "Name" | |
2654 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
2655 | tecks2.BackgroundTransparency = 1 | |
2656 | tecks2.TextScaled = true | |
2657 | tecks2.BorderSizePixel = 0 | |
2658 | tecks2.Font = "Garamond" | |
2659 | tecks2.TextSize = 30 | |
2660 | tecks2.TextStrokeTransparency = 0 | |
2661 | tecks2.TextColor3 = BrickColor.new('Really black').Color | |
2662 | tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color | |
2663 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
2664 | tecks2.Parent = naeeym2 | |
2665 | textfag = tecks2 | |
2666 | wait(1) | |
2667 | tecks2.Text = "The Boss Noob" | |
2668 | coroutine.resume(coroutine.create(function() | |
2669 | while textfag ~= nil do | |
2670 | swait() | |
2671 | textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
2672 | textfag.Rotation = math.random(-3,3) | |
2673 | end | |
2674 | end)) | |
2675 | hed.face.Texture = "rbxassetid://160952297" | |
2676 | ------------------- | |
2677 | Spawn(function() | |
2678 | while Equipped and Humanoid.Parent and Torso.Parent do | |
2679 | if Angle == 360 then | |
2680 | Angle = 0 | |
2681 | end | |
2682 | Angle = Angle + 0.05 | |
2683 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character}) | |
2684 | if Hit then | |
2685 | if not Circle.Parent then | |
2686 | Circle.Parent = Character | |
2687 | end | |
2688 | for i, v in pairs(CircleParts) do | |
2689 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
2690 | end | |
2691 | else | |
2692 | Circle.Parent = nil | |
2693 | end | |
2694 | wait() | |
2695 | end | |
2696 | end) | |
2697 | attack = false | |
2698 | hum.WalkSpeed = 75 | |
2699 | end | |
2700 | ------------------------------------------------------- | |
2701 | --End Attacks N Stuff-- | |
2702 | ------------------------------------------------------- | |
2703 | mouse.KeyDown:connect(function(key) | |
2704 | if attack == false then | |
2705 | if key == "t" then | |
2706 | dance() | |
2707 | elseif key == 'y' then | |
2708 | aaa() | |
2709 | elseif key == "p" then | |
2710 | finalChaos() | |
2711 | elseif key == "z" then | |
2712 | beam() | |
2713 | elseif key == "x" then | |
2714 | Call_Upon_The_Eyes() | |
2715 | elseif key == "v" then | |
2716 | dejzrXD() | |
2717 | elseif key == "b" then | |
2718 | specialchaos() | |
2719 | elseif key == "n" then | |
2720 | CHAOS() | |
2721 | elseif key == "f" then | |
2722 | icando() | |
2723 | elseif key == "h" then | |
2724 | finalChaos2() | |
2725 | elseif key == "g" then | |
2726 | Chain2() | |
2727 | elseif key == "c" then | |
2728 | DRAG_THEM_TO_HELL() | |
2729 | elseif key == "q" then | |
2730 | ||
2731 | ||
2732 | ||
2733 | Noob6() | |
2734 | elseif key == "l" then | |
2735 | ||
2736 | ||
2737 | ||
2738 | ||
2739 | Noob2() | |
2740 | ||
2741 | ||
2742 | elseif key == "k" then | |
2743 | ||
2744 | ||
2745 | ||
2746 | ||
2747 | Noob3() | |
2748 | ||
2749 | elseif key == "j" then | |
2750 | ||
2751 | ||
2752 | ||
2753 | ||
2754 | ||
2755 | Noob4() | |
2756 | ||
2757 | ||
2758 | elseif key == "m" then | |
2759 | ||
2760 | ||
2761 | ||
2762 | ||
2763 | Noob5() | |
2764 | ||
2765 | ||
2766 | elseif key == "e" then | |
2767 | ||
2768 | ||
2769 | ||
2770 | ||
2771 | Noob7() | |
2772 | ||
2773 | elseif key == "u" then | |
2774 | ||
2775 | Noob8() | |
2776 | ||
2777 | elseif key == "r" then | |
2778 | ||
2779 | Noob9() | |
2780 | ||
2781 | ||
2782 | ||
2783 | end | |
2784 | end | |
2785 | end) | |
2786 | ||
2787 | mouse.Button1Down:connect(function(key) | |
2788 | if attack == false then | |
2789 | die() | |
2790 | end | |
2791 | end) | |
2792 | ||
2793 | function Part(parent,color,material,size,cframe,anchored,cancollide) | |
2794 | local part = Instance.new("Part") | |
2795 | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or Color3.new(0,0,0) | |
2796 | part.Material = material or Enum.Material.SmoothPlastic | |
2797 | part.TopSurface,part.BottomSurface=10,10 | |
2798 | part.Size = size or Vector3.new(1,1,1) | |
2799 | part.CFrame = cframe or CF(0,0,0) | |
2800 | part.Anchored = anchored or true | |
2801 | part.CanCollide = cancollide or false | |
2802 | part.Parent = parent or char | |
2803 | return part | |
2804 | end | |
2805 | ||
2806 | NewInstance = function(instance,parent,properties) | |
2807 | local inst = Instance.new(instance) | |
2808 | inst.Parent = parent | |
2809 | if(properties)then | |
2810 | for i,v in next, properties do | |
2811 | pcall(function() inst[i] = v end) | |
2812 | end | |
2813 | end | |
2814 | return inst; | |
2815 | end | |
2816 | ------------------------------------------------------- | |
2817 | --Start Damage Function-- | |
2818 | ------------------------------------------------------- | |
2819 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher! | |
2820 | local type = type | |
2821 | local rng = Instance.new("Part", char) | |
2822 | rng.Anchored = true | |
2823 | rng.BrickColor = color | |
2824 | rng.CanCollide = false | |
2825 | rng.FormFactor = 3 | |
2826 | rng.Name = "Ring" | |
2827 | rng.Material = "Neon" | |
2828 | rng.Size = Vector3.new(1, 1, 1) | |
2829 | rng.Transparency = 0 | |
2830 | rng.TopSurface = 0 | |
2831 | rng.BottomSurface = 0 | |
2832 | rng.CFrame = pos | |
2833 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
2834 | local rngm = Instance.new("SpecialMesh", rng) | |
2835 | rngm.MeshType = "Brick" | |
2836 | if rainbowmode == true then | |
2837 | rng.Color = Color3.new(r/255,g/255,b/255) | |
2838 | end | |
2839 | local scaler2 = 1 | |
2840 | local speeder = FastSpeed/10 | |
2841 | if type == "Add" then | |
2842 | scaler2 = 1*value | |
2843 | elseif type == "Divide" then | |
2844 | scaler2 = 1/value | |
2845 | end | |
2846 | coroutine.resume(coroutine.create(function() | |
2847 | for i = 0,10/bonuspeed,0.1 do | |
2848 | swait() | |
2849 | if type == "Add" then | |
2850 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
2851 | elseif type == "Divide" then | |
2852 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
2853 | end | |
2854 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
2855 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
2856 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
2857 | end | |
2858 | rng:Destroy() | |
2859 | end)) | |
2860 | end | |
2861 | ||
2862 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
2863 | if hit.Parent == nil then | |
2864 | return | |
2865 | end | |
2866 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
2867 | for _, v in pairs(hit.Parent:children()) do | |
2868 | if v:IsA("Humanoid") then | |
2869 | h = v | |
2870 | end | |
2871 | end | |
2872 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
2873 | ||
2874 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
2875 | end | |
2876 | ||
2877 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
2878 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
2879 | if hit.Parent.DebounceHit.Value == true then | |
2880 | return | |
2881 | end | |
2882 | end | |
2883 | if insta == true then | |
2884 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
2885 | end | |
2886 | local c = Create("ObjectValue"){ | |
2887 | Name = "creator", | |
2888 | Value = game:service("Players").LocalPlayer, | |
2889 | Parent = h, | |
2890 | } | |
2891 | game:GetService("Debris"):AddItem(c, .5) | |
2892 | if HitSound ~= nil and HitPitch ~= nil then | |
2893 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
2894 | end | |
2895 | local Damage = math.random(minim, maxim) | |
2896 | local blocked = false | |
2897 | local block = hit.Parent:findFirstChild("Block") | |
2898 | if block ~= nil then | |
2899 | if block.className == "IntValue" then | |
2900 | if block.Value > 0 then | |
2901 | blocked = true | |
2902 | block.Value = block.Value - 1 | |
2903 | print(block.Value) | |
2904 | end | |
2905 | end | |
2906 | end | |
2907 | if blocked == false then | |
2908 | h.Health = h.Health - Damage | |
2909 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
2910 | else | |
2911 | h.Health = h.Health - (Damage / 2) | |
2912 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
2913 | end | |
2914 | if Type == "Knockdown" then | |
2915 | local hum = hit.Parent.Humanoid | |
2916 | hum.PlatformStand = true | |
2917 | coroutine.resume(coroutine.create(function(HHumanoid) | |
2918 | swait(1) | |
2919 | HHumanoid.PlatformStand = false | |
2920 | end), hum) | |
2921 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
2922 | local bodvol = Create("BodyVelocity"){ | |
2923 | velocity = angle * knockback, | |
2924 | P = 5000, | |
2925 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
2926 | Parent = hit, | |
2927 | } | |
2928 | local rl = Create("BodyAngularVelocity"){ | |
2929 | P = 3000, | |
2930 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
2931 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
2932 | Parent = hit, | |
2933 | } | |
2934 | game:GetService("Debris"):AddItem(bodvol, .5) | |
2935 | game:GetService("Debris"):AddItem(rl, .5) | |
2936 | elseif Type == "Normal" then | |
2937 | local vp = Create("BodyVelocity"){ | |
2938 | P = 500, | |
2939 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
2940 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
2941 | } | |
2942 | if knockback > 0 then | |
2943 | vp.Parent = hit.Parent.Torso | |
2944 | end | |
2945 | game:GetService("Debris"):AddItem(vp, .5) | |
2946 | elseif Type == "Up" then | |
2947 | local bodyVelocity = Create("BodyVelocity"){ | |
2948 | velocity = Vector3.new(0, 20, 0), | |
2949 | P = 5000, | |
2950 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
2951 | Parent = hit, | |
2952 | } | |
2953 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
2954 | elseif Type == "DarkUp" then | |
2955 | coroutine.resume(coroutine.create(function() | |
2956 | for i = 0, 1, 0.1 do | |
2957 | swait() | |
2958 | Effects.Block.Create(BrickColor.new("Royal purple"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
2959 | end | |
2960 | end)) | |
2961 | local bodyVelocity = Create("BodyVelocity"){ | |
2962 | velocity = Vector3.new(0, 20, 0), | |
2963 | P = 5000, | |
2964 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
2965 | Parent = hit, | |
2966 | } | |
2967 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
2968 | elseif Type == "Snare" then | |
2969 | local bp = Create("BodyPosition"){ | |
2970 | P = 2000, | |
2971 | D = 100, | |
2972 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
2973 | position = hit.Parent.Torso.Position, | |
2974 | Parent = hit.Parent.Torso, | |
2975 | } | |
2976 | game:GetService("Debris"):AddItem(bp, 1) | |
2977 | elseif Type == "Freeze" then | |
2978 | local BodPos = Create("BodyPosition"){ | |
2979 | P = 50000, | |
2980 | D = 1000, | |
2981 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
2982 | position = hit.Parent.Torso.Position, | |
2983 | Parent = hit.Parent.Torso, | |
2984 | } | |
2985 | local BodGy = Create("BodyGyro") { | |
2986 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
2987 | P = 20e+003, | |
2988 | Parent = hit.Parent.Torso, | |
2989 | cframe = hit.Parent.Torso.CFrame, | |
2990 | } | |
2991 | hit.Parent.Torso.Anchored = true | |
2992 | coroutine.resume(coroutine.create(function(Part) | |
2993 | swait(1.5) | |
2994 | Part.Anchored = false | |
2995 | end), hit.Parent.Torso) | |
2996 | game:GetService("Debris"):AddItem(BodPos, 3) | |
2997 | game:GetService("Debris"):AddItem(BodGy, 3) | |
2998 | end | |
2999 | local debounce = Create("BoolValue"){ | |
3000 | Name = "DebounceHit", | |
3001 | Parent = hit.Parent, | |
3002 | Value = true, | |
3003 | } | |
3004 | game:GetService("Debris"):AddItem(debounce, Delay) | |
3005 | c = Create("ObjectValue"){ | |
3006 | Name = "creator", | |
3007 | Value = Player, | |
3008 | Parent = h, | |
3009 | } | |
3010 | game:GetService("Debris"):AddItem(c, .5) | |
3011 | end | |
3012 | end | |
3013 | ||
3014 | function damage(range,mindam,maxdam,pos) | |
3015 | for i,v in ipairs(workspace:GetChildren()) do | |
3016 | if v:IsA("Model") then | |
3017 | if v.Name ~= Player.Name then | |
3018 | if v:FindFirstChildOfClass("Humanoid") then | |
3019 | if v:FindFirstChild("Head") then | |
3020 | if (v:FindFirstChild("Head").Position - pos).magnitude < 10 then | |
3021 | if v:FindFirstChildOfClass("Humanoid").Health > 5000 then v:FindFirstChildOfClass("Humanoid").Health = 0 else | |
3022 | v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(mindam,maxdam) | |
3023 | end | |
3024 | end | |
3025 | end | |
3026 | end | |
3027 | end | |
3028 | end | |
3029 | end | |
3030 | end | |
3031 | ------------------------------------------------------- | |
3032 | --End Damage Function-- | |
3033 | ------------------------------------------------------- | |
3034 | ||
3035 | ------------------------------------------------------- | |
3036 | --Start Animations-- | |
3037 | ------------------------------------------------------- | |
3038 | print("By Makhail07") | |
3039 | while true do | |
3040 | swait() | |
3041 | sine = sine + change | |
3042 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
3043 | local velderp = root.Velocity.y | |
3044 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
3045 | if equipped == true or equipped == false then | |
3046 | if attack == false then | |
3047 | idle = idle + 1 | |
3048 | else | |
3049 | idle = 0 | |
3050 | end | |
3051 | if 1 < root.Velocity.y and hitfloor == nil then | |
3052 | Anim = "Jump" | |
3053 | if attack == false then | |
3054 | 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) | |
3055 | 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) | |
3056 | 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) | |
3057 | 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) | |
3058 | 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) | |
3059 | 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) | |
3060 | end | |
3061 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
3062 | Anim = "Fall" | |
3063 | if attack == false then | |
3064 | 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) | |
3065 | 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) | |
3066 | 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) | |
3067 | 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) | |
3068 | 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) | |
3069 | 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) | |
3070 | end | |
3071 | elseif torvel < 1 and hitfloor ~= nil then | |
3072 | Anim = "Idle" | |
3073 | change = 1 | |
3074 | if attack == false then | |
3075 | ||
3076 | if animation.Value == 1 then | |
3077 | ||
3078 | ||
3079 | 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) | |
3080 | 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) | |
3081 | 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) | |
3082 | 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) | |
3083 | 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) | |
3084 | 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) | |
3085 | ||
3086 | ||
3087 | else | |
3088 | ||
3089 | if animation.Value == 2 then | |
3090 | ||
3091 | ||
3092 | 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) | |
3093 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3) | |
3094 | 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) | |
3095 | 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) | |
3096 | 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) | |
3097 | 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) | |
3098 | ||
3099 | ||
3100 | else | |
3101 | ||
3102 | ||
3103 | if animation.Value == 3 then | |
3104 | ||
3105 | ||
3106 | ||
3107 | 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) | |
3108 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3109 | 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) | |
3110 | 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) | |
3111 | 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) | |
3112 | 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) | |
3113 | ||
3114 | ||
3115 | else | |
3116 | ||
3117 | ||
3118 | if animation.Value == 4 then | |
3119 | ||
3120 | ||
3121 | 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) | |
3122 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(1 + -43 * Sin(sine / 8))), 0.3) | |
3123 | 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) | |
3124 | 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) | |
3125 | 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) | |
3126 | 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) | |
3127 | ||
3128 | ||
3129 | ||
3130 | end | |
3131 | ||
3132 | end | |
3133 | end | |
3134 | ||
3135 | ||
3136 | end | |
3137 | ||
3138 | end | |
3139 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
3140 | Anim = "Walk" | |
3141 | change = 1 | |
3142 | if attack == false then | |
3143 | hum.WalkSpeed = 25 | |
3144 | 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) | |
3145 | 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) | |
3146 | 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) | |
3147 | 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) | |
3148 | 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) | |
3149 | 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) | |
3150 | end | |
3151 | elseif torvel >= 25 and hitfloor ~= nil then | |
3152 | Anim = "Sprint" | |
3153 | change = 1.35 | |
3154 | if attack == false then | |
3155 | 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) | |
3156 | 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) | |
3157 | 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) | |
3158 | 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) | |
3159 | 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) | |
3160 | 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) | |
3161 | end | |
3162 | end | |
3163 | end | |
3164 | if 0 < #Effects then | |
3165 | for e = 1, #Effects do | |
3166 | if Effects[e] ~= nil then | |
3167 | local Thing = Effects[e] | |
3168 | if Thing ~= nil then | |
3169 | local Part = Thing[1] | |
3170 | local Mode = Thing[2] | |
3171 | local Delay = Thing[3] | |
3172 | local IncX = Thing[4] | |
3173 | local IncY = Thing[5] | |
3174 | local IncZ = Thing[6] | |
3175 | if 1 >= Thing[1].Transparency then | |
3176 | if Thing[2] == "Block1" then | |
3177 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
3178 | local Mesh = Thing[1].Mesh | |
3179 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3180 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3181 | elseif Thing[2] == "Block2" then | |
3182 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
3183 | local Mesh = Thing[7] | |
3184 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3185 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3186 | elseif Thing[2] == "Block3" then | |
3187 | 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) | |
3188 | local Mesh = Thing[7] | |
3189 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3190 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3191 | elseif Thing[2] == "Cylinder" then | |
3192 | local Mesh = Thing[1].Mesh | |
3193 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3194 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3195 | elseif Thing[2] == "Blood" then | |
3196 | local Mesh = Thing[7] | |
3197 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
3198 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3199 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3200 | elseif Thing[2] == "Elec" then | |
3201 | local Mesh = Thing[1].Mesh | |
3202 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
3203 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3204 | elseif Thing[2] == "Disappear" then | |
3205 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3206 | elseif Thing[2] == "Shatter" then | |
3207 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3208 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
3209 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
3210 | Thing[6] = Thing[6] + Thing[5] | |
3211 | end | |
3212 | else | |
3213 | Part.Parent = nil | |
3214 | table.remove(Effects, e) | |
3215 | end | |
3216 | end | |
3217 | end | |
3218 | end | |
3219 | end | |
3220 | end | |
3221 | ------------------------------------------------------- | |
3222 | --End Animations And Script-- | |
3223 | ------------------------------------------------------ |