Advertisement
DarkSideYT123

Untitled

Aug 4th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.85 KB | None | 0 0
  1.  
  2. --// Shortcut Variables \\--
  3. wait(1)
  4. can = true
  5. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  6. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  7. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  8. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  9. 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}
  10. local R3 = {N=Region3.new}
  11. local De = S.Debris
  12. local WS = workspace
  13. local Lght = S.Lighting
  14. local RepS = S.ReplicatedStorage
  15. local IN = Instance.new
  16. local Plrs = S.Players
  17.  
  18. local Emit = IN("ParticleEmitter").Emit;
  19.  
  20. --// Initializing \\--
  21. local Plr = game.Players.DarkSideYT123
  22. local Char = Plr.Character
  23. local Hum = Char:FindFirstChildOfClass'Humanoid'
  24. local RArm = Char["Right Arm"]
  25. local LArm = Char["Left Arm"]
  26. local RLeg = Char["Right Leg"]
  27. local LLeg = Char["Left Leg"]
  28. local Root = Char:FindFirstChild'HumanoidRootPart'
  29. local Torso = Char.Torso
  30. local Head = Char:WaitForChild("Head")
  31. local NeutralAnims = true
  32. local Attack = false
  33. local Debounces = {Debounces={}}
  34. local Hit = {}
  35. local Sine = 0
  36. local Change = 1
  37.  
  38. Cooldown = false
  39.  
  40. local Effects = IN("Folder",Char)
  41. Effects.Name = "Effects"
  42.  
  43. Char:FindFirstChildOfClass("Accessory"):Destroy()
  44.  
  45.  
  46. Char.Head.Transparency = 1
  47. Char.Head.face.Transparency = 1
  48. Char["Left Leg"].BrickColor = BrickColor.new("Really black")
  49. Char["Right Arm"].Material = "Neon"
  50. Char["Left Arm"].Material = "Neon"
  51. Char["Right Leg"].Material = "Neon"
  52. Char["Left Leg"].Material = "Neon"
  53. Char["Torso"].Material = "Neon"
  54.  
  55.  
  56.  
  57. local FakeHead = Instance.new("Part", Char)
  58. FakeHead.Name = "FakeHead"
  59. FakeHead.Material = "Neon"
  60. FakeHead.BrickColor = BrickColor.new("Institutional white")
  61. FakeHead.Size = Vector3.new(1.104, 1, 1)
  62. FakeHead.Position = Char.Head.Position
  63. local FakeHeadWeld = Instance.new("Weld", Char)
  64. FakeHeadWeld.Name = "FakeHeadWeld"
  65. FakeHeadWeld.Part0 = Char.Head
  66. FakeHeadWeld.Part1 = FakeHead
  67. local TopHat1 = Instance.new("Part", Char)
  68. TopHat1.Name = "TopHead1"
  69. TopHat1.Size = Vector3.new(1.812, 0.232, 1.878)
  70. TopHat1.Anchored = true
  71. TopHat1.Position = FakeHead.Position + Vector3.new(0, 0.5, 0)
  72. TopHat1.BrickColor = BrickColor.new("Really black")
  73. TopHat1.Material = "Neon"
  74. local TopHat1Weld = Instance.new("WeldConstraint", Char)
  75. TopHat1Weld.Name = "TopHat1Weld"
  76. TopHat1Weld.Part0 = FakeHead
  77. TopHat1Weld.Part1 = TopHat1
  78. TopHat1.Anchored = false
  79. local TopHat2 = Instance.new("Part", Char)
  80. TopHat2.Name = "TopHead2"
  81. TopHat2.Size = Vector3.new(1.123, 0.296, 1.164)
  82. TopHat2.Anchored = true
  83. TopHat2.Position = FakeHead.Position + Vector3.new(0, 0.7, 0)
  84. TopHat2.BrickColor = BrickColor.new("Institutional white")
  85. TopHat2.Material = "Neon"
  86. local TopHat2Weld = Instance.new("WeldConstraint", Char)
  87. TopHat2Weld.Name = "TopHat2Weld"
  88. TopHat2Weld.Part0 = FakeHead
  89. TopHat2Weld.Part1 = TopHat2
  90. TopHat2.Anchored = false
  91. local TopHat3 = Instance.new("Part", Char)
  92. TopHat3.Name = "TopHead3"
  93. TopHat3.Size = Vector3.new(1.09, 2.344, 1.13)
  94. TopHat3.Anchored = true
  95. TopHat3.Position = FakeHead.Position + Vector3.new(0, 1.7, 0)
  96. TopHat3.BrickColor = BrickColor.new("Really black")
  97. TopHat3.Material = "Neon"
  98. local TopHat3Weld = Instance.new("WeldConstraint", Char)
  99. TopHat3Weld.Name = "TopHat3Weld"
  100. TopHat3Weld.Part0 = FakeHead
  101. TopHat3Weld.Part1 = TopHat3
  102. TopHat3.Anchored = false
  103. local PortalPart = Instance.new("Part", Char)
  104. PortalPart.CFrame = Char.HumanoidRootPart.CFrame * CFrame.new(0, 15, 3)
  105. PortalPart.Orientation = Vector3.new(60, 0, 0)
  106. PortalPart.Anchored = true
  107. PortalPart.Transparency = 1
  108. PortalPart.CanCollide = false
  109. PortalPart.Massless = true
  110. local PortalPartWeld = Instance.new("WeldConstraint", Char)
  111. PortalPartWeld.Name = "PortalPartWeld"
  112. PortalPartWeld.Part0 = Char.HumanoidRootPart
  113. PortalPartWeld.Part1 = PortalPart
  114. PortalPart.Anchored = false
  115. local PortalPart2 = Instance.new("Part", Char)
  116. PortalPart2.CFrame = Char.HumanoidRootPart.CFrame * CFrame.new(0, 15, 3)
  117. PortalPart2.Orientation = Vector3.new(-37.76, 116.57, 50.77)
  118. PortalPart2.Anchored = true
  119. PortalPart2.Transparency = 1
  120. PortalPart2.CanCollide = false
  121. PortalPart2.Massless = true
  122. local PortalPartWeld2 = Instance.new("WeldConstraint", Char)
  123. PortalPartWeld2.Name = "PortalPartWeld2"
  124. PortalPartWeld2.Part0 = Char.HumanoidRootPart
  125. PortalPartWeld2.Part1 = PortalPart2
  126. PortalPart2.Anchored = false
  127. local Name = Instance.new("BillboardGui", TopHat3)
  128. Name.ExtentsOffset = Vector3.new(0, 2, 0)
  129. Name.Size = UDim2.new(0,200,0,100)
  130. local NameText = Instance.new("TextLabel", Name)
  131. NameText.Text = "Mr Void"
  132. NameText.BackgroundTransparency = 1
  133. NameText.Font = Enum.Font.Cartoon
  134. NameText.TextSize = 50
  135. NameText.TextColor3 = Color3.new(500, 500, 500)
  136. NameText.Size = UDim2.new(0,200,0,100)
  137.  
  138.  
  139.  
  140. local Present = Instance.new("Tool", Plr.Backpack)
  141. Present.Name = "Present"
  142. Present.RequiresHandle = false
  143. Present.Activated:Connect(function()
  144. local Portal = Instance.new("Part", workspace)
  145. Portal.BrickColor = BrickColor.new("Really black")
  146. Portal.Material = "SmoothPlastic"
  147. Portal.Anchored = true
  148. Portal.CanCollide = false
  149. Portal.CFrame = PortalPart.CFrame
  150. Portal.Size = Vector3.new(0.1, 0.05, 0.1)
  151. wait(0.05)
  152. Portal.Orientation = PortalPart.Orientation
  153. Portal.Size = Vector3.new(0.3, 0.05, 0.3)
  154. wait(0.05)
  155. Portal.Orientation = PortalPart2.Orientation
  156. Portal.Size = Vector3.new(0.5, 0.05, 0.5)
  157. wait(0.05)
  158. Portal.Orientation = PortalPart.Orientation
  159. Portal.Size = Vector3.new(0.7, 0.05, 0.7)
  160. wait(0.05)
  161. Portal.Orientation = PortalPart2.Orientation
  162. Portal.Size = Vector3.new(0.9, 0.05, 0.9)
  163. wait(0.05)
  164. Portal.Orientation = PortalPart.Orientation
  165. Portal.Size = Vector3.new(1.4, 0.05, 1.4)
  166. wait(0.05)
  167. Portal.Orientation = PortalPart2.Orientation
  168. Portal.Size = Vector3.new(2, 0.05, 2)
  169. wait(0.05)
  170. Portal.Orientation = PortalPart.Orientation
  171. Portal.Size = Vector3.new(2.5, 0.05, 2.5)
  172. wait(0.05)
  173. Portal.Orientation = PortalPart2.Orientation
  174. Portal.Size = Vector3.new(3.4, 0.05, 3.4)
  175. wait(0.05)
  176. Portal.Orientation = PortalPart.Orientation
  177. Portal.Size = Vector3.new(4.3, 0.05, 4.3)
  178. local Present = Instance.new("Part", workspace)
  179. local Present2 = Instance.new("Part", workspace)
  180. Present2.Anchored = true
  181. Present2.CanCollide = false
  182. Present2.BrickColor = BrickColor.new("Institutional white")
  183. Present2.Material = "Neon"
  184. Present2.Size = Vector3.new(0.5, 2.1, 2.1)
  185. Present2.CFrame = Present.CFrame
  186. local Present2Weld = Instance.new("WeldConstraint", Present2)
  187. Present2Weld.Part0 = Present
  188. Present2Weld.Part1 = Present2
  189. Present2.Anchored = false
  190. local Present3 = Instance.new("Part", workspace)
  191. Present3.Anchored = true
  192. Present3.CanCollide = false
  193. Present3.BrickColor = BrickColor.new("Institutional white")
  194. Present3.Material = "Neon"
  195. Present3.Size = Vector3.new(2.1, 2.1, 0.5)
  196. Present3.CFrame = Present.CFrame
  197. local Present3Weld = Instance.new("WeldConstraint", Present3)
  198. Present3Weld.Part0 = Present
  199. Present3Weld.Part1 = Present3
  200. Present3.Anchored = false
  201. Present.Transparency = 0
  202. Present.CanCollide = true
  203. Present.BrickColor = BrickColor.new("Really black")
  204. Present.Material = "Neon"
  205. Present.Size = Vector3.new(2, 2, 2)
  206.  
  207. local Duh1 = Instance.new("Part", workspace)
  208. Duh1.Anchored = true
  209. Duh1.CanCollide = false
  210. Duh1.Orientation = Vector3.new(0, 0, -40)
  211. Duh1.BrickColor = BrickColor.new("Institutional white")
  212. Duh1.Material = "Neon"
  213. Duh1.Size = Vector3.new(0.336, 2.05, 0.386)
  214. Duh1.Position = Present.Position + Vector3.new(0, 1, 0)
  215. local Duh1Weld = Instance.new("WeldConstraint", Duh1)
  216. Duh1Weld.Part0 = Present
  217. Duh1Weld.Part1 = Duh1
  218. Duh1.Anchored = false
  219. local Duh2 = Instance.new("Part", workspace)
  220. Duh2.Anchored = true
  221. Duh2.CanCollide = false
  222. Duh2.Orientation = Vector3.new(0, 0, 40)
  223. Duh2.BrickColor = BrickColor.new("Institutional white")
  224. Duh2.Material = "Neon"
  225. Duh2.Size = Vector3.new(0.336, 2.05, 0.386)
  226. Duh2.Position = Present.Position + Vector3.new(0, 1, 0)
  227. local Duh2Weld = Instance.new("WeldConstraint", Duh2)
  228. Duh2Weld.Part0 = Present
  229. Duh2Weld.Part1 = Duh2
  230. Duh2.Anchored = false
  231. Present.CFrame = PortalPart.CFrame
  232. Present.Velocity = Char.HumanoidRootPart.CFrame.lookVector * 40
  233. wait(1)
  234. Portal.Orientation = PortalPart2.Orientation
  235. Portal.Size = Vector3.new(5, 0.05, 5)
  236. wait(0.05)
  237. Portal.Orientation = PortalPart.Orientation
  238. Portal.Size = Vector3.new(4.5, 0.05, 4.5)
  239. wait(0.05)
  240. Portal.Orientation = PortalPart.Orientation
  241. Portal.Size = Vector3.new(4, 0.05, 4)
  242. wait(0.05)
  243. Portal.Size = Vector3.new(3, 0.05, 3)
  244. wait(0.05)
  245. Portal.Size = Vector3.new(2, 0.05, 2)
  246. wait(0.05)
  247. Portal:Destroy()
  248. Present.Touched:Connect(function(Something)
  249. if Something.Parent:FindFirstChild("Humanoid") then
  250. if can == true then
  251. Present:Destroy()
  252. Present2:Destroy()
  253. Present3:Destroy()
  254. Duh1:Destroy()
  255. Duh2:Destroy()
  256.  
  257. local Character = Something.parent
  258. local Buff = math.random(1, 2)
  259. if Buff == 1 then
  260. local Aura = Instance.new("Part", workspace)
  261. Aura.BrickColor = BrickColor.new("Institutional white")
  262. Aura.Shape = "Ball"
  263. Aura.Material = Enum.Material.ForceField
  264. Aura.Size = Vector3.new(10, 10, 10)
  265. Aura.CanCollide = true
  266. Aura.Massless = true
  267. Aura.CFrame = Character.HumanoidRootPart.CFrame
  268. local AuraWeld = Instance.new("Weld", Aura)
  269. AuraWeld.Part0 = Character.Head
  270. AuraWeld.Part1 = Aura
  271. Character.Humanoid.Health = Character.Humanoid.MaxHealth
  272. can = false
  273. wait(0.2)
  274. can = true
  275. wait(29.8)
  276. Aura:Destroy()
  277. else
  278. if Buff == 2 then
  279. can = false
  280. Character.Humanoid.WalkSpeed = 42
  281. Character.Humanoid.JumpPower = 75
  282. local Aura2 = Instance.new("Part", workspace)
  283. Aura2.BrickColor = BrickColor.new("Institutional white")
  284. Aura2.Shape = "Ball"
  285. Aura2.Material = Enum.Material.ForceField
  286. Aura2.Size = Vector3.new(2, 2, 2)
  287. Aura2.CanCollide = true
  288. Aura2.CFrame = Character.HumanoidRootPart.CFrame
  289. local Aura2Weld = Instance.new("Weld", Aura2)
  290. Aura2Weld.Part0 = Character.Head
  291. Aura2Weld.Part1 = Aura2
  292. Character.Humanoid.Health = Character.Humanoid.MaxHealth
  293. wait(0.2)
  294. can = true
  295. wait(14.8)
  296. Character.Humanoid.WalkSpeed = 16
  297. Character.Humanoid.JumpPower = 50
  298. end
  299. end
  300. end
  301. end
  302. end)
  303. end)
  304.  
  305. local BadPresent = Instance.new("Tool", Plr.Backpack)
  306. BadPresent.Name = "BadPresent"
  307. BadPresent.RequiresHandle = false
  308. BadPresent.Activated:Connect(function()
  309. local Portal = Instance.new("Part", workspace)
  310. Portal.BrickColor = BrickColor.new("Really black")
  311. Portal.Material = "SmoothPlastic"
  312. Portal.Anchored = true
  313. Portal.CanCollide = false
  314. Portal.CFrame = PortalPart.CFrame
  315. Portal.Size = Vector3.new(0.1, 0.05, 0.1) * 2
  316. wait(0.05)
  317. Portal.Orientation = PortalPart.Orientation
  318. Portal.Size = Vector3.new(0.3, 0.05, 0.3) * 2
  319. wait(0.05)
  320. Portal.Orientation = PortalPart2.Orientation
  321. Portal.Size = Vector3.new(0.5, 0.05, 0.5) * 2
  322. wait(0.05)
  323. Portal.Orientation = PortalPart.Orientation
  324. Portal.Size = Vector3.new(0.7, 0.05, 0.7) * 2
  325. wait(0.05)
  326. Portal.Orientation = PortalPart2.Orientation
  327. Portal.Size = Vector3.new(0.9, 0.05, 0.9) * 2
  328. wait(0.05)
  329. Portal.Orientation = PortalPart.Orientation
  330. Portal.Size = Vector3.new(1.4, 0.05, 1.4) * 2
  331. wait(0.05)
  332. Portal.Orientation = PortalPart2.Orientation
  333. Portal.Size = Vector3.new(2, 0.05, 2) * 2
  334. wait(0.05)
  335. Portal.Orientation = PortalPart.Orientation
  336. Portal.Size = Vector3.new(2.5, 0.05, 2.5) * 2
  337. wait(0.05)
  338. Portal.Orientation = PortalPart2.Orientation
  339. Portal.Size = Vector3.new(3.4, 0.05, 3.4) * 2
  340. wait(0.05)
  341. Portal.Orientation = PortalPart.Orientation
  342. Portal.Size = Vector3.new(4.3, 0.05, 4.3) * 2
  343. local Present = Instance.new("Part", workspace)
  344. local Present2 = Instance.new("Part", workspace)
  345. Present2.Anchored = true
  346. Present2.CanCollide = false
  347. Present2.BrickColor = BrickColor.new("Institutional white")
  348. Present2.Material = "Neon"
  349. Present2.Size = Vector3.new(0.5, 2.1, 2.1) * 2
  350. Present2.CFrame = Present.CFrame
  351. local Present2Weld = Instance.new("WeldConstraint", Present2)
  352. Present2Weld.Part0 = Present
  353. Present2Weld.Part1 = Present2
  354. Present2.Anchored = false
  355. local Present3 = Instance.new("Part", workspace)
  356. Present3.Anchored = true
  357. Present3.CanCollide = false
  358. Present3.BrickColor = BrickColor.new("Institutional white")
  359. Present3.Material = "Neon"
  360. Present3.Size = Vector3.new(2.1, 2.1, 0.5) * 2
  361. Present3.CFrame = Present.CFrame
  362. local Present3Weld = Instance.new("WeldConstraint", Present3)
  363. Present3Weld.Part0 = Present
  364. Present3Weld.Part1 = Present3
  365. Present3.Anchored = false
  366. Present.Transparency = 0
  367. Present.CanCollide = true
  368. Present.BrickColor = BrickColor.new("Really black")
  369. Present.Material = "Neon"
  370. Present.Size = Vector3.new(2, 2, 2) * 2
  371.  
  372. local Duh1 = Instance.new("Part", workspace)
  373. Duh1.Anchored = true
  374. Duh1.CanCollide = false
  375. Duh1.Orientation = Vector3.new(0, 0, -40)
  376. Duh1.BrickColor = BrickColor.new("Institutional white")
  377. Duh1.Material = "Neon"
  378. Duh1.Size = Vector3.new(0.336, 2.05, 0.386) * 2
  379. Duh1.Position = Present.Position + Vector3.new(0, 1, 0)
  380. local Duh1Weld = Instance.new("WeldConstraint", Duh1)
  381. Duh1Weld.Part0 = Present
  382. Duh1Weld.Part1 = Duh1
  383. Duh1.Anchored = false
  384. local Duh2 = Instance.new("Part", workspace)
  385. Duh2.Anchored = true
  386. Duh2.CanCollide = false
  387. Duh2.Orientation = Vector3.new(0, 0, 40)
  388. Duh2.BrickColor = BrickColor.new("Institutional white")
  389. Duh2.Material = "Neon"
  390. Duh2.Size = Vector3.new(0.336, 2.05, 0.386) * 2
  391. Duh2.Position = Present.Position + Vector3.new(0, 1, 0)
  392. local Duh2Weld = Instance.new("WeldConstraint", Duh2)
  393. Duh2Weld.Part0 = Present
  394. Duh2Weld.Part1 = Duh2
  395. Duh2.Anchored = false
  396. Present.CFrame = PortalPart.CFrame
  397. Present.Velocity = Char.HumanoidRootPart.CFrame.lookVector * 40
  398. wait(1)
  399. Portal.Orientation = PortalPart2.Orientation
  400. Portal.Size = Vector3.new(5, 0.05, 5) * 2
  401. wait(0.05)
  402. Portal.Orientation = PortalPart.Orientation
  403. Portal.Size = Vector3.new(4.5, 0.05, 4.5) * 2
  404. wait(0.05)
  405. Portal.Orientation = PortalPart.Orientation
  406. Portal.Size = Vector3.new(4, 0.05, 4) * 2
  407. wait(0.05)
  408. Portal.Size = Vector3.new(3, 0.05, 3) * 2
  409. wait(0.05)
  410. Portal.Size = Vector3.new(2, 0.05, 2) * 2
  411. wait(0.05)
  412. Portal:Destroy()
  413. Present.Touched:Connect(function(Something)
  414. if Something.Parent:FindFirstChild("Humanoid") then
  415. if can == true then
  416. Present:Destroy()
  417. Present2:Destroy()
  418. Present3:Destroy()
  419. Duh1:Destroy()
  420. Duh2:Destroy()
  421. local Character = Something.parent
  422. local Buff = math.random(1, 2)
  423. if Buff == 1 then
  424. can = false
  425. wait(0.2)
  426. can = true
  427. Character.Humanoid.PlatformStand = false
  428. Character["Right Arm"].BrickColor = BrickColor.new("Institutional white")
  429. wait(2)
  430. Character["Right Arm"]:Destroy()
  431. Character["Right Leg"].BrickColor = BrickColor.new("Institutional white")
  432. wait(2)
  433. Character["Right Leg"]:Destroy()
  434. Character["Left Arm"].BrickColor = BrickColor.new("Institutional white")
  435. wait(2)
  436. Character["Left Arm"]:Destroy()
  437. Character["Left Leg"].BrickColor = BrickColor.new("Institutional white")
  438. wait(2)
  439. Character["Left Leg"]:Destroy()
  440. Character["Torso"].BrickColor = BrickColor.new("Institutional white")
  441. wait(6)
  442. Character["Torso"]:Destroy()
  443. else
  444. if Buff == 2 then
  445. can = false
  446. wait(0.2)
  447. can = true
  448. Character.Humanoid.MaxHealth = 100
  449. Character.Humanoid.Health = 99
  450. wait(0.5)
  451. Character.Humanoid.Health = 98
  452. wait(0.5)
  453. Character.Humanoid.Health = 97
  454. wait(0.5)
  455. Character.Humanoid.Health = 96
  456. wait(0.5)
  457. Character.Humanoid.Health = 95
  458. wait(0.5)
  459. Character.Humanoid.Health = 94
  460. wait(0.5)
  461. Character.Humanoid.Health = 93
  462. wait(0.5)
  463. Character.Humanoid.Health = 92
  464. wait(0.5)
  465. Character.Humanoid.Health = 91
  466. wait(0.5)
  467. Character.Humanoid.Health = 90
  468. wait(0.5)
  469. Character.Humanoid.Health = 89
  470. wait(0.5)
  471. Character.Humanoid.Health = 88
  472. wait(0.5)
  473. Character.Humanoid.Health = 87
  474. wait(0.5)
  475. Character.Humanoid.Health = 86
  476. wait(0.5)
  477. Character.Humanoid.Health = 85
  478. wait(0.5)
  479. Character.Humanoid.Health = 84
  480. wait(0.5)
  481. Character.Humanoid.Health = 83
  482. wait(0.5)
  483. Character.Humanoid.Health = 82
  484. wait(0.5)
  485. Character.Humanoid.Health = 81
  486. wait(0.5)
  487. Character.Humanoid.Health = 80
  488. wait(0.5)
  489. Character.Humanoid.Health = 79
  490. wait(0.5)
  491. Character.Humanoid.Health = 78
  492. wait(0.5)
  493. Character.Humanoid.Health = 77
  494. wait(0.5)
  495. Character.Humanoid.Health = 76
  496. wait(0.5)
  497. Character.Humanoid.Health = 75
  498. wait(0.5)
  499. Character.Humanoid.Health = 60
  500. wait(0.5)
  501. Character.Humanoid.Health = 50
  502. wait(0.5)
  503. Character.Humanoid.Health = 40
  504. wait(0.5)
  505. Character.Humanoid.Health = 30
  506. wait(0.5)
  507. Character.Humanoid.Health = 20
  508. wait(0.5)
  509. Character.Humanoid.Health = 10
  510. wait(0.5)
  511. Character.Humanoid.Health = 9
  512. wait(0.5)
  513. Character.Humanoid.Health = 8
  514. wait(0.5)
  515. Character.Humanoid.Health = 7
  516. wait(0.5)
  517. Character.Humanoid.Health = 6
  518. wait(0.5)
  519. Character.Humanoid.Health = 5
  520. wait(0.5)
  521. Character.Humanoid.Health = 4
  522. wait(0.5)
  523. Character.Humanoid.Health = 3
  524. wait(0.5)
  525. Character.Humanoid.Health = 2
  526. wait(0.5)
  527. Character.Humanoid.Health = 1
  528. wait(0.5)
  529. Character.Humanoid.Health = 0
  530. wait(0.1)
  531. Character.Humanoid.WalkSpeed = 1
  532. Character.Humanoid.JumpPower = 1
  533. local Aura2 = Instance.new("Part", Character)
  534. Aura2.BrickColor = BrickColor.new("Institutional white")
  535. Aura2.Shape = "Ball"
  536. Character.Head.BrickColor = BrickColor.new("Institutional white")
  537. Aura2.Material = Enum.Material.ForceField
  538. Aura2.Size = Vector3.new(2, 2, 2)
  539. Aura2.CanCollide = true
  540. Aura2.Velocity = Vector3.new(0, 1000000, 0)
  541. Aura2.CFrame = Character.HumanoidRootPart.CFrame
  542. local Aura2Weld = Instance.new("Weld", Aura2)
  543. Aura2Weld.Part0 = Character.Head
  544. Aura2Weld.Part1 = Aura2
  545. wait(14.8)
  546. Character.Humanoid.WalkSpeed = 16
  547. Character.Humanoid.JumpPower = 50
  548. end
  549. end
  550. end
  551. end
  552. end)
  553. end)
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592. --// Instance Creation Functions \\--
  593.  
  594.  
  595. function Part(parent,color,material,size,cframe,anchored,cancollide)
  596. local part = IN("Part")
  597. part.Parent = parent or Char
  598. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  599. part.Material = material or Enum.Material.SmoothPlastic
  600. part.TopSurface,part.BottomSurface=10,10
  601. part.Size = size or V3.N(1,1,1)
  602. part.CFrame = cframe or CF.N(0,0,0)
  603. part.CanCollide = cancollide or false
  604. part.Anchored = anchored or false
  605. return part
  606. end
  607.  
  608. function Weld(part0,part1,c0,c1)
  609. local weld = IN("Weld")
  610. weld.Parent = part0
  611. weld.Part0 = part0
  612. weld.Part1 = part1
  613. weld.C0 = c0 or CF.N()
  614. weld.C1 = c1 or CF.N()
  615. return weld
  616. end
  617.  
  618. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  619. local part = IN("SpecialMesh")
  620. part.MeshId = meshid or ""
  621. part.TextureId = textid or ""
  622. part.Scale = scale or V3.N(1,1,1)
  623. part.Offset = offset or V3.N(0,0,0)
  624. part.MeshType = meshtype or Enum.MeshType.Sphere
  625. part.Parent = parent
  626. return part
  627. end
  628.  
  629. NewInstance = function(instance,parent,properties)
  630. local inst = Instance.new(instance)
  631. inst.Parent = parent
  632. if(properties)then
  633. for i,v in next, properties do
  634. pcall(function() inst[i] = v end)
  635. end
  636. end
  637. return inst;
  638. end
  639.  
  640. function Clone(instance,parent,properties)
  641. local inst = instance:Clone()
  642. inst.Parent = parent
  643. if(properties)then
  644. for i,v in next, properties do
  645. pcall(function() inst[i] = v end)
  646. end
  647. end
  648. return inst;
  649. end
  650.  
  651.  
  652.  
  653.  
  654. --// Customization \\--
  655.  
  656. local Frame_Speed = 60;
  657. local WalkSpeed = 16
  658. local DamageColor = BrickColor.new'White'
  659.  
  660. --// Stop animations \\--
  661. for _,v in next, Hum:GetPlayingAnimationTracks() do
  662. v:Stop();
  663. end
  664.  
  665. pcall(game.Destroy,Char:FindFirstChild'Animate')
  666. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  667.  
  668. --// Joints \\--
  669.  
  670. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5,0.5,0),C1 = CF.N(0,.5,0)})
  671. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5,0.5,0),C1 = CF.N(0,.5,0)})
  672. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5,0)})
  673. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5,-1,0),C1 = CF.N(0,1,0)})
  674. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5,-1,0),C1 = CF.N(0,1,0)})
  675. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  676.  
  677. local LSC0 = LS.C0
  678. local RSC0 = RS.C0
  679. local NKC0 = NK.C0
  680. local LHC0 = LH.C0
  681. local RHC0 = RH.C0
  682. local RJC0 = RJ.C0
  683.  
  684. --// Artificial HB \\--
  685.  
  686. local ArtificialHB = IN("BindableEvent", script)
  687. ArtificialHB.Name = "Heartbeat"
  688.  
  689. script:WaitForChild("Heartbeat")
  690.  
  691. local tf = 0
  692. local allowframeloss = false
  693. local tossremainder = false
  694. local lastframe = tick()
  695. local frame = 1/Frame_Speed
  696. ArtificialHB:Fire()
  697.  
  698. game:GetService("RunService").Heartbeat:connect(function(s, p)
  699. tf = tf + s
  700. if tf >= frame then
  701. if allowframeloss then
  702. script.Heartbeat:Fire()
  703. lastframe = tick()
  704. else
  705. for i = 1, math.floor(tf / frame) do
  706. ArtificialHB:Fire()
  707. end
  708. lastframe = tick()
  709. end
  710. if tossremainder then
  711. tf = 0
  712. else
  713. tf = tf - frame * math.floor(tf / frame)
  714. end
  715. end
  716. end)
  717.  
  718. function swait(num)
  719. if num == 0 or num == nil then
  720. ArtificialHB.Event:wait()
  721. else
  722. for i = 0, num do
  723. ArtificialHB.Event:wait()
  724. end
  725. end
  726. end
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733. while true do
  734. swait()
  735. Sine = Sine + Change
  736.  
  737. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4)), Char)
  738.  
  739. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  740. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and (Hum.WalkSpeed > 24 and "Run" or "Walk") or hitfloor and "Idle")
  741. if(not Effects or not Effects.Parent)then
  742. Effects = IN("Model",Char)
  743. Effects.Name = "Effects"
  744. end
  745. if(State == 'Run')then
  746. local wsVal = 20 / (Hum.WalkSpeed/16)
  747. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  748. Change = 3
  749. RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.2*M.C(Sine/wsVal),0+.4*M.C(Sine/wsVal))*CF.A(M.R(15+25*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha)
  750. LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.2*M.C(Sine/wsVal),0-.4*M.C(Sine/wsVal))*CF.A(M.R(15-25*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha)
  751. elseif(State == 'Walk')then
  752. local wsVal = 20 / (Hum.WalkSpeed/16)
  753. local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  754. Change = 3
  755. RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.5*M.C(Sine/wsVal)/2,0+.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2.5,0,0),Alpha)
  756. LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.5*M.C(Sine/wsVal)/2,0-.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0),Alpha)
  757. else
  758. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  759. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  760. end
  761.  
  762. Hum.WalkSpeed = WalkSpeed
  763.  
  764. if(NeutralAnims)then
  765. if(State == 'Idle')then
  766. local Alpha = .1
  767. Change = .75
  768. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0+.2*M.C(Sine/12),.2*M.C(Sine/6),0)*CF.A(M.R(-5+5*M.C(Sine/12)),0,0),Alpha)
  769. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-5+5*M.C(Sine/12)),0,0),Alpha)
  770. LS.C0 = LS.C0:lerp(LSC0*CF.N(.25,0,0)*CF.A(M.R(-45),0,M.R(45+5*M.C(Sine/12))),Alpha)
  771. RS.C0 = RS.C0:lerp(RSC0*CF.N(-.25,0,0)*CF.A(M.R(-45),0,M.R(-45-5*M.C(Sine/12))),Alpha)
  772. LH.C0 = LH.C0:lerp(LHC0*CF.N(0-.2*M.C(Sine/12),-.2*M.C(Sine/6),0)*CF.A(M.R(5-5*M.C(Sine/12)),M.R(10),0),Alpha)
  773. RH.C0 = RH.C0:lerp(RHC0*CF.N(0-.2*M.C(Sine/12),-.2*M.C(Sine/6),0)*CF.A(M.R(5-5*M.C(Sine/12)),M.R(-10),0),Alpha)
  774. -- idle
  775. elseif(State == 'Run')then
  776. local wsVal = 20 / (Hum.WalkSpeed/16)
  777. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  778. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15+2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  779. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  780. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha)
  781. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5)),Alpha)
  782. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  783. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  784. elseif(State == 'Walk')then
  785. local wsVal = 20 / (Hum.WalkSpeed/16)
  786. local Alpha = math.min(.3 * (Hum.WalkSpeed/16),1)
  787. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-5-2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  788. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  789. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.22*M.C(Sine/wsVal))*CF.A(M.R(37*M.C(Sine/wsVal)),0,M.R(-5)),Alpha)
  790. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.22*M.C(Sine/wsVal))*CF.A(M.R(-37*M.C(Sine/wsVal)),0,M.R(5)),Alpha)
  791. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  792. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  793. elseif(State == 'Jump')then
  794. local Alpha = .1
  795. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  796. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha)
  797. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha)
  798. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  799. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  800. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  801. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  802. elseif(State == 'Fall')then
  803. local Alpha = .1
  804. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  805. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  806. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  807. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  808. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  809. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  810. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  811. elseif(State == 'Paralyzed')then
  812. -- paralyzed
  813. elseif(State == 'Sit')then
  814. -- sit
  815. end
  816. end
  817.  
  818. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement