Advertisement
filipaopastebins2134

(NON-MUSIC) Sunny Bunnies Runner 1.3

Feb 1st, 2019
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 62.81 KB | None | 0 0
  1. wait(1)
  2. local player = game.Players.LocalPlayer
  3. repeat wait(1) until player.Character ~= nil
  4. local char = player.Character
  5.  
  6. local limbs = {
  7. ["Right Arm"] = {char["Right Arm"]:clone(),char.Torso["Right Shoulder"]:clone()},
  8. ["Left Arm"] = {char["Left Arm"]:clone(),char.Torso["Left Shoulder"]:clone()},
  9. --["Right Leg"] = {char["Right Leg"]:clone(),char.Torso["Right Hip"]:clone()},
  10. --["Left Leg"] = {char["Left Leg"]:clone(),char.Torso["Left Hip"]:clone()}
  11. }
  12.  
  13. local anim = char.Animate:clone()
  14.  
  15. function isLimb(part)
  16. if part:IsA("BasePart") and limbs[part.Name] then
  17. return true
  18. else
  19. return false
  20. end
  21. end
  22.  
  23. char.ChildRemoved:connect(function(kid)
  24. if isLimb(kid) then
  25. if kid.Parent ~= nil and kid.Parent.Name == "Model" then return end
  26. local newLimb = limbs[kid.Name][1]:clone()
  27. newLimb.Parent = char
  28. local newJoint = limbs[kid.Name][2]:clone()
  29. newJoint.Parent = char.Torso
  30. newJoint.Part0 = char.Torso
  31. newJoint.Part1 = newLimb
  32. if char:FindFirstChild("Animate") then
  33. char.Animate:Destroy()
  34. wait()
  35. anim:clone().Parent = char
  36. anim.Disabled = true
  37. anim.Disabled = false
  38. end
  39. end
  40. end)
  41. --[[KillerDarkness0105's/Codex's Sonic script]]--
  42.  
  43.  
  44.  
  45. wait(0.07)
  46. Player=game:GetService("Players").LocalPlayer
  47. Character=Player.Character
  48. PlayerGui=Player.PlayerGui
  49. Backpack=Player.Backpack
  50. Torso=Character.Torso
  51. Head=Character.Head
  52. Humanoid=Character.Humanoid
  53. LeftArm=Character["Left Arm"]
  54. LeftLeg=Character["Left Leg"]
  55. RightArm=Character["Right Arm"]
  56. RightLeg=Character["Right Leg"]
  57. LS=Torso["Left Shoulder"]
  58. LH=Torso["Left Hip"]
  59. RS=Torso["Right Shoulder"]
  60. RH=Torso["Right Hip"]
  61. Face = Head.face
  62. Neck=Torso.Neck
  63. it=Instance.new
  64. attacktype=1
  65. attacktype2=1
  66. vt=Vector3.new
  67. cf=CFrame.new
  68. cn=CFrame.new
  69. euler=CFrame.fromEulerAnglesXYZ
  70. angles=CFrame.Angles
  71. combo = 0
  72. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  73. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  74. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  75. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  76. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  77. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  78. RootPart=Character.HumanoidRootPart
  79. RootJoint=RootPart.RootJoint
  80. RootCF=euler(-1.57,0,3.14)
  81. attack = false
  82. attackdebounce = false
  83. trispeed=.2
  84. attackmode='none'
  85. local idle=0
  86. local Anim="Idle"
  87. stance = false
  88. local ff = 2
  89. noleg = false
  90. evadecooldown = false
  91. Humanoid.Animator.Parent = nil
  92. equip = false
  93. local Effects = {}
  94. attackspeed = 0.14
  95. df = false
  96. Swing = 1
  97. local sine = 0
  98. local change = 1
  99. local val = 0
  100. local speed = 0
  101. local rs = game:GetService("RunService").RenderStepped
  102. cam = workspace.CurrentCamera
  103. local RbxUtility = LoadLibrary("RbxUtility")
  104. local Create = RbxUtility.Create
  105. deb = game:GetService("Debris")
  106. Face.Transparency = 0
  107. --Face.Texture = "rbxassetid://176217905" --176217905
  108. Humanoid.WalkSpeed = 64
  109. local freefall = 0
  110. Head.Running.SoundId = "rbxassetid://758199523"
  111. Head.Running.Volume = 2
  112. local boost = false
  113. Humanoid.JumpPower = 88
  114. local musicnum = 1
  115.  
  116. local spd = Vector3.new(RootPart.Velocity.x,0,RootPart.Velocity.z).magnitude + 10
  117. local dir = Vector3.new(RootPart.Velocity.x,0,RootPart.Velocity.z).unit
  118. local GravPoint = RootPart.Velocity.y
  119. local NV = Vector3.new(0,0,0)
  120. print("Move list")
  121. print("---------")
  122. print("Shift = Boost")
  123. print("Ctrl = Mach Speed Boost")
  124. print("Q = Left QuickStep, E = Right QuickStep")
  125. print("C = Slide, in air to stomp")
  126. print("Jump Then Hold B near a wall to wallrun")
  127. print("M to change music, if you're standing still you'll do a special animation!")
  128. print("Space near a wall to walljump, away from a wall homing attack")
  129. music = Instance.new("Sound",PlayerGui)
  130. music.Volume = 0
  131. music.TimePosition = 0
  132. music.Pitch = 1
  133. music.SoundId = "rbxassetid://1251555494"
  134. music.Looped = true
  135. music:Play()
  136.  
  137.  
  138. boostsound = Instance.new("Sound",PlayerGui)
  139. boostsound.Volume = .6
  140. boostsound.TimePosition = 0
  141. boostsound.Pitch = 1
  142. boostsound.SoundId = "rbxassetid://924922553"
  143. boostsound.Looped = false
  144.  
  145.  
  146.  
  147. stompsound = Instance.new("Sound",PlayerGui)
  148. stompsound.Volume = 1
  149. stompsound.TimePosition = 0
  150. stompsound.Pitch = 1
  151. stompsound.SoundId = "rbxassetid://1295424184"
  152. stompsound.Looped = false
  153.  
  154.  
  155.  
  156. so = function(id,par,vol,pit)
  157. coroutine.resume(coroutine.create(function()
  158. local sou = Instance.new("Sound",par or workspace)
  159. sou.Volume=vol
  160. sou.Pitch=pit or 1
  161. sou.SoundId=id
  162. sou:play()
  163. game:GetService("Debris"):AddItem(sou,8)
  164. end))
  165. end
  166.  
  167. --save shoulders
  168. RSH, LSH=nil, nil
  169. --welds
  170. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  171. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  172. LH=Torso["Left Hip"]
  173. RH=Torso["Right Hip"]
  174. TorsoColor=Torso.BrickColor
  175. function NoOutline(Part)
  176. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  177. end
  178. player=Player
  179. ch=Character
  180. RSH=ch.Torso["Right Shoulder"]
  181. LSH=ch.Torso["Left Shoulder"]
  182. --
  183. RSH.Parent=nil
  184. LSH.Parent=nil
  185. --
  186. RW.Name="Right Shoulder"
  187. RW.Part0=ch.Torso
  188. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  189. RW.C1=cf(0, 0.5, 0)
  190. RW.Part1=ch["Right Arm"]
  191. RW.Parent=ch.Torso
  192. --
  193. LW.Name="Left Shoulder"
  194. LW.Part0=ch.Torso
  195. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  196. LW.C1=cf(0, 0.5, 0)
  197. LW.Part1=ch["Left Arm"]
  198. LW.Parent=ch.Torso
  199.  
  200.  
  201. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  202. local wld = Instance.new("Weld", wp1)
  203. wld.Part0 = wp0
  204. wld.Part1 = wp1
  205. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  206. end
  207. local rs = game:GetService("RunService").RenderStepped
  208.  
  209. newWeld(RootPart, Torso, 0, -1, 0)
  210. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  211. newWeld(Torso, LeftLeg, -0.5, -1, 0)
  212. LeftLeg.Weld.C1 = CFrame.new(0, 1, 0)
  213. newWeld(Torso, RightLeg, 0.5, -1, 0)
  214. RightLeg.Weld.C1 = CFrame.new(0, 1, 0)
  215.  
  216. Player=game:GetService('Players').LocalPlayer
  217. Character=Player.Character
  218. mouse=Player:GetMouse()
  219. m=Instance.new('Model',Character)
  220.  
  221.  
  222. local function weldBetween(a, b)
  223. local weldd = Instance.new("ManualWeld")
  224. weldd.Part0 = a
  225. weldd.Part1 = b
  226. weldd.C0 = CFrame.new()
  227. weldd.C1 = b.CFrame:inverse() * a.CFrame
  228. weldd.Parent = a
  229. return weldd
  230. end
  231.  
  232. ArtificialHB = Instance.new("BindableEvent", script)
  233. ArtificialHB.Name = "Heartbeat"
  234.  
  235. script:WaitForChild("Heartbeat")
  236.  
  237. frame = 1 / 80
  238. tf = 0
  239. allowframeloss = false
  240. tossremainder = false
  241. lastframe = tick()
  242. script.Heartbeat:Fire()
  243. game:GetService("RunService").Heartbeat:connect(function(s, p)
  244. tf = tf + s
  245. if tf >= frame then
  246. if allowframeloss then
  247. script.Heartbeat:Fire()
  248. lastframe = tick()
  249. else
  250. for i = 1, math.floor(tf / frame) do
  251. script.Heartbeat:Fire()
  252. end
  253. lastframe = tick()
  254. end
  255. if tossremainder then
  256. tf = 0
  257. else
  258. tf = tf - frame * math.floor(tf / frame)
  259. end
  260. end
  261. end)
  262.  
  263. --[[]
  264. function swait(num)
  265. if num == 0 or num == nil then
  266. ArtificialHB.Event:wait()
  267. else
  268. for i = 0, num do
  269. ArtificialHB.Event:wait()
  270. end
  271. end
  272. end
  273.  
  274. ]]
  275.  
  276.  
  277.  
  278.  
  279. function swait(num)
  280. if num == 0 or num == nil then
  281. game:service("RunService").Stepped:wait()
  282. else
  283. for i = 0, num do
  284. game:service("RunService").Stepped:wait()
  285. end
  286. end
  287. end
  288.  
  289. function RemoveOutlines(part)
  290. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  291. end
  292.  
  293.  
  294. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  295. local fp = it("Part")
  296. fp.formFactor = formfactor
  297. fp.Parent = parent
  298. fp.Reflectance = reflectance
  299. fp.Transparency = transparency
  300. fp.CanCollide = false
  301. fp.Locked = true
  302. fp.BrickColor = brickcolor
  303. fp.Name = name
  304. fp.Size = size
  305. fp.Position = Torso.Position
  306. NoOutline(fp)
  307. if fp.BrickColor == BrickColor.new("Dark indigo") then
  308. fp.Material = "Neon"
  309. else
  310. if fp.BrickColor == BrickColor.new("Really black") then
  311. fp.BrickColor = BrickColor.new("Really black")
  312. fp.Material = "Metal"
  313. else
  314. fp.Material = "Neon"
  315. end
  316. end
  317. fp:BreakJoints()
  318. return fp
  319. end
  320.  
  321. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  322. local mesh = it(Mesh)
  323. mesh.Parent = part
  324. if Mesh == "SpecialMesh" then
  325. mesh.MeshType = meshtype
  326. mesh.MeshId = meshid
  327. end
  328. mesh.Offset = offset
  329. mesh.Scale = scale
  330. return mesh
  331. end
  332.  
  333. weld = function(parent, part0, part1, c0)
  334. local weld = it("Weld")
  335. weld.Parent = parent
  336. weld.Part0 = part0
  337. weld.Part1 = part1
  338. weld.C0 = c0
  339. return weld
  340. end
  341.  
  342. F1 = Instance.new("Folder", Character)
  343. F1.Name = "Effects Folder"
  344. F2 = Instance.new("Folder", F1)
  345. F2.Name = "Effects"
  346. Triangle = function(a, b, c)
  347. end
  348.  
  349. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  350. local prt = part(3, F2, 0, 0, brickcolor, "Effect", vt())
  351. prt.Anchored = true
  352. prt.CanCollide = false
  353. prt.CFrame = cframe
  354. prt.Name = "prt"
  355. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  356. game:GetService("Debris"):AddItem(prt, 5)
  357. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3})
  358. end
  359.  
  360.  
  361.  
  362. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  363. local prt = part(3, F2, 0, 0, brickcolor, "Effect", vt())
  364. prt.Anchored = true
  365. prt.CanCollide = false
  366. prt.CFrame = cframe
  367. prt.Name = "prt"
  368. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  369. game:GetService("Debris"):AddItem(prt, 5)
  370. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3})
  371. end
  372.  
  373. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  374. local prt = part(3, F2, 0, 0, brickcolor, "Effect", vt())
  375. prt.Anchored = true
  376. prt.CFrame = cframe
  377. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  378. game:GetService("Debris"):AddItem(prt, 5)
  379. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3})
  380. end
  381.  
  382. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  383. local prt = part(3, F2, 0, 0, brickcolor, "Effect", vt(0.2, 0.2, 0.2))
  384. prt.Anchored = true
  385. prt.CFrame = cframe
  386. msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  387. game:GetService("Debris"):AddItem(prt, 5)
  388. Effects[#Effects + 1] = {prt, "Cylinder", delay, x3, y3, z3}
  389. end
  390.  
  391. MagicCylinder2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  392. local prt = part(3, F2, 0, 0, brickcolor, "Effect", vt(0.2, 0.2, 0.2))
  393. prt.Anchored = true
  394. prt.CFrame = cframe
  395. msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  396. game:GetService("Debris"):AddItem(prt, 5)
  397. Effects[#Effects + 1] = {prt, "Cylinder", delay, x3, y3, z3}
  398. end
  399.  
  400. MagicBlood = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  401. local prt = part(3, F2, 0, 0, brickcolor, "Effect", vt())
  402. prt.Anchored = true
  403. prt.CFrame = cframe
  404. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  405. game:GetService("Debris"):AddItem(prt, 5)
  406. table.insert(Effects, {prt, "Blood", delay, x3, y3, z3})
  407. end
  408.  
  409. ElecEffect = function(cff, x, y, z)
  410. local prt = part(3, F2, 0, 0, BrickColor.new("Dark indigo"), "Part", vt(1, 1, 1))
  411. prt.Anchored = true
  412. prt.CFrame = cff * cf(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  413. prt.CFrame = cf(prt.Position)
  414. game:GetService("Debris"):AddItem(prt, 2)
  415. xval = math.random() / 2
  416. yval = math.random() / 2
  417. zval = math.random() / 2
  418. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(xval, yval, zval))
  419. Effects[#Effects + 1] = {prt, "Elec", 0.1, x, y, z, xval, yval, zval}
  420. end
  421.  
  422. function FindNearestTorso(Position, Distance, SinglePlayer)
  423. if SinglePlayer then
  424. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  425. end
  426. local List = {}
  427. for i, v in pairs(workspace:GetChildren()) do
  428. if v:IsA("Model") then
  429. if v:findFirstChild("Torso") then
  430. if v ~= Character then
  431. if (v.Torso.Position - Position).magnitude <= Distance then
  432. table.insert(List, v)
  433. end
  434. end
  435. end
  436. end
  437. end
  438. return List
  439. end
  440.  
  441.  
  442. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  443. local Part = Create("Part"){
  444. Parent = Parent,
  445. Reflectance = Reflectance,
  446. Transparency = Transparency,
  447. CanCollide = false,
  448. Locked = true,
  449. BrickColor = BrickColor.new(tostring(BColor)),
  450. Name = Name,
  451. Size = Size,
  452. Material = Material,
  453. }
  454. RemoveOutlines(Part)
  455. return Part
  456. end
  457.  
  458. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  459. local Msh = Create(Mesh){
  460. Parent = Part,
  461. Offset = OffSet,
  462. Scale = Scale,
  463. }
  464. if Mesh == "SpecialMesh" then
  465. Msh.MeshType = MeshType
  466. Msh.MeshId = MeshId
  467. end
  468. return Msh
  469. end
  470.  
  471.  
  472.  
  473. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  474. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  475. prt.Anchored = true
  476. prt.CFrame = cframe
  477. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  478. game:GetService("Debris"):AddItem(prt, 10)
  479. if Type == 1 or Type == nil then
  480. table.insert(Effects, {
  481. prt,
  482. "Block1",
  483. delay,
  484. x3,
  485. y3,
  486. z3,
  487. msh
  488. })
  489. elseif Type == 2 then
  490. table.insert(Effects, {
  491. prt,
  492. "Block2",
  493. delay,
  494. x3,
  495. y3,
  496. z3,
  497. msh
  498. })
  499. end
  500. end
  501.  
  502. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  503. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  504. prt.Anchored = true
  505. prt.CFrame = cframe
  506. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  507. game:GetService("Debris"):AddItem(prt, 10)
  508. table.insert(Effects, {
  509. prt,
  510. "Cylinder",
  511. delay,
  512. x3,
  513. y3,
  514. z3,
  515. msh
  516. })
  517. end
  518.  
  519. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay,material)
  520. local prt=CreatePart(workspace,material,0,0,brickcolor,"Effect",vt(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  521. prt.Anchored=true
  522. prt.CFrame=cframe
  523. msh=CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  524. game:GetService("Debris"):AddItem(prt,2)
  525. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  526. for i=0,1,delay do
  527. swait()
  528. Part.Transparency=i
  529. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  530. end
  531. Part.Parent=nil
  532. end),prt,msh,(math.random(0,1)+math.random())/5)
  533. end
  534.  
  535. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  536. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  537. prt.Anchored = true
  538. prt.CFrame = cframe
  539. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  540. game:GetService("Debris"):AddItem(prt, 10)
  541. table.insert(Effects, {
  542. prt,
  543. "Cylinder",
  544. delay,
  545. x3,
  546. y3,
  547. z3,
  548. msh
  549. })
  550. end
  551.  
  552. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  553. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  554. prt.Anchored = true
  555. prt.CFrame = cframe
  556. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  557. game:GetService("Debris"):AddItem(prt, 10)
  558. table.insert(Effects, {
  559. prt,
  560. "Cylinder",
  561. delay,
  562. x3,
  563. y3,
  564. z3,
  565. msh
  566. })
  567. end
  568.  
  569. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  570. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  571. prt.Anchored = true
  572. prt.CFrame = cframe
  573. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  574. game:GetService("Debris"):AddItem(prt, 10)
  575. table.insert(Effects, {
  576. prt,
  577. "Cylinder",
  578. delay,
  579. x3,
  580. y3,
  581. z3,
  582. msh
  583. })
  584. end
  585.  
  586.  
  587. function MoonEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  588. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  589. prt.Anchored = true
  590. prt.CFrame = cframe
  591. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://259403370", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  592. game:GetService("Debris"):AddItem(prt, 10)
  593. table.insert(Effects, {
  594. prt,
  595. "Cylinder",
  596. delay,
  597. x3,
  598. y3,
  599. z3,
  600. msh
  601. })
  602. end
  603.  
  604. function HeadEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  605. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  606. prt.Anchored = true
  607. prt.CFrame = cframe
  608. local msh = CreateMesh("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  609. game:GetService("Debris"):AddItem(prt, 10)
  610. table.insert(Effects, {
  611. prt,
  612. "Cylinder",
  613. delay,
  614. x3,
  615. y3,
  616. z3,
  617. msh
  618. })
  619. end
  620.  
  621. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  622. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  623. prt.Anchored = true
  624. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  625. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  626. local num = math.random(10, 50) / 1000
  627. game:GetService("Debris"):AddItem(prt, 10)
  628. table.insert(Effects, {
  629. prt,
  630. "Shatter",
  631. num,
  632. prt.CFrame,
  633. math.random() - math.random(),
  634. 0,
  635. math.random(50, 100) / 100
  636. })
  637. end
  638.  
  639. local lerp = function(a, b, t)
  640. return a * (1 - t) + b * t
  641. end
  642.  
  643. function clerp(a,b,t)
  644. local qa = {QuaternionFromCFrame(a)}
  645. local qb = {QuaternionFromCFrame(b)}
  646. local ax, ay, az = a.x, a.y, a.z
  647. local bx, by, bz = b.x, b.y, b.z
  648. local _t = 1-t
  649. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  650. end
  651.  
  652. function QuaternionFromCFrame(cf)
  653. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  654. local trace = m00 + m11 + m22
  655. if trace > 0 then
  656. local s = math.sqrt(1 + trace)
  657. local recip = 0.5/s
  658. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  659. else
  660. local i = 0
  661. if m11 > m00 then
  662. i = 1
  663. end
  664. if m22 > (i == 0 and m00 or m11) then
  665. i = 2
  666. end
  667. if i == 0 then
  668. local s = math.sqrt(m00-m11-m22+1)
  669. local recip = 0.5/s
  670. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  671. elseif i == 1 then
  672. local s = math.sqrt(m11-m22-m00+1)
  673. local recip = 0.5/s
  674. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  675. elseif i == 2 then
  676. local s = math.sqrt(m22-m00-m11+1)
  677. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  678. end
  679. end
  680. end
  681.  
  682.  
  683. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  684. local xs, ys, zs = x + x, y + y, z + z
  685. local wx, wy, wz = w*xs, w*ys, w*zs
  686. local xx = x*xs
  687. local xy = x*ys
  688. local xz = x*zs
  689. local yy = y*ys
  690. local yz = y*zs
  691. local zz = z*zs
  692. 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))
  693. end
  694. function QuaternionSlerp(a, b, t)
  695. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  696. local startInterp, finishInterp;
  697. if cosTheta >= 0.0001 then
  698. if (1 - cosTheta) > 0.0001 then
  699. local theta = math.acos(cosTheta)
  700. local invSinTheta = 1/math.sin(theta)
  701. startInterp = math.sin((1-t)*theta)*invSinTheta
  702. finishInterp = math.sin(t*theta)*invSinTheta
  703. else
  704. startInterp = 1-t
  705. finishInterp = t
  706. end
  707. else
  708. if (1+cosTheta) > 0.0001 then
  709. local theta = math.acos(-cosTheta)
  710. local invSinTheta = 1/math.sin(theta)
  711. startInterp = math.sin((t-1)*theta)*invSinTheta
  712. finishInterp = math.sin(t*theta)*invSinTheta
  713. else
  714. startInterp = t-1
  715. finishInterp = t
  716. end
  717. end
  718. 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
  719. end
  720.  
  721. function weld5(part0, part1, c0, c1)
  722. weeld=Instance.new("Weld", part0)
  723. weeld.Part0=part0
  724. weeld.Part1=part1
  725. weeld.C0=c0
  726. weeld.C1=c1
  727. return weeld
  728. end
  729.  
  730. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  731.  
  732. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  733. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  734. end
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741. Character.Humanoid.MaxHealth = 120
  742. Character.Humanoid.Health = 120
  743.  
  744. local f = 0
  745. local b = Instance.new("BlurEffect",cam)
  746. local c = Instance.new('PointLight', Torso)
  747. c.Range = 16
  748. c.Color = Color3.new(0, 1,1)
  749. c.Brightness = 1.5
  750. game:GetService("RunService"):BindToRenderStep("W0tT", 0, function()
  751.  
  752. b.Size = b.Size - 4
  753. if boost == true then
  754. c.Enabled = true
  755. cam.FieldOfView = lerp(cam.FieldOfView, 110, 0.5)
  756. -- cam.FieldOfView = 110
  757. freefall = 0
  758. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,3),0.25)
  759. SphereEffect(BrickColor.new("Cyan"),RightLeg.CFrame*CFrame.new(0,-1,0)*angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)),1.4,12,1.4,2.8,26,2.8,0.07)
  760. SphereEffect(BrickColor.new("Cyan"),LeftLeg.CFrame*CFrame.new(0,-1,0)*angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)),1.4,12,1.4,2.8,26,2.8,0.07)
  761. if hitfloor ~= nil and Anim ~= "runIdle" then
  762. SpecialEffect(BrickColor.new("Cyan"),RootPart.CFrame*CFrame.new(0,-3.4,.78) ,2,2,2, 1.5,1.5,1.5,.09)
  763. end
  764. end
  765. if boost == false then
  766. cam.FieldOfView = lerp(cam.FieldOfView, 70, 0.076)
  767. --cam.FieldOfView = 70
  768. c.Enabled = false
  769. end
  770. end)
  771.  
  772.  
  773.  
  774. mouse.KeyDown:connect(function(key)
  775. if string.byte(key) == 48 then
  776. b.Size = 40
  777. Swing = 2
  778. freefall = 0
  779.  
  780. coroutine.resume(coroutine.create(function()
  781. for i = 0,1,0.1 do
  782. swait()
  783. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
  784. end
  785. end))
  786. Humanoid.WalkSpeed = 180
  787. RootPart.Velocity = RootPart.CFrame.lookVector*150
  788. RingEffect(BrickColor.new("Cyan"), RootPart.CFrame*CFrame.new(0,0,-9.2) , 1, 1, 1, 8, 8, 8, 0.14,"Neon")
  789. boost = true
  790. boostsound:Play()
  791. end
  792. end)
  793.  
  794. mouse.KeyUp:connect(function(key)
  795. if string.byte(key) == 48 then
  796. Swing = 1
  797. Humanoid.WalkSpeed = 64
  798. boost = false
  799. boostsound:Stop()
  800.  
  801. end
  802. end)
  803.  
  804.  
  805.  
  806.  
  807. mouse.KeyDown:connect(function(key)
  808. if string.byte(key) == 50 then
  809. b.Size = 40
  810. freefall = 0
  811. Swing = 2
  812.  
  813. coroutine.resume(coroutine.create(function()
  814. for i = 0,1,0.1 do
  815. swait()
  816. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.35*2.8,0.35*2.8),math.random(-0.35*2.8,0.35*2.8),math.random(-0.35*2.8,0.35*2.8)),0.48)
  817. end
  818. end))
  819.  
  820. Humanoid.WalkSpeed = 320
  821. RootPart.Velocity = RootPart.CFrame.lookVector*550
  822. RingEffect(BrickColor.new("Cyan"), RootPart.CFrame*CFrame.new(0,0,-9.2) , 1, 1, 1, 18, 18, 18, 0.14,"Neon")
  823. RingEffect(BrickColor.new("White"), RootPart.CFrame*CFrame.new(0,0,-11.2) , 1, 1, 1, 18, 18, 18, 0.14,"Neon")
  824. RingEffect(BrickColor.new("Cyan"), RootPart.CFrame*CFrame.new(0,0,-13.2) , 1, 1, 1, 18, 18, 18, 0.14,"Neon")
  825. boost = true
  826. boostsound:Play()
  827. end
  828. end)
  829.  
  830. mouse.KeyUp:connect(function(key)
  831. if string.byte(key) == 50 then
  832. Swing = 1
  833. Humanoid.WalkSpeed = 64
  834. boost = false
  835. boostsound:Stop()
  836.  
  837. end
  838. end)
  839.  
  840.  
  841. local lastwall = nil
  842. local jumped = false
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849. local vwall = false
  850.  
  851. mouse.KeyDown:connect(function(key)
  852. if key == 'b' and hitfloor == nil and attack == false then
  853. vrun()
  854. end
  855. end)
  856.  
  857.  
  858. function vrun()
  859. local ray = Ray.new(
  860. RootPart.CFrame.p, RootPart.CFrame.lookVector *2.5
  861. )
  862. local hit, position, normal = workspace:FindPartOnRay(ray, character)
  863.  
  864. if hit then
  865. if hit.Parent.Parent ~= Character and hit.Parent ~= Character and hit.Name ~= "prt" and hit.CanCollide == true then
  866. vwall = true
  867. local NV = Vector3.new(0,0,0)
  868. local spd = Vector3.new(RootPart.Velocity.x,0,RootPart.Velocity.z).magnitude + 10
  869. local dir = Vector3.new(RootPart.Velocity.x,0,RootPart.Velocity.z).unit
  870. local GravPoint = RootPart.Velocity.y
  871. local velo = Instance.new("BodyVelocity",Torso)
  872. velo.MaxForce = Vector3.new(400000,400000,400000)
  873.  
  874. attack = true
  875. while vwall == true and ray and hit do
  876. swait()
  877. change = 0.84+ Humanoid.WalkSpeed/132
  878. if Humanoid.WalkSpeed > 40 and Humanoid.WalkSpeed < 70 then
  879. velo.Velocity = Vector3.new(0,40,0)
  880. end
  881. if Humanoid.WalkSpeed > 70 and Humanoid.WalkSpeed < 200 then
  882. velo.Velocity = Vector3.new(0,80,0)
  883. end
  884. if Humanoid.WalkSpeed > 200 then
  885. velo.Velocity = Vector3.new(0,130,0)
  886. end
  887. ray = Ray.new(
  888. RootPart.CFrame.p, RootPart.CFrame.lookVector *2.5
  889. )
  890. hit, position, normal = workspace:FindPartOnRay(ray, character)
  891. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.52*math.cos(sine/2), .6) * angles(math.rad(96), math.rad(0), math.rad(0)+ RootPart.RotVelocity.Y / 26), .1)
  892. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-11+20*math.sin(sine/2)),math.rad(0),math.rad(0+5*math.sin(sine/4)) + RootPart.RotVelocity.Y / 13),.1)
  893. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.1) * angles(math.rad(-90-7*math.sin(sine/4))+ RootPart.RotVelocity.Y / -34, math.rad(0), math.rad(15+2*math.sin(sine/4))- RootPart.RotVelocity.Y / 34),.15)
  894. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.1)*angles(math.rad(-90-7*math.sin(sine/4))+ RootPart.RotVelocity.Y / 34,math.rad(0),math.rad(-15+2*math.sin(sine/4))+ RootPart.RotVelocity.Y / -34),.15)
  895. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.28*math.cos(sine/4), 0-0.32*math.cos(sine/4)) * CFrame.Angles(math.rad(0+104*math.sin(sine/4)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)+ RootPart.RotVelocity.Y / -54), 0.3+ Humanoid.WalkSpeed/272)
  896. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1-0.28*math.cos(sine/4),0+0.32*math.cos(sine/4)) * CFrame.Angles(math.rad(0-104*math.sin(sine/4)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)- RootPart.RotVelocity.Y / 54), 0.3+ Humanoid.WalkSpeed/272)
  897. end
  898. velo:Destroy()
  899. wait(0.07)
  900.  
  901. if vwall == false then
  902.  
  903. RootPart.Velocity = -RootPart.CFrame.lookVector*68 + Vector3.new(0,86,0)
  904.  
  905. --[[]
  906. for i = 0,5,0.2 do
  907. rs:wait()
  908. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -0.79, 0) * CFrame.Angles(math.rad(0+100*i), math.rad(0), math.rad(0)), 0.2)
  909. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  910. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(-60), math.rad(40)),.2)
  911. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(180), math.rad(60), math.rad(-40)),.2)
  912. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  913. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  914. end
  915. ]]
  916.  
  917.  
  918. for i = 0,4,0.1 do
  919. swait()
  920. Humanoid.CameraOffset = Vector3.new(0,0,0)
  921. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0+260*i), math.rad(0), math.rad(0)), 0.6)
  922. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(70),math.rad(0),math.rad(0)),.1)
  923. RW.C0 = clerp(RW.C0, CFrame.new(.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1)
  924. LW.C0 = clerp(LW.C0, CFrame.new(-.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.1)
  925. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  926. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  927. end
  928.  
  929. attack = false
  930.  
  931.  
  932. end
  933.  
  934.  
  935. if vwall == true then
  936. RootPart.Velocity = RootPart.CFrame.lookVector*38 + Vector3.new(0,86,0)
  937.  
  938. --[[]
  939. for i = 0,5,0.2 do
  940. rs:wait()
  941. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -0.79, 0) * CFrame.Angles(math.rad(0+100*i), math.rad(0), math.rad(0)), 0.2)
  942. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  943. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(-60), math.rad(40)),.2)
  944. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(180), math.rad(60), math.rad(-40)),.2)
  945. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  946. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  947. end
  948. ]]
  949.  
  950.  
  951. for i = 0,4,0.15 do
  952. swait()
  953. Humanoid.CameraOffset = Vector3.new(0,0,0)
  954. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0-260*i), math.rad(0), math.rad(0)), 0.6)
  955. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(70),math.rad(0),math.rad(0)),.1)
  956. RW.C0 = clerp(RW.C0, CFrame.new(.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1)
  957. LW.C0 = clerp(LW.C0, CFrame.new(-.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.1)
  958. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  959. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  960. end
  961.  
  962. attack = false
  963.  
  964. end
  965.  
  966.  
  967. end
  968. end
  969. end
  970.  
  971.  
  972.  
  973.  
  974. mouse.KeyUp:connect(function(key)
  975. if key == 'b' and vwall == true then
  976. vwall = false
  977. end
  978. end)
  979.  
  980.  
  981.  
  982.  
  983.  
  984. function Ldash()
  985.  
  986.  
  987.  
  988. evadecooldown = true
  989. attack = true
  990. k = math.random(1,2)
  991. if k == 1 then
  992. so("http://www.roblox.com/asset/?id=807766310", Head, 2.5, 1)
  993. else
  994. so("http://www.roblox.com/asset/?id=807768137", Head, 2.5, 1)
  995. end
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001. --+173.8*i
  1002. for i = 0,.7,0.1 do
  1003. swait()
  1004. Head.Velocity = Head.CFrame.rightVector * -135
  1005. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(32)), 0.2)
  1006. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(-9),math.rad(-14)),.2)
  1007. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.2) * angles(math.rad(27), math.rad(0), math.rad(30)),.2)
  1008. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)),.2)
  1009. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(12)), 0.2)
  1010. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(8)), 0.2)
  1011. end
  1012.  
  1013. attack = false
  1014. wait(0.08)
  1015. evadecooldown = false
  1016.  
  1017.  
  1018. end
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024. function Rdash()
  1025.  
  1026.  
  1027.  
  1028. evadecooldown = true
  1029. attack = true
  1030. k = math.random(1,2)
  1031. if k == 1 then
  1032. so("http://www.roblox.com/asset/?id=807766310", Head, 2.5, 1)
  1033. else
  1034. so("http://www.roblox.com/asset/?id=807768137", Head, 2.5, 1)
  1035. end
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041. --+173.8*i
  1042. for i = 0,.7,0.1 do
  1043. swait()
  1044. Head.Velocity = Head.CFrame.rightVector * 135
  1045. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-32)), 0.2)
  1046. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(9),math.rad(14)),.2)
  1047. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-30)),.2)
  1048. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.2) * angles(math.rad(27), math.rad(0), math.rad(-30)),.2)
  1049. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-8)), 0.2)
  1050. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-12)), 0.2)
  1051. end
  1052.  
  1053. attack = false
  1054. wait(0.08)
  1055. evadecooldown = false
  1056.  
  1057.  
  1058. end
  1059. local sliding = false
  1060.  
  1061.  
  1062. function Slide()
  1063.  
  1064. local spd = Vector3.new(RootPart.Velocity.x,0,RootPart.Velocity.z).magnitude + 10
  1065. spd = spd + 30
  1066. local dir = Vector3.new(RootPart.Velocity.x,0,RootPart.Velocity.z).unit
  1067. local GravPoint = RootPart.Velocity.y
  1068. if spd > 40 and hitfloor ~= nil then
  1069. noleg = true
  1070.  
  1071. attack = true
  1072. k = math.random(1,2)
  1073. if k == 1 then
  1074. so("http://www.roblox.com/asset/?id=807766310", Head, 2.5, 1)
  1075. else
  1076. so("http://www.roblox.com/asset/?id=807768137", Head, 2.5, 1)
  1077. end
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088. local NV = Vector3.new(0,0,0)
  1089. local bv = Instance.new("BodyVelocity", Torso)
  1090. bv.maxForce = Vector3.new(1/0,1/0,1/0)
  1091. bv.velocity = dir*spd
  1092. local bg = Instance.new("BodyGyro", Torso)
  1093. bg.maxTorque = Vector3.new(1/0,1/0,1/0)
  1094. bg.cframe = CFrame.new(NV, dir) * CFrame.Angles(math.pi/2.2,0.24,0)
  1095. Head.Running.SoundId = "rbxassetid://1295468446"
  1096. Head.Running.TimePosition = 0
  1097.  
  1098. Humanoid.PlatformStand = true
  1099. while spd > 2 and hitfloor ~= nil and sliding == true do
  1100. swait()
  1101. spd = spd - 0.95
  1102. bv.velocity = dir*spd + Vector3.new(0,0,0)
  1103. bg.cframe = CFrame.new(NV, dir) * CFrame.Angles(math.pi/2.2,0.24,0)
  1104. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -2.3, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(12)), 0.2)
  1105. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(34),math.rad(0),math.rad(12)),.2)
  1106. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(110), math.rad(0), math.rad(70)),.2)
  1107. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.2) * angles(math.rad(0), math.rad(0), math.rad(-60)),.2)
  1108. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1109. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -0.56, -0.2) * CFrame.Angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
  1110. end
  1111. bv:Destroy()
  1112. bg:Destroy()
  1113. Head.Running.SoundId = "rbxassetid://758199523"
  1114. Head.Running.TimePosition = 0
  1115. Humanoid.PlatformStand = false
  1116. attack = false
  1117. sliding = false
  1118. wait(0.05)
  1119. evadecooldown = false
  1120.  
  1121.  
  1122. end
  1123. end
  1124.  
  1125. function land()
  1126. attack = true
  1127. RootPart.Velocity = Vector3.new(0,0,0)
  1128. WaveEffect(BrickColor.new("Cyan"), RootPart.CFrame*CFrame.new(0,-1,0) , 1, 1, 1, 3, 0.8, 3, 0.06)
  1129. so("http://www.roblox.com/asset/?id=1295424585", Torso, 3.5, 1)
  1130.  
  1131. coroutine.resume(coroutine.create(function()
  1132. for i = 0,1,0.1 do
  1133. swait()
  1134. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.55*2.8,0.55*2.8),math.random(-0.55*2.8,0.55*2.8),math.random(-0.55*2.8,0.55*2.8)),0.44)
  1135. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.5)
  1136. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(7),math.rad(0),math.rad(0)),.5)
  1137. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(87)),.5)
  1138. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0) * angles(math.rad(0), math.rad(0), math.rad(-87)),.5)
  1139. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, 0, -0.5) * CFrame.Angles(math.rad(16), math.rad(0), math.rad(0)), 0.5)
  1140. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.14, 0.2) * CFrame.Angles(math.rad(-17), math.rad(0), math.rad(0)), 0.5)
  1141.  
  1142. end
  1143. attack = false
  1144.  
  1145.  
  1146. end))
  1147.  
  1148.  
  1149.  
  1150. end
  1151.  
  1152.  
  1153.  
  1154.  
  1155. function stomp()
  1156. attack = true
  1157. stompsound:Play()
  1158.  
  1159. while hitfloor == nil do
  1160. swait()
  1161. b.Size = 12
  1162. WaveEffect(BrickColor.new("Cyan"), LeftLeg.CFrame*CFrame.new(0,-2.4,0) , 1, 1, 1, 0.8, 0.8, 0.8, 0.14)
  1163. RootPart.Velocity = Vector3.new(0,RootPart.Velocity.y/1.6,0) +Vector3.new(0,-150,0)
  1164. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  1165. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(0+4*math.sin(sine/1.3)), math.rad(0), math.rad(0)),0.07)
  1166. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(140+12*math.cos(sine/1.3))), 0.07)
  1167. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(-140+12*math.cos(sine/1.3))), 0.07)
  1168. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(60+7*math.sin(sine/1.3)),math.rad(0),math.rad(0)),0.07)
  1169. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.17*math.cos(sine/1.3), -0.13) * CFrame.Angles(math.rad(0+4*math.cos(sine/1.3)), math.rad(3), math.rad(0)), 0.1)
  1170. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, .27+0.17*math.cos(sine/1.3), -0.56) * CFrame.Angles(math.rad(-12+4*math.cos(sine/1.3)), math.rad(0), math.rad(0)), 0.1)
  1171.  
  1172. end
  1173. stompsound:Stop()
  1174. land()
  1175.  
  1176.  
  1177. end
  1178.  
  1179.  
  1180. function changemusic()
  1181. musicnum = musicnum + 1
  1182. music.TimePosition = 0
  1183. local osix = false
  1184. local spd = Vector3.new(RootPart.Velocity.x,0,RootPart.Velocity.z).magnitude
  1185. if musicnum > 14 then
  1186. musicnum = 1
  1187. end
  1188. if musicnum == 1 then
  1189. music.SoundId = "rbxassetid://179029173"
  1190. end
  1191. if musicnum == 2 then
  1192. music.SoundId = "rbxassetid://146443855"
  1193. end
  1194. if musicnum == 3 then
  1195. music.SoundId = "rbxassetid://1342408291"
  1196. end
  1197. if musicnum == 4 then
  1198. music.SoundId = "rbxassetid://201219416"
  1199. end
  1200. if musicnum == 5 then
  1201. music.SoundId = "rbxassetid://1390472571"
  1202. end
  1203. if musicnum == 6 then
  1204. osix = true
  1205. music.SoundId = "rbxassetid://249974783"
  1206. end
  1207. if musicnum == 7 then
  1208. music.SoundId = "rbxassetid://1851880603"
  1209. end
  1210. if musicnum == 8 then
  1211. music.SoundId = "rbxassetid://412034984"
  1212. end
  1213. if musicnum == 9 then
  1214. music.SoundId = "rbxassetid://536915629"
  1215. end
  1216. if musicnum == 10 then
  1217. music.SoundId = "rbxassetid://1200005861"
  1218. end
  1219. if musicnum == 11 then
  1220. music.SoundId = "rbxassetid://1055930631"
  1221. end
  1222. if musicnum == 12 then
  1223. music.SoundId = "rbxassetid://300269553"
  1224. end
  1225. if musicnum == 13 then
  1226. music.SoundId = "rbxassetid://199897052"
  1227. end
  1228. if musicnum == 14 then
  1229. music.SoundId = "rbxassetid://638115895"
  1230. end
  1231.  
  1232. if spd < 14 then
  1233. Humanoid.Jump = true
  1234.  
  1235. if osix == false then
  1236. so("rbxassetid://537371462",PlayerGui,2,1)
  1237. end
  1238.  
  1239.  
  1240. RootPart.Velocity = Vector3.new(0,102,0)
  1241. attack = true
  1242. wait(0.08)
  1243. for i = 0,7,0.1 do
  1244. swait()
  1245. RootPart.Velocity = Vector3.new(0,2,0)
  1246. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1247. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0-260*i), math.rad(0), math.rad(0)), 0.6)
  1248. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(70),math.rad(0),math.rad(0)),.1)
  1249. RW.C0 = clerp(RW.C0, CFrame.new(.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1)
  1250. LW.C0 = clerp(LW.C0, CFrame.new(-.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.1)
  1251. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  1252. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  1253.  
  1254. end
  1255. b.Size = 40
  1256. MoonEffect(BrickColor.new("Cyan"), RootPart.CFrame*CFrame.new(0,0,0) , 1, 1, 1, 8, 8, 8, 0.06)
  1257.  
  1258. if osix == true then
  1259. osix = false
  1260. so("rbxassetid://156821036",PlayerGui,2,1)
  1261. end
  1262.  
  1263. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1264. for i = 0,5,0.1 do
  1265. swait()
  1266. RootPart.Velocity = Vector3.new(0,3.5,0)
  1267. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1268. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1+0.1*i, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.21)
  1269. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(22-2*i),math.rad(0),math.rad(0)),.21)
  1270. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.09*i, 0) * angles(math.rad(20-6*i), math.rad(0), math.rad(90+13*i)), 0.21)
  1271. LW.C0 = clerp(LW.C0, CFrame.new(-1.0-0.12*i, 0.5, -0.4+0.05*i) * angles(math.rad(20+13*i), math.rad(0), math.rad(20-13*i)), 0.21)
  1272. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(45+6*i), math.rad(0), math.rad(-22-4*i)), 0.21)
  1273. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(45+6*i), math.rad(0), math.rad(22+4*i)), 0.21)
  1274. end
  1275. attack = false
  1276. end
  1277. end
  1278.  
  1279.  
  1280. mouse.KeyDown:connect(function(key)
  1281. if key == 'q' and attack == false and evadecooldown == false then
  1282. Ldash()
  1283. end
  1284. end)
  1285.  
  1286.  
  1287.  
  1288. mouse.KeyDown:connect(function(key)
  1289. if key == 'e' and attack == false and evadecooldown == false then
  1290. Rdash()
  1291. end
  1292. end)
  1293.  
  1294. mouse.KeyDown:connect(function(key)
  1295. if key == 'c' and attack == false and evadecooldown == false and hitfloor ~= nil then
  1296. sliding = true
  1297. Slide()
  1298. end
  1299. end)
  1300.  
  1301. mouse.KeyDown:connect(function(key)
  1302. if key == 'c' and attack == false and hitfloor == nil then
  1303. stomp()
  1304. end
  1305. end)
  1306.  
  1307.  
  1308. local walljump = false
  1309.  
  1310.  
  1311. function walljumpp()
  1312. local ray = Ray.new(
  1313. Torso.CFrame.p, RootPart.CFrame.lookVector *5
  1314. )
  1315. local hit, position, normal = workspace:FindPartOnRay(ray, character)
  1316.  
  1317. if hit then
  1318. if hit.Parent.Parent ~= Character and hit.Parent ~= Character then
  1319. local dir = Vector3.new(RootPart.Velocity.x,0,RootPart.Velocity.z).unit
  1320. GravPoint = 0
  1321. freefall = 0
  1322. walljump = true
  1323. Humanoid.AutoRotate = false
  1324. local velo = Instance.new("BodyVelocity",Torso)
  1325. velo.MaxForce = Vector3.new(400000,400000,400000)
  1326. --game.Debris:AddItem(velo,0.1)
  1327. attack = true
  1328. while hitfloor == nil and walljump == true and ray and hit do
  1329. swait()
  1330. freefall = 0
  1331. GravPoint = GravPoint - 0.36
  1332. ray = Ray.new(
  1333. RootPart.CFrame.p, RootPart.CFrame.lookVector *2.5
  1334. )
  1335. hit, position, normal = workspace:FindPartOnRay(ray, character)
  1336. velo.Velocity = vt(0,GravPoint,0)
  1337. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0.9) * CFrame.Angles(math.rad(5), math.rad(90), math.rad(8)), 0.2)
  1338. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(7),math.rad(0),math.rad(86)),.2)
  1339. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)),.2)
  1340. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),.2)
  1341. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(14), math.rad(-12)), 0.2)
  1342. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(23)), 0.2)
  1343. end
  1344. if walljump == false then
  1345. k = math.random(1,3)
  1346. if k == 1 then
  1347. so("http://www.roblox.com/asset/?id=800121776", Head, 2.5, 1)
  1348. else if k == 2 then
  1349. so("http://www.roblox.com/asset/?id=804889329", Head, 2.5, 1)
  1350. else if k == 3 then
  1351. so("http://www.roblox.com/asset/?id=804907617", Head, 2.5, 1)
  1352. end
  1353. end
  1354. end
  1355.  
  1356. velo:Destroy()
  1357. attack = false
  1358. coroutine.resume(coroutine.create(function()
  1359. for i = 0,1,0.1 do
  1360. swait()
  1361. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1362. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0+260*i), math.rad(0), math.rad(0)), 0.6)
  1363. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(70),math.rad(0),math.rad(0)),.1)
  1364. RW.C0 = clerp(RW.C0, CFrame.new(.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1)
  1365. LW.C0 = clerp(LW.C0, CFrame.new(-.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.1)
  1366. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  1367. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  1368. end
  1369. end))
  1370.  
  1371. Humanoid.AutoRotate = true
  1372. RootPart.Velocity = RootPart.CFrame.lookVector * -137 + Vector3.new(0,136,0)
  1373. wait(0.07)
  1374. RootPart.CFrame = CFrame.new(RootPart.CFrame.p,-RootPart.CFrame.lookVector)
  1375. end
  1376. if walljump == true then
  1377. attack = false
  1378. walljump = false
  1379. Humanoid.AutoRotate = true
  1380. velo:Destroy()
  1381. end
  1382. end
  1383. end
  1384. end
  1385.  
  1386.  
  1387. local homed = nil
  1388. function home()
  1389. if walljump ~= true then
  1390. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 80)) do
  1391. if v:FindFirstChild('Head') then
  1392. Grabbed = true
  1393. homed = v
  1394. end
  1395. end
  1396.  
  1397. if homed ~= nil and homed:FindFirstChildOfClass("Humanoid").Health > 1 and walljump == false then
  1398. so("http://www.roblox.com/asset/?id=162460823", Head, 1, .8)
  1399. local SBall = Instance.new("Part",Character)
  1400. SBall.Name = "Homing Ball"
  1401. SBall.CanCollide = false
  1402. SBall.Anchored = false
  1403. SBall.Transparency = 0.64
  1404. SBall.CFrame = CFrame.new(RootPart.CFrame.p)
  1405. SBall.BrickColor = BrickColor.new("Toothpaste")
  1406. SBall.Size = Vector3.new(1,1,1)
  1407. SBall.Material = "Neon"
  1408. SBallweld = Instance.new("Weld")
  1409. SBallweld.Parent = SBall
  1410. SBallweld.Part0 = RootPart
  1411. SBallweld.Part1 = SBall
  1412. SBallweld.C1 = CFrame.new(0, 1, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1413. SBallweld.Part0 = RootPart
  1414. local SBallmesh = Instance.new("SpecialMesh",SBall)
  1415. SBallmesh.MeshType = "Sphere"
  1416. SBallmesh.Scale = Vector3.new(6,6,6)
  1417. trail = Instance.new("Trail", Character)
  1418. a2 = Instance.new("Attachment", Torso) a2.Position = Vector3.new(0,2,0)
  1419. a3 = Instance.new("Attachment", Torso)a3.Position = Vector3.new(0,-2.5,0)
  1420. trail.Texture = "rbxassetid://0"
  1421. trail.Attachment0 = a2
  1422. trail.Attachment1 = a3
  1423. trail.Lifetime = 0.353
  1424. trail.MinLength = 0.03
  1425. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,1)})
  1426. trail.Color = ColorSequence.new(Color3.new(0,1,1), Color3.new(0, 0,0))
  1427. trail.LightEmission = 4.8
  1428. trail.TextureLength = 0.034
  1429. trail.Enabled = true
  1430. attack = true
  1431. local position = Instance.new("BodyPosition",Torso)
  1432. position.P = 68350
  1433. position.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1434.  
  1435. while homed ~= nil and (homed.Torso.Position-RootPart.Position).magnitude > 8 do
  1436. swait()
  1437. SBall.CFrame = CFrame.new(RootPart.CFrame.p)
  1438. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0+420*math.abs(sine/3.2)), math.rad(0), math.rad(0)), 0.6)
  1439. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(70),math.rad(0),math.rad(0)),.1)
  1440. RW.C0 = clerp(RW.C0, CFrame.new(.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1)
  1441. LW.C0 = clerp(LW.C0, CFrame.new(-.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.1)
  1442. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  1443. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  1444. position.Position = homed.Torso.Position + Vector3.new(0,2,0)
  1445. end
  1446. local bodvol=Instance.new("BodyVelocity")
  1447. bodvol.velocity= RootPart.CFrame.lookVector*240 + Vector3.new(0,30,0)
  1448. bodvol.P= 35200
  1449. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1450. bodvol.Parent=homed.Head
  1451. game:GetService("Debris"):AddItem(bodvol, 0.2)
  1452. homed:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(10,30))
  1453.  
  1454. position:Destroy()
  1455. trail.Enabled = false
  1456. SBall:Destroy()
  1457. RootPart.Velocity = Vector3.new(0,93.5,0)
  1458. coroutine.resume(coroutine.create(function()
  1459. for i = 0,5,0.26 do
  1460. swait()
  1461. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1462. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1+0.1*i, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.21)
  1463. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(22-2*i),math.rad(0),math.rad(0)),.21)
  1464. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.09*i, 0) * angles(math.rad(20-6*i), math.rad(0), math.rad(90+13*i)), 0.21)
  1465. LW.C0 = clerp(LW.C0, CFrame.new(-1.0-0.12*i, 0.5, -0.4+0.05*i) * angles(math.rad(20+13*i), math.rad(0), math.rad(20-13*i)), 0.21)
  1466. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(45+6*i), math.rad(0), math.rad(-22-4*i)), 0.21)
  1467. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(45+6*i), math.rad(0), math.rad(22+4*i)), 0.21)
  1468. end
  1469. homed = nil
  1470. attack = false
  1471. end))
  1472.  
  1473. end
  1474.  
  1475. end
  1476.  
  1477.  
  1478. end
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502. mouse.KeyDown:connect(function(key)
  1503. wait(0.16)
  1504. if string.byte(key) == 32 and hitfloor == nil and attack == false and walljump == false and Humanoid.Jump == true then
  1505. walljumpp()
  1506. end
  1507. if string.byte(key) == 32 and hitfloor == nil and attack == false and walljump == false and Humanoid.Jump == true then
  1508. home()
  1509. end
  1510.  
  1511. if string.byte(key) == 32 and hitfloor == nil and attack == true and walljump == true then
  1512. walljump = false
  1513. end
  1514. end)
  1515.  
  1516.  
  1517.  
  1518.  
  1519. mouse.KeyDown:connect(function(key)
  1520. if key == 'm' and attack == false then
  1521. changemusic()
  1522. end
  1523. end)
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530. mouse.KeyUp:connect(function(key)
  1531. wait(0.05)
  1532. if key == 'c' and sliding == true then
  1533. sliding = false
  1534. end
  1535. end)
  1536. local look = 0
  1537.  
  1538.  
  1539.  
  1540. while true do
  1541. swait()
  1542. sine = sine + change
  1543. --speed = speed + music.PlaybackLoudness/90
  1544. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1545. local velderp=RootPart.Velocity.y
  1546. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1547.  
  1548. local TiltVelocity = CFrame.new(RootPart.CFrame:vectorToObjectSpace(RootPart.Velocity))
  1549.  
  1550. local rlegray = Ray.new(RightLeg.Position+Vector3.new(0,0.54,0),Vector3.new(0, -1.75, 0))
  1551. local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, Character)
  1552.  
  1553. local llegray = Ray.new(LeftLeg.Position+Vector3.new(0,0.54,0),Vector3.new(0, -1.75, 0))
  1554. local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, Character)
  1555.  
  1556. local waterthing = Ray.new(RootPart.CFrame.p,Vector3.new(0,-1,0))
  1557. local start, position = workspace:FindPartOnRay(waterthing, character)
  1558.  
  1559. if start ~= nil and start.Material == "Water" then
  1560.  
  1561. RootPart.Velocity = RootPart.Velocity + Vector3.new(0,6,0)
  1562.  
  1563. end
  1564.  
  1565. Head.Running.Pitch = 0.76 + Humanoid.WalkSpeed/124
  1566. if torvel<1 and Swing == 2 then
  1567. boost = false
  1568. elseif torvel>1 and Swing == 2 then
  1569. boost = true
  1570. freefall = 0
  1571. end
  1572. if hitfloor ~= nil and freefall < 150 then
  1573. freefall = 0
  1574. end
  1575. if freefall > 150 and hitfloor ~= nil then
  1576. land()
  1577. freefall = 0
  1578. end
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1587. Anim="Jump"
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593. if attack==false then
  1594. change = 1
  1595. look = 0
  1596. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  1597. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(4), math.rad(0), math.rad(0)), 0.07)
  1598. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10+2.05*math.cos(sine/5)),math.rad(0),math.rad(0)),0.07)
  1599. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20+2.05*math.cos(sine/5)), math.rad(-10), math.rad(50-2.05*math.cos(sine/5))), 0.07)
  1600. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20+2.05*math.cos(sine/5)), math.rad(-10), math.rad(-50+2.05*math.cos(sine/5))), 0.07)
  1601. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, -0.6) * CFrame.Angles(math.rad(-25+3.05*math.cos(sine/5)), math.rad(-3), math.rad(0)), 0.1)
  1602. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -.47, -0.7) * CFrame.Angles(math.rad(-12+3.05*math.cos(sine/5)), math.rad(0), math.rad(0)), 0.1)
  1603. end
  1604.  
  1605. elseif RootPart.Velocity.y < -1 and freefall <150 and hitfloor==nil then
  1606. Anim="Fall"
  1607. change = 1
  1608. freefall = freefall +0.77
  1609.  
  1610.  
  1611. if attack==false then
  1612. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  1613. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(7+4*math.sin(sine/1.3)), math.rad(0), math.rad(0)),0.07)
  1614. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(140+12*math.cos(sine/1.3))), 0.07)
  1615. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(-140+12*math.cos(sine/1.3))), 0.07)
  1616. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(40+7*math.sin(sine/1.3)),math.rad(0),math.rad(0)),0.07)
  1617. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.17*math.cos(sine/1.3), -0.13) * CFrame.Angles(math.rad(18+7*math.cos(sine/1.3)), math.rad(3), math.rad(0)), 0.1)
  1618. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.37+0.17*math.cos(sine/1.3), -0.2) * CFrame.Angles(math.rad(32+7*math.cos(sine/1.3)), math.rad(0), math.rad(0)), 0.1)
  1619. end
  1620.  
  1621.  
  1622.  
  1623. elseif RootPart.Velocity.y < -1 and freefall > 150 and hitfloor==nil then
  1624. Anim="FreeFall"
  1625. change = 1
  1626.  
  1627.  
  1628. if attack==false then
  1629. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  1630. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(-90+3*math.sin(sine/1.3)), math.rad(0), math.rad(0)),0.07)
  1631. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(14+12*math.cos(sine/1.3)), math.rad(0), math.rad(110)), 0.07)
  1632. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(14+12*math.cos(sine/1.3)), math.rad(0), math.rad(-110)), 0.07)
  1633. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-12+7*math.sin(sine/1.3)),math.rad(0),math.rad(0)),0.07)
  1634. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.17*math.cos(sine/1.3),0.2) * CFrame.Angles(math.rad(-12+4*math.cos(sine/1.3)), math.rad(3), math.rad(-46)), 0.1)
  1635. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.17*math.cos(sine/1.3), 0.2) * CFrame.Angles(math.rad(-12+4*math.cos(sine/1.3)), math.rad(0), math.rad(46)), 0.1)
  1636. end
  1637.  
  1638. elseif torvel<1 and hitfloor~=nil then
  1639. Anim="Idle"
  1640. change = 1
  1641. if attack==false and equip == false then
  1642.  
  1643. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  1644. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.04*math.cos(sine/40), -0) * CFrame.Angles(math.rad(0-0.81*math.cos(sine/40)), math.rad(-40), math.rad(0)), 0.1)
  1645. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0+2.6*math.sin(sine/40)),math.rad(0),math.rad(40)),0.1)
  1646. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.55+0.04*math.sin(sine/40), 0-0.04*math.cos(sine/40)) * angles(math.rad(-2+1.3*math.cos(sine/40)), math.rad(0+4*math.sin(sine/40)), math.rad(6.3+2.2*math.cos(sine/40))),0.1)
  1647. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.55+0.04*math.sin(sine/40), 0-0.04*math.cos(sine/40)) * angles(math.rad(2+1.3*math.cos(sine/40)), math.rad(0-4*math.sin(sine/40)), math.rad(-6.3-2.2*math.cos(sine/40))),0.1)
  1648. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, llegendPoint.Y-LeftLeg.Position.Y+0.04*math.cos(sine/40), 0) * CFrame.Angles(math.rad(0+0.81*math.cos(sine/40)), math.rad(18+0.81*math.cos(sine/40)), math.rad(-2-0.81*math.cos(sine/40))),0.1)
  1649. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.57, rlegendPoint.Y-RightLeg.Position.Y+0.04*math.cos(sine/40), 0) * CFrame.Angles(math.rad(0+0.81*math.cos(sine/40)), math.rad(-2+0.81*math.cos(sine/40)), math.rad(3-0.81*math.cos(sine/40))),0.1)
  1650. end
  1651.  
  1652.  
  1653.  
  1654. elseif torvel>1.5 and torvel<70 and hitfloor~=nil then
  1655. Anim="Walk"
  1656. change = 0.84+ Character.Humanoid.WalkSpeed/132
  1657. look = 0
  1658. if attack==false and equip == false then
  1659. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.02)
  1660. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.52*math.cos(sine/2), -.8) * angles(math.rad(-26), math.rad(0), math.rad(0)+ RootPart.RotVelocity.Y / 26), .1)
  1661. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-11+20*math.sin(sine/2)),math.rad(0),math.rad(0+5*math.sin(sine/4)) + RootPart.RotVelocity.Y / 13),.1)
  1662. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.1) * angles(math.rad(-60-7*math.sin(sine/4))+ RootPart.RotVelocity.Y / -34, math.rad(0), math.rad(15+2*math.sin(sine/4))- RootPart.RotVelocity.Y / 34),.15)
  1663. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.1)*angles(math.rad(-60-7*math.sin(sine/4))+ RootPart.RotVelocity.Y / 34,math.rad(0),math.rad(-15+2*math.sin(sine/4))+ RootPart.RotVelocity.Y / -34),.15)
  1664. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.28*math.cos(sine/4), 0-0.32*math.cos(sine/4)) * CFrame.Angles(math.rad(0+104*math.sin(sine/4)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)+ RootPart.RotVelocity.Y / -54), 0.3)
  1665. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1-0.28*math.cos(sine/4),0+0.32*math.cos(sine/4)) * CFrame.Angles(math.rad(0-104*math.sin(sine/4)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)- RootPart.RotVelocity.Y / 54), 0.3)
  1666. end
  1667.  
  1668.  
  1669. elseif torvel>=70 and torvel<200 and hitfloor~=nil then
  1670. Anim="Run"
  1671. change = 0.84+ Character.Humanoid.WalkSpeed/142
  1672. if attack==false and equip == false then
  1673. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.02)
  1674. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.52*math.cos(sine/1.5), -.8) * angles(math.rad(-37), math.rad(0), math.rad(0)+ RootPart.RotVelocity.Y / 26), .1)
  1675. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-11+25*math.sin(sine/1.5)),math.rad(0),math.rad(0+5*math.sin(sine/3)) + RootPart.RotVelocity.Y / 13),.1)
  1676. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.3) * angles(math.rad(-72-8*math.sin(sine/1.5))+ RootPart.RotVelocity.Y / -34, math.rad(0), math.rad(1+0*math.cos(sine/3))- RootPart.RotVelocity.Y / 34),.25)
  1677. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.3)*angles(math.rad(-72-8*math.sin(sine/1.5))+ RootPart.RotVelocity.Y / 34,math.rad(0),math.rad(-1+0*math.cos(sine/3))+ RootPart.RotVelocity.Y / -34),.25)
  1678. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.32*math.cos(sine/3), 0-0.42*math.cos(sine/3)) * CFrame.Angles(math.rad(0+134*math.sin(sine/3)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)+ RootPart.RotVelocity.Y / -54), 0.44)
  1679. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1-0.32*math.cos(sine/3),0+0.42*math.cos(sine/3)) * CFrame.Angles(math.rad(0-134*math.sin(sine/3)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)- RootPart.RotVelocity.Y / 54), 0.44)
  1680. end
  1681.  
  1682. --[[
  1683. if attack==false then
  1684. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.4*math.cos(sine/5.5)/2, 0 *math.sin(sine/6.6)/2) * CFrame.Angles(math.rad(0) + -math.sin(sine/5.5)/1.2, math.rad(0), 0), .8)
  1685. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.4*math.cos(sine/5.5)/2,0 *-math.sin(sine/6.6)/2) * CFrame.Angles(math.rad(0) + math.sin(sine/5.5)/1.2, math.rad(0), 0), .8)
  1686. end
  1687. ]]
  1688. if attack==true and noleg == false then
  1689. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.24*math.cos(sine/5), 0.+0.24*math.cos(sine/5)) * CFrame.Angles(math.rad(0-74*math.sin(sine/5)), math.rad(0), math.rad(0)), 0.3)
  1690. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.24*math.cos(sine/5),0.-0.24*math.cos(sine/5)) * CFrame.Angles(math.rad(0+74*math.sin(sine/5)), math.rad(0), math.rad(0)), 0.3)
  1691. end
  1692.  
  1693.  
  1694.  
  1695. elseif torvel>=200 and hitfloor~=nil then
  1696. Anim="MachRun"
  1697. change = 0.84+ Character.Humanoid.WalkSpeed/182
  1698. if attack==false and equip == false then
  1699. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.02)
  1700. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.52*math.cos(sine/1), -3.8) * angles(math.rad(-44), math.rad(0), math.rad(0)+ RootPart.RotVelocity.Y / 26), .2)
  1701. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-11+25*math.sin(sine/1)),math.rad(0),math.rad(0+5*math.sin(sine/2)) + RootPart.RotVelocity.Y / 13),.2)
  1702. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.5) * angles(math.rad(-78-12*math.sin(sine/1))+ RootPart.RotVelocity.Y / -34, math.rad(0), math.rad(-24+0*math.cos(sine/2))- RootPart.RotVelocity.Y / 34),.35)
  1703. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.5)*angles(math.rad(-78-12*math.sin(sine/1))+ RootPart.RotVelocity.Y / 34,math.rad(0),math.rad(24+0*math.cos(sine/2))+ RootPart.RotVelocity.Y / -34),.35)
  1704. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.42*math.cos(sine/2), 0-0.62*math.cos(sine/2)) * CFrame.Angles(math.rad(0+134*math.sin(sine/2)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)+ RootPart.RotVelocity.Y / -54), 0.52)
  1705. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1-0.42*math.cos(sine/2),0+0.62*math.cos(sine/2)) * CFrame.Angles(math.rad(0-134*math.sin(sine/2)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)- RootPart.RotVelocity.Y / 54), 0.52)
  1706. end
  1707.  
  1708.  
  1709.  
  1710. end
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720. if 0 < #Effects then
  1721. for e = 1, #Effects do
  1722. if Effects[e] ~= nil then
  1723. local Thing = Effects[e]
  1724. if Thing ~= nil then
  1725. local Part = Thing[1]
  1726. local Mode = Thing[2]
  1727. local Delay = Thing[3]
  1728. local IncX = Thing[4]
  1729. local IncY = Thing[5]
  1730. local IncZ = Thing[6]
  1731. if Thing[1].Transparency <= 1 then
  1732. if Thing[2] == "Block1" then
  1733. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1734. Mesh = Thing[1]:FindFirstChild("Mesh")
  1735. if not Mesh then
  1736. Mesh = Instance.new("BlockMesh")
  1737. end
  1738. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1739. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1740. elseif Thing[2] == "Cylinder" then
  1741. Mesh = Thing[1]:FindFirstChild("Mesh")
  1742. if not Mesh then
  1743. Mesh = Instance.new("BlockMesh")
  1744. end
  1745. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1746. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1747. elseif Thing[2] == "Blood" then
  1748. Mesh = Thing[1]:FindFirstChild("Mesh")
  1749. if not Mesh then
  1750. Mesh = Instance.new("BlockMesh")
  1751. end
  1752. Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0)
  1753. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1754. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1755. elseif Thing[2] == "Elec" then
  1756. Mesh = Thing[1]:FindFirstChild("Mesh")
  1757. if not Mesh then
  1758. Mesh = Instance.new("BlockMesh")
  1759. end
  1760. Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  1761. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1762. elseif Thing[2] == "Disappear" then
  1763. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1764. end
  1765. else
  1766. Part.Parent = nil
  1767. game:GetService("Debris"):AddItem(Part, 0)
  1768. table.remove(Effects, e)
  1769. end
  1770. end
  1771. end
  1772. end
  1773. end
  1774.  
  1775. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement