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