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