Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.79 KB | None | 0 0
  1. -- // Opeirx’s Edit
  2.  
  3.  
  4.  
  5. iPlayer = game.Players.LocalPlayer.Name
  6.  
  7. local Gui = Instance.new('ScreenGui', game.Players[iPlayer].PlayerGui)
  8.  
  9. Gui.Name = 'Hub'
  10.  
  11. local Grab_f = Instance.new('Frame', Gui)
  12.  
  13. Grab_f.Name = 'Grab'
  14.  
  15. Grab_f.Active = true
  16.  
  17. Grab_f.BackgroundColor3 = Color3.new(255,255,127/255)
  18.  
  19. Grab_f.BackgroundTransparency = 0.5
  20.  
  21. Grab_f.BorderSizePixel = 0
  22.  
  23. Grab_f.Position = UDim2.new(0.5,-150,0.5,-92)
  24.  
  25. Grab_f.Size = UDim2.new(0,300,0,24)
  26.  
  27. Grab_f.Draggable = true
  28.  
  29. local Close = Instance.new('TextButton', Grab_f)
  30.  
  31. Close.Name = 'Close'
  32.  
  33. Close.BackgroundTransparency = 1
  34.  
  35. Close.Position = UDim2.new(1,-23,0,1)
  36.  
  37. Close.Size = UDim2.new(0,22,0,22)
  38.  
  39. Close.Font = 'SourceSans'
  40.  
  41. Close.FontSize = 'Size18'
  42.  
  43. Close.TextColor3 = Color3.new(255,255,255)
  44.  
  45. Close.Text = 'x'
  46.  
  47. local Body_f = Instance.new('Frame', Grab_f)
  48.  
  49. Body_f.Name = 'Body'
  50.  
  51. Body_f.BackgroundColor3 = Color3.new(60/255,60/255,60/255)
  52.  
  53. Body_f.BackgroundTransparency = 0.5
  54.  
  55. Body_f.BorderSizePixel = 0
  56.  
  57. Body_f.Position = UDim2.new(0,0,0,25)
  58.  
  59. Body_f.Size = UDim2.new(0,300,0,170)
  60.  
  61.  
  62.  
  63. Close.TextStrokeTransparency = 0.8
  64.  
  65. local Title = Instance.new('TextLabel', Grab_f)
  66.  
  67. Title.Name = 'Title'
  68.  
  69. Title.BackgroundTransparency = 1
  70.  
  71. Title.Position = UDim2.new(0,5,0,0)
  72.  
  73. Title.Size = UDim2.new(0,200,1,0)
  74.  
  75. Title.Font = 'SourceSansLight'
  76.  
  77. Title.FontSize = 'Size18'
  78.  
  79. Title.Text = "Riley's Apoc Gui Edit"
  80.  
  81. Title.TextColor3 = Color3.new(255,255,255)
  82.  
  83. Title.TextStrokeColor3 = Color3.new(60/255,60/255,60/255)
  84.  
  85. Title.TextStrokeTransparency = 0.6
  86.  
  87. local PlayerName = Instance.new('TextBox', Body_f)
  88.  
  89. PlayerName.Name = 'PlayerName'
  90.  
  91. PlayerName.BorderSizePixel = 0
  92.  
  93. PlayerName.Position = UDim2.new(0,10,0,10)
  94.  
  95. PlayerName.Size = UDim2.new(0,280,0,30)
  96.  
  97. PlayerName.Font = 'SourceSans'
  98.  
  99. PlayerName.FontSize = 'Size18'
  100.  
  101. PlayerName.Text = 'Player name [plr]'
  102.  
  103. PlayerName.BackgroundColor3 = Color3.new(255,255,255)
  104.  
  105. PlayerName.TextColor3 = Color3.new(60/255,60/255,60/255)
  106.  
  107. PlayerName.TextWrapped = true
  108.  
  109.  
  110.  
  111. local Credits = Instance.new('TextLabel', Body_f)
  112.  
  113. Credits.BackgroundTransparency = 1
  114.  
  115. Credits.Text = 'Version 1.0.0'
  116.  
  117. Credits.Position = UDim2.new(0,0,1,0)
  118.  
  119. Credits.Size = UDim2.new(1,0,0,20)
  120.  
  121.  
  122.  
  123. local Command_TpBodies = Instance.new('TextButton', Body_f)
  124.  
  125. Command_TpBodies.Name = 'Bodies'
  126.  
  127. Command_TpBodies.BackgroundColor3 = Color3.new(255,170/255,255)
  128.  
  129. Command_TpBodies.BackgroundTransparency = 0.1
  130.  
  131. Command_TpBodies.BorderSizePixel = 0
  132.  
  133. Command_TpBodies.Position = UDim2.new(0,10,0,50)
  134.  
  135. Command_TpBodies.Size = UDim2.new(0,135,0,30)
  136.  
  137. Command_TpBodies.Font = 'SourceSansItalic'
  138.  
  139. Command_TpBodies.FontSize = 'Size18'
  140.  
  141. Command_TpBodies.Text = 'TP BODIES'
  142.  
  143. Command_TpBodies.TextColor3 = Color3.new(80/255,80/255,80/255)
  144.  
  145. Command_TpBodies.TextWrapped = true
  146.  
  147.  
  148.  
  149. local Command_KillAll = Command_TpBodies:Clone()
  150.  
  151. Command_KillAll.Name = 'KillAll'
  152.  
  153. Command_KillAll.Parent = Body_f
  154.  
  155. Command_KillAll.Position = UDim2.new(0,155,0,50)
  156.  
  157. Command_KillAll.Text = 'KILL ALL'
  158.  
  159.  
  160.  
  161. local Command_KillPlr = Command_TpBodies:Clone()
  162.  
  163. Command_KillPlr.Name = 'KillPlr'
  164.  
  165. Command_KillPlr.Parent = Body_f
  166.  
  167. Command_KillPlr.Position = UDim2.new(0,10,0,90)
  168.  
  169. Command_KillPlr.Text = 'KILL [plr]'
  170.  
  171.  
  172.  
  173. local Command_TpMe = Command_TpBodies:Clone()
  174.  
  175. Command_TpMe.Name = 'TpMe'
  176.  
  177. Command_TpMe.Parent = Body_f
  178.  
  179. Command_TpMe.Position = UDim2.new(0,10,0,130)
  180.  
  181. Command_TpMe.Text = 'TP [plr] ME'
  182.  
  183.  
  184.  
  185. local Command_TpTo = Command_TpBodies:Clone()
  186.  
  187. Command_TpTo.Name = 'TpTo'
  188.  
  189. Command_TpTo.Parent = Body_f
  190.  
  191. Command_TpTo.Position = UDim2.new(0,155,0,130)
  192.  
  193. Command_TpTo.Text = 'TP ME [plr]'
  194.  
  195.  
  196.  
  197. local Command_TpAllMe = Command_TpBodies:Clone()
  198.  
  199. Command_TpAllMe.Name = 'TpAllMe'
  200.  
  201. Command_TpAllMe.Parent = Body_f
  202.  
  203. Command_TpAllMe.Position = UDim2.new(0,155,0,90)
  204.  
  205. Command_TpAllMe.Text = 'TP ALL ME'
  206.  
  207.  
  208.  
  209. Command_TpBodies.MouseButton1Down:connect(function()
  210.  
  211. for _, corpse in pairs(workspace:GetChildren()) do
  212.  
  213. if corpse.Name == "Corpse" then
  214.  
  215. corpse:MoveTo(workspace[game.Players.LocalPlayer.Name].Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  216.  
  217. end
  218.  
  219. end
  220.  
  221. end)
  222.  
  223.  
  224.  
  225.  
  226.  
  227. Command_KillAll.MouseButton1Down:connect(function()
  228.  
  229. for i,v in pairs(game.Players:GetPlayers()) do
  230.  
  231. if v.Name == game.Players.LocalPlayer.Name then
  232.  
  233. print('nope')
  234.  
  235. else
  236.  
  237. getPlayer = game.Workspace:FindFirstChild(v.Name)
  238.  
  239. wait(.01)
  240.  
  241. game.Lighting.Remote.AddHealth:FireServer(getPlayer.Humanoid, -5345355)
  242.  
  243. end
  244.  
  245. end
  246.  
  247. end)
  248.  
  249.  
  250.  
  251. Command_KillPlr.MouseButton1Down:connect(function()
  252.  
  253. gitPlayer = game.Workspace:FindFirstChild(PlayerName.Text)
  254.  
  255. game.Lighting.Remote.AddHealth:FireServer(gitPlayer.Humanoid, -5000000)
  256.  
  257. end)
  258.  
  259.  
  260.  
  261. Command_TpMe.MouseButton1Down:connect(function()
  262.  
  263. gitPlayer = PlayerName.Text
  264.  
  265. game.Lighting.Remote:WaitForChild("TeleportRequest"):InvokeServer("To Me", math.floor(tick() % 1 * 100000), gitPlayer)
  266.  
  267. end)
  268.  
  269.  
  270.  
  271. Command_TpTo.MouseButton1Down:connect(function()
  272.  
  273. gitPlayer = PlayerName.Text
  274.  
  275. game.Lighting.Remote:WaitForChild("TeleportRequest"):InvokeServer("Me To", math.floor(tick() % 1 * 100000), gitPlayer)
  276.  
  277. end)
  278.  
  279.  
  280.  
  281. Command_TpAllMe.MouseButton1Down:connect(function()
  282.  
  283. for i,v in pairs(game.Players:GetPlayers()) do
  284.  
  285. if v.Name == game.Players.LocalPlayer.Name then
  286.  
  287. print'nope'
  288.  
  289. else
  290.  
  291. wait(.01)
  292.  
  293. game.Lighting.Remote:WaitForChild("TeleportRequest"):InvokeServer("To Me", math.floor(tick() % 1 * 100000), v.Name)
  294.  
  295. end
  296.  
  297. end
  298.  
  299. end)
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307. Close.MouseButton1Down:connect(function()
  308.  
  309. if Body_f.Visible == true then
  310.  
  311. Body_f.Visible = false
  312.  
  313. Close.Text = '+'
  314.  
  315. elseif Body_f.Visible == false then
  316.  
  317. Body_f.Visible = true
  318.  
  319. Close.Text = 'X'
  320.  
  321. end
  322.  
  323. end)
  324.  
  325.  
  326.  
  327. --
  328.  
  329.  
  330.  
  331. while wait() do
  332.  
  333. Credits.TextColor3 = Color3.new(1,0,0)
  334.  
  335. for i=1,15 do
  336.  
  337. game:GetService("RunService").RenderStepped:wait()
  338.  
  339. Credits.TextColor3 = Color3.new(Credits.TextColor3.r,Credits.TextColor3.g+(17/255),Credits.TextColor3.b)
  340.  
  341. end
  342.  
  343. for i=1,15 do
  344.  
  345. game:GetService("RunService").RenderStepped:wait()
  346.  
  347. Credits.TextColor3 = Color3.new(Credits.TextColor3.r-(17/255),Credits.TextColor3.g,Credits.TextColor3.b)
  348.  
  349. end
  350.  
  351. for i=1,15 do
  352.  
  353. game:GetService("RunService").RenderStepped:wait()
  354.  
  355. Credits.TextColor3 = Color3.new(Credits.TextColor3.r,Credits.TextColor3.g,Credits.TextColor3.b+(17/255))
  356.  
  357. end
  358.  
  359. for i=1,15 do
  360.  
  361. game:GetService("RunService").RenderStepped:wait()
  362.  
  363. Credits.TextColor3 = Color3.new(Credits.TextColor3.r,Credits.TextColor3.g-(17/255),Credits.TextColor3.b)
  364.  
  365. end
  366.  
  367. for i=1,15 do
  368.  
  369. game:GetService("RunService").RenderStepped:wait()
  370.  
  371. Credits.TextColor3 = Color3.new(Credits.TextColor3.r+(17/255),Credits.TextColor3.g,Credits.TextColor3.b)
  372.  
  373. end
  374.  
  375. for i=1,15 do
  376.  
  377. game:GetService("RunService").RenderStepped:wait()
  378.  
  379. Credits.TextColor3 = Color3.new(Credits.TextColor3.r,Credits.TextColor3.g,Credits.TextColor3.b-(17/255))
  380.  
  381. end
  382. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement