SHOW:
|
|
- or go back to the newest paste.
1 | --mafia chara v1.2.6-- | |
2 | ---------------------------------------------------------------- | |
3 | print([[ | |
4 | --made by someone | |
5 | --FE code by someone | |
6 | --Edited by bacon_hairkid9 | |
7 | --Enjoy :> | |
8 | ]]) | |
9 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
10 | local Player,game,owner = owner,game | |
11 | local RealPlayer = Player | |
12 | do | |
13 | local rp = RealPlayer | |
14 | script.Parent = rp.Character | |
15 | ||
16 | --RemoteEvent for communicating | |
17 | local Event = Instance.new("RemoteEvent") | |
18 | Event.Name = "UserInput_Event" | |
19 | ||
20 | --Fake event to make stuff like Mouse.KeyDown work | |
21 | local function fakeEvent() | |
22 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
23 | t.connect = t.Connect | |
24 | return t | |
25 | end | |
26 | ||
27 | --Creating fake input objects with fake variables | |
28 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
29 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
30 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
31 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
32 | end} | |
33 | --Merged 2 functions into one by checking amount of arguments | |
34 | CAS.UnbindAction = CAS.BindAction | |
35 | ||
36 | --This function will trigger the events that have been :Connect()'ed | |
37 | local function te(self,ev,...) | |
38 | local t = m[ev] | |
39 | if t and t._fakeEvent then | |
40 | for _,f in pairs(t.Functions) do | |
41 | f(...) | |
42 | end | |
43 | end | |
44 | end | |
45 | m.TrigEvent = te | |
46 | UIS.TrigEvent = te | |
47 | ||
48 | Event.OnServerEvent:Connect(function(plr,io) | |
49 | if plr~=rp then return end | |
50 | m.Target = io.Target | |
51 | m.Hit = io.Hit | |
52 | if not io.isMouse then | |
53 | local b = io.UserInputState == Enum.UserInputState.Begin | |
54 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
55 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
56 | end | |
57 | for _,t in pairs(CAS.Actions) do | |
58 | for _,k in pairs(t.Keys) do | |
59 | if k==io.KeyCode then | |
60 | t.Function(t.Name,io.UserInputState,io) | |
61 | end | |
62 | end | |
63 | end | |
64 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
65 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
66 | end | |
67 | end) | |
68 | Event.Parent = NLS([==[ | |
69 | local Player = game:GetService("Players").LocalPlayer | |
70 | local Event = script:WaitForChild("UserInput_Event") | |
71 | ||
72 | local Mouse = Player:GetMouse() | |
73 | local UIS = game:GetService("UserInputService") | |
74 | local input = function(io,a) | |
75 | if a then return end | |
76 | --Since InputObject is a client-side instance, we create and pass table instead | |
77 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
78 | end | |
79 | UIS.InputBegan:Connect(input) | |
80 | UIS.InputEnded:Connect(input) | |
81 | ||
82 | local h,t | |
83 | --Give the server mouse data 30 times every second, but only if the values changed | |
84 | --If player is not moving their mouse, client won't fire events | |
85 | while wait(1/30) do | |
86 | if h~=Mouse.Hit or t~=Mouse.Target then | |
87 | h,t=Mouse.Hit,Mouse.Target | |
88 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
89 | end | |
90 | end]==],Player.Character) | |
91 | ||
92 | ----Sandboxed game object that allows the usage of client-side methods and services | |
93 | --Real game object | |
94 | local _rg = game | |
95 | ||
96 | --Metatable for fake service | |
97 | local fsmt = { | |
98 | __index = function(self,k) | |
99 | local s = rawget(self,"_RealService") | |
100 | if s then return s[k] end | |
101 | end, | |
102 | __newindex = function(self,k,v) | |
103 | local s = rawget(self,"_RealService") | |
104 | if s then s[k]=v end | |
105 | end, | |
106 | __call = function(self,...) | |
107 | local s = rawget(self,"_RealService") | |
108 | if s then return s(...) end | |
109 | end | |
110 | } | |
111 | local function FakeService(t,RealService) | |
112 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
113 | return setmetatable(t,fsmt) | |
114 | end | |
115 | ||
116 | --Fake game object | |
117 | local g = { | |
118 | GetService = function(self,s) | |
119 | return self[s] | |
120 | end, | |
121 | Players = FakeService({ | |
122 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
123 | },"Players"), | |
124 | UserInputService = FakeService(UIS,"UserInputService"), | |
125 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
126 | } | |
127 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
128 | g.service = g.GetService | |
129 | ||
130 | g.RunService = FakeService({ | |
131 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
132 | BindToRenderStep = function(self,name,_,fun) | |
133 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
134 | end, | |
135 | UnbindFromRenderStep = function(self,name) | |
136 | self._btrs[name]:Disconnect() | |
137 | end, | |
138 | },"RunService") | |
139 | ||
140 | setmetatable(g,{ | |
141 | __index=function(self,s) | |
142 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
143 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
144 | end, | |
145 | __newindex = fsmt.__newindex, | |
146 | __call = fsmt.__call | |
147 | }) | |
148 | --Changing owner to fake player object to support owner:GetMouse() | |
149 | game,owner = g,g.Players.LocalPlayer | |
150 | end | |
151 | ||
152 | Player = owner | |
153 | PlayerGui = Player.PlayerGui | |
154 | Cam = workspace.CurrentCamera | |
155 | Backpack = Player.Backpack | |
156 | Character = Player.Character | |
157 | Humanoid = Character.Humanoid | |
158 | Mouse = Player:GetMouse() | |
159 | RootPart = Character["HumanoidRootPart"] | |
160 | Torso = Character["Torso"] | |
161 | Head = Character["Head"] | |
162 | RightArm = Character["Right Arm"] | |
163 | LeftArm = Character["Left Arm"] | |
164 | RightLeg = Character["Right Leg"] | |
165 | LeftLeg = Character["Left Leg"] | |
166 | RootJoint = RootPart["RootJoint"] | |
167 | Neck = Torso["Neck"] | |
168 | RightShoulder = Torso["Right Shoulder"] | |
169 | LeftShoulder = Torso["Left Shoulder"] | |
170 | RightHip = Torso["Right Hip"] | |
171 | LeftHip = Torso["Left Hip"] | |
172 | ||
173 | Character = Player.Character | |
174 | Humanoid = Character.Humanoid | |
175 | ||
176 | ------------------------------------------------------- | |
177 | ||
178 | local FavIDs = { | |
179 | 340106355, --Nefl Crystals | |
180 | 927529620, --Dimension | |
181 | 876981900, --Fantasy | |
182 | 398987889, --Ordinary Days | |
183 | 1117396305, --Oh wait, it's you. | |
184 | 885996042, --Action Winter Journey | |
185 | 919231299, --Sprawling Idiot Effigy | |
186 | 743466274, --Good Day Sunshine | |
187 | 727411183, --Knife Fight | |
188 | 1402748531, --The Earth Is Counting On You! | |
189 | 595230126 --Robot Language | |
190 | } | |
191 | ||
192 | ||
193 | ||
194 | wait(0.2) | |
195 | local plr = game:service'Players'.LocalPlayer | |
196 | local char = plr.Character | |
197 | local hum = char.Humanoid | |
198 | local hed = char.Head | |
199 | local root = char.HumanoidRootPart | |
200 | local rootj = root.RootJoint | |
201 | local tors = char.Torso | |
202 | local ra = char["Right Arm"] | |
203 | local la = char["Left Arm"] | |
204 | local rl = char["Right Leg"] | |
205 | local ll = char["Left Leg"] | |
206 | local neck = tors["Neck"] | |
207 | local mouse = plr:GetMouse() | |
208 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
209 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
210 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
211 | local maincolor = BrickColor.new("Institutional white") | |
212 | ||
213 | ------------------------------------------------------- | |
214 | --Start Good Stuff-- | |
215 | ------------------------------------------------------- | |
216 | cam = game.Workspace.CurrentCamera | |
217 | CF = CFrame.new | |
218 | angles = CFrame.Angles | |
219 | attack = false | |
220 | Euler = CFrame.fromEulerAnglesXYZ | |
221 | Rad = math.rad | |
222 | IT = Instance.new | |
223 | BrickC = BrickColor.new | |
224 | Cos = math.cos | |
225 | Acos = math.acos | |
226 | Sin = math.sin | |
227 | Asin = math.asin | |
228 | Abs = math.abs | |
229 | Mrandom = math.random | |
230 | Floor = math.floor | |
231 | ------------------------------------------------------- | |
232 | --End Good Stuff-- | |
233 | ------------------------------------------------------- | |
234 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
235 | RSH, LSH = nil, nil | |
236 | RW = Instance.new("Weld") | |
237 | LW = Instance.new("Weld") | |
238 | RH = tors["Right Hip"] | |
239 | LH = tors["Left Hip"] | |
240 | RSH = tors["Right Shoulder"] | |
241 | LSH = tors["Left Shoulder"] | |
242 | RSH.Parent = nil | |
243 | LSH.Parent = nil | |
244 | RW.Name = "RW" | |
245 | RW.Part0 = tors | |
246 | RW.C0 = CF(1.5, 0.5, 0) | |
247 | RW.C1 = CF(0, 0.5, 0) | |
248 | RW.Part1 = ra | |
249 | RW.Parent = tors | |
250 | LW.Name = "LW" | |
251 | LW.Part0 = tors | |
252 | LW.C0 = CF(-1.5, 0.5, 0) | |
253 | LW.C1 = CF(0, 0.5, 0) | |
254 | LW.Part1 = la | |
255 | LW.Parent = tors | |
256 | Effects = {} | |
257 | ------------------------------------------------------- | |
258 | --Start HeartBeat-- | |
259 | ------------------------------------------------------- | |
260 | ArtificialHB = Instance.new("BindableEvent", script) | |
261 | ArtificialHB.Name = "Heartbeat" | |
262 | script:WaitForChild("Heartbeat") | |
263 | ||
264 | frame = 1 / 60 | |
265 | tf = 0 | |
266 | allowframeloss = false | |
267 | tossremainder = false | |
268 | ||
269 | ||
270 | lastframe = tick() | |
271 | script.Heartbeat:Fire() | |
272 | ||
273 | ||
274 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
275 | tf = tf + s | |
276 | if tf >= frame then | |
277 | if allowframeloss then | |
278 | script.Heartbeat:Fire() | |
279 | lastframe = tick() | |
280 | else | |
281 | for i = 1, math.floor(tf / frame) do | |
282 | script.Heartbeat:Fire() | |
283 | end | |
284 | lastframe = tick() | |
285 | end | |
286 | if tossremainder then | |
287 | tf = 0 | |
288 | else | |
289 | tf = tf - frame * math.floor(tf / frame) | |
290 | end | |
291 | end | |
292 | end) | |
293 | ------------------------------------------------------- | |
294 | --End HeartBeat-- | |
295 | ------------------------------------------------------- | |
296 | ||
297 | ------------------------------------------------------- | |
298 | --Start Important Functions-- | |
299 | ------------------------------------------------------- | |
300 | function swait(num) | |
301 | if num == 0 or num == nil then | |
302 | game:service("RunService").Stepped:wait(0) | |
303 | else | |
304 | for i = 0, num do | |
305 | game:service("RunService").Stepped:wait(0) | |
306 | end | |
307 | end | |
308 | end | |
309 | function thread(f) | |
310 | coroutine.resume(coroutine.create(f)) | |
311 | end | |
312 | function clerp(a, b, t) | |
313 | local qa = { | |
314 | QuaternionFromCFrame(a) | |
315 | } | |
316 | local qb = { | |
317 | QuaternionFromCFrame(b) | |
318 | } | |
319 | local ax, ay, az = a.x, a.y, a.z | |
320 | local bx, by, bz = b.x, b.y, b.z | |
321 | local _t = 1 - t | |
322 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
323 | end | |
324 | function QuaternionFromCFrame(cf) | |
325 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
326 | local trace = m00 + m11 + m22 | |
327 | if trace > 0 then | |
328 | local s = math.sqrt(1 + trace) | |
329 | local recip = 0.5 / s | |
330 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
331 | else | |
332 | local i = 0 | |
333 | if m00 < m11 then | |
334 | i = 1 | |
335 | end | |
336 | if m22 > (i == 0 and m00 or m11) then | |
337 | i = 2 | |
338 | end | |
339 | if i == 0 then | |
340 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
341 | local recip = 0.5 / s | |
342 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
343 | elseif i == 1 then | |
344 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
345 | local recip = 0.5 / s | |
346 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
347 | elseif i == 2 then | |
348 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
349 | local recip = 0.5 / s | |
350 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
351 | end | |
352 | end | |
353 | end | |
354 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
355 | local xs, ys, zs = x + x, y + y, z + z | |
356 | local wx, wy, wz = w * xs, w * ys, w * zs | |
357 | local xx = x * xs | |
358 | local xy = x * ys | |
359 | local xz = x * zs | |
360 | local yy = y * ys | |
361 | local yz = y * zs | |
362 | local zz = z * zs | |
363 | 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)) | |
364 | end | |
365 | function QuaternionSlerp(a, b, t) | |
366 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
367 | local startInterp, finishInterp | |
368 | if cosTheta >= 1.0E-4 then | |
369 | if 1 - cosTheta > 1.0E-4 then | |
370 | local theta = math.acos(cosTheta) | |
371 | local invSinTheta = 1 / Sin(theta) | |
372 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
373 | finishInterp = Sin(t * theta) * invSinTheta | |
374 | else | |
375 | startInterp = 1 - t | |
376 | finishInterp = t | |
377 | end | |
378 | elseif 1 + cosTheta > 1.0E-4 then | |
379 | local theta = math.acos(-cosTheta) | |
380 | local invSinTheta = 1 / Sin(theta) | |
381 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
382 | finishInterp = Sin(t * theta) * invSinTheta | |
383 | else | |
384 | startInterp = t - 1 | |
385 | finishInterp = t | |
386 | end | |
387 | 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 | |
388 | end | |
389 | function rayCast(Position, Direction, Range, Ignore) | |
390 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
391 | end | |
392 | local RbxUtility = LoadLibrary("RbxUtility") | |
393 | local Create = RbxUtility.Create | |
394 | ||
395 | ------------------------------------------------------- | |
396 | --Start Damage Function-- | |
397 | ------------------------------------------------------- | |
398 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
399 | if hit.Parent == nil then | |
400 | return | |
401 | end | |
402 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
403 | for _, v in pairs(hit.Parent:children()) do | |
404 | if v:IsA("Humanoid") then | |
405 | h = v | |
406 | end | |
407 | end | |
408 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
409 | ||
410 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
411 | end | |
412 | ||
413 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
414 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
415 | if hit.Parent.DebounceHit.Value == true then | |
416 | return | |
417 | end | |
418 | end | |
419 | if insta == true then | |
420 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
421 | end | |
422 | local c = Create("ObjectValue"){ | |
423 | Name = "creator", | |
424 | Value = game:service("Players").LocalPlayer, | |
425 | Parent = h, | |
426 | } | |
427 | game:GetService("Debris"):AddItem(c, .5) | |
428 | if HitSound ~= nil and HitPitch ~= nil then | |
429 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
430 | end | |
431 | local Damage = math.random(minim, maxim) | |
432 | local blocked = false | |
433 | local block = hit.Parent:findFirstChild("Block") | |
434 | if block ~= nil then | |
435 | if block.className == "IntValue" then | |
436 | if block.Value > 0 then | |
437 | blocked = true | |
438 | block.Value = block.Value - 1 | |
439 | print(block.Value) | |
440 | end | |
441 | end | |
442 | end | |
443 | if blocked == false then | |
444 | h.Health = h.Health - Damage | |
445 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
446 | else | |
447 | h.Health = h.Health - (Damage / 2) | |
448 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
449 | end | |
450 | if Type == "Knockdown" then | |
451 | local hum = hit.Parent.Humanoid | |
452 | hum.PlatformStand = true | |
453 | coroutine.resume(coroutine.create(function(HHumanoid) | |
454 | swait(1) | |
455 | HHumanoid.PlatformStand = false | |
456 | end), hum) | |
457 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
458 | local bodvol = Create("BodyVelocity"){ | |
459 | velocity = angle * knockback, | |
460 | P = 5000, | |
461 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
462 | Parent = hit, | |
463 | } | |
464 | local rl = Create("BodyAngularVelocity"){ | |
465 | P = 3000, | |
466 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
467 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
468 | Parent = hit, | |
469 | } | |
470 | game:GetService("Debris"):AddItem(bodvol, .5) | |
471 | game:GetService("Debris"):AddItem(rl, .5) | |
472 | elseif Type == "Normal" then | |
473 | local vp = Create("BodyVelocity"){ | |
474 | P = 500, | |
475 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
476 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
477 | } | |
478 | if knockback > 0 then | |
479 | vp.Parent = hit.Parent.Torso | |
480 | end | |
481 | game:GetService("Debris"):AddItem(vp, .5) | |
482 | elseif Type == "Up" then | |
483 | local bodyVelocity = Create("BodyVelocity"){ | |
484 | velocity = Vector3.new(0, 20, 0), | |
485 | P = 5000, | |
486 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
487 | Parent = hit, | |
488 | } | |
489 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
490 | elseif Type == "DarkUp" then | |
491 | coroutine.resume(coroutine.create(function() | |
492 | for i = 0, 1, 0.1 do | |
493 | swait() | |
494 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
495 | end | |
496 | end)) | |
497 | local bodyVelocity = Create("BodyVelocity"){ | |
498 | velocity = Vector3.new(0, 20, 0), | |
499 | P = 5000, | |
500 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
501 | Parent = hit, | |
502 | } | |
503 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
504 | elseif Type == "Snare" then | |
505 | local bp = Create("BodyPosition"){ | |
506 | P = 2000, | |
507 | D = 100, | |
508 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
509 | position = hit.Parent.Torso.Position, | |
510 | Parent = hit.Parent.Torso, | |
511 | } | |
512 | game:GetService("Debris"):AddItem(bp, 1) | |
513 | elseif Type == "Freeze" then | |
514 | local BodPos = Create("BodyPosition"){ | |
515 | P = 50000, | |
516 | D = 1000, | |
517 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
518 | position = hit.Parent.Torso.Position, | |
519 | Parent = hit.Parent.Torso, | |
520 | } | |
521 | local BodGy = Create("BodyGyro") { | |
522 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
523 | P = 20e+003, | |
524 | Parent = hit.Parent.Torso, | |
525 | cframe = hit.Parent.Torso.CFrame, | |
526 | } | |
527 | hit.Parent.Torso.Anchored = true | |
528 | coroutine.resume(coroutine.create(function(Part) | |
529 | swait(1.5) | |
530 | Part.Anchored = false | |
531 | end), hit.Parent.Torso) | |
532 | game:GetService("Debris"):AddItem(BodPos, 3) | |
533 | game:GetService("Debris"):AddItem(BodGy, 3) | |
534 | end | |
535 | local debounce = Create("BoolValue"){ | |
536 | Name = "DebounceHit", | |
537 | Parent = hit.Parent, | |
538 | Value = true, | |
539 | } | |
540 | game:GetService("Debris"):AddItem(debounce, Delay) | |
541 | c = Create("ObjectValue"){ | |
542 | Name = "creator", | |
543 | Value = Player, | |
544 | Parent = h, | |
545 | } | |
546 | game:GetService("Debris"):AddItem(c, .5) | |
547 | end | |
548 | end | |
549 | ------------------------------------------------------- | |
550 | --End Damage Function-- | |
551 | ------------------------------------------------------- | |
552 | --Switcher------------------------------------- | |
553 | ||
554 | ||
555 | local effectTorso = Instance.new("Sparkles", char.Torso) | |
556 | effectTorso.SparkleColor = Color3.new(0, 85, 255) | |
557 | effectTorso.Enabled = false | |
558 | ||
559 | local animation = Instance.new("NumberValue", char) | |
560 | animation.Value = 1 | |
561 | animation.Name = "Animation" | |
562 | ||
563 | local animation2 = Instance.new("NumberValue", char) | |
564 | animation2.Value = 1 | |
565 | animation2.Name = "mode" | |
566 | ||
567 | ------------------------------------------------------- | |
568 | --Start Damage Function Customization-- | |
569 | ------------------------------------------------------- | |
570 | function ShowDamage(Pos, Text, Time, Color) | |
571 | local Rate = (1 / 30) | |
572 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
573 | local Text = (Text or "") | |
574 | local Time = (Time or 2) | |
575 | local Color = (Color or Color3.new(1, 0, 1)) | |
576 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
577 | EffectPart.Anchored = true | |
578 | local BillboardGui = Create("BillboardGui"){ | |
579 | Size = UDim2.new(3, 0, 3, 0), | |
580 | Adornee = EffectPart, | |
581 | Parent = EffectPart, | |
582 | } | |
583 | local TextLabel = Create("TextLabel"){ | |
584 | BackgroundTransparency = 1, | |
585 | Size = UDim2.new(1, 0, 1, 0), | |
586 | Text = Text, | |
587 | Font = "Bodoni", | |
588 | TextColor3 = Color, | |
589 | TextScaled = true, | |
590 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
591 | Parent = BillboardGui, | |
592 | } | |
593 | game.Debris:AddItem(EffectPart, (Time)) | |
594 | EffectPart.Parent = game:GetService("Workspace") | |
595 | delay(0, function() | |
596 | local Frames = (Time / Rate) | |
597 | for Frame = 1, Frames do | |
598 | wait(Rate) | |
599 | local Percent = (Frame / Frames) | |
600 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
601 | TextLabel.TextTransparency = Percent | |
602 | end | |
603 | if EffectPart and EffectPart.Parent then | |
604 | EffectPart:Destroy() | |
605 | end | |
606 | end) | |
607 | end | |
608 | ------------------------------------------------------- | |
609 | --End Damage Function Customization-- | |
610 | ------------------------------------------------------- | |
611 | ||
612 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
613 | for _, c in pairs(workspace:children()) do | |
614 | local hum = c:findFirstChild("Humanoid") | |
615 | if hum ~= nil then | |
616 | local head = c:findFirstChild("Head") | |
617 | if head ~= nil then | |
618 | local targ = head.Position - Part.Position | |
619 | local mag = targ.magnitude | |
620 | if magni >= mag and c.Name ~= plr.Name then | |
621 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
622 | end | |
623 | end | |
624 | end | |
625 | end | |
626 | end | |
627 | ||
628 | ||
629 | CFuncs = { | |
630 | Part = { | |
631 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
632 | local Part = Create("Part")({ | |
633 | Parent = Parent, | |
634 | Reflectance = Reflectance, | |
635 | Transparency = Transparency, | |
636 | CanCollide = false, | |
637 | Locked = true, | |
638 | BrickColor = BrickColor.new(tostring(BColor)), | |
639 | Name = Name, | |
640 | Size = Size, | |
641 | Material = Material | |
642 | }) | |
643 | RemoveOutlines(Part) | |
644 | return Part | |
645 | end | |
646 | }, | |
647 | Mesh = { | |
648 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
649 | local Msh = Create(Mesh)({ | |
650 | Parent = Part, | |
651 | Offset = OffSet, | |
652 | Scale = Scale | |
653 | }) | |
654 | if Mesh == "SpecialMesh" then | |
655 | Msh.MeshType = MeshType | |
656 | Msh.MeshId = MeshId | |
657 | end | |
658 | return Msh | |
659 | end | |
660 | }, | |
661 | Mesh = { | |
662 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
663 | local Msh = Create(Mesh)({ | |
664 | Parent = Part, | |
665 | Offset = OffSet, | |
666 | Scale = Scale | |
667 | }) | |
668 | if Mesh == "SpecialMesh" then | |
669 | Msh.MeshType = MeshType | |
670 | Msh.MeshId = MeshId | |
671 | end | |
672 | return Msh | |
673 | end | |
674 | }, | |
675 | Weld = { | |
676 | Create = function(Parent, Part0, Part1, C0, C1) | |
677 | local Weld = Create("Weld")({ | |
678 | Parent = Parent, | |
679 | Part0 = Part0, | |
680 | Part1 = Part1, | |
681 | C0 = C0, | |
682 | C1 = C1 | |
683 | }) | |
684 | return Weld | |
685 | end | |
686 | }, | |
687 | Sound = { | |
688 | Create = function(id, par, vol, pit) | |
689 | coroutine.resume(coroutine.create(function() | |
690 | local S = Create("Sound")({ | |
691 | Volume = vol, | |
692 | Pitch = pit or 1, | |
693 | SoundId = id, | |
694 | Parent = par or workspace | |
695 | }) | |
696 | wait() | |
697 | S:play() | |
698 | game:GetService("Debris"):AddItem(S, 6) | |
699 | end)) | |
700 | end | |
701 | }, | |
702 | ParticleEmitter = { | |
703 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
704 | local fp = Create("ParticleEmitter")({ | |
705 | Parent = Parent, | |
706 | Color = ColorSequence.new(Color1, Color2), | |
707 | LightEmission = LightEmission, | |
708 | Size = Size, | |
709 | Texture = Texture, | |
710 | Transparency = Transparency, | |
711 | ZOffset = ZOffset, | |
712 | Acceleration = Accel, | |
713 | Drag = Drag, | |
714 | LockedToPart = LockedToPart, | |
715 | VelocityInheritance = VelocityInheritance, | |
716 | EmissionDirection = EmissionDirection, | |
717 | Enabled = Enabled, | |
718 | Lifetime = LifeTime, | |
719 | Rate = Rate, | |
720 | Rotation = Rotation, | |
721 | RotSpeed = RotSpeed, | |
722 | Speed = Speed, | |
723 | VelocitySpread = VelocitySpread | |
724 | }) | |
725 | return fp | |
726 | end | |
727 | } | |
728 | } | |
729 | function RemoveOutlines(part) | |
730 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
731 | end | |
732 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
733 | local Part = Create("Part")({ | |
734 | formFactor = FormFactor, | |
735 | Parent = Parent, | |
736 | Reflectance = Reflectance, | |
737 | Transparency = Transparency, | |
738 | CanCollide = false, | |
739 | Locked = true, | |
740 | BrickColor = BrickColor.new(tostring(BColor)), | |
741 | Name = Name, | |
742 | Size = Size, | |
743 | Material = Material | |
744 | }) | |
745 | RemoveOutlines(Part) | |
746 | return Part | |
747 | end | |
748 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
749 | local Msh = Create(Mesh)({ | |
750 | Parent = Part, | |
751 | Offset = OffSet, | |
752 | Scale = Scale | |
753 | }) | |
754 | if Mesh == "SpecialMesh" then | |
755 | Msh.MeshType = MeshType | |
756 | Msh.MeshId = MeshId | |
757 | end | |
758 | return Msh | |
759 | end | |
760 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
761 | local Weld = Create("Weld")({ | |
762 | Parent = Parent, | |
763 | Part0 = Part0, | |
764 | Part1 = Part1, | |
765 | C0 = C0, | |
766 | C1 = C1 | |
767 | }) | |
768 | return Weld | |
769 | end | |
770 | ||
771 | ||
772 | ------------------------------------------------------- | |
773 | --Start Effect Function-- | |
774 | ------------------------------------------------------- | |
775 | EffectModel = Instance.new("Model", char) | |
776 | Effects = { | |
777 | Block = { | |
778 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
779 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
780 | prt.Anchored = true | |
781 | prt.CFrame = cframe | |
782 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
783 | game:GetService("Debris"):AddItem(prt, 10) | |
784 | if Type == 1 or Type == nil then | |
785 | table.insert(Effects, { | |
786 | prt, | |
787 | "Block1", | |
788 | delay, | |
789 | x3, | |
790 | y3, | |
791 | z3, | |
792 | msh | |
793 | }) | |
794 | elseif Type == 2 then | |
795 | table.insert(Effects, { | |
796 | prt, | |
797 | "Block2", | |
798 | delay, | |
799 | x3, | |
800 | y3, | |
801 | z3, | |
802 | msh | |
803 | }) | |
804 | else | |
805 | table.insert(Effects, { | |
806 | prt, | |
807 | "Block3", | |
808 | delay, | |
809 | x3, | |
810 | y3, | |
811 | z3, | |
812 | msh | |
813 | }) | |
814 | end | |
815 | end | |
816 | }, | |
817 | Sphere = { | |
818 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
819 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
820 | prt.Anchored = true | |
821 | prt.CFrame = cframe | |
822 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
823 | game:GetService("Debris"):AddItem(prt, 10) | |
824 | table.insert(Effects, { | |
825 | prt, | |
826 | "Cylinder", | |
827 | delay, | |
828 | x3, | |
829 | y3, | |
830 | z3, | |
831 | msh | |
832 | }) | |
833 | end | |
834 | }, | |
835 | Cylinder = { | |
836 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
837 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
838 | prt.Anchored = true | |
839 | prt.CFrame = cframe | |
840 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
841 | game:GetService("Debris"):AddItem(prt, 10) | |
842 | table.insert(Effects, { | |
843 | prt, | |
844 | "Cylinder", | |
845 | delay, | |
846 | x3, | |
847 | y3, | |
848 | z3, | |
849 | msh | |
850 | }) | |
851 | end | |
852 | }, | |
853 | Wave = { | |
854 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
855 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
856 | prt.Anchored = true | |
857 | prt.CFrame = cframe | |
858 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
859 | game:GetService("Debris"):AddItem(prt, 10) | |
860 | table.insert(Effects, { | |
861 | prt, | |
862 | "Cylinder", | |
863 | delay, | |
864 | x3 / 60, | |
865 | y3 / 60, | |
866 | z3 / 60, | |
867 | msh | |
868 | }) | |
869 | end | |
870 | }, | |
871 | Ring = { | |
872 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
873 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
874 | prt.Anchored = true | |
875 | prt.CFrame = cframe | |
876 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
877 | game:GetService("Debris"):AddItem(prt, 10) | |
878 | table.insert(Effects, { | |
879 | prt, | |
880 | "Cylinder", | |
881 | delay, | |
882 | x3, | |
883 | y3, | |
884 | z3, | |
885 | msh | |
886 | }) | |
887 | end | |
888 | }, | |
889 | Break = { | |
890 | Create = function(brickcolor, cframe, x1, y1, z1) | |
891 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
892 | prt.Anchored = true | |
893 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
894 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
895 | local num = math.random(10, 50) / 1000 | |
896 | game:GetService("Debris"):AddItem(prt, 10) | |
897 | table.insert(Effects, { | |
898 | prt, | |
899 | "Shatter", | |
900 | num, | |
901 | prt.CFrame, | |
902 | math.random() - math.random(), | |
903 | 0, | |
904 | math.random(50, 100) / 100 | |
905 | }) | |
906 | end | |
907 | }, | |
908 | Spiral = { | |
909 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
910 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
911 | prt.Anchored = true | |
912 | prt.CFrame = cframe | |
913 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
914 | game:GetService("Debris"):AddItem(prt, 10) | |
915 | table.insert(Effects, { | |
916 | prt, | |
917 | "Cylinder", | |
918 | delay, | |
919 | x3, | |
920 | y3, | |
921 | z3, | |
922 | msh | |
923 | }) | |
924 | end | |
925 | }, | |
926 | Push = { | |
927 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
928 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
929 | prt.Anchored = true | |
930 | prt.CFrame = cframe | |
931 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
932 | game:GetService("Debris"):AddItem(prt, 10) | |
933 | table.insert(Effects, { | |
934 | prt, | |
935 | "Cylinder", | |
936 | delay, | |
937 | x3, | |
938 | y3, | |
939 | z3, | |
940 | msh | |
941 | }) | |
942 | end | |
943 | } | |
944 | } | |
945 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
946 | local fp = IT("Part") | |
947 | fp.formFactor = formfactor | |
948 | fp.Parent = parent | |
949 | fp.Reflectance = reflectance | |
950 | fp.Transparency = transparency | |
951 | fp.CanCollide = false | |
952 | fp.Locked = true | |
953 | fp.BrickColor = brickcolor | |
954 | fp.Name = name | |
955 | fp.Size = size | |
956 | fp.Position = tors.Position | |
957 | RemoveOutlines(fp) | |
958 | fp.Material = "SmoothPlastic" | |
959 | fp:BreakJoints() | |
960 | return fp | |
961 | end | |
962 | ||
963 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
964 | local mesh = IT(Mesh) | |
965 | mesh.Parent = part | |
966 | if Mesh == "SpecialMesh" then | |
967 | mesh.MeshType = meshtype | |
968 | if meshid ~= "nil" then | |
969 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
970 | end | |
971 | end | |
972 | mesh.Offset = offset | |
973 | mesh.Scale = scale | |
974 | return mesh | |
975 | end | |
976 | ||
977 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
978 | local type = type | |
979 | local rng = Instance.new("Part", char) | |
980 | rng.Anchored = true | |
981 | rng.BrickColor = color | |
982 | rng.CanCollide = false | |
983 | rng.FormFactor = 3 | |
984 | rng.Name = "Ring" | |
985 | rng.Material = "Neon" | |
986 | rng.Size = Vector3.new(1, 1, 1) | |
987 | rng.Transparency = 0 | |
988 | rng.TopSurface = 0 | |
989 | rng.BottomSurface = 0 | |
990 | rng.CFrame = pos | |
991 | local rngm = Instance.new("SpecialMesh", rng) | |
992 | rngm.MeshType = MType | |
993 | rngm.Scale = scale | |
994 | local scaler2 = 1 | |
995 | if type == "Add" then | |
996 | scaler2 = 1 * value | |
997 | elseif type == "Divide" then | |
998 | scaler2 = 1 / value | |
999 | end | |
1000 | coroutine.resume(coroutine.create(function() | |
1001 | for i = 0, 10 / bonuspeed, 0.1 do | |
1002 | swait() | |
1003 | if type == "Add" then | |
1004 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1005 | elseif type == "Divide" then | |
1006 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1007 | end | |
1008 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1009 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
1010 | end | |
1011 | rng:Destroy() | |
1012 | end)) | |
1013 | end | |
1014 | ||
1015 | function Eviscerate(dude) | |
1016 | if dude.Name ~= char then | |
1017 | local bgf = IT("BodyGyro", dude.Head) | |
1018 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1019 | local val = IT("BoolValue", dude) | |
1020 | val.Name = "IsHit" | |
1021 | local ds = coroutine.wrap(function() | |
1022 | dude:WaitForChild("Head"):BreakJoints() | |
1023 | wait(0.5) | |
1024 | target = nil | |
1025 | coroutine.resume(coroutine.create(function() | |
1026 | for i, v in pairs(dude:GetChildren()) do | |
1027 | if v:IsA("Accessory") then | |
1028 | v:Destroy() | |
1029 | end | |
1030 | if v:IsA("Humanoid") then | |
1031 | v:Destroy() | |
1032 | end | |
1033 | if v:IsA("CharacterMesh") then | |
1034 | v:Destroy() | |
1035 | end | |
1036 | if v:IsA("Model") then | |
1037 | v:Destroy() | |
1038 | end | |
1039 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1040 | for x, o in pairs(v:GetChildren()) do | |
1041 | if o:IsA("Decal") then | |
1042 | o:Destroy() | |
1043 | end | |
1044 | end | |
1045 | coroutine.resume(coroutine.create(function() | |
1046 | v.Material = "Neon" | |
1047 | v.CanCollide = false | |
1048 | local PartEmmit1 = IT("ParticleEmitter", v) | |
1049 | PartEmmit1.LightEmission = 1 | |
1050 | PartEmmit1.Texture = "rbxassetid://284205403" | |
1051 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1052 | PartEmmit1.Rate = 150 | |
1053 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1054 | PartEmmit1.Size = NumberSequence.new({ | |
1055 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1056 | NumberSequenceKeypoint.new(1, 0, 0) | |
1057 | }) | |
1058 | PartEmmit1.Transparency = NumberSequence.new({ | |
1059 | NumberSequenceKeypoint.new(0, 0, 0), | |
1060 | NumberSequenceKeypoint.new(1, 1, 0) | |
1061 | }) | |
1062 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1063 | PartEmmit1.VelocitySpread = 30000 | |
1064 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
1065 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
1066 | local BodPoss = IT("BodyPosition", v) | |
1067 | BodPoss.P = 3000 | |
1068 | BodPoss.D = 1000 | |
1069 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1070 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1071 | v.Color = maincolor.Color | |
1072 | coroutine.resume(coroutine.create(function() | |
1073 | for i = 0, 49 do | |
1074 | swait(1) | |
1075 | v.Transparency = v.Transparency + 0.08 | |
1076 | end | |
1077 | wait(0.5) | |
1078 | PartEmmit1.Enabled = false | |
1079 | wait(3) | |
1080 | v:Destroy() | |
1081 | dude:Destroy() | |
1082 | end)) | |
1083 | end)) | |
1084 | end | |
1085 | end | |
1086 | end)) | |
1087 | end) | |
1088 | ds() | |
1089 | end | |
1090 | end | |
1091 | ||
1092 | function FindNearestHead(Position, Distance, SinglePlayer) | |
1093 | if SinglePlayer then | |
1094 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
1095 | end | |
1096 | local List = {} | |
1097 | for i, v in pairs(workspace:GetChildren()) do | |
1098 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
1099 | table.insert(List, v) | |
1100 | end | |
1101 | end | |
1102 | return List | |
1103 | end | |
1104 | ||
1105 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
1106 | local type = type | |
1107 | local rng = Instance.new("Part", char) | |
1108 | rng.Anchored = true | |
1109 | rng.BrickColor = color | |
1110 | rng.CanCollide = false | |
1111 | rng.FormFactor = 3 | |
1112 | rng.Name = "Ring" | |
1113 | rng.Material = "Neon" | |
1114 | rng.Size = Vector3.new(1, 1, 1) | |
1115 | rng.Transparency = 0 | |
1116 | rng.TopSurface = 0 | |
1117 | rng.BottomSurface = 0 | |
1118 | rng.CFrame = pos | |
1119 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
1120 | local rngm = Instance.new("SpecialMesh", rng) | |
1121 | rngm.MeshType = MType | |
1122 | rngm.Scale = Vector3.new(x1, y1, z1) | |
1123 | local scaler2 = 1 | |
1124 | local speeder = FastSpeed | |
1125 | if type == "Add" then | |
1126 | scaler2 = 1 * value | |
1127 | elseif type == "Divide" then | |
1128 | scaler2 = 1 / value | |
1129 | end | |
1130 | coroutine.resume(coroutine.create(function() | |
1131 | for i = 0, 10 / bonuspeed, 0.1 do | |
1132 | swait() | |
1133 | if type == "Add" then | |
1134 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1135 | elseif type == "Divide" then | |
1136 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1137 | end | |
1138 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
1139 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
1140 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1141 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
1142 | end | |
1143 | rng:Destroy() | |
1144 | end)) | |
1145 | end | |
1146 | ||
1147 | function SoulSteal(dude) | |
1148 | if dude.Name ~= char then | |
1149 | local bgf = IT("BodyGyro", dude.Head) | |
1150 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1151 | local val = IT("BoolValue", dude) | |
1152 | val.Name = "IsHit" | |
1153 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
1154 | local soulst = coroutine.wrap(function() | |
1155 | local soul = Instance.new("Part",dude) | |
1156 | soul.Size = Vector3.new(1,1,1) | |
1157 | soul.CanCollide = false | |
1158 | soul.Anchored = false | |
1159 | soul.Position = torso.Position | |
1160 | soul.Transparency = 1 | |
1161 | local PartEmmit1 = IT("ParticleEmitter", soul) | |
1162 | PartEmmit1.LightEmission = 1 | |
1163 | PartEmmit1.Texture = "rbxassetid://569507414" | |
1164 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1165 | PartEmmit1.Rate = 250 | |
1166 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
1167 | PartEmmit1.Size = NumberSequence.new({ | |
1168 | NumberSequenceKeypoint.new(0, 1, 0), | |
1169 | NumberSequenceKeypoint.new(1, 0, 0) | |
1170 | }) | |
1171 | PartEmmit1.Transparency = NumberSequence.new({ | |
1172 | NumberSequenceKeypoint.new(0, 0, 0), | |
1173 | NumberSequenceKeypoint.new(1, 1, 0) | |
1174 | }) | |
1175 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1176 | PartEmmit1.VelocitySpread = 30000 | |
1177 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
1178 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
1179 | local BodPoss = IT("BodyPosition", soul) | |
1180 | BodPoss.P = 3000 | |
1181 | BodPoss.D = 1000 | |
1182 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1183 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1184 | wait(1.6) | |
1185 | soul.Touched:connect(function(hit) | |
1186 | if hit.Parent == char then | |
1187 | soul:Destroy() | |
1188 | end | |
1189 | end) | |
1190 | wait(1.2) | |
1191 | while soul do | |
1192 | swait() | |
1193 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1194 | BodPoss.Position = tors.Position | |
1195 | - | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=717045615" |
1195 | + | |
1196 | end) | |
1197 | soulst() | |
1198 | end | |
1199 | end | |
1200 | function FaceMouse() | |
1201 | local Cam = workspace.CurrentCamera | |
1202 | return { | |
1203 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
1204 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
1205 | } | |
1206 | end | |
1207 | ||
1208 | BTAUNT = Instance.new("Sound", tors) | |
1209 | - | BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=424026286" |
1209 | + | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1382488262" |
1210 | BTAUNT.Volume = 10 | |
1211 | BTAUNT.Pitch = 1 | |
1212 | BTAUNT.Looped = true | |
1213 | BTAUNT.TimePosition = 0.2 | |
1214 | ||
1215 | BTAUNT1 = Instance.new("Sound", tors) | |
1216 | BTAUNT1.SoundId = "http://www.roblox.com/asset/?id=0" | |
1217 | BTAUNT1.Volume = 10 | |
1218 | BTAUNT1.Pitch = 1 | |
1219 | BTAUNT1.Looped = true | |
1220 | BTAUNT1.TimePosition = 0.2 | |
1221 | ||
1222 | BTAUNT3 = Instance.new("Sound", tors) | |
1223 | BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=969583926" | |
1224 | BTAUNT3.Volume = 10 | |
1225 | BTAUNT3.Pitch = 1 | |
1226 | BTAUNT3.Looped = true | |
1227 | BTAUNT3.TimePosition = 0.2 | |
1228 | ||
1229 | BTAUNT2 = Instance.new("Sound", tors) | |
1230 | BTAUNT2.SoundId = "http://www.roblox.com/asset/?id=431213856" | |
1231 | BTAUNT2.Volume = 10 | |
1232 | BTAUNT2.Pitch = 1 | |
1233 | BTAUNT2.Looped = true | |
1234 | BTAUNT2.TimePosition = 0.2 | |
1235 | ------------------------------------------------------ | |
1236 | --End Effect Function-- | |
1237 | ------------------------------------------------------- | |
1238 | function Cso(ID, PARENT, VOLUME, PITCH) | |
1239 | local NSound = nil | |
1240 | coroutine.resume(coroutine.create(function() | |
1241 | NSound = IT("Sound", PARENT) | |
1242 | NSound.Volume = VOLUME | |
1243 | NSound.Pitch = PITCH | |
1244 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1245 | swait() | |
1246 | NSound:play() | |
1247 | game:GetService("Debris"):AddItem(NSound, 50) | |
1248 | end)) | |
1249 | return NSound | |
1250 | end | |
1251 | function CameraEnshaking(Length, Intensity) | |
1252 | coroutine.resume(coroutine.create(function() | |
1253 | local intensity = 1 * Intensity | |
1254 | local rotM = 0.01 * Intensity | |
1255 | for i = 0, Length, 0.1 do | |
1256 | swait() | |
1257 | intensity = intensity - 0.05 * Intensity / Length | |
1258 | rotM = rotM - 5.0E-4 * Intensity / Length | |
1259 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
1260 | 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) | |
1261 | end | |
1262 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
1263 | end)) | |
1264 | end | |
1265 | ------------------------------------------------------- | |
1266 | --End Important Functions-- | |
1267 | ------------------------------------------------------- | |
1268 | ||
1269 | ||
1270 | ------------------------------------------------------- | |
1271 | --Start Customization-- | |
1272 | ------------------------------------------------------- | |
1273 | local Player_Size = 1 | |
1274 | if Player_Size ~= 1 then | |
1275 | root.Size = root.Size * Player_Size | |
1276 | tors.Size = tors.Size * Player_Size | |
1277 | hed.Size = hed.Size * Player_Size | |
1278 | ra.Size = ra.Size * Player_Size | |
1279 | la.Size = la.Size * Player_Size | |
1280 | rl.Size = rl.Size * Player_Size | |
1281 | ll.Size = ll.Size * Player_Size | |
1282 | ---------------------------------------------------------------------------------- | |
1283 | rootj.Parent = root | |
1284 | neck.Parent = tors | |
1285 | RW.Parent = tors | |
1286 | LW.Parent = tors | |
1287 | RH.Parent = tors | |
1288 | LH.Parent = tors | |
1289 | ---------------------------------------------------------------------------------- | |
1290 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1291 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1292 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
1293 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
1294 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
1295 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
1296 | ---------------------------------------------------------------------------------- | |
1297 | 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)) | |
1298 | 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)) | |
1299 | 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)) | |
1300 | 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)) | |
1301 | --hat.Parent = Character | |
1302 | end | |
1303 | ---------------------------------------------------------------------------------- | |
1304 | ---------------------------------------------------------------------------------- | |
1305 | local equipped = false | |
1306 | local idle = 0 | |
1307 | local change = 1 | |
1308 | local val = 0 | |
1309 | local toim = 0 | |
1310 | local idleanim = 0.4 | |
1311 | local sine = 0 | |
1312 | local Sit = 1 | |
1313 | ---------------------------------------------------------------------------------- | |
1314 | hum.WalkSpeed = 8 | |
1315 | hum.JumpPower = 57 | |
1316 | hum.Animator.Parent = nil | |
1317 | ---------------------------------------------------------------------------------- | |
1318 | local Blobby = Instance.new("Part", char) | |
1319 | Blobby.Name = "Blob" | |
1320 | Blobby.CanCollide = false | |
1321 | Blobby.BrickColor = BrickColor.new("Really Black") | |
1322 | - | M2.MeshId = "http://www.roblox.com/asset/?id=121944778" |
1322 | + | |
1323 | - | M2.TextureId = "http://www.roblox.com/asset/?id=121944805" |
1323 | + | |
1324 | Blobby.Size = Vector3.new(1, 1, 2) | |
1325 | Blobby.TopSurface = Enum.SurfaceType.Smooth | |
1326 | Blobby.BottomSurface = Enum.SurfaceType.Smooth | |
1327 | ||
1328 | local Weld = Instance.new("Weld", Blobby) | |
1329 | Weld.Part0 = ra | |
1330 | Weld.Part1 = Blobby | |
1331 | Weld.C1 = CFrame.new(0, -2, 1.1) | |
1332 | Weld.C0 = CFrame.Angles(Rad(-86),0,0) | |
1333 | ||
1334 | local M2 = Instance.new("SpecialMesh") | |
1335 | M2.Parent = Blobby | |
1336 | M2.MeshId = "http://www.roblox.com/asset/?id=0" | |
1337 | M2.TextureId = "http://www.roblox.com/asset/?id=0" | |
1338 | M2.Scale = Vector3.new(2, 2, 2) | |
1339 | ||
1340 | --[[local naeeym2 = Instance.new("BillboardGui",char) | |
1341 | naeeym2.AlwaysOnTop = true | |
1342 | naeeym2.Size = UDim2.new(5,35,2,15) | |
1343 | naeeym2.StudsOffset = Vector3.new(0, 3.5, 0) | |
1344 | naeeym2.Adornee = hed | |
1345 | naeeym2.Name = "Name" | |
1346 | --naeeym2.PlayerToHideFrom = Player | |
1347 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1348 | tecks2.BackgroundTransparency = 1 | |
1349 | tecks2.TextScaled = true | |
1350 | tecks2.BorderSizePixel = 0 | |
1351 | tecks2.Text = "Fight Me" | |
1352 | tecks2.Font = Enum.Font.Bodoni | |
1353 | tecks2.TextSize = 30 | |
1354 | tecks2.TextStrokeTransparency = 0 | |
1355 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
1356 | tecks2.TextStrokeColor3 = Color3.new(1, 1, 1) | |
1357 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1358 | tecks2.Parent = naeeym2]] | |
1359 | ------------------------------------------------------- | |
1360 | --End Customization-- | |
1361 | ------------------------------------------------------- | |
1362 | ||
1363 | - | tecks2.Text = "Welcome to hell..." |
1363 | + | |
1364 | --Start Attacks N Stuff-- | |
1365 | ------------------------------------------------------- | |
1366 | local naeeym2 = Instance.new("BillboardGui",char) | |
1367 | naeeym2.AlwaysOnTop = true | |
1368 | naeeym2.Size = UDim2.new(5,35,2,35) | |
1369 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1370 | naeeym2.Adornee = hed | |
1371 | naeeym2.Name = "Name" | |
1372 | - | tecks2.Text = "LETS DIE TOGETHER!! HAHAHAHA" |
1372 | + | |
1373 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1374 | - | tecks2.Text = ":)" |
1374 | + | |
1375 | tecks2.TextScaled = true | |
1376 | tecks2.BorderSizePixel = 0 | |
1377 | tecks2.Text = "Grrrrrr" | |
1378 | tecks2.Font = "Garamond" | |
1379 | tecks2.TextSize = 30 | |
1380 | tecks2.TextStrokeTransparency = 0 | |
1381 | tecks2.TextColor3 = BrickColor.new('Really black').Color | |
1382 | tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color | |
1383 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1384 | tecks2.Parent = naeeym2 | |
1385 | textfag = tecks2 | |
1386 | tecks2.Text = "Why you reseting,idiot?!" | |
1387 | wait(2) | |
1388 | tecks2.Text = "DIE ALREADY!" | |
1389 | wait(1) | |
1390 | tecks2.Text = "Pandora’s chara" | |
1391 | BTAUNT:Play() | |
1392 | animation.Value = 1 | |
1393 | coroutine.resume(coroutine.create(function() | |
1394 | while textfag ~= nil do | |
1395 | swait() | |
1396 | textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
1397 | textfag.Rotation = math.random(-3,3) | |
1398 | end | |
1399 | end)) | |
1400 | ||
1401 | hed.face.Texture = "http://www.roblox.com/asset/?id=2381712419" | |
1402 | for i,v in pairs(char:children()) do | |
1403 | if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then | |
1404 | v:Remove() | |
1405 | end | |
1406 | end | |
1407 | shirt = Instance.new("Shirt", char) | |
1408 | shirt.Name = "Shirt" | |
1409 | pants = Instance.new("Pants", char) | |
1410 | pants.Name = "Pants" | |
1411 | char.Shirt.ShirtTemplate = "rbxassetid://1533635803" | |
1412 | char.Pants.PantsTemplate = "rbxassetid://1460022985" | |
1413 | local Hair2 = Instance.new("Part", char) | |
1414 | Hair2.Name = "Hair2" | |
1415 | Hair2.CanCollide = false | |
1416 | Hair2.BrickColor = BrickColor.new("CGA brown") | |
1417 | Hair2.Transparency = 0 | |
1418 | Hair2.Material = "Plastic" | |
1419 | Hair2.Size = Vector3.new(1, 1, 2) | |
1420 | Hair2.TopSurface = Enum.SurfaceType.Smooth | |
1421 | Hair2.BottomSurface = Enum.SurfaceType.Smooth | |
1422 | ||
1423 | local Weld = Instance.new("Weld", Hair2) | |
1424 | Weld.Part0 = hed | |
1425 | Weld.Part1 = Hair2 | |
1426 | Weld.C1 = CFrame.new(0,-0.1,0.60) | |
1427 | Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0) | |
1428 | ||
1429 | local M2 = Instance.new("SpecialMesh") | |
1430 | M2.Parent = Hair2 | |
1431 | M2.MeshId = "http://www.roblox.com/asset/?id=0" | |
1432 | M2.TextureId = "http://www.roblox.com/asset/?id=0" | |
1433 | M2.Scale = Vector3.new(1, 1, 1) | |
1434 | local l = game.Lighting | |
1435 | local sky = Instance.new("Sky",l) | |
1436 | l.TimeOfDay = "00:00:00" | |
1437 | l.Brightness = 1 | |
1438 | l.Ambient = Color3.new(0.25, 0.5, 0.75) | |
1439 | ---------------------------------------------------------------------------------- | |
1440 | wait() | |
1441 | player = game.Players.LocalPlayer | |
1442 | torso = player.Character:WaitForChild("Torso") | |
1443 | mouse = player:GetMouse() | |
1444 | ||
1445 | mouse.KeyDown:connect(function(key) | |
1446 | if key == "t" then | |
1447 | dist = (torso.Position - mouse.Hit.p).magnitude | |
1448 | if dist <= 10000 then | |
1449 | torso.CFrame = CFrame.new(mouse.Hit.p) + Vector3.new(0,3,0) | |
1450 | end | |
1451 | end | |
1452 | end) | |
1453 | ---------------------------------------------------------------------------------- | |
1454 | local AddInstance = function(Object, ...) | |
1455 | local Obj = Instance.new(Object) | |
1456 | for i,v in next,(...) do | |
1457 | Obj[i] = v | |
1458 | end | |
1459 | return Obj | |
1460 | end | |
1461 | ---------------------------------------------------- | |
1462 | local Reaper = AddInstance("Part",{ | |
1463 | Parent = hed, | |
1464 | CFrame = hed.CFrame, | |
1465 | formFactor = "Symmetric", | |
1466 | Size = Vector3.new(1, 1, 1), | |
1467 | CanCollide = false, | |
1468 | TopSurface = "Smooth", | |
1469 | BottomSurface = "Smooth", | |
1470 | Locked = true, | |
1471 | }) | |
1472 | local Weld = AddInstance("Weld",{ | |
1473 | Parent = Reaper, | |
1474 | Part0 = hed, | |
1475 | C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0), | |
1476 | Part1 = Reaper, | |
1477 | }) | |
1478 | local Mesh = AddInstance("SpecialMesh",{ | |
1479 | Parent = Reaper, | |
1480 | MeshId = "rbxassetid://83499032", | |
1481 | TextureId = "rbxassetid://184744284", | |
1482 | Scale = Vector3.new(1.1, 1.1, 1.1), | |
1483 | VertexColor = Vector3.new(0.3, 0.3, 0.3), | |
1484 | }) | |
1485 | ------------------------------------------------------- | |
1486 | wait() | |
1487 | plr = game.Players.LocalPlayer | |
1488 | char = plr.Character | |
1489 | mouse = plr:GetMouse() | |
1490 | whitecolor = Color3.new(1,1,1) | |
1491 | epicmode = false | |
1492 | normal = true | |
1493 | for i,v in pairs(char:GetChildren()) do | |
1494 | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then | |
1495 | v:Destroy() | |
1496 | end | |
1497 | end | |
1498 | local shirt = Instance.new("Shirt",char) | |
1499 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1533635803" | |
1500 | local pants = Instance.new("Pants",char) | |
1501 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=1460022985" | |
1502 | local bdycolors = char["Body Colors"] | |
1503 | bdycolors.HeadColor3 = whitecolor | |
1504 | bdycolors.LeftArmColor3 = whitecolor | |
1505 | bdycolors.LeftLegColor3 = whitecolor | |
1506 | bdycolors.RightArmColor3 = whitecolor | |
1507 | bdycolors.RightLegColor3 = whitecolor | |
1508 | bdycolors.TorsoColor3 = whitecolor | |
1509 | for i,v in pairs(char:GetChildren()) do | |
1510 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
1511 | v:Destroy() | |
1512 | end | |
1513 | end | |
1514 | ---------------------------------------------------------------------- | |
1515 | Circle = nil | |
1516 | CircleParts = {} | |
1517 | Equipped = false | |
1518 | ||
1519 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
1520 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) | |
1521 | end | |
1522 | Equipped = true | |
1523 | Circle = Instance.new("Model") | |
1524 | Circle.Name = "Circle" | |
1525 | Angle = 0 | |
1526 | for i = 1, 1 do | |
1527 | local CirclePart = Instance.new("Part") | |
1528 | CirclePart.Name = "CirclePart" | |
1529 | CirclePart.Transparency = 1 | |
1530 | CirclePart.BrickColor = BrickColor.new("Really black") | |
1531 | CirclePart.Material = Enum.Material.Plastic | |
1532 | CirclePart.Shape = Enum.PartType.Block | |
1533 | CirclePart.FormFactor = Enum.FormFactor.Custom | |
1534 | CirclePart.TopSurface = Enum.SurfaceType.Smooth | |
1535 | CirclePart.BottomSurface = Enum.SurfaceType.Smooth | |
1536 | CirclePart.Anchored = true | |
1537 | CirclePart.CanCollide = false | |
1538 | CirclePart.Locked = true | |
1539 | CirclePart.Size = Vector3.new(10, 0.2, 10) | |
1540 | local Aura = Instance.new('ParticleEmitter') | |
1541 | Aura.Name = "Aura" | |
1542 | Aura.Texture = "rbxassetid://771221224" | |
1543 | Aura.Parent = CirclePart | |
1544 | Aura.LightEmission = 0 | |
1545 | Aura.Transparency = NumberSequence.new(0.2,0.4,1) | |
1546 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 0/255),Color3.new(255/200, 200/200, 200/200)) | |
1547 | Aura.Size = NumberSequence.new(0.9,0.5,0.3) | |
1548 | Aura.LockedToPart = false | |
1549 | Aura.Lifetime = NumberRange.new(1) | |
1550 | Aura.Rate = 50 | |
1551 | Aura.Speed = NumberRange.new(2.5) | |
1552 | Aura.SpreadAngle = Vector2.new(80,80) | |
1553 | local BlockMesh = Instance.new("BlockMesh") | |
1554 | BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1) | |
1555 | BlockMesh.Parent = CirclePart | |
1556 | CirclePart.Parent = Circle | |
1557 | local Star = Instance.new("Decal", CirclePart) | |
1558 | Star.Texture = "http://www.roblox.com/asset/?id=818983932" | |
1559 | Star.Face = "Top" | |
1560 | local Light = Instance.new("PointLight", CirclePart) | |
1561 | Light.Color = Color3.new(.20,0,0) | |
1562 | Light.Brightness = 100 | |
1563 | Light.Range = 15 | |
1564 | table.insert(CircleParts, CirclePart) | |
1565 | end | |
1566 | Spawn(function() | |
1567 | while Equipped and Humanoid.Parent and Torso.Parent do | |
1568 | if Angle == 360 then | |
1569 | Angle = 0 | |
1570 | end | |
1571 | Angle = Angle + 0.05 | |
1572 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character}) | |
1573 | if Hit then | |
1574 | if not Circle.Parent then | |
1575 | Circle.Parent = Character | |
1576 | end | |
1577 | for i, v in pairs(CircleParts) do | |
1578 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
1579 | end | |
1580 | else | |
1581 | Circle.Parent = nil | |
1582 | end | |
1583 | wait() | |
1584 | end | |
1585 | end) | |
1586 | ||
1587 | function chatfunc(text, color) | |
1588 | local chat = coroutine.wrap(function() | |
1589 | if char:FindFirstChild("TalkingBillBoard") ~= nil then | |
1590 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
1591 | end | |
1592 | local naeeym2 = Instance.new("BillboardGui", char) | |
1593 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
1594 | naeeym2.StudsOffset = Vector3.new(0, 3, 0) | |
1595 | naeeym2.Adornee = hed | |
1596 | naeeym2.Name = "TalkingBillBoard" | |
1597 | local tecks2 = Instance.new("TextLabel", naeeym2) | |
1598 | tecks2.BackgroundTransparency = 1 | |
1599 | tecks2.BorderSizePixel = 0 | |
1600 | tecks2.Text = "" | |
1601 | tecks2.Font = "SciFi" | |
1602 | tecks2.TextSize = 30 | |
1603 | tecks2.TextStrokeTransparency = 0 | |
1604 | tecks2.TextColor3 = color | |
1605 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1606 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
1607 | local tecks3 = Instance.new("TextLabel", naeeym2) | |
1608 | tecks3.BackgroundTransparency = 1 | |
1609 | tecks3.BorderSizePixel = 0 | |
1610 | tecks3.Text = "" | |
1611 | tecks3.Font = "SciFi" | |
1612 | tecks3.TextSize = 30 | |
1613 | tecks3.TextStrokeTransparency = 0 | |
1614 | tecks3.TextColor3 = Color3.new(0, 0, 0) | |
1615 | tecks3.TextStrokeColor3 = color | |
1616 | tecks3.Size = UDim2.new(1, 0, 0.5, 0) | |
1617 | coroutine.resume(coroutine.create(function() | |
1618 | while true do | |
1619 | swait(1) | |
1620 | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
1621 | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
1622 | tecks2.Rotation = math.random(-5, 5) | |
1623 | tecks3.Rotation = math.random(-5, 5) | |
1624 | end | |
1625 | end)) | |
1626 | for i = 1, string.len(text) do | |
1627 | CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115) | |
1628 | tecks2.Text = string.sub(text, 1, i) | |
1629 | tecks3.Text = string.sub(text, 1, i) | |
1630 | swait(1) | |
1631 | end | |
1632 | wait(1) | |
1633 | local randomrot = math.random(1, 2) | |
1634 | if randomrot == 1 then | |
1635 | for i = 1, 50 do | |
1636 | swait() | |
1637 | tecks2.Rotation = tecks2.Rotation - 0.75 | |
1638 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1639 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
1640 | tecks3.Rotation = tecks2.Rotation + 0.75 | |
1641 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1642 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
1643 | end | |
1644 | elseif randomrot == 2 then | |
1645 | for i = 1, 50 do | |
1646 | swait() | |
1647 | tecks2.Rotation = tecks2.Rotation + 0.75 | |
1648 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1649 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
1650 | tecks3.Rotation = tecks2.Rotation - 0.75 | |
1651 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1652 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
1653 | end | |
1654 | end | |
1655 | naeeym2:Destroy() | |
1656 | end) | |
1657 | chat() | |
1658 | end | |
1659 | function Ban() | |
1660 | attack = true | |
1661 | for i = 0, 2.6, 0.1 do | |
1662 | swait() | |
1663 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2) | |
1664 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2) | |
1665 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2) | |
1666 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2) | |
1667 | 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) | |
1668 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2) | |
1669 | end | |
1670 | Cso("357417055", tors, 10, 1) | |
1671 | CameraEnshaking(2, 15) | |
1672 | 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) | |
1673 | 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) | |
1674 | 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) | |
1675 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do | |
1676 | if v:FindFirstChild("Head") then | |
1677 | Eviscerate(v) | |
1678 | end | |
1679 | end | |
1680 | for i = 0, 3, 0.1 do | |
1681 | swait() | |
1682 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3) | |
1683 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3) | |
1684 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3) | |
1685 | 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(0)), 0.3) | |
1686 | 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) | |
1687 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3) | |
1688 | end | |
1689 | attack = false | |
1690 | end | |
1691 | function fail() | |
1692 | chatfunc("You have failed.", BrickColor.new("Really red").Color) | |
1693 | Cso("907331307", hed, 3.5, 1) | |
1694 | attack = true | |
1695 | hum.WalkSpeed = 2.01 | |
1696 | for i = 0,1.2,0.1 do | |
1697 | swait() | |
1698 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1699 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1700 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1701 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1702 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1703 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1704 | end | |
1705 | for i = 0,1.2,0.1 do | |
1706 | swait() | |
1707 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1708 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1709 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1710 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1711 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1712 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1713 | end | |
1714 | for i = 0,1.2,0.1 do | |
1715 | swait() | |
1716 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1717 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1718 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1719 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1720 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1721 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1722 | end | |
1723 | for i = 0,1.2,0.1 do | |
1724 | swait() | |
1725 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1726 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1727 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1728 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1729 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1730 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1731 | end | |
1732 | for i = 0,1.2,0.1 do | |
1733 | swait() | |
1734 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1735 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1736 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1737 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1738 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1739 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1740 | end | |
1741 | for i = 0,1.2,0.1 do | |
1742 | swait() | |
1743 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1744 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1745 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1746 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1747 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1748 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1749 | end | |
1750 | hum.WalkSpeed = 16 | |
1751 | attack = false | |
1752 | end | |
1753 | function special_hell() | |
1754 | chatfunc("welcome to my special hell.", BrickColor.new("Really red").Color) | |
1755 | wait(2) | |
1756 | CHOICE = 6 | |
1757 | Cso("464600985", hed, 3.5, 1) | |
1758 | local killsky = Instance.new('Sky', game:GetService'Lighting') | |
1759 | killsky.SkyboxBk = "rbxassetid://818983932" | |
1760 | killsky.SkyboxDn = "rbxassetid://818983932" | |
1761 | killsky.SkyboxFt = "rbxassetid://818983932" | |
1762 | killsky.SkyboxLf = "rbxassetid://818983932" | |
1763 | killsky.SkyboxRt = "rbxassetid://818983932" | |
1764 | killsky.SkyboxUp = "rbxassetid://818983932" | |
1765 | --- | |
1766 | killsky.StarCount = 0 | |
1767 | killsky.SunAngularSize = 0 | |
1768 | killsky.MoonAngularSize = 0 | |
1769 | killsky.MoonTextureId = "" | |
1770 | killsky.CelestialBodiesShown = false | |
1771 | game.Lighting.FogColor = Color3.new(255,0,0) | |
1772 | game.Lighting.FogEnd = 1500 | |
1773 | if HITFLOOR ~= nil then | |
1774 | ATTACK = false | |
1775 | Rooted = false | |
1776 | local RINGSPIN = true | |
1777 | local CONSTRUCTING = true | |
1778 | local RING = CreatePart(3, Effects, "Neon", 0, 5, "Really red", "Ring", VT(0,0,0)) | |
1779 | RING.Color = C3(0,0,0) | |
1780 | MakeForm(RING,"Cyl") | |
1781 | RING.CFrame = CF(HITPOS) | |
1782 | coroutine.resume(coroutine.create(function() | |
1783 | repeat | |
1784 | Swait() | |
1785 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
1786 | until CONSTRUCTING == false | |
1787 | repeat | |
1788 | Swait() | |
1789 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
1790 | until RINGSPIN == false | |
1791 | for i = 1, 25 do | |
1792 | Swait() | |
1793 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
1794 | RING.Size = RING.Size - VT(0.15,0,0.15) | |
1795 | --DECAL.Transparency = DECAL.Transparency + 1/25 | |
1796 | RING.Transparency = RING.Transparency + 1/25 | |
1797 | end | |
1798 | RING:remove() | |
1799 | end)) | |
1800 | for i = 1, 15 do | |
1801 | Swait() | |
1802 | RING.Size = RING.Size + VT(0,0,0) | |
1803 | RING.Transparency = RING.Transparency - 1/15 | |
1804 | end | |
1805 | end | |
1806 | hum.WalkSpeed = 16 | |
1807 | attack = false | |
1808 | end | |
1809 | function ultra() | |
1810 | attack = true | |
1811 | hum.WalkSpeed = 0 | |
1812 | BTAUNT:Remove() | |
1813 | hed.face.Texture = "http://www.roblox.com/asset/?id=2381712419" | |
1814 | local Fire = IT("Sound",Character.Torso) | |
1815 | Fire.SoundId = "rbxassetid://192104941" | |
1816 | Fire.Looped = true | |
1817 | Fire.Pitch = 1 | |
1818 | Fire.Volume = 1 | |
1819 | local fire = Instance.new("ParticleEmitter", Character.Torso) | |
1820 | fire.Lifetime = NumberRange.new(0.5) | |
1821 | fire.Speed = NumberRange.new(1, 3) | |
1822 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)}) | |
1823 | fire.Rate = 0 | |
1824 | fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
1825 | fire.LightEmission = 0.6 | |
1826 | fire.Texture = "http://www.roblox.com/asset/?id=242911609" | |
1827 | fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
1828 | Fire:Play() | |
1829 | BTAUNT1:Play() | |
1830 | fire.Enabled = true | |
1831 | fire.Rate =2000 | |
1832 | BTAUNT1:Remove() | |
1833 | chatfunc("AHHHHHHHHHH HELP!!", BrickColor.new("Really red").Color) | |
1834 | wait(1) | |
1835 | for i = 0,18,0.1 do | |
1836 | swait() | |
1837 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
1838 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1839 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
1840 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
1841 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
1842 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
1843 | end | |
1844 | chatfunc("Time to die :)", BrickColor.new("Really red").Color) | |
1845 | wait(1) | |
1846 | for i = 0,1.2,0.1 do | |
1847 | swait() | |
1848 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1849 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1850 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1851 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1852 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1853 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1854 | end | |
1855 | for i = 0,1.2,0.1 do | |
1856 | swait() | |
1857 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1858 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1859 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1860 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1861 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1862 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1863 | end | |
1864 | tecks2:Remove() | |
1865 | fire:Remove() | |
1866 | Fire:Stop() | |
1867 | local BC = char["Body Colors"] | |
1868 | BC.HeadColor = BrickColor.new("Really black") | |
1869 | BC.LeftArmColor = BrickColor.new("Really black") | |
1870 | BC.LeftLegColor = BrickColor.new("Really black") | |
1871 | BC.RightArmColor = BrickColor.new("Really black") | |
1872 | BC.RightLegColor = BrickColor.new("Really black") | |
1873 | BC.TorsoColor = BrickColor.new("Really black") | |
1874 | tecks2:Remove() | |
1875 | BTAUNT3:Play() | |
1876 | local naeeym2 = Instance.new("BillboardGui",char) | |
1877 | naeeym2.AlwaysOnTop = true | |
1878 | naeeym2.Size = UDim2.new(5,35,2,35) | |
1879 | naeeym2.StudsOffset = Vector3.new(0,1,0) | |
1880 | naeeym2.Adornee = hed | |
1881 | naeeym2.Name = "Name" | |
1882 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1883 | tecks2.BackgroundTransparency = 1 | |
1884 | tecks2.TextScaled = true | |
1885 | tecks2.BorderSizePixel = 0 | |
1886 | tecks2.Font = "Garamond" | |
1887 | tecks2.TextSize = 30 | |
1888 | tecks2.TextStrokeTransparency = 0 | |
1889 | tecks2.TextColor3 = BrickColor.new('Really black').Color | |
1890 | tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color | |
1891 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1892 | tecks2.Parent = naeeym2 | |
1893 | textfag = tecks2 | |
1894 | wait(1) | |
1895 | tecks2.Text = "Ultra Pandora’s Chara" | |
1896 | animation.Value = 2 | |
1897 | coroutine.resume(coroutine.create(function() | |
1898 | while textfag ~= nil do | |
1899 | swait() | |
1900 | textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
1901 | textfag.Rotation = math.random(-3,3) | |
1902 | end | |
1903 | end)) | |
1904 | hed.face.Texture = "http://www.roblox.com/asset/?id=2381712419" | |
1905 | ------------------- | |
1906 | Spawn(function() | |
1907 | while Equipped and Humanoid.Parent and Torso.Parent do | |
1908 | if Angle == 360 then | |
1909 | Angle = 0 | |
1910 | end | |
1911 | Angle = Angle + 0.05 | |
1912 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character}) | |
1913 | if Hit then | |
1914 | if not Circle.Parent then | |
1915 | Circle.Parent = Character | |
1916 | end | |
1917 | for i, v in pairs(CircleParts) do | |
1918 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
1919 | end | |
1920 | else | |
1921 | Circle.Parent = nil | |
1922 | end | |
1923 | wait() | |
1924 | end | |
1925 | end) | |
1926 | attack = false | |
1927 | hum.WalkSpeed = 75 | |
1928 | end | |
1929 | function hate() | |
1930 | chatfunc("i've got a question for you.", BrickColor.new("Really red").Color) | |
1931 | wait(3) | |
1932 | chatfunc("do you know black means?.", BrickColor.new("Really red").Color) | |
1933 | wait(3) | |
1934 | attack = true | |
1935 | Cso("464600985", hed, 3.5, 1) | |
1936 | local orb = Instance.new("Part", char) | |
1937 | orb.Anchored = true | |
1938 | orb.BrickColor = BrickC("Really black") | |
1939 | orb.CanCollide = false | |
1940 | orb.FormFactor = 3 | |
1941 | orb.Name = "Ring" | |
1942 | orb.Material = "Neon" | |
1943 | orb.Size = Vector3.new(1, 1, 1) | |
1944 | orb.Transparency = 0 | |
1945 | orb.TopSurface = 0 | |
1946 | orb.BottomSurface = 0 | |
1947 | local orbm = Instance.new("SpecialMesh", orb) | |
1948 | orbm.MeshType = "Sphere" | |
1949 | orbm.Name = "SizeMesh" | |
1950 | orbm.Scale = Vector3.new(0, 0, 0) | |
1951 | local scaled = 0.1 | |
1952 | local posid = 0 | |
1953 | for i = 0, 12, 0.1 do | |
1954 | swait() | |
1955 | scaled = scaled + 0.001 | |
1956 | posid = posid - scaled | |
1957 | orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0) | |
1958 | orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled) | |
1959 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1960 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1961 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
1962 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
1963 | 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) | |
1964 | 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) | |
1965 | end | |
1966 | hed.face.Texture = "http://www.roblox.com/asset/?id=2381712419" | |
1967 | chatfunc("it's HATE :)", BrickColor.new("Really red").Color) | |
1968 | wait(3) | |
1969 | chatfunc("and i have a LOT of it to share", BrickColor.new("Really red").Color) | |
1970 | wait(2) | |
1971 | for i = 0, 2, 0.1 do | |
1972 | swait() | |
1973 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1974 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1975 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1976 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1977 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) | |
1978 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) | |
1979 | end | |
1980 | coroutine.resume(coroutine.create(function() | |
1981 | orb.Anchored = false | |
1982 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1) | |
1983 | local a = Instance.new("Part", workspace) | |
1984 | a.Name = "Direction" | |
1985 | a.Anchored = true | |
1986 | a.BrickColor = BrickC("Really black") | |
1987 | a.Material = "Neon" | |
1988 | a.Transparency = 1 | |
1989 | a.CanCollide = false | |
1990 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500) | |
1991 | local ignore = orb | |
1992 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
1993 | a.BottomSurface = 10 | |
1994 | a.TopSurface = 10 | |
1995 | local distance = (orb.CFrame.p - position).magnitude | |
1996 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
1997 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
1998 | orb.CFrame = a.CFrame | |
1999 | a:Destroy() | |
2000 | local bv = Instance.new("BodyVelocity") | |
2001 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
2002 | bv.velocity = orb.CFrame.lookVector * 125 | |
2003 | bv.Parent = orb | |
2004 | local hitted = false | |
2005 | game:GetService("Debris"):AddItem(orb, 15) | |
2006 | swait() | |
2007 | local hit = orb.Touched:connect(function(hit) | |
2008 | if hitted == false then | |
2009 | hitted = true | |
2010 | CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1) | |
2011 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do | |
2012 | if v:FindFirstChild("Head") then | |
2013 | Eviscerate(v) | |
2014 | end | |
2015 | end | |
2016 | Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really black"), "Sphere") | |
2017 | Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really black"), "Sphere") | |
2018 | for i = 0, 9 do | |
2019 | Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere") | |
2020 | Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere") | |
2021 | end | |
2022 | orb.Anchored = true | |
2023 | orb.Transparency = 1 | |
2024 | wait(8) | |
2025 | orb:Destroy() | |
2026 | end | |
2027 | end) | |
2028 | end)) | |
2029 | for i = 0, 1, 0.1 do | |
2030 | swait() | |
2031 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(30)), 0.3) | |
2032 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-30)), 0.3) | |
2033 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.3) | |
2034 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.3) | |
2035 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3) | |
2036 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.3) | |
2037 | end | |
2038 | hed.face.Texture = "http://www.roblox.com/asset/?id=2381712419" | |
2039 | attack = false | |
2040 | end | |
2041 | function THUNDERCLAP() | |
2042 | attack = true | |
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.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
2046 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
2047 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
2048 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
2049 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3) | |
2050 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3) | |
2051 | end | |
2052 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1) | |
2053 | for i = 0, 7, 0.1 do | |
2054 | swait() | |
2055 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
2056 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
2057 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
2058 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
2059 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 - 4.5 * Sin(sine / 20))), 0.3) | |
2060 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 + 4.5 * Sin(sine / 20))), 0.3) | |
2061 | end | |
2062 | ||
2063 | Magic(1, "Add", root.CFrame, Vector3.new(50, 100, 50), 4, BrickC("Really black"), "Sphere") | |
2064 | Magic(1, "Add", root.CFrame, Vector3.new(30, 60, 30), 4, BrickC("Really black"), "Sphere") | |
2065 | Magic(1, "Add", root.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Really black"), "Sphere") | |
2066 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 500000)) do | |
2067 | if v:FindFirstChild("Head") then | |
2068 | Eviscerate(v) | |
2069 | end | |
2070 | end | |
2071 | CFuncs["Sound"].Create("rbxassetid://138213851", char, 2,1.2) | |
2072 | CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,1.2) | |
2073 | CFuncs["Sound"].Create("rbxassetid://919941001", char, 3,1.05) | |
2074 | for i = 0, 7, 0.1 do | |
2075 | swait() | |
2076 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
2077 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3) | |
2078 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3) | |
2079 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3) | |
2080 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 - 4.5 * Sin(sine / 20))), 0.3) | |
2081 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 + 4.5 * Sin(sine / 20))), 0.3) | |
2082 | end | |
2083 | attack = false | |
2084 | end | |
2085 | function TUSKOR661() | |
2086 | attack = true | |
2087 | M2.Scale = Vector3.new(5, 5, 5) | |
2088 | chatfunc("MU HAHAHAHHAHAHAHHAH", BrickColor.new("Really red").Color) | |
2089 | Cso("464600985", hed, 3.5, 1) | |
2090 | hed.face.Texture = "http://www.roblox.com/asset/?id=2381712419" | |
2091 | for i = 0, 15, 0.1 do | |
2092 | swait() | |
2093 | hum.CameraOffset = Vector3.new(0, 8, 0) | |
2094 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 8 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2) | |
2095 | 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) | |
2096 | 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) | |
2097 | 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) | |
2098 | 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) | |
2099 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-30), Rad(-90)), 0.2) | |
2100 | end | |
2101 | for i = 0, 15, 0.1 do | |
2102 | swait() | |
2103 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 8 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2) | |
2104 | 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) | |
2105 | 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) | |
2106 | 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) | |
2107 | 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) | |
2108 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-30), Rad(-90)), 0.2) | |
2109 | end | |
2110 | wait(0.1) | |
2111 | for i = 0, 15, 0.1 do | |
2112 | swait() | |
2113 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 8 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2) | |
2114 | 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) | |
2115 | 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) | |
2116 | 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) | |
2117 | 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) | |
2118 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-30), Rad(-90)), 0.2) | |
2119 | end | |
2120 | Cso("483458132", char, 10, .7) | |
2121 | CameraEnshaking(6, 65) | |
2122 | 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) | |
2123 | 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) | |
2124 | 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) | |
2125 | 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) | |
2126 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04) | |
2127 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02) | |
2128 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01) | |
2129 | Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Really black"), "Sphere") | |
2130 | Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really black"), "Sphere") | |
2131 | Magic(1, "Add", root.CFrame, Vector3.new(1, 100000, 1), 0.5, BrickColor.new("Really black"), "Sphere") | |
2132 | Magic(1, "Add", root.CFrame, Vector3.new(1, 1, 1), 0.75, BrickColor.new("Really black"), "Sphere") | |
2133 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 99999999999.5)) do | |
2134 | if v:FindFirstChild("Head") then | |
2135 | Eviscerate(v) | |
2136 | end | |
2137 | end | |
2138 | for i = 0, 15, 0.1 do | |
2139 | swait() | |
2140 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(0)), 0.2) | |
2141 | - | Cso("464600985", tors, 10, 1) |
2141 | + | |
2142 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2) | |
2143 | 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) | |
2144 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3) | |
2145 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2) | |
2146 | end | |
2147 | hed.face.Texture = "http://www.roblox.com/asset/?id=2381712419" | |
2148 | M2.Scale = Vector3.new(1, 1, 1) | |
2149 | attack = false | |
2150 | end | |
2151 | ------------------------------------------------------- | |
2152 | --End Attacks N Stuff-- | |
2153 | ------------------------------------------------------- | |
2154 | mouse.KeyDown:connect(function(key) | |
2155 | - | Cso("660701977", hed, 3.5, 1) |
2155 | + | |
2156 | if key == "y" then | |
2157 | Cso("246480487", tors, 10, 1) | |
2158 | elseif key == 'q' then | |
2159 | fail() | |
2160 | elseif key == 'h' then | |
2161 | special_hell() | |
2162 | elseif key == 'f' then | |
2163 | ultra() | |
2164 | elseif key == 'z' then | |
2165 | hate() | |
2166 | elseif key == 'g' then | |
2167 | TUSKOR661() | |
2168 | elseif key == 'b' then | |
2169 | THUNDERCLAP() | |
2170 | elseif key == 'm' then | |
2171 | Cso("525166232", hed, 100, 1) | |
2172 | end | |
2173 | end | |
2174 | end) | |
2175 | mouse.Button1Down:connect(function(key) | |
2176 | if attack == false then | |
2177 | Ban() | |
2178 | end | |
2179 | end) | |
2180 | ||
2181 | ||
2182 | ||
2183 | ||
2184 | ||
2185 | ------------------------------------------------------- | |
2186 | --Start Animations-- | |
2187 | ------------------------------------------------------- | |
2188 | while true do | |
2189 | swait() | |
2190 | sine = sine + change | |
2191 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2192 | local velderp = root.Velocity.y | |
2193 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
2194 | if equipped == true or equipped == false then | |
2195 | if attack == false then | |
2196 | idle = idle + 1 | |
2197 | else | |
2198 | idle = 0 | |
2199 | end | |
2200 | if 1 < root.Velocity.y and hitfloor == nil then | |
2201 | Anim = "Jump" | |
2202 | if attack == false then | |
2203 | 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) | |
2204 | 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) | |
2205 | - | Anim = "Idle" |
2205 | + | |
2206 | - | change = 1 |
2206 | + | |
2207 | 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) | |
2208 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15) |
2208 | + | |
2209 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 12.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.3) |
2209 | + | |
2210 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
2211 | Anim = "Fall" | |
2212 | - | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1) |
2212 | + | |
2213 | - | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(-43 - 4.5 * Sin(sine / 12))), 0.1) |
2213 | + | |
2214 | 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) | |
2215 | - | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then |
2215 | + | |
2216 | - | Anim = "Walk" |
2216 | + | |
2217 | - | change = 1 |
2217 | + | |
2218 | 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) | |
2219 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15) |
2219 | + | |
2220 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) |
2220 | + | |
2221 | - | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) |
2221 | + | Anim = "Idle" |
2222 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) |
2222 | + | change = 1 |
2223 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1) |
2223 | + | if attack == false then |
2224 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1) |
2224 | + | |
2225 | if animation.Value == 1 then | |
2226 | ||
2227 | ||
2228 | ||
2229 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
2230 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2231 | 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) | |
2232 | 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) | |
2233 | 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) | |
2234 | 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) | |
2235 | ||
2236 | else | |
2237 | ||
2238 | if animation.Value == 2 then | |
2239 | ||
2240 | ||
2241 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15) | |
2242 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 7.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3) | |
2243 | 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(75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(0)), 0.15) | |
2244 | 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(-75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(8)), 0.15) | |
2245 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-.6), Rad(15 + 6.5 * Sin(sine / 20))), 0.1) | |
2246 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-10), Rad(-.6), Rad(-15 - 6.5 * Sin(sine / 20))), 0.1) | |
2247 | ||
2248 | ||
2249 | else | |
2250 | ||
2251 | ||
2252 | if animation.Value == 3 then | |
2253 | ||
2254 | ||
2255 | ||
2256 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) | |
2257 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2258 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15) | |
2259 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15) | |
2260 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) | |
2261 | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
2262 | ||
2263 | ||
2264 | else | |
2265 | ||
2266 | ||
2267 | if animation.Value == 4 then | |
2268 | ||
2269 | ||
2270 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.08) | |
2271 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.08) | |
2272 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
2273 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
2274 | RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08) | |
2275 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
2276 | ||
2277 | ||
2278 | ||
2279 | else | |
2280 | ||
2281 | ||
2282 | ||
2283 | if animation.Value == 10 then | |
2284 | ||
2285 | ||
2286 | ||
2287 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15) | |
2288 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 12.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.3) | |
2289 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
2290 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
2291 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1) | |
2292 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(-43 - 4.5 * Sin(sine / 12))), 0.1) | |
2293 | ||
2294 | ||
2295 | ||
2296 | ||
2297 | end | |
2298 | ||
2299 | ||
2300 | end | |
2301 | ||
2302 | end | |
2303 | end | |
2304 | ||
2305 | ||
2306 | end | |
2307 | ||
2308 | end | |
2309 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
2310 | Anim = "Walk" | |
2311 | change = 1 | |
2312 | if attack == false then | |
2313 | ||
2314 | if animation.Value == 1 then | |
2315 | ||
2316 | ||
2317 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15) | |
2318 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
2319 | RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2320 | LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2321 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
2322 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
2323 | ||
2324 | else | |
2325 | ||
2326 | if animation.Value == 2 then | |
2327 | ||
2328 | ||
2329 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) | |
2330 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
2331 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2332 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2333 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1) | |
2334 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1) | |
2335 | ||
2336 | ||
2337 | else | |
2338 | ||
2339 | ||
2340 | if animation.Value == 3 then | |
2341 | ||
2342 | ||
2343 | ||
2344 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) | |
2345 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2346 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15) | |
2347 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15) | |
2348 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) | |
2349 | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
2350 | ||
2351 | ||
2352 | else | |
2353 | ||
2354 | ||
2355 | if animation.Value == 4 then | |
2356 | ||
2357 | ||
2358 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.08) | |
2359 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.08) | |
2360 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
2361 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
2362 | RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08) | |
2363 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
2364 | ||
2365 | ||
2366 | ||
2367 | else | |
2368 | ||
2369 | ||
2370 | ||
2371 | if animation.Value == 10 then | |
2372 | ||
2373 | ||
2374 | ||
2375 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15) | |
2376 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 12.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.3) | |
2377 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
2378 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15) | |
2379 | RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1) | |
2380 | LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(-43 - 4.5 * Sin(sine / 12))), 0.1) | |
2381 | ||
2382 | ||
2383 | ||
2384 | ||
2385 | end | |
2386 | ||
2387 | ||
2388 | end | |
2389 | ||
2390 | end | |
2391 | end | |
2392 | ||
2393 | ||
2394 | end | |
2395 | ||
2396 | end | |
2397 | elseif torvel >= 25 and hitfloor ~= nil then | |
2398 | Anim = "Sprint" | |
2399 | change = 1.35 | |
2400 | if attack == false then | |
2401 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
2402 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
2403 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2404 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2405 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
2406 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) | |
2407 | end | |
2408 | end | |
2409 | end | |
2410 | if 0 < #Effects then | |
2411 | for e = 1, #Effects do | |
2412 | if Effects[e] ~= nil then | |
2413 | local Thing = Effects[e] | |
2414 | if Thing ~= nil then | |
2415 | local Part = Thing[1] | |
2416 | local Mode = Thing[2] | |
2417 | local Delay = Thing[3] | |
2418 | local IncX = Thing[4] | |
2419 | local IncY = Thing[5] | |
2420 | local IncZ = Thing[6] | |
2421 | if 1 >= Thing[1].Transparency then | |
2422 | if Thing[2] == "Block1" then | |
2423 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2424 | local Mesh = Thing[1].Mesh | |
2425 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2426 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2427 | elseif Thing[2] == "Block2" then | |
2428 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
2429 | local Mesh = Thing[7] | |
2430 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2431 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2432 | elseif Thing[2] == "Block3" then | |
2433 | 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) | |
2434 | local Mesh = Thing[7] | |
2435 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2436 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2437 | elseif Thing[2] == "Cylinder" then | |
2438 | local Mesh = Thing[1].Mesh | |
2439 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2440 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2441 | elseif Thing[2] == "Blood" then | |
2442 | local Mesh = Thing[7] | |
2443 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
2444 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2445 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2446 | elseif Thing[2] == "Elec" then | |
2447 | local Mesh = Thing[1].Mesh | |
2448 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2449 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2450 | elseif Thing[2] == "Disappear" then | |
2451 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2452 | elseif Thing[2] == "Shatter" then | |
2453 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2454 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2455 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2456 | Thing[6] = Thing[6] + Thing[5] | |
2457 | end | |
2458 | else | |
2459 | Part.Parent = nil | |
2460 | table.remove(Effects, e) | |
2461 | end | |
2462 | end | |
2463 | end | |
2464 | end | |
2465 | end | |
2466 | end | |
2467 | ------------------------------------------------------- | |
2468 | --End Animations And Script-- | |
2469 | ------------------------------------------------------- |