Advertisement
ghostteen14

Untitled

Feb 20th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 76.17 KB | None | 0 0
  1. -- This script has convert to FE by who i don't know?
  2.  
  3. -----------------------------------------------------
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("FE Compatibility code by Joseph Deramus")
  9. local rp = RealPlayer
  10. script.Parent = rp.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent then
  36. for _,f in pairs(t.Functions) do
  37. f(...)
  38. end
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=rp then return end
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. if not io.isMouse then
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67.  
  68. local Mouse = Player:GetMouse()
  69. local UIS = game:GetService("UserInputService")
  70. local input = function(io,a)
  71. if a then return end
  72. --Since InputObject is a client-side instance, we create and pass table instead
  73. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74. end
  75. UIS.InputBegan:Connect(input)
  76. UIS.InputEnded:Connect(input)
  77.  
  78. local h,t
  79. --Give the server mouse data 30 times every second, but only if the values changed
  80. --If player is not moving their mouse, client won't fire events
  81. while wait(1/30) do
  82. if h~=Mouse.Hit or t~=Mouse.Target then
  83. h,t=Mouse.Hit,Mouse.Target
  84. Event:FireServer({isMouse=true,Target=t,Hit=h})
  85. end
  86. end]==],Player.Character)
  87.  
  88. ----Sandboxed game object that allows the usage of client-side methods and services
  89. --Real game object
  90. local _rg = game
  91.  
  92. --Metatable for fake service
  93. local fsmt = {
  94. __index = function(self,k)
  95. local s = rawget(self,"_RealService")
  96. if s then return s[k] end
  97. end,
  98. __newindex = function(self,k,v)
  99. local s = rawget(self,"_RealService")
  100. if s then s[k]=v end
  101. end,
  102. __call = function(self,...)
  103. local s = rawget(self,"_RealService")
  104. if s then return s(...) end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return self[s]
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. }
  123. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124. g.service = g.GetService
  125.  
  126. g.RunService = FakeService({
  127. RenderStepped = _rg:GetService("RunService").Heartbeat,
  128. BindToRenderStep = function(self,name,_,fun)
  129.  
  130. end,
  131. UnbindFromRenderStep = function(self,name)
  132. self._btrs[name]:Disconnect()
  133. end,
  134. },"RunService")
  135.  
  136. setmetatable(g,{
  137. __index=function(self,s)
  138. return _rg:GetService(s) or typeof(_rg[s])=="function"
  139. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  140. end,
  141. __newindex = fsmt.__newindex,
  142. __call = fsmt.__call
  143. })
  144. --Changing owner to fake player object to support owner:GetMouse()
  145. game,owner = g,g.Players.LocalPlayer
  146. end
  147. --Made by Noobygames12, edited by RealPieDiePew
  148. --If credit is removed, go die.
  149. paly = game.Players.LocalPlayer
  150. p = game.Players.LocalPlayer
  151. char = paly.Character
  152. torso = char.Torso
  153. neck = char.Torso.Neck
  154. hum = char.Humanoid
  155. Player = game:GetService("Players").LocalPlayer
  156. local mouse = Player:GetMouse()
  157. Character = Player.Character
  158. tors = Character.Torso
  159. lleg = Character["Left Leg"]
  160. root = Character.HumanoidRootPart
  161. hed = Character.Head
  162. rleg = Character["Right Leg"]
  163. rarm = Character["Right Arm"]
  164. larm = Character["Left Arm"]
  165. tors.Material = Enum.Material.Fabric
  166. local root = char.HumanoidRootPart
  167. local rj = root.RootJoint
  168. local deb = false
  169. local shot = 0
  170. local stanceToggle = "Idle1"
  171. local l = game:GetService("Lighting")
  172. local rs = game:GetService("RunService").RenderStepped
  173. local hb = game:GetService("RunService").Heartbeat
  174. local Stepped = game:GetService("RunService").Stepped
  175. math.randomseed(os.time())
  176. ptez = {0.7, 0.8, 0.9, 1}
  177. local BC = Character["Body Colors"]
  178. BC.HeadColor = BrickColor.new("Bright violet")
  179. BC.LeftArmColor = BrickColor.new("Bright violet")
  180. BC.LeftLegColor = BrickColor.new("Bright violet")
  181. BC.RightArmColor = BrickColor.new("Bright violet")
  182. BC.RightLegColor = BrickColor.new("Bright violet")
  183. BC.TorsoColor = BrickColor.new("Really black")
  184. local Effects = {}
  185. hed.face:Destroy()
  186. hum.MaxHealth = 1000000
  187. attack = false
  188. vt = Vector3.new
  189. bc = BrickColor.new
  190. br = BrickColor.random
  191. it = Instance.new
  192. cf = CFrame.new
  193. euler = CFrame.fromEulerAnglesXYZ
  194. angles = CFrame.Angles
  195. matr = math.random
  196. local basiccooldown = math.huge
  197. local ultcooldown = math.huge
  198. local secondcooldown = math.huge
  199. local thirdcooldown = math.huge
  200. local s = Instance.new("Sound",char)
  201. s.Name = "sos"
  202. s.SoundId = "http://www.roblox.com/asset/?id=195900687"
  203. s.Pitch = 1
  204. s.Volume = math.huge
  205. s.Looped = true
  206. s:Play()
  207.  
  208. local prtrm = Instance.new("Part",Character)
  209. prtrm.Size = vt(2.1,2.1,1.1)
  210. prtrm.CanCollide = false
  211. prtrm.Transparency = 0.5
  212. prtrm.Material = "SmoothPlastic"
  213. prtrm.BrickColor = bc("Really black")
  214. local wldm = Instance.new("Weld",Character)
  215. wldm.Part0 = tors
  216. wldm.Part1 = prtrm
  217.  
  218. local prtr = Instance.new("Part",Character)
  219. prtr.Size = vt(1.1,2.1,1.1)
  220. prtr.CanCollide = false
  221. prtr.Transparency = 0.5
  222. prtr.Material = "SmoothPlastic"
  223. prtr.BrickColor = bc("Bright violet")
  224. local prtrl = Instance.new("Part",Character)
  225. prtrl.Size = vt(1.1,2.1,1.1)
  226. prtrl.CanCollide = false
  227. prtrl.Transparency = 0.5
  228. prtrl.Material = "SmoothPlastic"
  229. prtrl.BrickColor = bc("Bright violet")
  230. local eff = Instance.new("ParticleEmitter",prtr)
  231. eff.LightEmission = 0
  232. eff.Texture = "rbxassetid://284205403"
  233. eff.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  234. eff.Size = NumberSequence.new(0.5,1)
  235. eff.Acceleration = vt(0,25,0)
  236. eff.Speed = NumberRange.new(-5)
  237. eff.LockedToPart = false
  238. eff.Transparency = NumberSequence.new(0.95)
  239. eff.Lifetime = NumberRange.new(0.5)
  240. eff.Rate = 100000
  241. eff.VelocitySpread = 25
  242. local wld = Instance.new("Weld",Character)
  243. wld.Part0 = rarm
  244. wld.Part1 = prtr
  245. local wldl = Instance.new("Weld",Character)
  246. wldl.Part0 = rleg
  247. wldl.Part1 = prtrl
  248.  
  249. local prtr2 = Instance.new("Part",Character)
  250. prtr2.Size = vt(1.1,2.1,1.1)
  251. prtr2.CanCollide = false
  252. prtr2.Transparency = 0.5
  253. prtr2.Material = "SmoothPlastic"
  254. prtr2.BrickColor = bc("Bright violet")
  255. local prtrl2 = Instance.new("Part",Character)
  256. prtrl2.Size = vt(1.1,2.1,1.1)
  257. prtrl2.CanCollide = false
  258. prtrl2.Transparency = 0.5
  259. prtrl2.Material = "SmoothPlastic"
  260. prtrl2.BrickColor = bc("Bright violet")
  261. local eff2 = Instance.new("ParticleEmitter",prtr2)
  262. eff2.LightEmission = 0
  263. eff2.Texture = "rbxassetid://284205403"
  264. eff2.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  265. eff2.Size = NumberSequence.new(0.5,1)
  266. eff2.Acceleration = vt(0,25,0)
  267. eff2.Speed = NumberRange.new(-5)
  268. eff2.LockedToPart = false
  269. eff2.Transparency = NumberSequence.new(0.95)
  270. eff2.Lifetime = NumberRange.new(0.5)
  271. eff2.Rate = 100000
  272. eff2.VelocitySpread = 25
  273. local wld2 = Instance.new("Weld",Character)
  274. wld2.Part0 = larm
  275. wld2.Part1 = prtr2
  276. local wldl2 = Instance.new("Weld",Character)
  277. wldl2.Part0 = lleg
  278. wldl2.Part1 = prtrl2
  279.  
  280. local lightning = Instance.new("ParticleEmitter",torso)
  281. lightning.Texture = "http://www.roblox.com/asset/?id=348321827"
  282. lightning.LightEmission = 0
  283. lightning.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  284. lightning.LockedToPart = true
  285. lightning.Rate = 20
  286. lightning.Lifetime = NumberRange.new(0.1,0.10)
  287. lightning.Rotation = NumberRange.new(0,360)
  288. lightning.Size = NumberSequence.new(3,3,3)
  289. lightning.Transparency = NumberSequence.new(0,0)
  290. lightning.Speed = NumberRange.new(0,0)
  291. lightning.RotSpeed = NumberRange.new(0,0)
  292. lightning.ZOffset = 5
  293. lightning.Enabled = false
  294.  
  295. local eeeffecto = Instance.new("ParticleEmitter",torso)
  296. eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367"
  297. eeeffecto.LightEmission = 0
  298. eeeffecto.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  299. eeeffecto.LockedToPart = true
  300. eeeffecto.Rate = 10
  301. eeeffecto.Lifetime = NumberRange.new(0.1,0.1)
  302. eeeffecto.Rotation = NumberRange.new(0,0)
  303. eeeffecto.Size = NumberSequence.new(9,9,9)
  304. eeeffecto.Transparency = NumberSequence.new(0,0)
  305. eeeffecto.Speed = NumberRange.new(0,0)
  306. eeeffecto.RotSpeed = NumberRange.new(0,0)
  307. eeeffecto.Enabled = false
  308.  
  309.  
  310. for i,v in pairs(Character:children()) do
  311. if v:IsA("Shirt") then
  312. v:Destroy()
  313. end
  314. end
  315. for i,v in pairs(Character:children()) do
  316. if v:IsA("Pants") then
  317. v:Destroy()
  318. end
  319. end
  320. for i,v in pairs(char:children()) do
  321. if v:IsA("Accessory") then
  322. v:Destroy()
  323. end
  324. end
  325.  
  326. CV="Hot pink"
  327.  
  328. Reaper = Instance.new("Model",Character)
  329. Reaper.Name = "Reaper"
  330. rh = Instance.new("Part")
  331. rh.Name = "rh"
  332. rh.Parent = Reaper
  333. rh.Locked = true
  334. rh.CanCollide = false
  335. mesh = Instance.new("SpecialMesh")
  336. rh.formFactor = "Symmetric"
  337. mesh.MeshType = "FileMesh"
  338. mesh.MeshId = "http://www.roblox.com/asset/?id=21057410"
  339. mesh.TextureId = "http://www.roblox.com/asset/?id=250577405"
  340. mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  341. mesh.Parent = rh
  342. local weld = Instance.new("Weld")
  343. weld.Parent = rh
  344. weld.Part0 = rh
  345. weld.Part1 = Player.Character.Head
  346. weld.C0 = CFrame.new(0, -0.045, -0.028)*CFrame.Angles(0, 0, 0)
  347.  
  348. local txt = Instance.new("BillboardGui", char)
  349. txt.Adornee = char .Head
  350. txt.Name = "_status"
  351. txt.Size = UDim2.new(2, 0, 1.2, 0)
  352. txt.StudsOffset = Vector3.new(-9, 8, 0)
  353. local text = Instance.new("TextLabel", txt)
  354. text.Size = UDim2.new(10, 0, 7, 0)
  355. text.FontSize = "Size24"
  356. text.TextScaled = true
  357. text.TextTransparency = 0
  358. text.BackgroundTransparency = 1
  359. text.TextTransparency = 0
  360. text.TextStrokeTransparency = 0
  361. text.Font = "SciFi"
  362. text.TextStrokeColor3 = BrickColor.new("Really black").Color
  363.  
  364. v=Instance.new("Part")
  365. v.Name = "ColorBrick"
  366. v.Parent=p.Character
  367. v.FormFactor="Symmetric"
  368. v.Anchored=true
  369. v.CanCollide=false
  370. v.BottomSurface="Smooth"
  371. v.TopSurface="Smooth"
  372. v.Size=Vector3.new(10,5,3)
  373. v.Transparency=1
  374. v.CFrame=char.Torso.CFrame
  375. v.BrickColor=BrickColor.new(CV)
  376. v.Transparency=1
  377. text.TextColor3 = BrickColor.new("Bright violet").Color
  378. v.Shape="Block"
  379. text.Text = "Rex, Ruler of the Universe:" ..math.floor(hum.Health)
  380.  
  381. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  382. local gui = it(GuiType)
  383. gui.Parent = parent
  384. gui.Text = text
  385. gui.BackgroundTransparency = backtrans
  386. gui.BackgroundColor3 = backcol
  387. gui.SizeConstraint = "RelativeXY"
  388. gui.TextXAlignment = "Center"
  389. gui.TextYAlignment = "Center"
  390. gui.Position = pos
  391. gui.Size = size
  392. gui.Font = "SourceSans"
  393. gui.FontSize = "Size14"
  394. gui.TextWrapped = false
  395. gui.TextStrokeTransparency = 0
  396. gui.TextColor = BrickColor.new("White")
  397. return gui
  398. end
  399.  
  400. local boll = Instance.new("Part",game.Lighting)
  401. boll.Transparency = 0.5
  402. boll.Material = "Neon"
  403. boll.BrickColor = bc("Bright red")
  404. boll.Anchored = true
  405. boll.Size = vt(1,1,1)
  406. boll.Shape = "Ball"
  407. boll.CanCollide = false
  408.  
  409. local shur = Instance.new("Part",game.Lighting)
  410. shur.Transparency = 0
  411. shur.Material = "Neon"
  412. shur.BrickColor = bc("Bright red")
  413. shur.Anchored = true
  414. shur.Size = vt(5,0.2,5)
  415. shur.CanCollide = false
  416. local Meshshur = Instance.new("CylinderMesh",shur)
  417.  
  418. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  419. if hit.Parent==nil then
  420. return
  421. end
  422. h=hit.Parent:FindFirstChild("Humanoid")
  423. for _,v in pairs(hit.Parent:children()) do
  424. if v:IsA("Humanoid") then
  425. h=v
  426. end
  427. end
  428. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  429. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  430. end
  431. if hit.Parent.className=="Hat" then
  432. hit=hit.Parent.Parent:findFirstChild("Head")
  433. end
  434. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  435. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  436. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  437. return
  438. end]]
  439. -- hs(hit,1.2)
  440. c=Instance.new("ObjectValue")
  441. c.Name="creator"
  442. c.Value=game:service("Players").LocalPlayer
  443. c.Parent=h
  444. game:GetService("Debris"):AddItem(c,.5)
  445. Damage=math.random(minim,maxim)
  446. -- h:TakeDamage(Damage)
  447. blocked=false
  448. block=hit.Parent:findFirstChild("Block")
  449. if block~=nil then
  450. print(block.className)
  451. if block.className=="NumberValue" then
  452. if block.Value>0 then
  453. blocked=true
  454. if decreaseblock==nil then
  455. block.Value=block.Value-1
  456. end
  457. end
  458. end
  459. if block.className=="IntValue" then
  460. if block.Value>0 then
  461. blocked=true
  462. if decreaseblock~=nil then
  463. block.Value=block.Value-1
  464. end
  465. end
  466. end
  467. end
  468. if blocked==false then
  469. -- h:TakeDamage(Damage)
  470. h.Health=h.Health-Damage
  471. showDamage(hit.Parent,Damage,.5,TorsoColor)
  472. else
  473. h.Health=h.Health-(Damage/2)
  474. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  475. end
  476. if Type=="Knockdown" then
  477. hum=hit.Parent.Humanoid
  478. hum.PlatformStand=true
  479. coroutine.resume(coroutine.create(function(HHumanoid)
  480. swait(1)
  481. HHumanoid.PlatformStand=false
  482. end),hum)
  483. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  484. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  485. local bodvol=Instance.new("BodyVelocity")
  486. bodvol.velocity=angle*knockback
  487. bodvol.P=5000
  488. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  489. bodvol.Parent=hit
  490. rl=Instance.new("BodyAngularVelocity")
  491. rl.P=3000
  492. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  493. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  494. rl.Parent=hit
  495. game:GetService("Debris"):AddItem(bodvol,.5)
  496. game:GetService("Debris"):AddItem(rl,.5)
  497. elseif Type=="Normal" then
  498. vp=Instance.new("BodyVelocity")
  499. vp.P=500
  500. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  501. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  502. if KnockbackType==1 then
  503. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  504. elseif KnockbackType==2 then
  505. vp.velocity=Property.CFrame.lookVector*knockback
  506. end
  507. if knockback>0 then
  508. vp.Parent=hit.Parent.Torso
  509. end
  510. game:GetService("Debris"):AddItem(vp,.5)
  511. elseif Type=="Up" then
  512. local bodyVelocity=Instance.new("BodyVelocity")
  513. bodyVelocity.velocity=vt(0,10,0)
  514. bodyVelocity.P=1000
  515. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  516. bodyVelocity.Parent=hit
  517. game:GetService("Debris"):AddItem(bodyVelocity,1)
  518. rl=Instance.new("BodyAngularVelocity")
  519. rl.P=3000
  520. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  521. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  522. rl.Parent=hit
  523. game:GetService("Debris"):AddItem(rl,.5)
  524. elseif Type=="Snare" then
  525. bp=Instance.new("BodyPosition")
  526. bp.P=2000
  527. bp.D=100
  528. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  529. bp.position=hit.Parent.Torso.Position
  530. bp.Parent=hit.Parent.Torso
  531. game:GetService("Debris"):AddItem(bp,1)
  532. elseif Type=="Target" then
  533. if Targetting==false then
  534. ZTarget=hit.Parent.Torso
  535. coroutine.resume(coroutine.create(function(Part)
  536. swait(5)
  537. end),ZTarget)
  538. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  539. targetgui=Instance.new("BillboardGui")
  540. targetgui.Parent=ZTarget
  541. targetgui.Size=UDim2.new(10,100,10,100)
  542. targ=Instance.new("ImageLabel")
  543. targ.Parent=targetgui
  544. targ.BackgroundTransparency=1
  545. targ.Image="rbxassetid://4834067"
  546. targ.Size=UDim2.new(1,0,1,0)
  547. cam.CameraType="Scriptable"
  548. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  549. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  550. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  551. Targetting=true
  552. RocketTarget=ZTarget
  553. for i=1,Property do
  554. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  555. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  556. swait()
  557. end
  558. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  559. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  560. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  561. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  562. end
  563. Targetting=false
  564. RocketTarget=nil
  565. targetgui.Parent=nil
  566. cam.CameraType="Custom"
  567. end
  568. end
  569. debounce=Instance.new("BoolValue")
  570. debounce.Name="DebounceHit"
  571. debounce.Parent=hit.Parent
  572. debounce.Value=true
  573. game:GetService("Debris"):AddItem(debounce,Delay)
  574. c=Instance.new("ObjectValue")
  575. c.Name="creator"
  576. c.Value=Player
  577. c.Parent=h
  578. game:GetService("Debris"):AddItem(c,.5)
  579. CRIT=false
  580. hitDeb=true
  581. AttackPos=6
  582. end
  583. end
  584.  
  585. showDamage=function(Char,Dealt,du,Color)
  586. m=Instance.new("Model")
  587. m.Name=tostring(Dealt)
  588. h=Instance.new("Humanoid")
  589. h.Health=0
  590. h.MaxHealth=0
  591. h.Parent=m
  592. c=Instance.new("Part")
  593. c.Transparency=0
  594. c.Material = "Neon"
  595. c.BrickColor=bc("New Yeller")
  596. c.Name="Head"
  597. c.TopSurface=0
  598. c.BottomSurface=0
  599. local tick = Instance.new("Sound",c)
  600. tick.SoundId = "rbxassetid://12221976"
  601. tick.Volume = 5
  602. tick.Pitch = 4
  603. tick:Play()
  604. c.formFactor="Plate"
  605. c.Size=Vector3.new(1,.4,1)
  606. ms=Instance.new("CylinderMesh")
  607. ms.Scale=Vector3.new(.8,.8,.8)
  608. if CRIT==true then
  609. ms.Scale=Vector3.new(1,1.25,1)
  610. end
  611. ms.Parent=c
  612. c.Reflectance=0
  613. Instance.new("BodyGyro").Parent=c
  614. c.Parent=m
  615. if Char:findFirstChild("Head")~=nil then
  616. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  617. elseif Char.Parent:findFirstChild("Head")~=nil then
  618. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  619. end
  620. f=Instance.new("BodyPosition")
  621. f.P=2000
  622. f.D=100
  623. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  624. f.position=c.Position+Vector3.new(0,3,0)
  625. f.Parent=c
  626. game:GetService("Debris"):AddItem(m,.5+du)
  627. c.CanCollide=false
  628. m.Parent=workspace
  629. c.CanCollide=false
  630. p:Destroy()
  631. end
  632.  
  633. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  634. for _, c in pairs(workspace:children()) do
  635. local hum = c:findFirstChild("Humanoid")
  636. if hum ~= nil then
  637. local head = c:findFirstChild("Torso")
  638. if head ~= nil then
  639. local targ = head.Position - Part.Position
  640. local mag = targ.magnitude
  641. if mag <= magni and c.Name ~= Player.Name then
  642. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  643. end
  644. end
  645. end
  646. end
  647. end
  648.  
  649. function ExplodeFast(rad,par)
  650. local expart = Instance.new("Part",script.Parent)
  651. local expart2 = Instance.new("Part",script.Parent)
  652. local partMesh = Instance.new("SpecialMesh",expart)
  653. partMesh.MeshType = "Sphere"
  654. local partMesh2 = Instance.new("SpecialMesh",expart2)
  655. partMesh2.MeshType = "Sphere"
  656. local expld = Instance.new("Explosion", script.Parent)
  657. expld.Visible = false
  658. local plode = Instance.new("Sound",expart)
  659. plode.SoundId = "rbxassetid://153274423"
  660. plode.Volume = 2.5
  661. plode.Pitch = 1
  662. plode.Looped = false
  663. plode:Play()
  664. local ploder = Instance.new("Sound",expart)
  665. ploder.SoundId = "rbxassetid://130972023"
  666. ploder.Volume = 2.5
  667. ploder.Pitch = 1
  668. ploder.Looped = false
  669. ploder:Play()
  670. expld.BlastRadius = rad
  671. expld.Position = par.Position
  672. partMesh.Scale = vt(rad,rad,rad)
  673. expart.Size = vt(1,1,1)*1.5
  674. expart.Transparency = 0
  675. expart.Anchored = true
  676. expart.Material = "Neon"
  677. expart.BrickColor = bc("Really black")
  678. expart.CFrame = par.CFrame
  679. partMesh2.Scale = vt(rad,rad,rad)
  680. expart2.Size = vt(1.15,1.15,1.15)*1.5
  681. expart2.Transparency = 0.5
  682. expart2.Anchored = true
  683. expart2.Material = "Neon"
  684. expart2.BrickColor = bc("Bright violet")
  685. expart2.CFrame = par.CFrame
  686. local value = 1*rad/6.5
  687. par:Destroy()
  688. for i = 0, 100 do
  689. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  690. expart.CFrame = expart.CFrame
  691. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  692. expart2.CFrame = expart.CFrame
  693. value = value - 0.035*rad/6.5
  694. if value < 1 then
  695. value = 0.25
  696. expart.Transparency = expart.Transparency + 0.025
  697. expart2.Transparency = expart2.Transparency + 0.025
  698. end
  699. wait()
  700. end
  701. plode.Parent = nil
  702. ploder.Parent = nil
  703. expart.Parent = nil
  704. expart2.Parent = nil
  705. expld.Parent = nil
  706. end
  707.  
  708. function Explode(rad,par)
  709. local expart = Instance.new("Part",script.Parent)
  710. local expart2 = Instance.new("Part",script.Parent)
  711. local partMesh = Instance.new("SpecialMesh",expart)
  712. partMesh.MeshType = "Sphere"
  713. local partMesh2 = Instance.new("SpecialMesh",expart2)
  714. partMesh2.MeshType = "Sphere"
  715. local expld = Instance.new("Explosion", script.Parent)
  716. expld.Visible = false
  717. local plode = Instance.new("Sound",expart)
  718. plode.SoundId = "rbxassetid://288641686"
  719. plode.Volume = 2.5
  720. plode.Pitch = 0.75
  721. plode.Looped = false
  722. plode:Play()
  723. local ploder = Instance.new("Sound",expart)
  724. ploder.SoundId = "rbxassetid://206049428"
  725. ploder.Volume = 3.25
  726. ploder.Pitch = 0.5
  727. ploder.Looped = false
  728. ploder:Play()
  729. expld.BlastRadius = rad
  730. expld.Position = par.Position
  731. partMesh.Scale = vt(rad,rad,rad)
  732. expart.Size = vt(1,1,1)*1.5
  733. expart.Transparency = 0
  734. expart.Anchored = true
  735. expart.Material = "Neon"
  736. expart.BrickColor = bc("Really black")
  737. expart.CFrame = par.CFrame
  738. partMesh2.Scale = vt(rad,rad,rad)
  739. expart2.Size = vt(1.15,1.15,1.15)*1.5
  740. expart2.Transparency = 0.5
  741. expart2.Anchored = true
  742. expart2.Material = "Neon"
  743. expart2.BrickColor = bc("Bright violet")
  744. expart2.CFrame = par.CFrame
  745. local value = 1*rad/6.5
  746. par:Destroy()
  747. for i = 0, 100 do
  748. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  749. expart.CFrame = expart.CFrame
  750. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  751. expart2.CFrame = expart.CFrame
  752. value = value - 0.035*rad/6.5
  753. if value < 1 then
  754. value = 0.25
  755. expart.Transparency = expart.Transparency + 0.025
  756. expart2.Transparency = expart2.Transparency + 0.025
  757. end
  758. wait()
  759. end
  760. plode.Parent = nil
  761. ploder.Parent = nil
  762. expart.Parent = nil
  763. expart2.Parent = nil
  764. expld.Parent = nil
  765. end
  766.  
  767. function ExplodeMass(rad,par)
  768. local expart = Instance.new("Part",script.Parent)
  769. local expart2 = Instance.new("Part",script.Parent)
  770. local partMesh = Instance.new("SpecialMesh",expart)
  771. partMesh.MeshType = "Sphere"
  772. local partMesh2 = Instance.new("SpecialMesh",expart2)
  773. partMesh2.MeshType = "Sphere"
  774. local expld = Instance.new("Explosion", script.Parent)
  775. expld.Visible = false
  776. local plode = Instance.new("Sound",workspace)
  777. plode.SoundId = "rbxassetid://579687077"
  778. plode.Volume = 1
  779. plode.Pitch = 0.75
  780. plode.Looped = false
  781. plode:Play()
  782. local plodez = Instance.new("Sound",workspace)
  783. plodez.SoundId = "rbxassetid://288641686"
  784. plodez.Volume = 1
  785. plodez.Pitch = 0.625
  786. plodez.Looped = false
  787. plodez:Play()
  788. local plodeza = Instance.new("Sound",workspace)
  789. plodeza.SoundId = "rbxassetid://197161452"
  790. plodeza.Volume = 0.85
  791. plodeza.Pitch = 0.5
  792. plodeza.Looped = false
  793. plodeza:Play()
  794. local plodezar = Instance.new("Sound",workspace)
  795. plodezar.SoundId = "rbxassetid://197161452"
  796. plodezar.Volume = 0.85
  797. plodezar.Pitch = 0.2
  798. plodezar.Looped = false
  799. plodezar:Play()
  800. local s3 = Instance.new("Sound",workspace)
  801. s3.SoundId = "rbxassetid://268931189"
  802. s3.Pitch = 0.875
  803. s3.Volume = 1
  804. s3.Looped = false
  805. s3:Play()
  806. expld.BlastRadius = rad
  807. expld.Position = par.Position
  808. partMesh.Scale = vt(rad,rad,rad)
  809. expart.Size = vt(1,1,1)*1.5
  810. expart.Transparency = 0
  811. expart.Anchored = true
  812. expart.Material = "Neon"
  813. expart.BrickColor = bc("Really black")
  814. expart.CFrame = par.CFrame
  815. partMesh2.Scale = vt(rad,rad,rad)
  816. expart2.Size = vt(1.15,1.15,1.15)*1.5
  817. expart2.Transparency = 0.5
  818. expart2.Anchored = true
  819. expart2.Material = "Neon"
  820. expart2.BrickColor = bc("Bright violet")
  821. expart2.CFrame = par.CFrame
  822. local value = 1*rad/10
  823. par:Destroy()
  824. for i = 0, 300 do
  825. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  826. expart.CFrame = expart.CFrame
  827. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  828. expart2.CFrame = expart.CFrame
  829. value = value - 0.0175*rad/10
  830. if value <= 0 then
  831. expart.Transparency = expart.Transparency + 0.0125
  832. expart2.Transparency = expart2.Transparency + 0.0125
  833. value = 0.25
  834. end
  835. wait()
  836. end
  837. plode.Parent = nil
  838. expart.Parent = nil
  839. expart2.Parent = nil
  840. expld.Parent = nil
  841. end
  842.  
  843. local basgui = it("GuiMain")
  844. basgui.Parent = Player.PlayerGui
  845. basgui.Name = "CooldownsGUI"
  846. local basframe = it("Frame")
  847. basframe.Parent = basgui
  848. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  849. basframe.BackgroundTransparency = 1
  850. basframe.BorderColor3 = Color3.new(17, 17, 17)
  851. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  852. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  853. local healthgui = gui("TextLabel", basframe, "Health: " ..basiccooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, -0.5, 0))
  854. local basicgui = gui("TextLabel", basframe, "Basic: " ..basiccooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0.25, 0))
  855. local basic2gui = gui("TextLabel", basframe, "FirstMove: " ..secondcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1.25, 0))
  856. local basic3gui = gui("TextLabel", basframe, "SecondMove: " ..thirdcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(1.15, 0, 0.25, 0))
  857. local basic4gui = gui("TextLabel", basframe, "Ultimate: " ..ultcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(1.15, 0, 1.25, 0))
  858. basicgui.ZIndex = 2
  859. healthgui.TextSize = 24
  860. healthgui.ZIndex = 2
  861. basicgui.TextSize = 24
  862. basic4gui.ZIndex = 2
  863. basic4gui.TextSize = 24
  864. basic3gui.ZIndex = 2
  865. basic3gui.TextSize = 24
  866. basic2gui.ZIndex = 2
  867. basic2gui.TextSize = 24
  868.  
  869.  
  870. function Blaze()
  871. if ultcooldown >= 30 then
  872. local kolor = Instance.new("ColorCorrectionEffect",game.Lighting)
  873. local see = Instance.new("Sound",workspace)
  874. see.SoundId = "rbxassetid://21420962"
  875. see.Pitch = 1
  876. see.Volume = 2.75
  877. see.Looped = false
  878. see:Play()
  879. kolor.Brightness = -1
  880. kolor.Contrast = -1
  881. kolor.TintColor = BrickColor.new("Bright violet").Color
  882. wait(0.1)
  883. for i = 0, 9 do
  884. kolor.Brightness = kolor.Brightness + 0.35
  885. kolor.Contrast = kolor.Contrast + 0.35
  886. wait(0.05)
  887. end
  888. for i = 0, 9 do
  889. kolor.Brightness = kolor.Brightness - 0.35
  890. kolor.Contrast = kolor.Contrast - 0.35
  891. wait(0.05)
  892. end
  893. kolor:Destroy()
  894. local sloc = Instance.new("Part",workspace)
  895. local msh = Instance.new("SpecialMesh",sloc)
  896. msh.MeshType = "Sphere"
  897. sloc.Size = vt(1,1,1)
  898. sloc.Transparency = 1
  899. sloc.BrickColor = bc("Really black")
  900. sloc.Position = hed.Position + vt(0,250,0)
  901. sloc.CanCollide = false
  902. sloc.Shape = "Ball"
  903. sloc.Anchored = true
  904. sloc.Material = "Neon"
  905. local s = Instance.new("Sound",workspace)
  906. s.SoundId = "rbxassetid://342793847"
  907. s.Pitch = 0.75
  908. s.Volume = 1
  909. s.Looped = false
  910. s:Play()
  911. local s2 = Instance.new("Sound",workspace)
  912. s2.SoundId = "rbxassetid://137463716"
  913. s2.Pitch = 0.5
  914. s2.Volume = 1
  915. s2.Looped = false
  916. s2:Play()
  917. local val = 0.65*5
  918. for i = 0 , 150 do
  919. sloc.Transparency = sloc.Transparency - 0.035
  920. msh.Scale = msh.Scale + vt(val,val,val)
  921. val = val - 0.0075*2.5
  922. wait()
  923. end
  924. msh.Scale = msh.Scale - vt(1,1,1)
  925. sloc.Transparency = sloc.Transparency + 0.015
  926. local spart = Instance.new("Part",workspace)
  927. local msh2 = Instance.new("SpecialMesh",spart)
  928. msh2.MeshType = "Sphere"
  929. spart.Size = vt(2,2,2)
  930. spart.Shape = "Ball"
  931. spart.BrickColor = bc("Really black")
  932. spart.Material = "Neon"
  933. spart.Transparency = 0
  934. spart.Anchored = false
  935. msh2.Scale = msh.Scale/2
  936. spart.Rotation = hed.Rotation
  937. spart.CanCollide = false
  938. spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0))
  939. local bv = Instance.new("BodyVelocity")
  940. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  941. bv.velocity = mouse.Hit.lookVector * 125
  942. bv.Parent = spart
  943. local tick = Instance.new("Sound",workspace)
  944. tick.SoundId = "rbxassetid://203691467"
  945. tick.Volume = 2
  946. tick.Pitch = 0.5
  947. tick:Play()
  948. sloc:Destroy()
  949. wait(0.00001)
  950. pewdiepie=spart.Touched:connect(function(hit)
  951. ExplodeMass(125,spart)
  952. end)
  953. sloc:Destroy()
  954. end
  955. if ultcooldown < 1 then
  956. for i = 0, 29 do
  957. ultcooldown = ultcooldown + 1
  958. wait(1)
  959. end
  960. end
  961. end
  962.  
  963. function LocateSpot()
  964. if basiccooldown >= 5 then
  965. local spart = Instance.new("Part",workspace)
  966. local msh = Instance.new("SpecialMesh",spart)
  967. msh.MeshType = "Sphere"
  968. local sa2 = Instance.new("Sound",spart)
  969. sa2.SoundId = "rbxassetid://244578827"
  970. sa2.Pitch = 1
  971. sa2.Volume = 2.5
  972. sa2.Looped = false
  973. sa2:Play()
  974. spart.Size = vt(1,1,1)
  975. spart.BrickColor = BrickColor.new("Bright violet")
  976. spart.Material = "Neon"
  977. spart.Transparency = 0.25
  978. spart.Anchored = true
  979. spart.CanCollide = false
  980. spart.CFrame = mouse.Hit
  981. spart.Rotation = vt(0,0,0)
  982. local value = 2.75
  983. for i = 0, 74 do
  984. value = value - 0.035
  985. msh.Scale = msh.Scale + vt(value,0,value)
  986. wait()
  987. end
  988. wait(1)
  989. for i = 0, 24 do
  990. value = value - 0.2215
  991. spart.Transparency = spart.Transparency - 0.015
  992. msh.Scale = msh.Scale + vt(value,500,value)
  993. wait()
  994. end
  995. wait(0.1)
  996. Explode(42.5,spart)
  997. end
  998. end
  999.  
  1000. function TeleportSpot()
  1001. if basiccooldown >= 5 then
  1002. local sparta = Instance.new("Part",workspace)
  1003. local msher = Instance.new("SpecialMesh",sparta)
  1004. msher.MeshType = "Sphere"
  1005. msher.Scale = vt(0,0.1,0)
  1006. local sa2 = Instance.new("Sound",sparta)
  1007. sa2.SoundId = "rbxassetid://169380479"
  1008. sa2.Pitch = 0.75
  1009. sa2.Volume = 2
  1010. sa2.Looped = false
  1011. sa2:Play()
  1012. local sa3 = Instance.new("Sound",sparta)
  1013. sa3.SoundId = "rbxassetid://289556450"
  1014. sa3.Pitch = 1
  1015. sa3.Volume = 3
  1016. sa3.Looped = false
  1017. sparta.Size = vt(1,1,1)
  1018. sparta.BrickColor = BrickColor.new("Bright violet")
  1019. sparta.Material = "Neon"
  1020. sparta.Transparency = 0
  1021. sparta.Anchored = true
  1022. sparta.CanCollide = false
  1023. sparta.CFrame = mouse.Hit
  1024. sparta.Rotation = vt(0,0,0)
  1025. local sparte = sparta:Clone()
  1026. sparte.Position = tors.Position + vt(0,-2.75,0)
  1027. sparte.Parent = workspace
  1028. local msher2 = sparte.Mesh
  1029. local value2 = 2.5
  1030. for i = 0, 24 do
  1031. value2 = value2 - 0.065
  1032. msher.Scale = msher.Scale + vt(value2,0,value2)
  1033. msher2.Scale = msher2.Scale + vt(value2,0,value2)
  1034. wait()
  1035. end
  1036. for i = 0, 5 do
  1037. msher.Scale = msher.Scale + vt(0,500,0)
  1038. msher2.Scale = msher2.Scale + vt(0,500,0)
  1039. wait()
  1040. end
  1041. wait(0.1)
  1042. sa3:Play()
  1043. tors.CFrame = sparta.CFrame
  1044. for i = 0, 49 do
  1045. value2 = value2 - 0.5
  1046. sparta.Transparency = sparta.Transparency + 0.1
  1047. msher.Scale = msher.Scale - vt(value2,-500,value2)
  1048. sparte.Transparency = sparte.Transparency + 0.1
  1049. msher2.Scale = msher2.Scale - vt(value2,-500,value2)
  1050. wait()
  1051. end
  1052. sparta:Destroy()
  1053. sparte:Destroy()
  1054. end
  1055. end
  1056.  
  1057. mod4 = Instance.new("Model",char)
  1058.  
  1059. ptez = {0.7, 0.8, 0.9, 1}
  1060.  
  1061. function FindNearestTorso(Position,Distance,SinglePlayer)
  1062. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1063. local List = {}
  1064. for i,v in pairs(workspace:GetChildren())do
  1065. if v:IsA("Model")then
  1066. if v:findFirstChild("Torso")then
  1067. if v ~= char then
  1068. if(v.Torso.Position -Position).magnitude <= Distance then
  1069. table.insert(List,v)
  1070. end
  1071. end
  1072. end
  1073. end
  1074. end
  1075. return List
  1076. end
  1077.  
  1078. function Slam()
  1079. local part=Instance.new('Part',mod4)
  1080. part.Anchored=true
  1081. part.CanCollide=false
  1082. part.FormFactor='Custom'
  1083. part.Size=Vector3.new(.2,.2,.2)
  1084. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  1085. part.Transparency=.7
  1086. part.BrickColor=BrickColor.new('Really black')
  1087. mesh=Instance.new('SpecialMesh',part)
  1088. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1089. mesh.Scale=Vector3.new(3,3,3)
  1090. local part2=Instance.new('Part',mod4)
  1091. part2.Anchored=true
  1092. part2.CanCollide=false
  1093. part2.FormFactor='Custom'
  1094. part2.Size=Vector3.new(.2,.2,.2)
  1095. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  1096. part2.Transparency=.7
  1097. part2.BrickColor=BrickColor.new("Plum")
  1098. mesh2=Instance.new('SpecialMesh',part2)
  1099. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1100. mesh2.Scale=Vector3.new(3,1.5,3)
  1101. x = Instance.new("Sound",larm)
  1102. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1103. x.Pitch = ptez[math.random(1,#ptez)]
  1104. x.Volume = 1
  1105. wait(.1)
  1106. x1 = Instance.new("Sound",larm)
  1107. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  1108. x1.Pitch = ptez[math.random(1,#ptez)]
  1109. x1.Volume = 1
  1110. wait(.1)
  1111. x:Play()
  1112. x1:Play()
  1113. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1114. if v:FindFirstChild('Humanoid') then
  1115. v.Humanoid:TakeDamage(math.random(99,99))
  1116. end
  1117. end
  1118. coroutine.resume(coroutine.create(function()
  1119. for i=0,0.62,0.13 do
  1120. wait()
  1121. part.CFrame=part.CFrame
  1122. part.Transparency=i
  1123. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1124. part2.CFrame=part2.CFrame
  1125. part2.Transparency=i
  1126. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1127. end
  1128. part.Parent=nil
  1129. part2.Parent=nil
  1130. x:Destroy()
  1131. end))
  1132. end
  1133.  
  1134. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  1135. Text = "Made by Noobygames12, Edited by RealPieDiePew.";
  1136. Color = Color3.new(0, 1, 1);
  1137. Font = Enum.Font.Code;
  1138. FontSize = Enum.FontSize.Size24;
  1139. })
  1140. wait()
  1141. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  1142. Text = "RealPieDiePew#4968 and dont remove credits.";
  1143. Color = Color3.new(0, 1, 1);
  1144. Font = Enum.Font.Code;
  1145. FontSize = Enum.FontSize.Size24;
  1146. })
  1147.  
  1148. Reap = function()
  1149.  
  1150. rarm.Touched:connect(function(ht1)
  1151.  
  1152. hit1 = ht1.Parent
  1153. if ht1 and hit1:IsA("Model") and hit1:FindFirstChild("Humanoid") and hit1.Name ~= Player.Name and Debounces.Reaping == true and Debounces.Reaped == false then
  1154. Debounces.Reaped = true
  1155. h = hit1:FindFirstChild("Humanoid")
  1156. if h ~= nil then
  1157. hum.MaxHealth = hum.MaxHealth + h.MaxHealth
  1158. hum.Health = hum.MaxHealth
  1159. e = Instance.new("Part")
  1160. e.TopSurface = 0
  1161. e.BottomSurface = 0
  1162. e.Reflectance = 0.05
  1163. e.formFactor = "Symmetric"
  1164. e.Size = Vector3.new(1, 1, 1)
  1165. e.Anchored = true
  1166. e.CanCollide = false
  1167. e.BrickColor = BrickColor.new("Really blue")
  1168. e.CFrame = CFrame.new(ht1.Position)
  1169. e.Parent = hit1
  1170. Instance.new("BlockMesh", e)
  1171. coroutine.resume(coroutine.create(function(par)
  1172.  
  1173. for i = 1, 13 do
  1174. par.CFrame = par.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-20, 20) / 50, math.random(-20, 20) / 50, math.random(-20, 20) / 50)
  1175. par.Transparency = i / 13
  1176. par.Mesh.Scale = par.Mesh.Scale + Vector3.new(0.4, 0.4, 0.4)
  1177. wait()
  1178. end
  1179. par.Parent = nil
  1180. end
  1181. ), e)
  1182. for _,v in pairs(hit1:children()) do
  1183. if v.className == "Part" then
  1184. v.BrickColor = BrickColor.new("Really black")
  1185. v.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3
  1186. v:BreakJoints()
  1187. f = Instance.new("BodyVelocity")
  1188. f.P = 3000
  1189. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1190. f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10)
  1191. f.Parent = v
  1192. v.CanCollide = false
  1193. coroutine.resume(coroutine.create(function(par)
  1194.  
  1195. for i = 1, 30 do
  1196. par.Transparency = i / 30
  1197. wait()
  1198. end
  1199. par.Parent = nil
  1200. end
  1201. ), v)
  1202. else
  1203. if v.className == "Hat" then
  1204. v.Handle.BrickColor = BrickColor.new("Really black")
  1205. v.Handle.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3
  1206. v.Handle:BreakJoints()
  1207. f = Instance.new("BodyVelocity")
  1208. f.P = 3000
  1209. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1210. f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10)
  1211. f.Parent = v.Handle
  1212. v.Handle.CanCollide = false
  1213. coroutine.resume(coroutine.create(function(par)
  1214.  
  1215. for i = 1, 30 do
  1216. par.Transparency = i / 30
  1217. wait()
  1218. end
  1219. par.Parent = nil
  1220. end
  1221. ), v.Handle)
  1222. if h == nil then
  1223. wait()
  1224. end
  1225. end
  1226. end
  1227. end
  1228. end
  1229. end
  1230. end
  1231. )
  1232. Debounces.Reaped = false
  1233. end
  1234.  
  1235. mouse.KeyDown:connect(function(key)
  1236.  
  1237. if key == "e" and Debounces.CanAttack == true then
  1238. Debounces.CanAttack = false
  1239. Debounces.NoIdl = true
  1240. Debounces.on = true
  1241. Debounces.Reaping = true
  1242. for i = 1, 35 do
  1243. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.4) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(70)), .4)
  1244. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-30)), 0.4)
  1245. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(70), 0), 0.4)
  1246. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.4)
  1247. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-10)), 0.4)
  1248. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(7), math.rad(-20), math.rad(10)), 0.4)
  1249. if Debounces.on == false then
  1250. break
  1251. end
  1252. lightning.Enabled = true
  1253. eeeffecto.Enabled = true
  1254. fat.Event:wait()
  1255. end
  1256. do
  1257. wait(1)
  1258. Reap()
  1259. for i = 1, 10 do
  1260. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, -0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(70)), 0.7)
  1261. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0.2) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.7)
  1262. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(-70), 0), 0.7)
  1263. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.7)
  1264. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(-10)), 0.7)
  1265. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.7)
  1266. if Debounces.on == false then
  1267. break
  1268. end
  1269. lightning.Enabled = false
  1270. eeeffecto.Enabled = false
  1271. fat.Event:wait()
  1272. end
  1273. do
  1274. if Debounces.CanAttack == false then
  1275. Debounces.CanAttack = true
  1276. Debounces.NoIdl = false
  1277. Debounces.on = false
  1278. Debounces.Reaping = false
  1279. end
  1280. end
  1281. end
  1282. end
  1283. end
  1284. )
  1285.  
  1286. function ExplosiveLightBall()
  1287. if basiccooldown >= 5 then
  1288. local spart = Instance.new("Part",workspace)
  1289. local msh = Instance.new("SpecialMesh",spart)
  1290. msh.MeshType = "Sphere"
  1291. local sa = Instance.new("Sound",hed)
  1292. sa.SoundId = "rbxassetid://203691467"
  1293. sa.Pitch = 0.775
  1294. sa.Volume = 1
  1295. sa.Looped = false
  1296. local sa1 = Instance.new("Sound",hed)
  1297. sa1.SoundId = "rbxassetid://200633529"
  1298. sa1.Pitch = 0.75
  1299. sa1.Volume = 1
  1300. sa1.Looped = false
  1301. sa1:Play()
  1302. local sans1 = Instance.new("Sound",hed)
  1303. sans1.SoundId = "rbxassetid://200633529"
  1304. sans1.Pitch = 0.725
  1305. sans1.Volume = 1
  1306. sans1.Looped = false
  1307. sans1:Play()
  1308. spart.Size = vt(1,1,1)
  1309. spart.BrickColor = BrickColor.new("Bright violet")
  1310. spart.Material = "Neon"
  1311. spart.Transparency = 1
  1312. spart.Anchored = true
  1313. spart.CanCollide = false
  1314. spart.Position = hed.Position + vt(0,20,0)
  1315. local value = 2.5
  1316. for i = 0, 24 do
  1317. spart.Transparency = spart.Transparency - 0.05
  1318. value = value - 0.05
  1319. msh.Scale = msh.Scale + vt(value,value,value)
  1320. wait()
  1321. end
  1322. sa:Play()
  1323. spart.Anchored = false
  1324. local bv = Instance.new("BodyVelocity")
  1325. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1326. bv.velocity = mouse.Hit.lookVector *125
  1327. bv.Parent = spart
  1328. wait(0.1)
  1329. pewdiepie=spart.Touched:connect(function(hit) Explode(20,spart) end)
  1330. end
  1331. end
  1332.  
  1333. function ExplosiveLightBalls()
  1334. if basiccooldown >= 5 then
  1335. local spart = Instance.new("Part",workspace)
  1336. local msh = Instance.new("SpecialMesh",spart)
  1337. msh.MeshType = "Sphere"
  1338. spart.Size = vt(1,1,1)
  1339. spart.BrickColor = BrickColor.new("Bright violet")
  1340. spart.Material = "Neon"
  1341. spart.Transparency = 0.65
  1342. spart.Anchored = true
  1343. spart.CanCollide = false
  1344. spart.CFrame = mouse.Hit
  1345. spart.Rotation = vt(0,0,0)
  1346. msh.Scale = vt(15,15,15)*2
  1347. wait(0.35)
  1348. ExplodeFast(15,spart)
  1349. end
  1350. end
  1351.  
  1352. mouse.KeyDown:connect(function(k)
  1353.  
  1354. k = k:lower()
  1355. if k == "z" then
  1356. ExplosiveLightBall()
  1357. end
  1358. if k == "x" then
  1359. LocateSpot()
  1360. end
  1361. if k == "c" then
  1362. ExplosiveLightBalls()
  1363. end
  1364. if k == "v" then
  1365. TeleportSpot()
  1366. end
  1367. if k == "b" then
  1368. Blaze()
  1369. end
  1370. end)
  1371.  
  1372. ----------------------------------------------------
  1373. fat = Instance.new("BindableEvent",script)
  1374. fat.Name = "Heartbeat"
  1375.  
  1376. script:WaitForChild("Heartbeat")
  1377.  
  1378. frame = 1/30
  1379. tf = 0
  1380. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
  1381. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  1382. lastframe = tick()
  1383. script.Heartbeat:Fire() --ayy lmao
  1384.  
  1385. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  1386. tf = tf + s
  1387. if tf >= frame then
  1388. if allowframeloss then
  1389. script.Heartbeat:Fire()
  1390. lastframe=tick()
  1391. else
  1392. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  1393. for i=1, math.floor(tf/frame) do
  1394. script.Heartbeat:Fire()
  1395. end
  1396. lastframe=tick()
  1397. end
  1398. if tossremainder then
  1399. tf = 0
  1400. else
  1401. tf = tf - frame * math.floor(tf/frame)
  1402. end
  1403. end
  1404. end)
  1405. ----------------------------------------------------
  1406. Debounces = {
  1407. CanAttack = true;
  1408. CanJoke = true;
  1409. NoIdl = false;
  1410. Slashing = false;
  1411. Slashed = false;
  1412. ks = false;
  1413. RPunch = false;
  1414. RPunched = false;
  1415. LPunch = false;
  1416. LPunched = false;
  1417. }
  1418. local Touche = {char.Name, }
  1419. function HasntTouched(plrname)
  1420. local ret = true
  1421. for _, v in pairs(Touche) do
  1422. if v == plrname then
  1423. ret = false
  1424. end
  1425. end
  1426. return ret
  1427. end
  1428. ----------------------------------------------------
  1429. function weld5(part0, part1, c0, c1)
  1430. weeld=Instance.new("Weld", part0)
  1431. weeld.Part0=part0
  1432. weeld.Part1=part1
  1433. weeld.C0=c0
  1434. weeld.C1=c1
  1435. return weeld
  1436. end
  1437. ----------------------------------------------------
  1438. function lerp(a, b, t) -- Linear interpolation
  1439. return a + (b - a)*t
  1440. end
  1441.  
  1442. function slerp(a, b, t) --Spherical interpolation
  1443. dot = a:Dot(b)
  1444. if dot > 0.99999 or dot < -0.99999 then
  1445. return t <= 0.5 and a or b
  1446. else
  1447. r = math.acos(dot)
  1448. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1449. end
  1450. end
  1451.  
  1452. function matrixInterpolate(a, b, t)
  1453. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  1454. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  1455. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  1456. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  1457. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  1458. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  1459. local t = v1:Dot(v2)
  1460. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  1461. return CFrame.new()
  1462. end
  1463. return CFrame.new(
  1464. v0.x, v0.y, v0.z,
  1465. v1.x, v1.y, v1.z,
  1466. v2.x, v2.y, v2.z,
  1467. v3.x, v3.y, v3.z)
  1468. end
  1469. ----------------------------------------------------
  1470. function genWeld(a,b)
  1471. local w = Instance.new("Weld",a)
  1472. w.Part0 = a
  1473. w.Part1 = b
  1474. return w
  1475. end
  1476. function weld(a, b)
  1477. local weld = Instance.new("Weld")
  1478. weld.Name = "W"
  1479. weld.Part0 = a
  1480. weld.Part1 = b
  1481. weld.C0 = a.CFrame:inverse() * b.CFrame
  1482. weld.Parent = a
  1483. return weld;
  1484. end
  1485. ----------------------------------------------------
  1486. function Lerp(c1,c2,al)
  1487. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1488. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1489. for i,v in pairs(com1) do
  1490. com1[i] = v+(com2[i]-v)*al
  1491. end
  1492. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1493. end
  1494. ----------------------------------------------------
  1495. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1496. local wld = Instance.new("Weld", wp1)
  1497. wld.Part0 = wp0
  1498. wld.Part1 = wp1
  1499. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1500. end
  1501. ----------------------------------------------------
  1502. newWeld(torso, larm, -1.5, 0.5, 0)
  1503. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1504. newWeld(torso, rarm, 1.5, 0.5, 0)
  1505. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1506. newWeld(torso, hed, 0, 1.5, 0)
  1507. newWeld(torso, lleg, -0.5, -1, 0)
  1508. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  1509. newWeld(torso, rleg, 0.5, -1, 0)
  1510. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  1511. newWeld(root, torso, 0, -1, 0)
  1512. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1513. ----------------------------------------------------
  1514. hats={}
  1515. Part = function(x,y,z,color,tr,cc,an,parent)
  1516. local p = Instance.new('Part',parent or Weapon)
  1517. p.formFactor = 'Custom'
  1518. p.Size = Vector3.new(x,y,z)
  1519. p.BrickColor = BrickColor.new(color)
  1520. p.CanCollide = cc
  1521. p.Transparency = tr
  1522. p.Anchored = an
  1523. p.TopSurface,p.BottomSurface = 0,0
  1524. p:BreakJoints()
  1525. return p
  1526. end
  1527. Weld = function(p0,p1,x,y,z,rx,ry,rz,par)
  1528. local w = Instance.new('Motor',par or p0)
  1529. w.Part0 = p0
  1530. w.Part1 = p1
  1531. w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
  1532. return w
  1533. end
  1534. Mesh = function(par,num,x,y,z)
  1535. local msh = nil
  1536. if num == 1 then
  1537. msh = Instance.new("CylinderMesh",par)
  1538. elseif num == 2 then
  1539. msh = Instance.new("SpecialMesh",par)
  1540. msh.MeshType = 'Wedge'
  1541. elseif num == 3 then
  1542. msh = Instance.new("BlockMesh",par)
  1543. elseif type(num) == 'string' then
  1544. msh = Instance.new("SpecialMesh",par)
  1545. msh.MeshId = num
  1546. end
  1547. msh.Scale = Vector3.new(x,y,z)
  1548. return msh
  1549. end
  1550.  
  1551. function addh(id,txt,s1,s2,s3,x,y,z)
  1552. local hat=Part(1,1,1,'',0,false,false,char)
  1553. table.insert(hats,hat)
  1554. Weld(char.Head,hat,x,y,z,0,0,0,p)
  1555. m=Mesh(hat,'http://www.roblox.com/asset/?id='..id,s1,s2,s3)
  1556. m.TextureId='http://www.roblox.com/asset/?id='..txt
  1557. return m
  1558. end
  1559.  
  1560. addh('11380070','11380053',1,1,1,0,-.75,0)
  1561. ----------------------------------------------------
  1562. New = function(Object, Parent, Name, Data)
  1563. local Object = Instance.new(Object)
  1564. for Index, Value in pairs(Data or {}) do
  1565. Object[Index] = Value
  1566. end
  1567. Object.Parent = Parent
  1568. Object.Name = Name
  1569. return Object
  1570. end
  1571. ----------------------------------------------------
  1572. local animpose = "Idle1"
  1573. local lastanimpose = "Idle1"
  1574. local grab = false
  1575. local Smooth = 1
  1576. local sine = 0
  1577. local change = 1
  1578. local val = 0
  1579. local ffing = false
  1580. ----------------------------------------------------
  1581. jump = false
  1582. rs:connect(function()
  1583. if char.Humanoid.Jump == true then
  1584. jump = true
  1585. else
  1586. jump = false
  1587. end
  1588. char.Humanoid.FreeFalling:connect(function(f)
  1589. if f then
  1590. ffing = true
  1591. else
  1592. ffing = false
  1593. end
  1594. end)
  1595. sine = sine + change
  1596. if jump == true then
  1597. animpose = "Jumping"
  1598. elseif ffing == true then
  1599. animpose = "Freefalling"
  1600. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1601. animpose = "Idle"
  1602. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1603. animpose = "Walking"
  1604. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1605. animpose = "Running"
  1606. end
  1607. RightLeg = CFrame.new(0.5,-1,0)
  1608. LeftLeg = CFrame.new(-0.5,-1,0)
  1609.  
  1610. lefth = (torso.CFrame*LeftLeg)
  1611. righth = (torso.CFrame*RightLeg)
  1612.  
  1613. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  1614.  
  1615. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  1616.  
  1617. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  1618. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  1619. if animpose ~= lastanimpose then
  1620. sine = 0
  1621. if Debounces.NoIdl == false then
  1622. if stanceToggle == "Idle1" then
  1623. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3)
  1624. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3)
  1625. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2)
  1626. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1627. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1628. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1629. end
  1630. fat.Event:wait()
  1631. end
  1632. else
  1633. end
  1634. lastanimpose = animpose
  1635. if Debounces.NoIdl == false then
  1636. if animpose == "Idle" then
  1637. change = 0.5
  1638. if stanceToggle == "Idle1" then
  1639. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-3 + 6 * math.sin(sine / 10)), math.rad(-15 - 10 * math.cos(sine / 10)), math.rad(13 + 6 * math.cos(sine / 10))), 0.4)
  1640. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1641. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-4 - 6 * math.sin(sine / 10)), math.rad(15 + 10 * math.cos(sine / 10)), math.rad(-13 - 6 * math.cos(sine / 10))), 0.4)
  1642. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1643. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0.1 - 0.05 * math.cos(sine / 10)) * CFrame.Angles(math.rad(14 - 5 * math.cos(sine / 10)), math.rad(20), 0), 0.4)
  1644. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.16 * math.cos(sine / 10), 0) * CFrame.Angles(0, math.rad(20), math.rad(0)), 0.05)
  1645. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10 + 3 * math.cos(sine / 10)), math.rad(0), math.rad(0)), 0.05)
  1646. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-12 + 5 * math.sin(sine / 10)), math.rad(20 + 6 * math.sin(sine / 10)), math.rad(-12 - 2 * math.sin(sine / 10))), 0.4)
  1647. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6 - 0.1 * math.sin(sine / 10), -0.5) * CFrame.Angles(math.rad(-9 + 5 * math.sin(sine / 10)), math.rad(-9 - 6 * math.sin(sine / 10)), math.rad(4 + 3 * math.sin(sine / 10))), 0.4)
  1648. end
  1649. elseif animpose == "Walking" then
  1650. change = 1
  1651. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, 0) * CFrame.Angles(math.rad(-20) + root.RotVelocity.Y / 20, math.rad(16) - root.RotVelocity.Y / 20, math.rad(-10 - 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2)
  1652. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14), 0, 0), 0.4)
  1653. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20) - root.RotVelocity.Y / 10, 0), 0.2)
  1654. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.17 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-16), math.rad(0), root.RotVelocity.Y / 10), 0.05)
  1655. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20) + root.RotVelocity.Y / 10, 0), 0.05)
  1656. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-13 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(-8) - root.RotVelocity.Y / 20), 0.4)
  1657. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -0.5 - 0.1 * math.sin(sine / 14), -0.7) * CFrame.Angles(math.rad(-16 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(8) - root.RotVelocity.Y / 20), 0.4)
  1658. elseif animpose == "Running" then
  1659. change = 1.5
  1660. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
  1661. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  1662. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  1663. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/10), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.4)
  1664. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
  1665. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
  1666. end
  1667. end
  1668. end)
  1669.  
  1670. paly = game.Players.LocalPlayer
  1671. p = game.Players.LocalPlayer
  1672. char = paly.Character
  1673. vt = Vector3.new
  1674. rleg = char["Right Leg"]
  1675. lleg = char["Left Leg"]
  1676. local maincolor = BrickColor.new("Plum")
  1677.  
  1678. local orb = Instance.new("Part")
  1679. orb.Parent = char
  1680. orb.Size = Vector3.new(0.2, 0.2, 0.2)
  1681. orb.Archivable = true
  1682. orb.Transparency = 1
  1683. orb.BrickColor = maincolor
  1684. orb.Material = "Neon"
  1685. orb.CanCollide = false
  1686. local weld1 = Instance.new("Weld")
  1687. weld1.Parent = rleg
  1688. weld1.Part0 = rleg
  1689. weld1.Part1 = orb
  1690. weld1.C1 = CFrame.new(0, 1.125, 0)
  1691. local pt1 = NumberSequenceKeypoint.new(0,0.85,0)
  1692. local pt2 = NumberSequenceKeypoint.new(1,0,0)
  1693. local effecto = Instance.new("ParticleEmitter",orb)
  1694. effecto.ZOffset = 1
  1695. effecto.LightEmission = 1
  1696. effecto.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1697. effecto.Color = ColorSequence.new(maincolor.Color)
  1698. effecto.Rate = 10000
  1699. effecto.Lifetime = NumberRange.new(1)
  1700. effecto.Size = NumberSequence.new({pt1,pt2})
  1701. effecto.Speed = NumberRange.new(0,0)
  1702. effecto.RotSpeed = NumberRange.new(100,100)
  1703.  
  1704. local orbz = Instance.new("Part")
  1705. orbz.Parent = char
  1706. orbz.Size = Vector3.new(0.2, 0.2, 0.2)
  1707. orbz.Archivable = true
  1708. orbz.Transparency = 1
  1709. orbz.BrickColor = maincolor
  1710. orbz.Material = "Neon"
  1711. orbz.CanCollide = false
  1712. local weldz1 = Instance.new("Weld")
  1713. weldz1.Parent = lleg
  1714. weldz1.Part0 = lleg
  1715. weldz1.Part1 = orbz
  1716. weldz1.C1 = CFrame.new(0, 1.125, 0)
  1717. local effecton = Instance.new("ParticleEmitter",orbz)
  1718. effecton.ZOffset = 1
  1719. effecton.LightEmission = 1
  1720. effecton.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1721. effecton.Color = ColorSequence.new(maincolor.Color)
  1722. effecton.Rate = 10000
  1723. effecton.Lifetime = NumberRange.new(1)
  1724. effecton.Size = NumberSequence.new({pt1,pt2})
  1725. effecton.Speed = NumberRange.new(0,0)
  1726. effecton.RotSpeed = NumberRange.new(100,100)
  1727.  
  1728. local runServ = game:GetService("RunService").RenderStepped
  1729.  
  1730. runServ:connect(function()
  1731. text.Text = "Rex, Ruler of the Universe: " ..math.floor(hum.Health)
  1732. end)
  1733.  
  1734. Charging = false
  1735. chargewait = false
  1736. mouse.KeyDown:connect(function(key)
  1737. if key == "h" then
  1738. if Charging == false and chargewait == false then
  1739. Charging = true
  1740. chargewait = true
  1741. if Debounces.CanAttack == true then
  1742. Debounces.CanAttack = false
  1743. Debounces.NoIdl = true
  1744. Debounces.on = true
  1745.  
  1746.  
  1747.  
  1748.  
  1749. for i = 1,20 do
  1750. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
  1751. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
  1752. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  1753. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  1754. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  1755. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  1756.  
  1757. if Debounces.on == false then break end
  1758. rs:wait()
  1759. end
  1760. pt=Instance.new('Part',torso)
  1761. pt.Anchored=true
  1762. pt.CanCollide=false
  1763. pt.Locked = true
  1764. pt.Material = "Neon"
  1765. pt.FormFactor='Custom'
  1766. pt.Size=Vector3.new(1,1,1)
  1767. pt.BrickColor = BrickColor.new("Really black")
  1768. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  1769. pt.Transparency=.6
  1770.  
  1771.  
  1772. msh=Instance.new('SpecialMesh',pt)
  1773. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1774. msh.Scale=Vector3.new(8,4,8)
  1775. pt2=pt:clone()
  1776. pt2.Parent = torso
  1777. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  1778.  
  1779.  
  1780. msh2=msh:clone()
  1781. msh2.Parent=pt2
  1782. msh2.Scale=Vector3.new(10,5,10)
  1783.  
  1784. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  1785.  
  1786. bl = Instance.new("Part", char)
  1787. bl.Locked = true
  1788. bl.Name = "Shell"
  1789.  
  1790.  
  1791. bl.Anchored = true
  1792. bl.Material = "Neon"
  1793. bl.CanCollide = false
  1794. bl.BrickColor = BrickColor.new("Dark indigo")
  1795. bl.Transparency = 0
  1796. bl.Reflectance = 0
  1797. bl.BottomSurface = 0
  1798. bl.TopSurface = 0
  1799. bl.Shape = 0
  1800. blm = Instance.new("SpecialMesh",bl)
  1801. blm.MeshType = "Sphere"
  1802. blm.Scale = Vector3.new(1,1,1)
  1803.  
  1804.  
  1805.  
  1806.  
  1807. coroutine.resume(coroutine.create(function()
  1808. for i=1, math.huge, 4 do
  1809. if Charging == true then
  1810. rs:wait()
  1811. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1812. blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5)
  1813. bl.Transparency = bl.Transparency + 0.05
  1814. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  1815. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  1816. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  1817. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  1818. elseif Charging == false then break
  1819. end
  1820. end
  1821. end))
  1822.  
  1823.  
  1824. repeat
  1825. local p = Instance.new('Part',torso)
  1826. p.formFactor = 'Custom'
  1827. p.Size = Vector3.new(1,1,1)
  1828.  
  1829. p.CanCollide = false
  1830. p.Transparency = 0
  1831. p.Anchored = true
  1832. p.Locked=true
  1833. p.Material = "Neon"
  1834. p.Transparency = 1
  1835. p.BrickColor = BrickColor.new("Dark indigo")
  1836. s = math.random(1,40)/10
  1837. local m = Instance.new("BlockMesh",p)
  1838. m.Scale = Vector3.new(s,s,s)
  1839. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  1840. --[[coroutine.wrap(function()
  1841. wait(2)
  1842. while Charging == true do
  1843. wait(2)
  1844. GroundWave1()
  1845. wait(2)
  1846. end
  1847. end)()]]--
  1848. Spawn(function()
  1849. while rs:wait() do
  1850. if Charging == true then
  1851. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  1852. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  1853. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  1854. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  1855. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  1856. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  1857. elseif Charging == false then break
  1858. end
  1859. end
  1860. end)
  1861. Spawn(function()
  1862. while rs:wait() do
  1863. if p.Transparency >= 1 then p:Destroy() break end
  1864. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  1865. p.Transparency = p.Transparency+0.01
  1866. end
  1867. end)
  1868.  
  1869.  
  1870.  
  1871.  
  1872. local Transforming = true
  1873. hum.WalkSpeed = 0
  1874. local fx = Instance.new("Part",torso)
  1875. wit = torso.BrickColor.Color
  1876. wit2 = Color3.new(0,0,0)
  1877. local glowz = Instance.new("ParticleEmitter",fx)
  1878. glowz.LightEmission = 1
  1879. glowz.Texture = "rbxassetid://284205403"
  1880. glowz.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  1881. glowz.Size = NumberSequence.new(5)
  1882. glowz.Speed = NumberRange.new(25,50)
  1883. glowz.LockedToPart = false
  1884. glowz.Transparency = NumberSequence.new(0.75)
  1885. glowz.RotSpeed = NumberRange.new(-2000,2000)
  1886. glowz.Lifetime = NumberRange.new(1)
  1887. glowz.Rate = 50000
  1888. glowz.VelocitySpread = 9001
  1889. local glowz2 = Instance.new("ParticleEmitter",fx)
  1890. glowz2.LightEmission = 0.5
  1891. glowz.Texture = "rbxassetid://284205403"
  1892. glowz2.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  1893. glowz2.Size = NumberSequence.new(5)
  1894. glowz2.Speed = NumberRange.new(25,50)
  1895. glowz2.LockedToPart = false
  1896. glowz2.Transparency = NumberSequence.new(0.75)
  1897. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  1898. glowz2.Lifetime = NumberRange.new(1)
  1899. glowz2.Rate = 50000
  1900. glowz2.VelocitySpread = 9001
  1901. fx.Anchored = true
  1902. fx.Material = "Neon"
  1903. fx.CanCollide = false
  1904. fx.Locked = true
  1905. fx.Transparency = 1
  1906. fx.Material = "Neon"
  1907. fx.Size = Vector3.new(1,1,1)
  1908. fx.TopSurface = "SmoothNoOutlines"
  1909. fx.BottomSurface = "SmoothNoOutlines"
  1910. fx.BrickColor = BrickColor.new("Really black")
  1911. fxm = Instance.new("SpecialMesh",fx)
  1912. fxm.MeshType = "Sphere"
  1913. local sa2 = Instance.new("Sound",torso)
  1914. sa2.SoundId = "rbxassetid://93724183"
  1915. sa2.Pitch = 0.5
  1916. sa2.Volume = 5
  1917. sa2.Looped = false
  1918. sa2:Play()
  1919. local value = 1
  1920. fxm.Scale = Vector3.new(1,1,1)
  1921. for i = 1, 20 do rs:wait()
  1922. value = value - 0.05
  1923. fx.Transparency = fx.Transparency - (1/20)
  1924. fx.CFrame = torso.CFrame
  1925. fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
  1926. rs:wait()
  1927. end
  1928. ----------------------------------------------------
  1929. GroundWave1 = function()
  1930. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1931. local Colors = {"White", "Really black"}
  1932. local wave = Instance.new("Part", torso)
  1933. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1934. wave.Anchored = true
  1935. wave.CanCollide = false
  1936. wave.Locked = true
  1937. wave.Size = Vector3.new(1, 1, 1)
  1938. wave.TopSurface = "Smooth"
  1939. wave.BottomSurface = "Smooth"
  1940. wave.Transparency = 0.35
  1941. wave.CFrame = HandCF
  1942. wm = Instance.new("SpecialMesh", wave)
  1943. wm.MeshId = "rbxassetid://3270017"
  1944. coroutine.wrap(function()
  1945. for i = 1, 30, 1 do
  1946. wm.Scale = Vector3.new(50, 50, 1 + i*50)
  1947. wave.Size = wm.Scale
  1948. wave.CFrame = HandCF
  1949. wave.Transparency = i/30
  1950. wait()
  1951. end
  1952. wait()
  1953. wave:Destroy()
  1954. end)()
  1955. end
  1956. ----------------------------------------------------
  1957. GroundWave = function()
  1958. if Transforming == true then
  1959. local value = 5
  1960. local value2 = 10
  1961. local value3 = 20
  1962. local sa2 = Instance.new("Sound",torso)
  1963. sa2.SoundId = "rbxassetid://413682983"
  1964. sa2.Pitch = 1
  1965. sa2.Volume = 10
  1966. sa2.Looped = false
  1967. sa2:Play()
  1968. local wave = Instance.new("Part", torso)
  1969. local glowz = Instance.new("ParticleEmitter",wave)
  1970. glowz.LightEmission = 1
  1971. glowz.Texture = "rbxassetid://284205403"
  1972. glowz.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  1973. glowz.Size = NumberSequence.new(30)
  1974. glowz.Speed = NumberRange.new(25,100)
  1975. glowz.LockedToPart = false
  1976. glowz.Transparency = NumberSequence.new(0.75)
  1977. glowz.RotSpeed = NumberRange.new(-2000,2000)
  1978. glowz.Lifetime = NumberRange.new(1)
  1979. glowz.Rate = 50000
  1980. glowz.VelocitySpread = 9001
  1981. local glowz2 = Instance.new("ParticleEmitter",wave)
  1982. glowz2.LightEmission = 1
  1983. glowz.Texture = "rbxassetid://284205403"
  1984. glowz2.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,0,0))
  1985. glowz2.Size = NumberSequence.new(30)
  1986. glowz2.Speed = NumberRange.new(25,100)
  1987. glowz2.LockedToPart = false
  1988. glowz2.Transparency = NumberSequence.new(0.75)
  1989. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  1990. glowz2.Lifetime = NumberRange.new(1)
  1991. glowz2.Rate = 50000
  1992. glowz2.VelocitySpread = 9001
  1993. wave.BrickColor = BrickColor.new("Dark indigo")
  1994. wave.Anchored = true
  1995. wave.CanCollide = false
  1996. wave.Locked = true
  1997. wave.Size = Vector3.new(1, 1, 1)
  1998. wave.TopSurface = "Smooth"
  1999. wave.BottomSurface = "Smooth"
  2000. wave.Transparency = 0.35
  2001. wave.CFrame = fx.CFrame
  2002. wave.Material = "Neon"
  2003. wm = Instance.new("SpecialMesh", wave)
  2004. wm.MeshType = "Sphere"
  2005. wm.Scale = Vector3.new(1,1,1)
  2006. local wave2 = Instance.new("Part", torso)
  2007. wave2.BrickColor = BrickColor.new("Dark indigo")
  2008. wave2.Anchored = true
  2009. wave2.CanCollide = false
  2010. wave2.Locked = true
  2011. wave2.Size = Vector3.new(1, 1, 1)
  2012. wave2.TopSurface = "Smooth"
  2013. wave2.BottomSurface = "Smooth"
  2014. wave2.Transparency = 0.35
  2015. wave2.CFrame = fx.CFrame
  2016. wave2.Material = "Neon"
  2017. wm2 = Instance.new("SpecialMesh", wave2)
  2018. wm2.MeshType = "FileMesh"
  2019. wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2020. wm2.Scale = Vector3.new(1,1,1)
  2021. local wave3 = Instance.new("Part", torso)
  2022. wave3.BrickColor = BrickColor.new("Really black")
  2023. wave3.Anchored = true
  2024. wave3.CanCollide = false
  2025. wave3.Locked = true
  2026. wave3.Size = Vector3.new(1, 1, 1)
  2027. wave3.TopSurface = "Smooth"
  2028. wave3.BottomSurface = "Smooth"
  2029. wave3.Transparency = 0.35
  2030. wave3.CFrame = fx.CFrame
  2031. wave3.Material = "Neon"
  2032. wm3 = Instance.new("SpecialMesh", wave3)
  2033. wm3.MeshType = "FileMesh"
  2034. wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2035. wm3.Scale = Vector3.new(1,1,1)
  2036. coroutine.wrap(function()
  2037. for i = 1, 18, 1 do
  2038. value = value - 0.5
  2039. value2 = value2 - 0.75*1.5
  2040. value3 = value3 - 0.475*1.5
  2041. wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
  2042. wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
  2043. wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
  2044. --wave.Size = wm.Scale
  2045. wave.CFrame = fx.CFrame
  2046. wave.Transparency = i/14
  2047. --wave2.Size = wm2.Scale
  2048. wave2.CFrame = fx.CFrame
  2049. wave2.Rotation = Vector3.new(90, 0, 0)
  2050. wave2.Transparency = i/14
  2051. --wave3.Size = wm3.Scale
  2052. wave3.CFrame = fx.CFrame
  2053. wave3.Rotation = Vector3.new(90, 0, 0)
  2054. wave3.Transparency = i/14
  2055. wait()
  2056. glowz.Rate = 0
  2057. glowz2.Rate = 0
  2058. end
  2059. wait()
  2060. wave:Destroy()
  2061. wave2:Destroy()
  2062. wave3:Destroy()
  2063. end)()
  2064. elseif Transforming == false then
  2065. wait()
  2066. end
  2067. end
  2068.  
  2069. for i = 1, 100 do rs:wait()
  2070. fx.CFrame = torso.CFrame
  2071. end
  2072.  
  2073. Spawn(function()
  2074. while wait(1) do
  2075. GroundWave()
  2076. end
  2077. end)
  2078.  
  2079. wait(4)
  2080.  
  2081. Transforming = false
  2082.  
  2083. local value2 = 1
  2084. for i = 1, 20 do rs:wait()
  2085. value2 = value2 - 0.05
  2086. glowz.Rate = 0
  2087. glowz2.Rate = 0
  2088. fx.Transparency = fx.Transparency + (1/20)
  2089. fx.CFrame = torso.CFrame
  2090. fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
  2091. rs:wait()
  2092. end
  2093. glowz:Destroy()
  2094. glowz2:Destroy()
  2095.  
  2096. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2097. local valuer = 5
  2098. local valuer2 = 10
  2099. local valuer3 = 15
  2100. local sa2 = Instance.new("Sound",torso)
  2101. sa2.SoundId = "rbxassetid://130972023"
  2102. sa2.Pitch = 1
  2103. sa2.Volume = 5
  2104. sa2.Looped = false
  2105. sa2:Play()
  2106. local sar2 = Instance.new("Sound",torso)
  2107. sar2.SoundId = "rbxassetid://153274423"
  2108. sar2.Pitch = 1
  2109. sar2.Volume = 5
  2110. sar2.Looped = false
  2111. sar2:Play()
  2112. local wave = Instance.new("Part", torso)
  2113. wave.BrickColor = BrickColor.new("Dark indigo")
  2114. wave.Anchored = true
  2115. wave.CanCollide = false
  2116. wave.Locked = true
  2117. wave.Size = Vector3.new(1, 1, 1)
  2118. wave.TopSurface = "Smooth"
  2119. wave.BottomSurface = "Smooth"
  2120. wave.Transparency = 0.35
  2121. wave.CFrame = HandCF
  2122. wm = Instance.new("SpecialMesh", wave)
  2123. wm.MeshId = "rbxassetid://3270017"
  2124. local wave2 = Instance.new("Part", torso)
  2125. wave2.BrickColor = BrickColor.new("Really black")
  2126. wave2.Anchored = true
  2127. wave2.CanCollide = false
  2128. wave2.Locked = true
  2129. wave2.Size = Vector3.new(1, 1, 1)
  2130. wave2.TopSurface = "Smooth"
  2131. wave2.BottomSurface = "Smooth"
  2132. wave2.Transparency = 0.35
  2133. wave2.CFrame = HandCF
  2134. wm2 = Instance.new("SpecialMesh", wave2)
  2135. wm2.MeshId = "rbxassetid://3270017"
  2136. local wave3 = Instance.new("Part", torso)
  2137. wave3.BrickColor = BrickColor.new("Dark indigo")
  2138. wave3.Anchored = true
  2139. wave3.CanCollide = false
  2140. wave3.Locked = true
  2141. wave3.Size = Vector3.new(1, 1, 1)
  2142. wave3.TopSurface = "Smooth"
  2143. wave3.BottomSurface = "Smooth"
  2144. wave3.Transparency = 0.35
  2145. wave3.CFrame = HandCF
  2146. wm3 = Instance.new("SpecialMesh", wave3)
  2147. wm3.MeshId = "rbxassetid://3270017"
  2148. coroutine.wrap(function()
  2149. for i = 1, 14, 1 do
  2150. valuer = valuer - 0.35
  2151. valuer2 = valuer - 0.45
  2152. valuer3 = valuer3 - 0.475
  2153. wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200)
  2154. wave.Size = wm.Scale
  2155. wave.CFrame = HandCF
  2156. wave.Transparency = i/14
  2157. wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10)
  2158. wave2.Size = wm2.Scale
  2159. wave2.CFrame = HandCF
  2160. wave2.Transparency = i/14
  2161. wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1)
  2162. wave3.Size = wm2.Scale
  2163. wave3.CFrame = HandCF
  2164. wave3.Transparency = i/14
  2165. wait()
  2166. end
  2167. wait()
  2168. wave:Destroy()
  2169. wave2:Destroy()
  2170. end)()
  2171. hum.WalkSpeed = 17
  2172.  
  2173.  
  2174.  
  2175. until Charging == false
  2176. end
  2177. end
  2178. end
  2179. end)
  2180.  
  2181.  
  2182. ----------------------------------------------------
  2183. mouse.KeyUp:connect(function(key)
  2184. if key == "h" then
  2185. if Charging == true and chargewait == true then
  2186. chargewait = false
  2187. wait(1)
  2188. Charging = false
  2189.  
  2190. local runServ = game:GetService("RunService").RenderStepped
  2191.  
  2192.  
  2193. --[[for i,v in pairs (torso:GetChildren()) do
  2194. if v:IsA("Sound") then
  2195. v:Destroy()
  2196. end
  2197. end]]
  2198.  
  2199.  
  2200. --so("http://roblox.com/asset/?id=160867463",torso,1,0.7)
  2201.  
  2202. pt:Destroy()
  2203. pt2:Destroy()
  2204. bl:Destroy()
  2205. if Debounces.CanAttack == false then
  2206. Debounces.CanAttack = true
  2207. Debounces.NoIdl = false
  2208. Debounces.on = false
  2209. Debounces.grab = false
  2210.  
  2211. end
  2212. end
  2213. end
  2214. end)
  2215.  
  2216. while wait() do
  2217. healthgui.Text = "[Z]\nUniverse Bullet"
  2218. basicgui.Text = "[X]\nUniversal Strike"
  2219. basic2gui.Text = "[C]\nKarma"
  2220. basic3gui.Text = "[V]\nWarp"
  2221. basic4gui.Text = "[B]\nPlanet Destroyer"
  2222. hed.BrickColor = BrickColor.new("Bright violet")
  2223. tors.BrickColor = BrickColor.new("Really black")
  2224. rleg.BrickColor = BrickColor.new("Bright violet")
  2225. rarm.BrickColor = BrickColor.new("Bright violet")
  2226. larm.BrickColor = BrickColor.new("Bright violet")
  2227. lleg.BrickColor = BrickColor.new("Bright violet")
  2228. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement