Advertisement
Bendy928443534

Untitled

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