Xen_YT

OP Adopt Me Script

May 16th, 2020
843
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.86 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local ImageButton = Instance.new("ImageButton")
  9. local TextButton = Instance.new("TextButton")
  10. local close = Instance.new("TextButton")
  11. local speed = Instance.new("TextButton")
  12. local gravity = Instance.new("TextButton")
  13. local fly = Instance.new("TextButton")
  14. local clicktp = Instance.new("TextButton")
  15. local fling = Instance.new("TextButton")
  16. local noclip = Instance.new("TextButton")
  17. local fps = Instance.new("TextButton")
  18. local graphics = Instance.new("TextButton")
  19. local btools = Instance.new("TextButton")
  20. local open = Instance.new("TextButton")
  21.  
  22. --Properties:
  23.  
  24. ScreenGui.Parent = game.CoreGui
  25. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  26.  
  27. Frame.Parent = ScreenGui
  28. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  29. Frame.BackgroundTransparency = 1.000
  30. Frame.Position = UDim2.new(0.508326054, 0, 0.299689442, 0)
  31. Frame.Size = UDim2.new(0, 401, 0, 310)
  32. Frame.Active = true
  33. Frame.Draggable = true
  34.  
  35. ImageButton.Parent = Frame
  36. ImageButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  37. ImageButton.Position = UDim2.new(0, 0, 0.0516129024, 0)
  38. ImageButton.Size = UDim2.new(0, 408, 0, 269)
  39. ImageButton.Image = "http://www.roblox.com/asset/?id=4908568640"
  40.  
  41. TextButton.Parent = Frame
  42. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  43. TextButton.Position = UDim2.new(0, 0, 0.921933115, 0)
  44. TextButton.Size = UDim2.new(0, 408, 0, 21)
  45. TextButton.Font = Enum.Font.GothamBlack
  46. TextButton.Text = "This Script Was Made By TurningGlobe - GO SUBSCRIPT PLS (FREE SCRIPTS)"
  47. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  48. TextButton.TextScaled = true
  49. TextButton.TextSize = 14.000
  50. TextButton.TextWrapped = true
  51.  
  52. close.Name = "close"
  53. close.Parent = Frame
  54. close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  55. close.BorderSizePixel = 0
  56. close.Position = UDim2.new(0.940149605, 0, -0.0242115334, 0)
  57. close.Size = UDim2.new(0, 31, 0, 23)
  58. close.Font = Enum.Font.SourceSans
  59. close.Text = "X"
  60. close.TextColor3 = Color3.fromRGB(0, 0, 0)
  61. close.TextScaled = true
  62. close.TextSize = 14.000
  63. close.TextWrapped = true
  64. close.MouseButton1Down:connect(function()
  65. Frame.Visible = false
  66. open.Visible = true
  67. end)
  68.  
  69. speed.Name = "speed"
  70. speed.Parent = Frame
  71. speed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  72. speed.BorderColor3 = Color3.fromRGB(255, 170, 255)
  73. speed.Position = UDim2.new(0.0249376558, 0, 0.100000001, 0)
  74. speed.Size = UDim2.new(0, 125, 0, 29)
  75. speed.Font = Enum.Font.SourceSans
  76. speed.Text = "SPEED[X]"
  77. speed.TextColor3 = Color3.fromRGB(0, 0, 0)
  78. speed.TextScaled = true
  79. speed.TextSize = 14.000
  80. speed.TextWrapped = true
  81. speed.MouseButton1Down:connect(function()
  82. local walkspeedplayer = game:GetService("Players").LocalPlayer
  83. local walkspeedmouse = walkspeedplayer:GetMouse()
  84.  
  85. local walkspeedenabled = false
  86.  
  87. function x_walkspeed(key)
  88. if (key == "x") then
  89. if walkspeedenabled == false then
  90. _G.WS = 200;
  91. local Humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid;
  92. Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
  93. Humanoid.WalkSpeed = _G.WS;
  94. end)
  95. Humanoid.WalkSpeed = _G.WS;
  96.  
  97. walkspeedenabled = true
  98. elseif walkspeedenabled == true then
  99. _G.WS = 20;
  100. local Humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid;
  101. Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
  102. Humanoid.WalkSpeed = _G.WS;
  103. end)
  104. Humanoid.WalkSpeed = _G.WS;
  105.  
  106. walkspeedenabled = false
  107. end
  108. end
  109. end
  110.  
  111. walkspeedmouse.KeyDown:connect(x_walkspeed)
  112.  
  113. end)
  114.  
  115. gravity.Name = "gravity"
  116. gravity.Parent = Frame
  117. gravity.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  118. gravity.BorderColor3 = Color3.fromRGB(255, 170, 255)
  119. gravity.Position = UDim2.new(0.351620942, 0, 0.100000001, 0)
  120. gravity.Size = UDim2.new(0, 125, 0, 29)
  121. gravity.Font = Enum.Font.SourceSans
  122. gravity.Text = "GRAVITY"
  123. gravity.TextColor3 = Color3.fromRGB(0, 0, 0)
  124. gravity.TextScaled = true
  125. gravity.TextSize = 14.000
  126. gravity.TextWrapped = true
  127. gravity.MouseButton1Down:connect(function()
  128. if Gravity == true then
  129. Gravity = false
  130. game.workspace.Gravity = 196.2
  131. else
  132. Gravity = true
  133. game.workspace.Gravity = 45
  134. end
  135. end)
  136.  
  137. fly.Name = "fly"
  138. fly.Parent = Frame
  139. fly.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  140. fly.BorderColor3 = Color3.fromRGB(255, 170, 255)
  141. fly.Position = UDim2.new(0.69077307, 0, 0.100000001, 0)
  142. fly.Size = UDim2.new(0, 125, 0, 29)
  143. fly.Font = Enum.Font.SourceSans
  144. fly.Text = "FLY[Q]"
  145. fly.TextColor3 = Color3.fromRGB(0, 0, 0)
  146. fly.TextScaled = true
  147. fly.TextSize = 14.000
  148. fly.TextWrapped = true
  149. fly.MouseButton1Down:connect(function()
  150. local Enabled = false
  151. local Camera = game.Workspace.CurrentCamera
  152. local Player = game:GetService("Players").LocalPlayer
  153. local Input = game:GetService("UserInputService")
  154. local Forward = false
  155. local Back = false
  156. local Left = false
  157. local Right = false
  158. local Up = false
  159. local Down = false
  160.  
  161. local function SetPlayer()
  162. for i,v in pairs(Player.Character:GetChildren()) do
  163. pcall(function()
  164. v.Anchored = not v.Anchored
  165. end)
  166. end
  167. end
  168.  
  169. Input.InputBegan:Connect(function(Key,IsChat)
  170. if IsChat then return end
  171. if Key.KeyCode == Enum.KeyCode.Q then
  172. Enabled = not Enabled
  173. SetPlayer()
  174. end
  175. if Key.KeyCode == Enum.KeyCode.W then
  176. Forward = true
  177. end
  178. if Key.KeyCode == Enum.KeyCode.S then
  179. Back = true
  180. end
  181. if Key.KeyCode == Enum.KeyCode.A then
  182. Left = true
  183. end
  184. if Key.KeyCode == Enum.KeyCode.D then
  185. Right = true
  186. end
  187. if Key.KeyCode == Enum.KeyCode.Space then
  188. Up = true
  189. end
  190. if Key.KeyCode == Enum.KeyCode.LeftControl then
  191. Down = true
  192. end
  193. end)
  194.  
  195. Input.InputEnded:Connect(function(Key,IsChat)
  196. if IsChat then return end
  197. if Key.KeyCode == Enum.KeyCode.W then
  198. Forward = false
  199. end
  200. if Key.KeyCode == Enum.KeyCode.S then
  201. Back = false
  202. end
  203. if Key.KeyCode == Enum.KeyCode.A then
  204. Left = false
  205. end
  206. if Key.KeyCode == Enum.KeyCode.D then
  207. Right = false
  208. end
  209. if Key.KeyCode == Enum.KeyCode.Space then
  210. Up = false
  211. end
  212. if Key.KeyCode == Enum.KeyCode.LeftControl then
  213. Down = false
  214. end
  215. end)
  216.  
  217. while game:GetService("RunService").RenderStepped:Wait() do
  218. if Enabled then
  219. pcall(function()
  220. if Forward then
  221. Player.Character:TranslateBy(Camera.CFrame.lookVector*2)
  222. end
  223. if Back then
  224. Player.Character:TranslateBy(-Camera.CFrame.lookVector*2)
  225. end
  226. if Left then
  227. Player.Character:TranslateBy(-Camera.CFrame:vectorToWorldSpace(Vector3.new(1,0,0))*2)
  228. end
  229. if Right then
  230. Player.Character:TranslateBy(Camera.CFrame:vectorToWorldSpace(Vector3.new(1,0,0))*2)
  231. end
  232. if Up then
  233. Player.Character:TranslateBy(Camera.CFrame:vectorToWorldSpace(Vector3.new(0,1,0))*2)
  234. end
  235. if Down then
  236. Player.Character:TranslateBy(-Camera.CFrame:vectorToWorldSpace(Vector3.new(0,1,0))*2)
  237. end
  238. end)
  239. end
  240. end
  241. end)
  242.  
  243. clicktp.Name = "clicktp"
  244. clicktp.Parent = Frame
  245. clicktp.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  246. clicktp.BorderColor3 = Color3.fromRGB(255, 170, 255)
  247. clicktp.Position = UDim2.new(0.0249376558, 0, 0.235483885, 0)
  248. clicktp.Size = UDim2.new(0, 125, 0, 29)
  249. clicktp.Font = Enum.Font.SourceSans
  250. clicktp.Text = "CLICK TP[N]"
  251. clicktp.TextColor3 = Color3.fromRGB(0, 0, 0)
  252. clicktp.TextScaled = true
  253. clicktp.TextSize = 14.000
  254. clicktp.TextWrapped = true
  255. clicktp.MouseButton1Click:Connect(function()
  256. toggle = true
  257. togglekey = "n" --Key that you will use to toggle the on and off
  258. killkey = "k" --Key that you will use to kill a player
  259. function Hint(txt)
  260. local b = Instance.new('Hint', workspace)
  261. b.Text = txt
  262. wait(2)
  263. b:Destroy()
  264. end
  265. Local = game:GetService('Players').LocalPlayer
  266. Mouse = Local:GetMouse()
  267. Mouse.Button1Down:connect(function()
  268. pcall(function()
  269. if toggle then
  270. Local.Character.HumanoidRootPart.CFrame = Local:GetMouse().Hit
  271. end
  272. end)
  273. end)
  274. Mouse.KeyDown:connect(function(key)
  275. if key == togglekey then
  276. if toggle then
  277. toggle = false
  278. Hint('Turned Off!')
  279. print ('Turned Off!')
  280. else
  281. toggle = true
  282. Hint('Turned On!')
  283. print ('Turned On!')
  284. end
  285. elseif key == killkey then
  286. if toggle then
  287. pcall(function()
  288. Mouse.Target.Parent:FindFirstChild('Humanoid').Health = 0
  289. Hint('Killed ' .. Mouse.Target.Parent.Name)
  290. end)
  291. end
  292. end
  293. end)
  294. end)
  295.  
  296. fling.Name = "fling"
  297. fling.Parent = Frame
  298. fling.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  299. fling.BorderColor3 = Color3.fromRGB(255, 170, 255)
  300. fling.Position = UDim2.new(0.351620942, 0, 0.235483885, 0)
  301. fling.Size = UDim2.new(0, 125, 0, 29)
  302. fling.Font = Enum.Font.SourceSans
  303. fling.Text = "FLING GUI"
  304. fling.TextColor3 = Color3.fromRGB(0, 0, 0)
  305. fling.TextScaled = true
  306. fling.TextSize = 14.000
  307. fling.TextWrapped = true
  308.  
  309. noclip.Name = "noclip"
  310. noclip.Parent = Frame
  311. noclip.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  312. noclip.BorderColor3 = Color3.fromRGB(255, 170, 255)
  313. noclip.Position = UDim2.new(0.69077307, 0, 0.235483885, 0)
  314. noclip.Size = UDim2.new(0, 125, 0, 29)
  315. noclip.Font = Enum.Font.SourceSans
  316. noclip.Text = "NOCLIP"
  317. noclip.TextColor3 = Color3.fromRGB(0, 0, 0)
  318. noclip.TextScaled = true
  319. noclip.TextSize = 14.000
  320. noclip.TextWrapped = true
  321. noclip.MouseButton1Click:Connect(function()
  322. noclip = false
  323. game:GetService('RunService').Stepped:connect(function()
  324. if noclip then
  325. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  326. end
  327. end)
  328. plr = game.Players.LocalPlayer
  329. mouse = plr:GetMouse()
  330. mouse.KeyDown:connect(function(key)
  331.  
  332. if key == "e" then
  333. noclip = not noclip
  334. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  335. end
  336. end)
  337. print('Loaded')
  338. print('Press "E" to noclip')
  339. end)
  340.  
  341. fps.Name = "fps"
  342. fps.Parent = Frame
  343. fps.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  344. fps.BorderColor3 = Color3.fromRGB(255, 170, 255)
  345. fps.Position = UDim2.new(0.0249376558, 0, 0.367741942, 0)
  346. fps.Size = UDim2.new(0, 125, 0, 29)
  347. fps.Font = Enum.Font.SourceSans
  348. fps.Text = "FPS BOOSTER"
  349. fps.TextColor3 = Color3.fromRGB(0, 0, 0)
  350. fps.TextScaled = true
  351. fps.TextSize = 14.000
  352. fps.TextWrapped = true
  353. fps.MouseButton1Click:Connect(function()
  354. for _,v in pairs(workspace:GetDescendants()) do
  355. if v.ClassName == "Part"
  356. or v.ClassName == "SpawnLocation"
  357. or v.ClassName == "WedgePart"
  358. or v.ClassName == "Terrain"
  359. or v.ClassName == "MeshPart" then
  360. v.Material = "Plastic"
  361. end
  362. end
  363.  
  364. for _,v in pairs(workspace:GetDescendants()) do
  365. if v.ClassName == "Decal"
  366. or v.ClassName == "Texture" then
  367. v:Destroy()
  368. end
  369. end
  370. end)
  371.  
  372. graphics.Name = "graphics"
  373. graphics.Parent = Frame
  374. graphics.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  375. graphics.BorderColor3 = Color3.fromRGB(255, 170, 255)
  376. graphics.Position = UDim2.new(0.351620942, 0, 0.367741942, 0)
  377. graphics.Size = UDim2.new(0, 125, 0, 29)
  378. graphics.Font = Enum.Font.SourceSans
  379. graphics.Text = "GRAPHICS "
  380. graphics.TextColor3 = Color3.fromRGB(0, 0, 0)
  381. graphics.TextScaled = true
  382. graphics.TextSize = 14.000
  383. graphics.TextWrapped = true
  384. graphics.MouseButton1Click:Connect(function()
  385. -- Roblox Graphics Enhancher
  386. local light = game.Lighting
  387. for i, v in pairs(light:GetChildren()) do
  388. v:Destroy()
  389. end
  390.  
  391. local ter = workspace.Terrain
  392. local color = Instance.new("ColorCorrectionEffect")
  393. local bloom = Instance.new("BloomEffect")
  394. local sun = Instance.new("SunRaysEffect")
  395. local blur = Instance.new("BlurEffect")
  396.  
  397. color.Parent = light
  398. bloom.Parent = light
  399. sun.Parent = light
  400. blur.Parent = light
  401.  
  402. -- enable or disable shit
  403.  
  404. local config = {
  405.  
  406. Terrain = true;
  407. ColorCorrection = true;
  408. Sun = true;
  409. Lighting = true;
  410. BloomEffect = true;
  411.  
  412. }
  413.  
  414. -- settings {
  415.  
  416. color.Enabled = false
  417. color.Contrast = 0.15
  418. color.Brightness = 0.1
  419. color.Saturation = 0.25
  420. color.TintColor = Color3.fromRGB(255, 222, 211)
  421.  
  422. bloom.Enabled = false
  423. bloom.Intensity = 0.1
  424.  
  425. sun.Enabled = false
  426. sun.Intensity = 0.2
  427. sun.Spread = 1
  428.  
  429. bloom.Enabled = false
  430. bloom.Intensity = 0.05
  431. bloom.Size = 32
  432. bloom.Threshold = 1
  433.  
  434. blur.Enabled = false
  435. blur.Size = 6
  436.  
  437. -- settings }
  438.  
  439.  
  440. if config.ColorCorrection then
  441. color.Enabled = true
  442. end
  443.  
  444.  
  445. if config.Sun then
  446. sun.Enabled = true
  447. end
  448.  
  449.  
  450. if config.Terrain then
  451. -- settings {
  452. ter.WaterColor = Color3.fromRGB(10, 10, 24)
  453. ter.WaterWaveSize = 0.1
  454. ter.WaterWaveSpeed = 22
  455. ter.WaterTransparency = 0.9
  456. ter.WaterReflectance = 0.05
  457. -- settings }
  458. end
  459.  
  460.  
  461. if config.Lighting then
  462. -- settings {
  463. light.Ambient = Color3.fromRGB(0, 0, 0)
  464. light.Brightness = 4
  465. light.ColorShift_Bottom = Color3.fromRGB(0, 0, 0)
  466. light.ColorShift_Top = Color3.fromRGB(0, 0, 0)
  467. light.ExposureCompensation = 0
  468. light.FogColor = Color3.fromRGB(132, 132, 132)
  469. light.GlobalShadows = true
  470. light.OutdoorAmbient = Color3.fromRGB(112, 117, 128)
  471. light.Outlines = false
  472. -- settings }
  473. end
  474. end)
  475.  
  476. btools.Name = "btools"
  477. btools.Parent = Frame
  478. btools.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  479. btools.BorderColor3 = Color3.fromRGB(255, 170, 255)
  480. btools.Position = UDim2.new(0.69077307, 0, 0.367741942, 0)
  481. btools.Size = UDim2.new(0, 125, 0, 29)
  482. btools.Font = Enum.Font.SourceSans
  483. btools.Text = "BTOOLS"
  484. btools.TextColor3 = Color3.fromRGB(0, 0, 0)
  485. btools.TextScaled = true
  486. btools.TextSize = 14.000
  487. btools.TextWrapped = true
  488.  
  489. open.Name = "open"
  490. open.Parent = ScreenGui
  491. open.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  492. open.Position = UDim2.new(0.00788781792, 0, 0.413043469, 0)
  493. open.Size = UDim2.new(0, 71, 0, 29)
  494. open.Visible = false
  495. open.Font = Enum.Font.SourceSans
  496. open.Text = "OPEN"
  497. open.TextColor3 = Color3.fromRGB(0, 0, 0)
  498. open.TextSize = 14.000
  499. open.MouseButton1Down:connect(function()
  500. Frame.Visible = true
  501. open.Visible = false
  502. end)
Add Comment
Please, Sign In to add comment