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