I_M_Epic

Untitled

May 28th, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.69 KB | None | 0 0
  1. --[[ Declarations ]]--
  2. --Credits to whoever made the script, I only made edits. Edit list below:
  3. --Can use attacks instead of it clicking. (z, x, c)
  4. --Kill others keybind (r)
  5. --Jump yourself (f) (Some scripts on sb get you stuck)
  6. --Set walkspeed, jump height, gravity, and ambient. (Q = dark, E = bright)
  7. --^^ Dark = better jump height, gravity, and dark, bright = opposite.
  8. --Might make more, deleted my earlier edit, the spike attack (c, drew players toward me)
  9. local a = game.Players.LocalPlayer
  10. local mouse = a:GetMouse()
  11. wait(0.05)
  12. pls = game.Workspace[a.Name]
  13. game.Workspace[a.Name].Head.face:Destroy()
  14. game.Workspace[a.Name].Humanoid.HealthDisplayType = "AlwaysOff"
  15. game.Workspace[a.Name].Humanoid.HealthDisplayDistance = "0"
  16. game.Workspace[a.Name].Humanoid.DisplayDistanceType = "None"
  17.  
  18. mouse.KeyDown:connect(function(key)
  19. if key == "t" then
  20. print(mouse.Target.Name)
  21. print(mouse.Target.Parent.Name)
  22. print(mouse.Target.Parent.Parent.Name)
  23. end
  24. end)
  25.  
  26. mouse.KeyDown:connect(function(key)
  27. if key == "g" then
  28. if mouse.Target.Name == "Base" then
  29. else
  30. mouse.Target:Destroy()
  31. end
  32. end
  33. end)
  34. run = true
  35.  
  36. wait(1)
  37. local player = game.Players.LocalPlayer
  38. local pchar = player.Character
  39. local mouse = player:GetMouse()
  40. local cam = workspace.CurrentCamera
  41. local char = player.Character
  42. local root = char.HumanoidRootPart
  43. local rad = math.rad
  44. bodyparts = {}
  45. local keysDown = {}
  46. local flySpeed = 0
  47. local MAX_FLY_SPEED = 150
  48.  
  49. local canFly = false
  50. local flyToggled = false
  51.  
  52. local forward, side = 0, 0
  53. local lastForward, lastSide = 0, 0
  54.  
  55. local floatBP = Instance.new("BodyPosition")
  56. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  57. local flyBV = Instance.new("BodyVelocity")
  58. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  59. local turnBG = Instance.new("BodyGyro")
  60. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  61.  
  62. mouse.KeyDown:connect(function(key)
  63. keysDown[key] = true
  64.  
  65. if key == "f" then
  66. flyToggled = not flyToggled
  67.  
  68. if not flyToggled then
  69. stanceToggle = "Normal"
  70. floatBP.Parent = nil
  71. flyBV.Parent = nil
  72. turnBG.Parent = nil
  73. root.Velocity = Vector3.new()
  74. pchar.Humanoid.PlatformStand = false
  75. end
  76. end
  77.  
  78. end)
  79. mouse.KeyUp:connect(function(key)
  80. keysDown[key] = nil
  81. end)
  82.  
  83. local function updateFly()
  84.  
  85.  
  86.  
  87.  
  88. if not flyToggled then return end
  89.  
  90. lastForward = forward
  91. lastSide = side
  92.  
  93. forward = 0
  94. side = 0
  95.  
  96. if keysDown.w then
  97. forward = forward + 1
  98. end
  99. if keysDown.s then
  100. forward = forward - 1
  101. end
  102. if keysDown.a then
  103. side = side - 1
  104. end
  105. if keysDown.d then
  106. side = side + 1
  107. end
  108.  
  109. canFly = (forward ~= 0 or side ~= 0)
  110.  
  111. if canFly then
  112. stanceToggle = "Floating"
  113. turnBG.Parent = root
  114. floatBP.Parent = nil
  115. flyBV.Parent = root
  116.  
  117. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  118. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  119. else
  120. floatBP.position = root.Position
  121. floatBP.Parent = root
  122.  
  123. flySpeed = flySpeed - 1
  124. if flySpeed < 0 then flySpeed = 0 end
  125. end
  126.  
  127. local camCF = cam.CoordinateFrame
  128. local in_forward = canFly and forward or lastForward
  129. local in_side = canFly and side or lastSide
  130.  
  131. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  132.  
  133. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,0)
  134. end
  135.  
  136. game:service'RunService'.RenderStepped:connect(function()
  137. if flyToggled then
  138. pchar.Humanoid.PlatformStand = true
  139. end
  140. updateFly()
  141. end)
  142.  
  143.  
  144.  
  145. mouse.KeyDown:connect(function(key)
  146. if key == "q" then
  147. local p = game.Workspace[a.Name]
  148. for i,v in pairs(p:GetChildren()) do
  149. if v:IsA("Part") then
  150. v.Transparency = 1
  151. p.Cloak.Transparency = 1
  152. p.Head.BillboardGui.Enabled = false
  153. game.Lighting.OutdoorAmbient = Color3.new(0, 0, 0)
  154. game.Lighting.Brightness = 0
  155. game.Lighting.Ambient = Color3.new(0, 0, 0)
  156. p.Humanoid.WalkSpeed = 100
  157. p.Humanoid.JumpPower = 75
  158. game.Workspace.Gravity = 80
  159.  
  160. end
  161. end
  162.  
  163. end
  164. end)
  165.  
  166. mouse.KeyDown:connect(function(key)
  167. if key == "e" then
  168. local p = game.Workspace[a.Name]
  169. for i,v in pairs(p:GetChildren()) do
  170. if v:IsA("Part") then
  171. v.Transparency = 0
  172. p.Cloak.Transparency = 0
  173. p.Reference.Transparency = 1
  174. p.HumanoidRootPart.Transparency = 1
  175. p.Head.BillboardGui.Enabled = true
  176. game.Lighting.OutdoorAmbient = Color3.new(127, 127, 127)
  177. game.Lighting.Brightness = 1
  178. game.Lighting.Ambient = Color3.new(0, 0, 0)
  179. p.Humanoid.WalkSpeed = 21
  180. p.Humanoid.JumpPower = 50
  181. game.Workspace.Gravity = 100
  182. end
  183. end
  184.  
  185. end
  186. end)
  187.  
  188. mouse.KeyDown:connect(function(key)
  189. if key == "r" then
  190. for i,v in pairs(game.Players:GetChildren()) do
  191. if v.Name == a.Name then
  192. else
  193. if v:IsA("Player") then
  194.  
  195. game.Workspace[v.Name].Humanoid.Health = 0
  196. end
  197. end
  198. end
  199. end
  200. end)
  201.  
  202. looop = false
  203.  
  204. mouse.KeyDown:connect(function(key)
  205. if key == "y" then
  206. looop = true
  207. while wait() do
  208. if looop == true then
  209. game.Workspace[a.Name].Humanoid.Sit = true
  210. wait(0.1)
  211. else
  212.  
  213. end
  214. end
  215. end
  216. end)
  217.  
  218.  
  219. mouse.KeyDown:connect(function(key)
  220. if key == "h" then
  221. looop = false
  222. end
  223. end)
  224.  
  225. mouse.KeyDown:connect(function(key)
  226. if key == "n" then
  227. mouse.Target.Anchored = true
  228. end
  229. end)
  230.  
  231. mouse.KeyDown:connect(function(key)
  232. if key == "j" then
  233. mouse.Target.CanCollide = true
  234. end
  235. end)
  236.  
  237. mouse.KeyDown:connect(function(key)
  238. if key == "u" then
  239. mouse.Target.CanCollide = false
  240. end
  241. end)
  242.  
  243.  
  244. mouse.KeyDown:connect(function(key)
  245. if key == "m" then
  246. mouse.Target.Anchored = false
  247. end
  248. end)
  249.  
  250. mouse.KeyDown:connect(function(key)
  251. if key == "v" then
  252. for i,v in pairs(game.Players:GetChildren()) do
  253. if v:IsA("Player") then
  254. if v.Name == a.Name then
  255. else
  256. game.Workspace[v.Name].Humanoid.WalkToPoint = game.Workspace[a.Name].Torso.Position
  257. end
  258. end
  259. end
  260. end
  261. end)
  262.  
  263.  
  264.  
  265.  
  266. mouse.KeyDown:connect(function(key)
  267. if key:byte() == 32 then
  268. game.Workspace[a.Name].Humanoid.Jump = true
  269.  
  270. end
  271. end)
  272.  
  273. mouse.KeyDown:connect(function(key)
  274. if key == "b" then
  275. game.Workspace[a.Name].Torso.CFrame = mouse.Hit
  276. end
  277. end)
  278.  
  279.  
  280. wait(.0000000000000000000001)
  281. local Player = game:GetService("Players").LocalPlayer
  282. local Character = Player.Character
  283. local Head = Character.Head
  284. local Torso = Character.Torso
  285. local Right_Arm = Character["Right Arm"]
  286. local Right_Leg = Character["Right Leg"]
  287. local Left_Arm = Character["Left Arm"]
  288. local Left_Leg = Character["Left Leg"]
  289. local Humanoid = Character.Humanoid
  290. local Animation = "Idle"
  291. local Mouse = Player:GetMouse()
  292. local LeftShoulder = Torso["Left Shoulder"]
  293. local Left_Hip = Torso["Left Hip"]
  294. local RightShoulder = Torso["Right Shoulder"]
  295. local Right_Hip = Torso["Right Hip"]
  296. local Root = Character.HumanoidRootPart
  297. local RootJoint = Root.RootJoint
  298. local Attacking = false
  299. local CanAttack = true
  300. local Anim = "Idle"
  301. local Combo = 1
  302. local Blocking = false
  303. local MaxDestruction = 1000
  304. local Destruction = 0
  305. local MaxBlock = 100
  306. local Effects = {}
  307. local Color = "Bright yellow"
  308. local Invert = false
  309. local Idle = 0
  310. local Equipped = false
  311. local Running = false
  312. local Unseathed = false
  313. local Shard = "None"
  314.  
  315. Humanoid.MaxHealth = math.huge
  316. Humanoid.Health = math.huge
  317.  
  318.  
  319.  
  320. local NewGuiPart1 = Instance.new("ScreenGui")
  321. NewGuiPart1.Parent = game.Players.LocalPlayer.PlayerGui
  322. NewGuiPart1.Name = "GOD"
  323. -------
  324. local NewGuiPart2 = Instance.new("Frame")
  325. NewGuiPart2.Active = true
  326. NewGuiPart2.BackgroundColor3 = Color3.new(0.760784, 0.760784, 0)
  327. NewGuiPart2.BorderColor3 = Color3.new(1, 1, 1)
  328. NewGuiPart2.Size = UDim2.new(0, 350, 0, 300)
  329. NewGuiPart2.Draggable = true
  330. NewGuiPart2.Parent = NewGuiPart1
  331. -------
  332. local NewGuiPart3 = Instance.new("TextLabel")
  333. NewGuiPart3.BackgroundTransparency = 1
  334. NewGuiPart3.Position = UDim2.new(0.200000003, 0, 0, 0)
  335. NewGuiPart3.Size = UDim2.new(0, 200, 0, 50)
  336. NewGuiPart3.Font = Enum.Font.Highway
  337. NewGuiPart3.FontSize = Enum.FontSize.Size14
  338. NewGuiPart3.Text = "Superior Power List"
  339. NewGuiPart3.TextColor3 = Color3.new(0.333333, 0, 1)
  340. NewGuiPart3.TextStrokeColor3 = Color3.new(1, 1, 1)
  341. NewGuiPart3.Parent = NewGuiPart2
  342. -------
  343. local NewGuiPart4 = Instance.new("TextLabel")
  344. NewGuiPart4.BackgroundTransparency = 1
  345. NewGuiPart4.Position = UDim2.new(0, 0, 0.200000003, 0)
  346. NewGuiPart4.Size = UDim2.new(0, 200, 0, 50)
  347. NewGuiPart4.Font = Enum.Font.Highway
  348. NewGuiPart4.FontSize = Enum.FontSize.Size14
  349. NewGuiPart4.Text = "Q = Night Mode E = Day mode"
  350. NewGuiPart4.TextColor3 = Color3.new(0.333333, 0, 1)
  351. NewGuiPart4.TextStrokeColor3 = Color3.new(1, 1, 1)
  352. NewGuiPart4.TextWrapped = true
  353. NewGuiPart4.Parent = NewGuiPart2
  354. -------
  355. local NewGuiPart5 = Instance.new("TextLabel")
  356. NewGuiPart5.BackgroundTransparency = 1
  357. NewGuiPart5.Position = UDim2.new(0, 0, 0.5, 0)
  358. NewGuiPart5.Size = UDim2.new(0, 200, 0, 50)
  359. NewGuiPart5.Font = Enum.Font.Highway
  360. NewGuiPart5.FontSize = Enum.FontSize.Size14
  361. NewGuiPart5.Text = "B = Relay G = Eradicate part"
  362. NewGuiPart5.TextColor3 = Color3.new(0.333333, 0, 1)
  363. NewGuiPart5.TextStrokeColor3 = Color3.new(1, 1, 1)
  364. NewGuiPart5.TextWrapped = true
  365. NewGuiPart5.Parent = NewGuiPart2
  366. -------
  367. local NewGuiPart6 = Instance.new("TextLabel")
  368. NewGuiPart6.BackgroundTransparency = 1
  369. NewGuiPart6.Position = UDim2.new(0, 0, 0.349999994, 0)
  370. NewGuiPart6.Size = UDim2.new(0, 200, 0, 50)
  371. NewGuiPart6.Font = Enum.Font.Highway
  372. NewGuiPart6.FontSize = Enum.FontSize.Size14
  373. NewGuiPart6.Text = "T = Part identity R = Eradicate others"
  374. NewGuiPart6.TextColor3 = Color3.new(0.333333, 0, 1)
  375. NewGuiPart6.TextStrokeColor3 = Color3.new(1, 1, 1)
  376. NewGuiPart6.TextWrapped = true
  377. NewGuiPart6.Parent = NewGuiPart2
  378. -------
  379. local NewGuiPart7 = Instance.new("TextLabel")
  380. NewGuiPart7.BackgroundTransparency = 1
  381. NewGuiPart7.Position = UDim2.new(0.300000012, 0, 0.200000003, 0)
  382. NewGuiPart7.Size = UDim2.new(0, 200, 0, 50)
  383. NewGuiPart7.Font = Enum.Font.Highway
  384. NewGuiPart7.FontSize = Enum.FontSize.Size14
  385. NewGuiPart7.Text = " V = Followers demise F = Fly"
  386. NewGuiPart7.TextColor3 = Color3.new(0.333333, 0, 1)
  387. NewGuiPart7.TextStrokeColor3 = Color3.new(1, 1, 1)
  388. NewGuiPart7.TextWrapped = true
  389. NewGuiPart7.Parent = NewGuiPart2
  390. -------
  391. local NewGuiPart8 = Instance.new("TextLabel")
  392. NewGuiPart8.BackgroundTransparency = 1
  393. NewGuiPart8.Position = UDim2.new(0.330000013, 0, 0.349999994, 0)
  394. NewGuiPart8.Size = UDim2.new(0, 200, 0, 50)
  395. NewGuiPart8.Font = Enum.Font.Highway
  396. NewGuiPart8.FontSize = Enum.FontSize.Size14
  397. NewGuiPart8.Text = "Y = True jump H = Mortal jump"
  398. NewGuiPart8.TextColor3 = Color3.new(0.333333, 0, 1)
  399. NewGuiPart8.TextStrokeColor3 = Color3.new(1, 1, 1)
  400. NewGuiPart8.TextWrapped = true
  401. NewGuiPart8.Parent = NewGuiPart2
  402. -------
  403. local NewGuiPart9 = Instance.new("TextLabel")
  404. NewGuiPart9.BackgroundTransparency = 1
  405. NewGuiPart9.Position = UDim2.new(0.330000013, 0, 0.5, 0)
  406. NewGuiPart9.Size = UDim2.new(0, 200, 0, 50)
  407. NewGuiPart9.Font = Enum.Font.Highway
  408. NewGuiPart9.FontSize = Enum.FontSize.Size14
  409. NewGuiPart9.Text = "N = Anchor M = Unanchor "
  410. NewGuiPart9.TextColor3 = Color3.new(0.333333, 0, 1)
  411. NewGuiPart9.TextStrokeColor3 = Color3.new(1, 1, 1)
  412. NewGuiPart9.TextWrapped = true
  413. NewGuiPart9.Parent = NewGuiPart2
  414. -------
  415. local NewGuiPart10 = Instance.new("TextLabel")
  416. NewGuiPart10.BackgroundTransparency = 1
  417. NewGuiPart10.Position = UDim2.new(0, 0, 0.649999976, 0)
  418. NewGuiPart10.Size = UDim2.new(0, 200, 0, 50)
  419. NewGuiPart10.Font = Enum.Font.Highway
  420. NewGuiPart10.FontSize = Enum.FontSize.Size14
  421. NewGuiPart10.Text = "J = Real brick U = False brick"
  422. NewGuiPart10.TextColor3 = Color3.new(0.333333, 0, 1)
  423. NewGuiPart10.TextStrokeColor3 = Color3.new(1, 1, 1)
  424. NewGuiPart10.TextWrapped = true
  425. NewGuiPart10.Parent = NewGuiPart2
  426. -------
  427. local NewGuiPart11 = Instance.new("TextLabel")
  428. NewGuiPart11.BackgroundTransparency = 1
  429. NewGuiPart11.Position = UDim2.new(0.349999994, 0, 0.649999976, 0)
  430. NewGuiPart11.Size = UDim2.new(0, 200, 0, 50)
  431. NewGuiPart11.Font = Enum.Font.Highway
  432. NewGuiPart11.FontSize = Enum.FontSize.Size14
  433. NewGuiPart11.Text = "Z = Superior Punch X = Ground Smash C = Spikes of Retribution"
  434. NewGuiPart11.TextColor3 = Color3.new(0.333333, 0, 1)
  435. NewGuiPart11.TextStrokeColor3 = Color3.new(1, 1, 1)
  436. NewGuiPart11.TextWrapped = true
  437. NewGuiPart11.Parent = NewGuiPart2
  438.  
  439.  
  440. local WorldEaterTheme = Instance.new("Sound",Character)
  441. WorldEaterTheme.Name = "WorldEaterTheme"
  442. WorldEaterTheme.Looped = true
  443. WorldEaterTheme.SoundId = "http://www.roblox.com/asset?id=698734353"
  444. WorldEaterTheme:Play()
  445. WorldEaterTheme.Volume = 10
  446.  
  447. Left_Shoulder = Instance.new("Weld", Torso)
  448. Left_Shoulder.Part0 = Torso
  449. Left_Shoulder.Part1 = Left_Arm
  450. Left_Shoulder.Name = "Left Shoulder"
  451. Left_Shoulder.C0 = CFrame.new(-1.5,0,0)
  452.  
  453. Right_Shoulder = Instance.new("Weld", Torso)
  454. Right_Shoulder.Part0 = Torso
  455. Right_Shoulder.Part1 = Right_Arm
  456. Right_Shoulder.Name = "Right Shoulder"
  457. Right_Shoulder.C0 = CFrame.new(1.5,0,0)
  458.  
  459. LeftShoulder.Parent = nil
  460. RightShoulder.Parent = nil
  461. Humanoid.WalkSpeed = 30
  462.  
  463. local RootCFrame = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)
  464. Necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  465. Necko2 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  466. Right_Hip_C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  467. Left_Hip_C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  468.  
  469.  
  470. Movemment = 1
  471. Walk = 0
  472.  
  473. Animator = Humanoid.Animator
  474. --Animate = Character.Animate
  475.  
  476. Animator.Parent = nil
  477. --Animate.Parent = nil
  478.  
  479. local Services = {
  480.  
  481. SoundService = game:GetService("SoundService");
  482. Players = game:GetService("Players");
  483. Debris = game:GetService("Debris");
  484. Workspace = game:GetService("Workspace");
  485. Lighting = game:GetService("Lighting");
  486. HttpService = game:GetService("HttpService");
  487. InsertService = game:GetService("InsertService");
  488.  
  489. }
  490. local ManaBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
  491. ManaBarGUI.Name = "ManaBarGUI"
  492.  
  493. local ManaBarP1 = Instance.new("Frame", ManaBarGUI)
  494. ManaBarP1.Name = "ManaBarPart1"
  495. ManaBarP1.Size = UDim2.new(0,300,0,20)
  496. ManaBarP1.Position = UDim2.new(0,350,0.1,0)
  497. ManaBarP1.BackgroundColor3 = BrickColor.Yellow().Color
  498.  
  499. local ManaBarP2 = Instance.new("Frame", ManaBarP1)
  500. ManaBarP2.Name = "ManaBarPart2"
  501. ManaBarP2.Size = UDim2.new(0,300,0,20)
  502. ManaBarP2.Position = UDim2.new(0,0,0,0)
  503. ManaBarP2.BackgroundColor3 = BrickColor.new("White").Color
  504.  
  505. local ManaBarText = Instance.new("TextLabel", ManaBarP1)
  506. ManaBarText.Name = "ManaBarText"
  507. ManaBarText.Size = UDim2.new(0,300,0,20)
  508. ManaBarText.Position = UDim2.new(0,0,-1.5,0)
  509. ManaBarText.TextScaled = true
  510. ManaBarText.Text = "<{[ Retribution ]}> 0 <{[ Retribution ]}>"
  511. ManaBarText.BackgroundTransparency = 1
  512. ManaBarText.TextStrokeTransparency = 0
  513. ManaBarText.TextStrokeColor3 = Color3.new(255, 255, 255)
  514. ManaBarText.TextColor3 = Color3.new(255, 255, 0)
  515. ManaBarText.Font = "Garamond"
  516. local WorldEaterGui = Instance.new("BillboardGui", Head)
  517. WorldEaterGui.ExtentsOffset = Vector3.new(0,5,0)
  518. WorldEaterGui.Adornee = Head
  519. WorldEaterGui.AlwaysOnTop = true
  520. WorldEaterGui.Enabled = true
  521. WorldEaterGui.Size = UDim2.new(0, 200,0, 50)
  522.  
  523. local WorldEaterText = Instance.new("TextLabel", WorldEaterGui)
  524. WorldEaterText.BackgroundTransparency = 1
  525. WorldEaterText.Font = "Garamond"
  526. WorldEaterText.Size = UDim2.new(0, 200,0, 50)
  527. WorldEaterText.TextStrokeColor3 = BrickColor.Yellow().Color
  528. WorldEaterText.TextStrokeTransparency = 0
  529. WorldEaterText.TextColor3 = BrickColor.White().Color
  530. WorldEaterText.TextScaled = true
  531. WorldEaterText.Text = "The Sa".."vior"
  532.  
  533.  
  534.  
  535.  
  536.  
  537. --------[[ Mesh Ids ]]--------
  538.  
  539. SpikeMeshId = 1033714
  540. SpikeBallId = 9982590
  541. StarMeshId = 45428961
  542. CrystalMeshId = 9756362
  543.  
  544. --[[ Essential Functions ]]--
  545. function NoOutlines(Part)
  546. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  547. end
  548.  
  549.  
  550. local CreatePart = function(Parent, Name, Color, Size, Material, Transparency, Shape)
  551.  
  552. local Part = Instance.new("Part", Parent)
  553. Part.Name = Name
  554. Part.BrickColor = BrickColor.new(Color)
  555. Part.Size = Size
  556. Part.Material = Material
  557. Part.Transparency = Transparency
  558. Part.Shape = Shape
  559. Part.CanCollide = false
  560. NoOutlines(Part)
  561.  
  562. return Part
  563.  
  564. end
  565.  
  566. local CreateMesh = function(Parent, Scale, Shape)
  567.  
  568.  
  569. local Mesh = Instance.new("BlockMesh", Parent)
  570. Mesh.Scale = Scale
  571.  
  572. return Mesh
  573.  
  574. end
  575.  
  576. local CreateWedge = function(Parent, Name, Color, Size, Material, Transparency)
  577.  
  578. local WedgePart = Instance.new("WedgePart", Parent)
  579. WedgePart.Name = Name
  580. WedgePart.BrickColor = BrickColor.new(Color)
  581. WedgePart.Size = Size
  582. WedgePart.Material = Material
  583. WedgePart.Transparency = Transparency
  584. WedgePart.CanCollide = false
  585. NoOutlines(WedgePart)
  586.  
  587. return WedgePart
  588.  
  589. end
  590.  
  591. local CreateWeld = function(Parent, Cframe, P1 , P0)
  592.  
  593. local Weld = Instance.new("Weld", Parent)
  594. Weld.Part0 = P0
  595. Weld.Part1 = P1
  596. Weld.Name = P0.Name .. "To" .. P1.Name
  597. Weld.C0 = Cframe
  598.  
  599. return Weld
  600.  
  601. end
  602.  
  603. local CreateVelocity = function(Parent,Velocity,Force)
  604.  
  605. local BodyVelocity = Instance.new("BodyVelocity", Parent)
  606. BodyVelocity.Velocity = Velocity
  607. BodyVelocity.MaxForce = Force
  608.  
  609.  
  610.  
  611. return BodyVelocity
  612.  
  613. end
  614.  
  615.  
  616. local CreateCrystal = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  617.  
  618.  
  619. local Part = Instance.new("Part", Parent)
  620. Part.Name = Name
  621. Part.BrickColor = BrickColor.new(Color)
  622. Part.Size = Size
  623. Part.Material = Material
  624. Part.Transparency = Transparency
  625. Part.CanCollide = false
  626. NoOutlines(Part)
  627.  
  628. local Mesh = Instance.new("SpecialMesh", Part)
  629. Mesh.MeshId = "http://www.roblox.com/asset?id=" .. CrystalMeshId
  630. Mesh.Scale = Scale
  631.  
  632. return Mesh and Part
  633.  
  634. end
  635.  
  636. local MakeSFX = function(Parent, Id, Volume, Pitch, Type)
  637.  
  638. local SFX = Instance.new("Sound", Parent)
  639. SFX.SoundId = "http://www.roblox.com/asset?id=" .. Id
  640. SFX.Name = "SFX"
  641. SFX:Play()
  642. SFX.Volume = Volume
  643. SFX.Pitch = Pitch
  644. SFX.PlayOnRemove = true
  645. SFX:Remove()
  646.  
  647. if Type == "Echo" then
  648.  
  649. Instance.new("EchoSoundEffect", SFX)
  650.  
  651. end
  652.  
  653. end
  654.  
  655. local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  656.  
  657.  
  658. local Part = Instance.new("Part", Parent)
  659. Part.Name = Name
  660. Part.BrickColor = BrickColor.new(Color)
  661. Part.Size = Size
  662. Part.Material = Material
  663. Part.Transparency = Transparency
  664. Part.CanCollide = false
  665. NoOutlines(Part)
  666.  
  667. local Mesh = Instance.new("SpecialMesh", Part)
  668. Mesh.MeshId = "http://www.roblox.com/asset?id=" .. SpikeMeshId
  669. Mesh.Scale = Scale
  670.  
  671. return Mesh and Part
  672.  
  673. end
  674.  
  675. CircleEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  676.  
  677. local Part = Instance.new("Part", Parent)
  678. Part.Transparency = Transparency
  679. Part.Name = "CircleEffect"
  680. Part.Size = Vector3.new()
  681. Part.Anchored = true
  682. Part.CanCollide = false
  683. Part.Position = Position
  684. Part.BrickColor = BrickColor.new(Brickcolor)
  685. Part.Material = Material
  686. NoOutlines(Part)
  687.  
  688. local Mesh = Instance.new("SpecialMesh", Part)
  689. Mesh.MeshType = "Sphere"
  690. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  691.  
  692. Services.Debris:AddItem(Part, Time)
  693.  
  694.  
  695. table.insert(Effects, {Part, "Circle", Time, SX, SY, SZ})
  696.  
  697.  
  698. end
  699.  
  700. BlockEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  701.  
  702. local Part = Instance.new("Part", Parent)
  703. Part.Transparency = Transparency
  704. Part.Name = "BlockEffect"
  705. Part.Size = Vector3.new()
  706. Part.Anchored = true
  707. Part.Position = Position
  708. Part.CanCollide = false
  709. Part.BrickColor = BrickColor.new(Brickcolor)
  710. Part.Material = Material
  711. NoOutlines(Part)
  712.  
  713. local Mesh = Instance.new("BlockMesh", Part)
  714. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  715.  
  716. Services.Debris:AddItem(Part, Time)
  717.  
  718. table.insert(Effects, {Part, "Block", Time, SX, SY, SZ})
  719.  
  720.  
  721. end
  722.  
  723. --[[ Damage function ]]--
  724.  
  725.  
  726. function DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  727.  
  728. local HitHumanoid = Hit.Parent.Humanoid
  729.  
  730.  
  731. local Damage = math.random(Min, Max)
  732.  
  733.  
  734. coroutine.resume(coroutine.create(function()
  735. HitHumanoid:TakeDamage(Damage)
  736. end))
  737.  
  738. if Type == "Shrink" then
  739. MakeSFX(Hit.Parent.Torso, 209527235, 1, 1)
  740. for i,v in pairs(Hit.Parent:children()) do
  741. if v:IsA("Part") then
  742. coroutine.resume(coroutine.create(function()
  743. for i = 1,100 do
  744. wait()
  745. v.Size = v.Size - Vector3.new(0.05,0.05,0.05)
  746. v.Transparency = v.Transparency + 0.05
  747.  
  748. end
  749. end))
  750. end
  751. end
  752.  
  753. end
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760. if Type == "Normal" then
  761.  
  762. local Push = CreateVelocity(Hit.Parent.Torso, Torso.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  763. Services.Debris:AddItem(Push, 0)
  764. DamageLabel(Hit.Parent, Damage, Hit)
  765.  
  766. elseif Type == "Ranged" then
  767. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  768. Services.Debris:AddItem(Push, 0)
  769. DamageLabel(Hit.Parent, Damage, Hit)
  770.  
  771. elseif Type == "Impale" then
  772.  
  773. local Spike = CreateSpike(Services.Workspace, "D e a t h", "Institutional white", Vector3.new(), "SmoothPlastic", 0, Vector3.new(1,20,1))
  774. Spike.Anchored = true
  775. Spike.Rotation = Vector3.new(math.random(-50,50), 0 , math.random(-50,50))
  776. Spike.Position = Hit.Parent.Torso.Position
  777.  
  778.  
  779. Services.Debris:AddItem(Spike, 30)
  780.  
  781. Hit.Parent:BreakJoints()
  782. Hit.Parent.Torso.Position = Spike.Position + Vector3.new(0,5,0)
  783. Hit.Parent.Torso.Anchored = true
  784.  
  785. MakeSFX(Spike, 306247724, 1,1)
  786. MakeSFX(Hit.Parent.Torso, 209527175, 10,1)
  787. elseif Type == "Knockdown" then
  788.  
  789.  
  790. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  791. DamageLabel(Hit.Parent, Damage, Hit)
  792. Services.Debris:AddItem(Push, 0.3)
  793.  
  794. coroutine.resume(coroutine.create(function()
  795.  
  796. HitHumanoid.PlatformStand = true
  797. wait(1)
  798. HitHumanoid.PlatformStand = false
  799.  
  800.  
  801. end))
  802. end
  803.  
  804. if HitSFX == "Penetration" then
  805.  
  806. MakeSFX(Hit, 199149269, 1 , 1)
  807.  
  808. elseif HitSFX == "Punch" then
  809.  
  810. MakeSFX(Hit, 278062209, 1 , 1)
  811.  
  812.  
  813.  
  814.  
  815. end
  816. end
  817.  
  818. function DamageLabel(HitCharacter, DamageDealt, Hit)
  819.  
  820. local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Bright yellow", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
  821. DamageShowingPart.Position = HitCharacter.Head.Position
  822.  
  823. local DamageGui = Instance.new("BillboardGui", DamageShowingPart)
  824. DamageGui.Name = "Damage"
  825. DamageGui.AlwaysOnTop = true
  826. DamageGui.Size = UDim2.new(5, 0, 5, 0)
  827.  
  828. local DamageNumber = Instance.new("TextLabel", DamageGui)
  829. DamageNumber.Size = UDim2.new(1,0,1,0)
  830. if Hit.Parent:FindFirstChild("Head") then
  831. DamageNumber.TextStrokeColor3 = Hit.Parent.Head.BrickColor.Color
  832. DamageNumber.TextColor3 = Hit.BrickColor.Color
  833. end
  834. DamageNumber.TextStrokeTransparency = 0
  835. DamageNumber.BackgroundTransparency = 1
  836. DamageNumber.Font = "SourceSansBold"
  837. DamageNumber.TextScaled = true
  838. DamageNumber.Text = DamageDealt
  839.  
  840. local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
  841. BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  842. BodyVelocity.Velocity = Vector3.new(0,2,0)
  843.  
  844. Services.Debris:AddItem(DamageShowingPart, 3)
  845.  
  846.  
  847. end
  848.  
  849. function ValidateDamage(Part, Distance ,Min , Max, Type, HitSFX, Knockback)
  850. for _,WorkspaceChildren in pairs(workspace:children()) do
  851.  
  852. local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
  853.  
  854. if HitHumanoid ~= nil then
  855. local Hit = WorkspaceChildren:findFirstChild("Torso")
  856.  
  857. if Hit ~= nil then
  858.  
  859. local Target = Hit.Position - Part.Position
  860.  
  861. local Magnitude = Target.magnitude
  862.  
  863. if Magnitude <= Distance and WorkspaceChildren.Name ~= Player.Name then
  864.  
  865. local HitBlock = Hit.Parent:FindFirstChild("Block")
  866.  
  867. if HitBlock ~= nil and HitBlock:FindFirstChild("BlockDurability") and HitBlock.Value == true then
  868.  
  869. local HitBlock2 = Hit.Parent.Block.BlockDurability
  870.  
  871. if HitBlock2.Value > 15 then
  872.  
  873. local HitN = math.random(1,5)
  874.  
  875. HitBlock2.Value = HitBlock2.Value - 15
  876.  
  877.  
  878. if HitN == 1 then
  879. MakeSFX(Hit ,199148971, 0.5, 1)
  880. end
  881.  
  882. if HitN == 2 then
  883. MakeSFX(Hit ,199149025, 0.5, 1)
  884. end
  885.  
  886. if HitN == 3 then
  887. MakeSFX(Hit ,199149072, 0.5, 1)
  888. end
  889.  
  890. if HitN == 4 then
  891. MakeSFX(Hit ,199149109, 0.5, 1)
  892. end
  893.  
  894. if HitN == 5 then
  895. MakeSFX(Hit ,199149119, 0.5, 1)
  896. end
  897. return
  898. end
  899. end
  900.  
  901. DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  902.  
  903.  
  904.  
  905. end
  906. end
  907. end
  908. end
  909. end
  910.  
  911.  
  912.  
  913. local Cloak = Instance.new("Part", Character)
  914. Cloak.Name = "Cloak"
  915. Cloak.CanCollide = false
  916. Cloak.BrickColor = BrickColor.new("Institutional white")
  917.  
  918.  
  919.  
  920.  
  921. local CloakMesh = Instance.new("SpecialMesh", Cloak)
  922. CloakMesh.MeshId = "http://www.roblox.com/asset?id=87249889"
  923. CloakMesh.TextureId = "http://www.roblox.com/asset?id=134518907"
  924.  
  925. local CloakWeld = CreateWeld(Cloak, CFrame.new(0,0,0) * CFrame.Angles(0,0,0), Head , Cloak, "ArkusToCharacter")
  926.  
  927. for i,v in pairs(Character:children()) do
  928. if v:IsA("Accessory") then
  929. v:Remove()
  930. elseif v:IsA("Shirt") then
  931. v:Remove()
  932. elseif v:IsA("Pants") then
  933. v:Remove()
  934. elseif v:IsA("BodyColors") then
  935.  
  936. Head.BrickColor =BrickColor.new("Institutional white")
  937. Torso.BrickColor = BrickColor.new("Institutional white")
  938. Right_Arm.BrickColor = BrickColor.new("Institutional white")
  939. Right_Leg.BrickColor = BrickColor.new("Institutional white")
  940. Left_Arm.BrickColor = BrickColor.new("Institutional white")
  941. Left_Leg.BrickColor = BrickColor.new("Institutional white")
  942.  
  943. v.HeadColor = BrickColor.new("Institutional white")
  944. v.TorsoColor = BrickColor.new("Institutional white")
  945. v.RightArmColor = BrickColor.new("Institutional white")
  946. v.LeftArmColor = BrickColor.new("Institutional white")
  947. v.RightLegColor = BrickColor.new("Institutional white")
  948. v.LeftLegColor = BrickColor.new("Institutional white")
  949.  
  950. end
  951. end
  952.  
  953.  
  954.  
  955. --[[ CLerp Declarations ]]--
  956.  
  957. function clerp(a,b,t)
  958. local qa = {QuaternionFromCFrame(a)}
  959. local qb = {QuaternionFromCFrame(b)}
  960. local ax, ay, az = a.x, a.y, a.z
  961. local bx, by, bz = b.x, b.y, b.z
  962. local _t = 1-t
  963. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  964. end
  965.  
  966. function QuaternionFromCFrame(cf) -- dis one
  967. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  968. local trace = m00 + m11 + m22
  969. if trace > 0 then
  970. local s = math.sqrt(1 + trace)
  971. local recip = 0.5/s
  972. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  973. else
  974. local i = 0
  975. if m11 > m00 then
  976. i = 1
  977. end
  978. if m22 > (i == 0 and m00 or m11) then
  979. i = 2
  980. end
  981. if i == 0 then
  982. local s = math.sqrt(m00-m11-m22+1)
  983. local recip = 0.5/s
  984. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  985. elseif i == 1 then
  986. local s = math.sqrt(m11-m22-m00+1)
  987. local recip = 0.5/s
  988. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  989. elseif i == 2 then
  990. local s = math.sqrt(m22-m00-m11+1)
  991. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  992. end
  993. end
  994. end
  995.  
  996. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  997. local xs, ys, zs = x + x, y + y, z + z
  998. local wx, wy, wz = w*xs, w*ys, w*zs
  999. local xx = x*xs
  1000. local xy = x*ys
  1001. local xz = x*zs
  1002. local yy = y*ys
  1003. local yz = y*zs
  1004. local zz = z*zs
  1005. 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))
  1006. end
  1007.  
  1008. function QuaternionSlerp(a, b, t)
  1009. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1010. local startInterp, finishInterp;
  1011. if cosTheta >= 0.0001 then
  1012. if (1 - cosTheta) > 0.0001 then
  1013. local theta = math.acos(cosTheta)
  1014. local invSinTheta = 1/math.sin(theta)
  1015. startInterp = math.sin((1-t)*theta)*invSinTheta
  1016. finishInterp = math.sin(t*theta)*invSinTheta
  1017. else
  1018. startInterp = 1-t
  1019. finishInterp = t
  1020. end
  1021. else
  1022. if (1+cosTheta) > 0.0001 then
  1023. local theta = math.acos(-cosTheta)
  1024. local invSinTheta = 1/math.sin(theta)
  1025. startInterp = math.sin((t-1)*theta)*invSinTheta
  1026. finishInterp = math.sin(t*theta)*invSinTheta
  1027. else
  1028. startInterp = t-1
  1029. finishInterp = t
  1030. end
  1031. end
  1032. 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
  1033. end
  1034.  
  1035. function RayCast(Pos, Dir, Max, Ignore)
  1036. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1037. end
  1038.  
  1039.  
  1040. function Bars()
  1041.  
  1042. --[[ Mana Bar ]]--
  1043. if Destruction ~= MaxDestruction then
  1044.  
  1045. Destruction = Destruction + 1
  1046.  
  1047. end
  1048.  
  1049. if Destruction >= MaxDestruction then
  1050.  
  1051. Destruction = Destruction
  1052.  
  1053. end
  1054.  
  1055.  
  1056. ManaBarText.Text = "<{[ Retribution ]}> <|"..Destruction.."|> <{[ Retribution ]}>"
  1057.  
  1058. ManaBarP2.Size = UDim2.new(Destruction / Destruction,0,0,20)
  1059.  
  1060. end
  1061. local EyeReference = CreatePart(Character, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1062. local EyeReferenceWeld = CreateWeld(EyeReference, CFrame.new(0.15,-0.1,-0.7), EyeReference, Head)
  1063.  
  1064. coroutine.resume(coroutine.create(function()
  1065.  
  1066. while wait(3) do
  1067.  
  1068.  
  1069. CircleEffect(EyeReference.Position, Services.Workspace, 1, 1, 1, 1, 1, 1, 0.5, "Bright red", "Neon", 0.5)
  1070.  
  1071.  
  1072. end
  1073.  
  1074. end))
  1075. --[[ Attacks ]]--
  1076.  
  1077. function Attack1()
  1078. Attacking = true
  1079. MakeSFX(EyeReference, 341336274, 1,1)
  1080. wait(0.3)
  1081. local Reference = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1082. local ReferenceWeld = CreateWeld(Reference, CFrame.new(0,0.5,-5), Reference, Root)
  1083.  
  1084. local Reference2 = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1085. local Reference2Weld = CreateWeld(Reference2, CFrame.new(0,0.5,-2), Reference2, Root)
  1086.  
  1087.  
  1088. for i = 1,10 do
  1089.  
  1090. wait()
  1091. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1.6),0.5)
  1092. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,1.3),0.2)
  1093. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.3)
  1094. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0,0,-1.6), 0.4)
  1095. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0) * CFrame.Angles(0,1.6,0),0.3)
  1096. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(0,-1.6,0),0.3)
  1097.  
  1098. end
  1099.  
  1100. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, "Lime green", "Neon", 0.5)
  1101. wait(0.5)
  1102. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, "Lime green", "Neon", 0.5)
  1103. wait(0.5)
  1104. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, "Lime green", "Neon", 0.5)
  1105. wait(0.5)
  1106. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, "Lime green", "Neon", 0.5)
  1107. wait(0.5)
  1108. MakeSFX(Reference, 306247724, 1,1)
  1109. CircleEffect(Reference.Position, Services.Workspace, 1, 1, 1, 5, 5, 5, 5, "Lime green", "Neon", 0.5)
  1110. ValidateDamage(Reference, 10 ,10 , 14, "Shrink", "Penetration", 5)
  1111. Attacking = false
  1112. end
  1113.  
  1114. function Attack2()
  1115.  
  1116. Attacking = true
  1117. Humanoid.WalkSpeed = 0
  1118. Humanoid.JumpPower = 0
  1119.  
  1120.  
  1121. for i = 1,25 do
  1122. wait()
  1123.  
  1124. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(-0.5,0,0),0.2)
  1125. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  1126. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1, 1, 0) * CFrame.Angles(3.2,0,-0.6), 0.3)
  1127. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1, 1, 0) * CFrame.Angles(3.2,0,0.6), 0.3)
  1128. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
  1129. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
  1130.  
  1131. end
  1132.  
  1133. MakeSFX(Torso, 142070127, 1, 1)
  1134. ValidateDamage(Torso, 60 ,23, 26, "Knockdown", "Penetration", 15)
  1135. local Hit, Position = RayCast(Torso.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1136. if Hit ~= nil then
  1137. local Reference = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1138. Reference.Anchored = true
  1139. Reference.CFrame = CFrame.new(Position)
  1140.  
  1141. CircleEffect(Reference.Position, Services.Workspace, 1, 1, 1, 5, 5, 5, 5, "Institutional white", "Neon", 0.5)
  1142.  
  1143. game:GetService("Debris"):AddItem(Reference,0.1)
  1144. for i=1,50 do
  1145.  
  1146. local Ground = CreatePart(Services.Workspace, "Ground", Hit.BrickColor.Color, Vector3.new(math.random(1,3), math.random(1,3), math.random(1,3)), Hit.Material, 0, "Block")
  1147. Ground.Anchored = true
  1148. Ground.CanCollide = true
  1149. Ground.CFrame = CFrame.new(Position) * CFrame.new(math.random(-30,30), 0, math.random(-30,30)) * CFrame.Angles(math.random(-50,50),math.random(-50,50), math.random(-50,50))
  1150.  
  1151. game:GetService("Debris"):AddItem(Ground,10)
  1152.  
  1153. end
  1154. end
  1155.  
  1156. for i = 1,25 do
  1157. wait()
  1158.  
  1159. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.5)
  1160. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
  1161. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0.1) * CFrame.Angles(-0.2,0,0), 0.3)
  1162. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0.1) * CFrame.Angles(-0.2,0,0), 0.3)
  1163. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
  1164. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
  1165.  
  1166. end
  1167.  
  1168. Attacking = false
  1169. Humanoid.WalkSpeed = 16
  1170. Humanoid.JumpPower = 50
  1171.  
  1172.  
  1173.  
  1174. end
  1175.  
  1176.  
  1177. function Attack3()
  1178. Humanoid.WalkSpeed = 0
  1179. Humanoid.JumpPower = 0
  1180. Attacking = true
  1181. wait(1)
  1182. MakeSFX(Torso, 341336274, 1, 1.2)
  1183. CircleEffect(Torso.Position, Services.Workspace, 1, 1, 1, 20, 20, 20, 5, "Institutional white", "Neon", 0.5)
  1184. wait(1)
  1185. MakeSFX(Torso, 341336274, 1, 1.2)
  1186. CircleEffect(Torso.Position, Services.Workspace, 1, 1, 1, 20, 20, 20, 5, "Institutional white", "Neon", 0.5)
  1187. wait(1)
  1188. MakeSFX(Torso, 341336274, 1, 1.2)
  1189. CircleEffect(Torso.Position, Services.Workspace, 1, 1, 1, 20, 20, 20, 5, "Institutional white", "Neon", 0.5)
  1190. ValidateDamage(Torso, 60 ,0, 0, "Impale", "Penetration", 15)
  1191. Humanoid.WalkSpeed = 16
  1192. Humanoid.JumpPower = 50
  1193. Attacking = false
  1194. end
  1195.  
  1196. mouse.KeyDown:connect(function(key)
  1197. if key == "z" then
  1198. Attack1()
  1199.  
  1200. end
  1201. end)
  1202.  
  1203. mouse.KeyDown:connect(function(key)
  1204. if key == "x" then
  1205. Attack2()
  1206.  
  1207. end
  1208. end)
  1209.  
  1210. mouse.KeyDown:connect(function(key)
  1211. if key == "c" then
  1212. Attack3()
  1213.  
  1214. end
  1215. end)
  1216.  
  1217.  
  1218. --[[ CLerp Animations ]]--
  1219. Change1 = 0
  1220. Change2 = 0
  1221. Change3 = 0
  1222. Change4 = 0
  1223.  
  1224. while true do
  1225. wait()
  1226.  
  1227. local Torvel = (Root.Velocity*Vector3.new(1,0,1)).magnitude
  1228. local Velderp = Root.Velocity.y
  1229. HitFloor,PosFloor = RayCast(Root.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1230.  
  1231. Bars()
  1232.  
  1233.  
  1234. if Torvel < 1 and HitFloor ~= nil and Attacking == false then
  1235. Anim = "Idle"
  1236.  
  1237. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1238. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,-0.3,0),0.3)
  1239. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.3)
  1240. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
  1241. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
  1242. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
  1243.  
  1244. end
  1245.  
  1246.  
  1247. if 2 < Torvel and Torvel < 22 and HitFloor ~= nil and Attacking == false then
  1248. Anim = "Walking"
  1249.  
  1250. if Invert == false then
  1251. Change1 = Change1 + 0.1
  1252.  
  1253. elseif Invert == true then
  1254.  
  1255. Change1 = Change1 - 0.1
  1256.  
  1257. end
  1258.  
  1259. if Change1 > 0.5 then
  1260.  
  1261. Invert = true
  1262.  
  1263. elseif Change1 < -0.5 then
  1264.  
  1265. Invert = false
  1266.  
  1267. end
  1268.  
  1269. if Attacking == false then
  1270.  
  1271. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1272. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,-0.3,0),0.3)
  1273. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, -Change1) * CFrame.Angles(Change1,0,0), 0.3)
  1274. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, Change1) * CFrame.Angles(-Change1,0,0), 0.3)
  1275. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,-Change1 / 4)*CFrame.Angles(Change1,1.6,0),0.2)
  1276. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,Change1 / 4)*CFrame.Angles(-Change1,-1.6,0),0.2)
  1277.  
  1278. end
  1279. end
  1280.  
  1281. if Root.Velocity.y > 1 and HitFloor == nil and Attacking == false then
  1282. Anim = "Jump"
  1283.  
  1284. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1285. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  1286. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0.2) * CFrame.Angles(-0.4,0,0.2), 0.3)
  1287. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0.2) * CFrame.Angles(-0.4,0,-0.2), 0.3)
  1288. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,-0.2)*CFrame.Angles(-0.2,1.6,0),0.2)
  1289. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1290.  
  1291. end
  1292.  
  1293. if Root.Velocity.y < -1 and HitFloor == nil and Attacking == false then
  1294. Anim = "Fall"
  1295.  
  1296. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1297. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
  1298. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, -0.2) * CFrame.Angles(0.4,0,0.2), 0.3)
  1299. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, -0.2) * CFrame.Angles(0.4,0,-0.2), 0.3)
  1300. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,-0.2)*CFrame.Angles(-0.2,1.6,0),0.2)
  1301. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1302.  
  1303. end
  1304.  
  1305.  
  1306. if #Effects > 0 then
  1307. for E = 1, #Effects do
  1308. if Effects[E]~=nil then
  1309. local Effect = Effects[E]
  1310.  
  1311. if Effect ~= nil then
  1312.  
  1313. local Part = Effect[1]
  1314. local Mode = Effect[2]
  1315. local Time = Effect[3]
  1316. local SizeX = Effect[4]
  1317. local SizeY = Effect[5]
  1318. local SizeZ = Effect[6]
  1319.  
  1320. if Effect[1].Transparency <= 1 then
  1321. if Effect[2] == "Block" then
  1322. Effect[1].CFrame = Effect[1].CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1323.  
  1324. Mesh = Effect[1]:FindFirstChild("Mesh")
  1325. if Mesh ~= nil then
  1326. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1327. end
  1328.  
  1329. elseif Effect[2] == "Circle" then
  1330.  
  1331. if Effect[1]:FindFirstChild("Mesh") ~= nil then
  1332. Mesh=Effect[1].Mesh
  1333. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1334. end
  1335.  
  1336. Effect[1].Transparency = Effect[1].Transparency + 0.05
  1337.  
  1338. else
  1339.  
  1340. Part.Parent=nil
  1341.  
  1342. table.remove(Effects, E)
  1343.  
  1344. end
  1345. end
  1346. end
  1347. end
  1348. end
  1349. end
  1350. end
Advertisement
Add Comment
Please, Sign In to add comment