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