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