Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.49 KB | None | 0 0
  1. -MADE BY SAVAGEMUNKEY
  2. --UTTERLY SLOPPY C:
  3.  
  4. local Plr = game.Players.LocalPlayer --LocalScript
  5. local Char = Plr.Character
  6. local Mouse = Plr:GetMouse()
  7. workspace.CurrentCamera.CameraSubject = Char.Head
  8.  
  9. --game["Run Service"].RenderStepped:connect(function(_)
  10. Char.Humanoid.WalkSpeed = 4
  11. Char.Humanoid.MaxHealth = 50000
  12. Char.Humanoid.Health = 50000
  13. --end)
  14.  
  15. local PrimaryColor = 'Really black'
  16. local SecondaryColor = 'Institutional white'
  17.  
  18. local debounce = false
  19.  
  20. local Height = 0
  21. local Music = true
  22.  
  23. for _,v in next, Char:GetChildren() do
  24. if v:IsA('Hat') then
  25. v:Destroy()
  26. end
  27. end
  28.  
  29. wait(.1)
  30. Char.Torso.Anchored = true
  31.  
  32. local Hat = Instance.new('Hat',Char)
  33. local Handle = Instance.new('Part',Hat)
  34. Handle.CFrame = Char.Head.CFrame * CFrame.new(0,.2,0)
  35. Handle.Anchored = true
  36. Handle.CanCollide = false
  37. Handle.Material = 'Neon'
  38. local HatMesh = Instance.new('SpecialMesh',Handle)
  39. HatMesh.MeshId = 'rbxassetid://30166087'
  40. HatMesh.TextureId = 'rbxassetid://30166098'
  41. --http://www.roblox.com/asset/?id=3270017
  42. local Hat2 = Instance.new('Hat',Char)
  43. local Handle2 = Instance.new('Part',Hat2)
  44. Handle2.CFrame = Char.Head.CFrame * CFrame.new(0,.2,0)
  45. Handle2.Anchored = true
  46. Handle2.CanCollide = false
  47. Handle2.Material = 'Neon'
  48. local HatMesh2 = Instance.new('SpecialMesh',Handle2)
  49. HatMesh2.MeshId = 'rbxassetid://128154773'
  50. HatMesh2.TextureId = 'rbxassetid://128154785'
  51.  
  52. local Hat3 = Instance.new('Hat',Char)
  53. local Handle3 = Instance.new('Part',Hat3)
  54. Handle3.CFrame = Char.Head.CFrame * CFrame.new(0,.2,0)
  55. Handle3.Anchored = true
  56. Handle3.CanCollide = false
  57. Handle3.Material = 'Neon'
  58. Handle3.BrickColor = BrickColor.new('Really black')
  59. local HatMesh3 = Instance.new('SpecialMesh',Handle3)
  60. HatMesh3.MeshId = 'rbxassetid://3270017'
  61. --HatMesh3.TextureId = 'rbxassetid://128154785'
  62. HatMesh3.Scale = Vector3.new(2,2,1)
  63.  
  64. game["Run Service"].RenderStepped:connect(function()
  65. Handle.CFrame = Char.Head.CFrame * CFrame.new(0,.16,-.3)
  66. Handle2.CFrame = Char.Head.CFrame * CFrame.new(0,.6,0)
  67. Handle3.CFrame = Char.Head.CFrame * CFrame.new(0,1.3,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  68. end)
  69.  
  70. Char.Torso.Anchored = false
  71.  
  72. local Face = Instance.new('Decal',Char.Head)
  73. Face.Name = 'face'
  74. if Char.Head:findFirstChild('face') then
  75. Char.Head['face']:Destroy()
  76. end
  77. Face.Texture = 'rbxassetid://13603673'
  78.  
  79. local Sound = Instance.new('Sound',Char.Head)
  80. Sound.SoundId = 'rbxassetid://147703674'
  81. Sound.Pitch = .82
  82. Sound.Looped = true
  83. Sound.Volume = 1
  84.  
  85. if Music then
  86. Sound:Play()
  87. end
  88.  
  89. local ra = Char:FindFirstChild('Right Arm')
  90. local ts = Char.Torso
  91. local la = Char:FindFirstChild('Left Arm')
  92. local ll = Char:FindFirstChild('Left Leg')
  93. local rl = Char:FindFirstChild('Right Leg')
  94. local hd = Char.Head
  95. local root = Char:FindFirstChild('HumanoidRootPart')
  96.  
  97. rarm = ra
  98. larm = la
  99. torso = ts
  100. hed = hd
  101. root = root
  102. lleg = ll
  103. rleg = rl
  104.  
  105. function clerp(c1,c2,al)
  106. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  107. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  108. for i,v in pairs(com1) do
  109. com1[i] = v+(com2[i]-v)*al
  110. end
  111. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  112. end
  113.  
  114. newWeld = function(wp,w0,w1,c0,c1)
  115. local Weld = Instance.new('Weld',wp or nil)
  116. Weld.Name = w0.Name..'To'..w1.Name
  117. Weld.Part0 = w0 or nil
  118. Weld.Part1 = w1 or nil
  119. Weld.C0 = c0 or CFrame.fromEulerAnglesXYZ(0,0,0)
  120. Weld.C1 = c1 or CFrame.new(0,0,0)
  121. end
  122.  
  123. --[[WELDZ]]--
  124. newWeld(torso,torso,root,nil,CFrame.new(0,2,0))
  125. newWeld(torso,torso,rarm,CFrame.fromEulerAnglesXYZ(-.43,0,.54),CFrame.new(-1.6,.75,-.35))
  126. newWeld(torso,torso,larm,CFrame.fromEulerAnglesXYZ(-.43,0,-.54),CFrame.new(1.6,.75,-.35))--]]
  127. --newWeld(torso,torso,rarm,CFrame.fromEulerAnglesXYZ(.2,0,0),CFrame.new(-1.5,0,0))
  128. --newWeld(torso,torso,larm,CFrame.fromEulerAnglesXYZ(.2,0,0),CFrame.new(1.5,0,0))
  129. newWeld(torso,torso,hed,CFrame.fromEulerAnglesXYZ(-.35,.01,0),CFrame.new(0,-1.43,-.3))
  130. newWeld(torso,torso,rleg,CFrame.fromEulerAnglesXYZ(0,0,0),CFrame.new(-.5,2,0))
  131. newWeld(torso,torso,lleg,CFrame.fromEulerAnglesXYZ(-.2,0,0),CFrame.new(.5,2,.2))
  132. -------------
  133. running = false
  134.  
  135. Mouse.KeyDown:connect(function(k)
  136. k = k:lower()
  137. if k == 'w' then
  138. running = true
  139. end
  140. end)
  141.  
  142. Mouse.KeyUp:connect(function(k)
  143. if k:lower() == 'w' then
  144. running = false
  145. end
  146. end)
  147.  
  148. spawn(function()
  149. while wait() do
  150. for i = 1,30 do
  151. if running then
  152. torso['TorsoToLeft Leg'].C0 = torso['TorsoToLeft Leg'].C0 * CFrame.fromEulerAnglesXYZ(.001,0,0)
  153. torso['TorsoToLeft Arm'].C0 = torso['TorsoToLeft Arm'].C0 * CFrame.fromEulerAnglesXYZ(.002,.0005,.0005)
  154. torso['TorsoToRight Arm'].C0 = torso['TorsoToRight Arm'].C0 * CFrame.fromEulerAnglesXYZ(.002,.0005,.0005)
  155. torso['TorsoToRight Leg'].C0 = torso['TorsoToRight Leg'].C0 * CFrame.fromEulerAnglesXYZ(.001,0,0)
  156. torso['TorsoToHead'].C0 = torso['TorsoToHead'].C0 * CFrame.fromEulerAnglesXYZ(-.002,0,0)
  157. game["Run Service"].RenderStepped:wait()
  158. end
  159. end
  160. wait(.05)
  161. for i = 1,30 do
  162. if running then
  163. torso['TorsoToLeft Leg'].C0 = torso['TorsoToLeft Leg'].C0 * CFrame.fromEulerAnglesXYZ(-.001,0,0)
  164. torso['TorsoToHead'].C0 = torso['TorsoToHead'].C0 * CFrame.fromEulerAnglesXYZ(.002,0,0)
  165. torso['TorsoToRight Arm'].C0 = torso['TorsoToRight Arm'].C0 * CFrame.fromEulerAnglesXYZ(-.002,-.0005,-.0005)
  166. torso['TorsoToLeft Arm'].C0 = torso['TorsoToLeft Arm'].C0 * CFrame.fromEulerAnglesXYZ(-.002,-.0005,-.0005)
  167. torso['TorsoToRight Leg'].C0 = torso['TorsoToRight Leg'].C0 * CFrame.fromEulerAnglesXYZ(-.001,0,0)
  168. --game["Run Service"].RenderStepped:wait()
  169. game["Run Service"].RenderStepped:wait()
  170. end
  171. end
  172. wait(.2)
  173. end
  174. end)
  175.  
  176. FloatPart = function()
  177. local Part = Instance.new('Part',torso)
  178. Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  179. Part.Anchored = true
  180. Part.Material = 'Neon'
  181. Part.CanCollide = false
  182. Part.BrickColor = BrickColor.new(PrimaryColor)
  183. local Mesh = Instance.new('SpecialMesh',Part)
  184. Mesh.Scale = Vector3.new(4,4,.2)
  185. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  186. Mesh.VertexColor = Vector3.new(0,170,255)
  187. spawn(function()
  188. for i = 1,30 do
  189. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  190. Part.Transparency = Part.Transparency + .035
  191. game["Run Service"].RenderStepped:wait()
  192. end
  193. Part:Destroy()
  194. end)
  195. end;
  196.  
  197. DubPart = function()
  198. local Part = Instance.new('Part',torso)
  199. Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  200. Part.Anchored = true
  201. Part.CanCollide = false
  202. Part.Material = 'Neon'
  203. Part.BrickColor = BrickColor.new(SecondaryColor)
  204. local Mesh = Instance.new('SpecialMesh',Part)
  205. Mesh.Scale = Vector3.new(7,7,.2)
  206. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  207. Mesh.VertexColor = Vector3.new(0,170,255)
  208. spawn(function()
  209. for i = 1,30 do
  210. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  211. Part.Transparency = Part.Transparency + .035
  212. game["Run Service"].RenderStepped:wait()
  213. end
  214. Part:Destroy()
  215. end)
  216. end;
  217.  
  218. OnTouch = function(Toucher)
  219. if Toucher.Parent.Name ~= Plr.Name and Toucher.Parent:FindFirstChild('Humanoid') then
  220. local Hum = Toucher.Parent:FindFirstChild('Humanoid')
  221. Hum.Health = Hum.Health - .7
  222. end
  223. end;
  224.  
  225. Fade = function(Item,t)
  226. spawn(function()
  227. for i = 1,20 do
  228. Item.Transparency = Item.Transparency + .05
  229. if t then
  230. wait(t)
  231. else
  232. wait()
  233. end
  234. end
  235. Item:Destroy()
  236. end)
  237. end
  238.  
  239. TouchKill = function(Toucher)
  240. if Toucher.Parent then
  241. if Toucher.Parent:FindFirstChild('Humanoid') then
  242. local P = Toucher.Parent:FindFirstChild('Humanoid')
  243. if P ~= nil and P.Parent.Name ~= Plr.Name then
  244. P.Health = P.Health - math.random(4,17)
  245. end
  246. end
  247. end
  248. end;
  249.  
  250. Particle = function()
  251. local Part = Instance.new('Part',torso)
  252. Part.BrickColor = BrickColor.new(PrimaryColor)
  253. Part.Anchored = true
  254. Part.Transparency = .3
  255. Part.Touched:connect(function(I)OnTouch(I)end)
  256. Part.CanCollide = false
  257. Part.CFrame = torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random())
  258. local Mesh = Instance.new('BlockMesh',Part)
  259. Mesh.Scale = Vector3.new(.05,.1,.1)
  260. spawn(function()
  261. for i = 1,40 do
  262. Part.Transparency = Part.Transparency + .0125
  263. Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0)
  264. game["Run Service"].RenderStepped:wait()
  265. end
  266. Part:Destroy()
  267. end)
  268. end;
  269.  
  270. spawn(function()
  271. while wait() do
  272. wait(.05)
  273. FloatPart()
  274. wait(.08)
  275. FloatPart()
  276. wait(.05)
  277. DubPart()
  278. wait(.08)
  279. end
  280. end)
  281.  
  282. --Guns
  283.  
  284. Gun1 = Instance.new('Model',Char)
  285. Gun1.Name = 'GUN1MODEL'
  286. a = Instance.new('Part',Gun1)
  287. a.CanCollide = false
  288. a.Name = 'PartAGun1'
  289. a.Shape = 'Ball'
  290. a.TopSurface = 10
  291. a.BottomSurface = 0
  292. a.FormFactor = 3
  293. a.Size = Vector3.new(1,1,1)
  294. a.Transparency = .4
  295. a.BrickColor = BrickColor.new(PrimaryColor)
  296. newWeld(torso,torso,a,CFrame.fromEulerAnglesXYZ(0,0,0),CFrame.new(-1.3,-1.6,0))
  297.  
  298. Gun2 = Instance.new('Model',Char)
  299. Gun2.Name = 'GUN2MODEL'
  300. a2 = Instance.new('Part',Gun2)
  301. a2.CanCollide = false
  302. a2.Name = 'PartAGun2'
  303. a2.Shape = 'Ball'
  304. a2.TopSurface = 10
  305. a2.BottomSurface = 0
  306. a2.FormFactor = 3
  307. a2.Size = Vector3.new(1,1,1)
  308. a2.Transparency = .4
  309. a2.BrickColor = BrickColor.new(SecondaryColor)
  310. newWeld(torso,torso,a2,CFrame.fromEulerAnglesXYZ(0,0,0),CFrame.new(1.3,-1.6,0))
  311.  
  312. --
  313. local Hand1 = Instance.new('Part',a)
  314. Hand1.FormFactor = 'Custom'
  315. Hand1.Name = 'Hand1'
  316. game["Run Service"].RenderStepped:wait()
  317. Hand1.Size = Vector3.new(.5,.5,.5)
  318. Hand1.Transparency = .4
  319. Hand1.BrickColor = BrickColor.new(SecondaryColor)
  320. Hand1.Material = 'Neon'
  321. --Hand1.Anchored = true
  322. Hand1.CanCollide = false
  323. newWeld(a,a,Hand1,CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random()),CFrame.new(0,0,0))
  324. game["Run Service"].RenderStepped:wait()
  325.  
  326. local Hand2 = Instance.new('Part',a2)
  327. Hand2.FormFactor = 'Custom'
  328. Hand2.Name = 'Hand1'
  329. game["Run Service"].RenderStepped:wait()
  330. Hand2.Size = Vector3.new(.5,.5,.5)
  331. Hand2.Transparency = .4
  332. Hand2.BrickColor = BrickColor.new(PrimaryColor)
  333. Hand2.Material = 'Neon'
  334. --Hand2.Anchored = true
  335. Hand2.CanCollide = false
  336. newWeld(a2,a2,Hand2,CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random()),CFrame.new(0,0,0))
  337. game["Run Service"].RenderStepped:wait()--]]
  338.  
  339. game["Run Service"].RenderStepped:connect(function()
  340. torso['TorsoToPartAGun1'].C1 = torso['TorsoToPartAGun1'].C1 * CFrame.new(0,math.sin(tick())/200,0) * CFrame.fromEulerAnglesXYZ(math.sin(tick()/3)/3000,0,math.sin(tick()/3)/1100)
  341. torso['TorsoToPartAGun2'].C1 = torso['TorsoToPartAGun2'].C1 * CFrame.new(0,math.sin(tick())/200,0) * CFrame.fromEulerAnglesXYZ(math.sin(tick()/3)/3000,0,math.sin(tick()/3)/1100)
  342. end)
  343.  
  344. --
  345.  
  346. Lightning = function(Start,End,Times,Offset,Thickness,Transparency)
  347. local magz = (Start - End).magnitude local curpos = Start local trz = {-Offset,Offset}
  348. for i=1,Times do
  349. local li = Instance.new("Part",workspace) li.BrickColor = BrickColor.new(PrimaryColor) li.TopSurface = 0 li.Material = 'Neon' li.BottomSurface = 0 li.Anchored = true li.Name = 'LightningPeice' li.Transparency = Transparency or 0.4
  350.  
  351. li.formFactor = "Custom" li.CanCollide = false li.Size = Vector3.new(Thickness,Thickness,magz/Times) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  352. local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz
  353. if Times == i then
  354. local magz2 = (curpos - End).magnitude li.Size = Vector3.new(Thickness,Thickness,magz2)
  355. li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2)
  356. else
  357. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  358. end
  359. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p spawn(function()wait(.3)Fade(li,.02)end)
  360. li.Touched:connect(function(I)
  361. TouchKill(I,0)
  362. end)
  363. end
  364.  
  365. end
  366.  
  367. Orbital = function()
  368. local lzr = Instance.new('Part',workspace.Base)
  369. lzr.Transparency = .3
  370. lzr.Anchored = true
  371. lzr.CFrame = CFrame.new(Mouse.Hit.X,0,Mouse.Hit.Z)-- * CFrame.fromEulerAnglesXYZ(0,0,86.4)
  372. lzr.BrickColor = BrickColor.new(SecondaryColor)
  373. local lzrmesh = Instance.new('CylinderMesh',lzr)
  374. lzrmesh.Scale = Vector3.new(10,10000,10)
  375. wait(.2)
  376. spawn(function()
  377. for i = 1,15 do
  378. lzrmesh.Scale = lzrmesh.Scale - Vector3.new(.5,0,.5)
  379. wait(.001)
  380. end
  381. wait(.1)
  382. local lzr2 = Instance.new('Part',workspace.Base)
  383. lzr2.Transparency = .3
  384. lzr2.Anchored = true
  385. lzr2.CFrame = lzr.CFrame-- * CFrame.fromEulerAnglesXYZ(0,0,86.4)
  386. lzr2.BrickColor = BrickColor.new(PrimaryColor)
  387. local lzrmesh2 = Instance.new('CylinderMesh',lzr2)
  388. lzrmesh2.Scale = Vector3.new(0,10000,0)
  389. for i = 1,20 do
  390. lzr2.Touched:connect(function(I)TouchKill(I)end)
  391. lzrmesh2.Scale = lzrmesh2.Scale + Vector3.new(.4,0,.4)
  392. local ex = Instance.new('Explosion',workspace)
  393. ex.Position = lzr2.Position
  394. game["Run Service"].RenderStepped:wait()
  395. end
  396. for i = 1,20 do
  397. lzr2.Transparency = lzr2.Transparency + .05
  398.  
  399. game["Run Service"].RenderStepped:wait()
  400. end
  401. lzr:Destroy()
  402. lzr2:Destroy()
  403.  
  404. end)
  405. end
  406.  
  407. Fade2 = function(Item)
  408. spawn(function()
  409. for i = 1,20 do
  410. Item.Transparency = Item.Transparency + .05
  411. wait()
  412. end
  413. Item:Destroy()
  414. end)
  415. end
  416.  
  417. CounterTp = function()
  418. debounce = true
  419. Invis()
  420. debounce = false
  421. torso.CFrame = torso.CFrame * CFrame.new(0,0,-25) * CFrame.fromEulerAnglesXYZ(0,64.4*2,0)
  422. Vis()
  423. end
  424.  
  425. PSpike = function()
  426. local pa = Instance.new('Part',workspace.Base)
  427. pa.Anchored = true
  428. pa.Transparency = .3
  429. pa.CanCollide = false
  430. pa.Size = Vector3.new(4,1,1)
  431. pa.Material = 'Neon'
  432. local msh = Instance.new('BlockMesh',pa)
  433. msh.Scale = Vector3.new(2,1,1)
  434. game.Debris:AddItem(pa,5)
  435. pa.BrickColor = BrickColor.new('Really red')
  436. pa.CFrame = torso.CFrame * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) * CFrame.new(Mouse.Hit.p,pa.Position)
  437. wait()
  438. --local sp = Instance.new('SpecialMesh',pa)
  439. --sp.MeshId = 'http://www.roblox.com/asset/?id=1033714'
  440. --sp.Scale = Vector3.new(.5,5,.5)
  441. end
  442.  
  443. Pulse = function()
  444. local pul = Instance.new('Part',workspace.Base)
  445. pul.Size = Vector3.new(14,14,14)
  446. pul.Anchored = true
  447. pul.Transparency = .4
  448. pul.BrickColor = BrickColor.new(PrimaryColor)
  449. pul.TopSurface = 10
  450. pul.CanCollide = false
  451. pul.Shape = 'Ball'
  452. pul.Touched:connect(function(I)
  453. TouchKill(I)
  454. end)
  455. pul.CFrame = torso.CFrame
  456. pul.BottomSurface = 10
  457. local mshh = Instance.new('SpecialMesh',pul)
  458. mshh.MeshType = Enum.MeshType.Sphere
  459. mshh.Scale = Vector3.new(1,1,1)
  460. spawn(function()
  461. for i = 1,20 do
  462. mshh.Scale = mshh.Scale - Vector3.new(.1,.1,.1)
  463. wait()
  464. end
  465. wait(1)
  466. pul.BrickColor = BrickColor.new(SecondaryColor)
  467. spawn(function()wait(.5)Fade2(pul,.001)end)
  468. for i = 1,20 do
  469. mshh.Scale = mshh.Scale + Vector3.new(.2,.2,.2)
  470. wait()
  471. end
  472. end)
  473. --Fade2(pul,.001)
  474. end;
  475.  
  476. auto = false
  477.  
  478. Mouse.KeyDown:connect(function(k)
  479. if k:lower() == 'q' then
  480. auto = true
  481. while auto == true and debounce == false do
  482. debounce = true
  483. wait(.7)
  484. debounce = false
  485. local S = Instance.new('Sound',a)
  486. S.Pitch = .7
  487. S.Volume = .3
  488. S.SoundId = 'rbxassetid://177807944'
  489. S:Play()
  490. Lightning(a.Position,Mouse.Hit.p,math.random(5,10),math.random(-1,.7),.05,.4)
  491. wait(.1)
  492. Lightning(a2.Position,Mouse.Hit.p,math.random(5,10),math.random(-1,.7),.05,.4)
  493. end
  494. elseif k:lower() == 'f' then
  495. Orbital()
  496. elseif k:lower() == 'e' then
  497. Pulse()
  498. elseif k:lower() == 't' then
  499. CounterTp()
  500. elseif k:lower() == 'r' then
  501. PSpike()
  502. elseif k:lower() == 'z' then
  503. for i = 1,10 do
  504. Height = Height + .001
  505. game["Run Service"].RenderStepped:wait()
  506. end
  507. elseif k:lower() == 'x' then
  508. for i = 1,10 do
  509. Height = Height - .001
  510. game["Run Service"].RenderStepped:wait()
  511. end
  512. elseif k:lower() == 'c' then
  513. --for i = 1,10 do
  514. Height = 0
  515. --end
  516. end
  517. end)
  518.  
  519. Mouse.KeyUp:connect(function(k)
  520. if k:lower() == 'q' then
  521. wait()
  522. auto = false
  523. end
  524. end)
  525.  
  526. game["Run Service"].RenderStepped:connect(function(_)
  527. Particle()
  528. torso['TorsoToHumanoidRootPart'].C1 = torso['TorsoToHumanoidRootPart'].C1 * CFrame.new(0,Height+math.sin(tick())/150,0)
  529. end)
  530.  
  531. tor = Char.Torso
  532. Debounce = false
  533.  
  534. Invis = function()
  535. for i = 1,20 do
  536. Char['Right Arm'].Transparency = Char['Right Arm'].Transparency + .05
  537. Char['Left Arm'].Transparency = Char['Left Arm'].Transparency + .05
  538. Char['Right Leg'].Transparency = Char['Right Leg'].Transparency + .05
  539. Char['Left Leg'].Transparency = Char['Left Leg'].Transparency + .05
  540. Char['Head'].Transparency = Char['Head'].Transparency + .05
  541. Char['Torso'].Transparency = Char['Torso'].Transparency + .05
  542. Char.Head['face'].Transparency = Char.Head['face'].Transparency + .05
  543. game["Run Service"].RenderStepped:wait()
  544. end
  545. end
  546.  
  547. Vis = function()
  548. for i = 1,20 do
  549. Char['Right Arm'].Transparency = Char['Right Arm'].Transparency - .05
  550. Char['Left Arm'].Transparency = Char['Left Arm'].Transparency - .05
  551. Char['Right Leg'].Transparency = Char['Right Leg'].Transparency - .05
  552. Char['Left Leg'].Transparency = Char['Left Leg'].Transparency - .05
  553. Char['Head'].Transparency = Char['Head'].Transparency - .05
  554. Char['Torso'].Transparency = Char['Torso'].Transparency - .05
  555. Char.Head['face'].Transparency = Char.Head['face'].Transparency - .05
  556. game["Run Service"].RenderStepped:wait()
  557. end
  558. end
  559.  
  560. Fade = function(Part)
  561. if Part:IsA'Part' then
  562. for i = 1,20 do
  563. Part.Transparency = Part.Transparency + .05
  564. Part.Size = Part.Size - Vector3.new(.04,.04,.04)
  565. Part.CFrame = Part.CFrame * CFrame.new(0,-.1,0)
  566. wait()
  567. end
  568. Part:Destroy()
  569. end
  570. end
  571.  
  572. Teleport = function(cx,cy,cz)
  573. Debounce = true
  574. tor.Anchored = true
  575. Invis()
  576. --MakeTpPart()
  577. tor.Anchored = false
  578. tor.CFrame = CFrame.new(cx,cy,cz) * CFrame.new(0,3,0)
  579. tor.Anchored = true
  580. Vis()
  581. tor.Anchored = false
  582. Debounce = false
  583. end;
  584.  
  585. Mouse.Button1Down:connect(function()
  586. if not Debounce then
  587. Teleport(Mouse.Hit.X,Mouse.Hit.Y,Mouse.Hit.Z)
  588. end
  589. end)
  590.  
  591. --[[GUIS]]--
  592. local sg = Instance.new('ScreenGui',Plr.PlayerGui)
  593. local tlb = Instance.new('TextLabel',sg)
  594. tlb.Size = UDim2.new(0,200,0,23)
  595. tlb.BackgroundTransparency = .2
  596. tlb.TextTransparency = 0
  597. tlb.TextStrokeTransparency = 1
  598. tlb.TextStrokeColor3 = Color3.new(255,255,255)
  599. tlb.BackgroundColor3 = Color3.new(-255,-255,-255)
  600. tlb.Font = 'ArialBold'
  601. tlb.FontSize = 'Size24'
  602. tlb.BorderSizePixel = 0
  603. tlb.TextColor3 = Color3.new(255,255,255)
  604. tlb.Position = UDim2.new(1,-201,0,400)
  605. game["Run Service"].RenderStepped:connect(function(_)
  606. tlb.Text = 'Health; '..math.floor(Char.Humanoid.Health+.1)
  607. end)
  608.  
  609. local tb = Instance.new('TextButton',sg)
  610. tb.Size = UDim2.new(0,200,0,23)
  611. tb.BackgroundTransparency = .2
  612. tb.TextTransparency = 0
  613. tb.BorderSizePixel = 0
  614. tb.TextStrokeTransparency = 1
  615. tb.TextStrokeColor3 = Color3.new(255,255,255)
  616. tb.BackgroundColor3 = Color3.new(-255,-255,-255)
  617. tb.Font = 'ArialBold'
  618. tb.FontSize = 'Size24'
  619. tb.TextColor3 = Color3.new(255,255,255)
  620. tb.Position = UDim2.new(1,-201,0,424)
  621. tb.Text = 'Open Controls'
  622.  
  623. local frame = Instance.new('Frame',sg)
  624. frame.Size = UDim2.new(0,200,0,185)
  625. frame.Name = 'SGFrame'
  626. frame.Position = UDim2.new(1,-201,1,0)
  627. frame.BorderSizePixel = 0
  628. frame.BackgroundTransparency = .2
  629. frame.BackgroundColor3 = Color3.new(-255,-255,-255)
  630. local con1 = Instance.new('TextLabel',frame)
  631. con1.BackgroundTransparency = 1
  632. con1.BackgroundColor3 = frame.BackgroundColor3
  633. con1.BorderSizePixel = 0
  634. con1.Text = 'Q; Lightning'
  635. con1.TextColor3 = Color3.new(255,255,255)
  636. con1.Font = 'ArialBold'
  637. con1.FontSize = 'Size18'
  638. con1.Size = UDim2.new(1,0,0,23)
  639. local con2 = Instance.new('TextLabel',frame)
  640. con2.BackgroundTransparency = 1
  641. con2.BackgroundColor3 = frame.BackgroundColor3
  642. con2.BorderSizePixel = 0
  643. con2.Text = 'F; Pulse Beam'
  644. con2.TextColor3 = Color3.new(255,255,255)
  645. con2.Font = 'ArialBold'
  646. con2.Position = UDim2.new(0,0,0,23)
  647. con2.FontSize = 'Size18'
  648. con2.Size = UDim2.new(1,0,0,23)
  649. local con3 = Instance.new('TextLabel',frame)
  650. con3.BackgroundTransparency = 1
  651. con3.BackgroundColor3 = frame.BackgroundColor3
  652. con3.BorderSizePixel = 0
  653. con3.Text = 'Z; Increase Rise'
  654. con3.TextColor3 = Color3.new(255,255,255)
  655. con3.Font = 'ArialBold'
  656. con3.Position = UDim2.new(0,0,0,46)
  657. con3.FontSize = 'Size18'
  658. con3.Size = UDim2.new(1,0,0,23)
  659. local con4 = Instance.new('TextLabel',frame)
  660. con4.BackgroundTransparency = 1
  661. con4.BackgroundColor3 = frame.BackgroundColor3
  662. con4.BorderSizePixel = 0
  663. con4.Text = 'X; Decrease Rise'
  664. con4.TextColor3 = Color3.new(255,255,255)
  665. con4.Font = 'ArialBold'
  666. con4.Position = UDim2.new(0,0,0,69)
  667. con4.FontSize = 'Size18'
  668. con4.Size = UDim2.new(1,0,0,23)
  669. local con5 = Instance.new('TextLabel',frame)
  670. con5.BackgroundTransparency = 1
  671. con5.BackgroundColor3 = frame.BackgroundColor3
  672. con5.BorderSizePixel = 0
  673. con5.Text = 'C; Zero Rise'
  674. con5.TextColor3 = Color3.new(255,255,255)
  675. con5.Font = 'ArialBold'
  676. con5.Position = UDim2.new(0,0,0,92)
  677. con5.FontSize = 'Size18'
  678. con5.Size = UDim2.new(1,0,0,23)
  679.  
  680. local con6 = Instance.new('TextLabel',frame)
  681. con6.BackgroundTransparency = 1
  682. con6.BackgroundColor3 = frame.BackgroundColor3
  683. con6.BorderSizePixel = 0
  684. con6.Text = 'MouseClick; Teleport'
  685. con6.TextColor3 = Color3.new(255,255,255)
  686. con6.Font = 'ArialBold'
  687. con6.Position = UDim2.new(0,0,0,115)
  688. con6.FontSize = 'Size18'
  689. con6.Size = UDim2.new(1,0,0,23)
  690.  
  691. local con7 = Instance.new('TextLabel',frame)
  692. con7.BackgroundTransparency = 1
  693. con7.BackgroundColor3 = frame.BackgroundColor3
  694. con7.BorderSizePixel = 0
  695. con7.Text = 'E; Discharge'
  696. con7.TextColor3 = Color3.new(255,255,255)
  697. con7.Font = 'ArialBold'
  698. con7.Position = UDim2.new(0,0,0,139)
  699. con7.FontSize = 'Size18'
  700. con7.Size = UDim2.new(1,0,0,23)
  701.  
  702. local con8 = Instance.new('TextLabel',frame)
  703. con8.BackgroundTransparency = 1
  704. con8.BackgroundColor3 = frame.BackgroundColor3
  705. con8.BorderSizePixel = 0
  706. con8.Text = 'T; Dodge'
  707. con8.TextColor3 = Color3.new(255,255,255)
  708. con8.Font = 'ArialBold'
  709. con8.Position = UDim2.new(0,0,0,163)
  710. con8.FontSize = 'Size18'
  711. con8.Size = UDim2.new(1,0,0,23)
  712.  
  713. tb.MouseButton1Down:connect(function()
  714. if tb.Text == 'Open Controls' then
  715. tb.Text = 'Close Controls'
  716. frame:TweenPosition(UDim2.new(1,-201,0,448),'Out','Quint',2,true)
  717. elseif tb.Text == 'Close Controls' then
  718. frame:TweenPosition(UDim2.new(1,-208,1,0),'In','Quint',2,true)
  719. tb.Text = 'Open Controls'
  720. end
  721. end)
  722.  
  723. --End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement