Advertisement
Xen_YT

Adopt me gui

Dec 20th, 2019
180,066
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.20 KB | None | 0 1
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local RedXGUI = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local TextLabel_2 = Instance.new("TextLabel")
  10. local speed = Instance.new("TextButton")
  11. local gravity = Instance.new("TextButton")
  12. local clickTP = Instance.new("TextButton")
  13. local btools = Instance.new("TextButton")
  14. local autocash = Instance.new("TextButton")
  15. local fling = Instance.new("TextButton")
  16. local fps = Instance.new("TextButton")
  17. local speed_2 = Instance.new("TextButton")
  18. local TextLabel_3 = Instance.new("TextLabel")
  19. local close = Instance.new("TextButton")
  20. local TextLabel_4 = Instance.new("TextLabel")
  21. local open = Instance.new("TextButton")
  22.  
  23. --Properties:
  24.  
  25. ScreenGui.Parent = game.CoreGui
  26. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  27.  
  28. RedXGUI.Name = "RedXGUI"
  29. RedXGUI.Parent = ScreenGui
  30. RedXGUI.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  31. RedXGUI.BorderSizePixel = 4
  32. RedXGUI.Position = UDim2.new(0.465026885, 0, 0.275590599, 0)
  33. RedXGUI.Size = UDim2.new(0, 535, 0, 338)
  34. RedXGUI.Visible = false
  35. RedXGUI.Active = true
  36. RedXGUI.Draggable = true
  37.  
  38. TextLabel.Parent = RedXGUI
  39. TextLabel.BackgroundColor3 = Color3.new(0.435294, 0.168627, 0.52549)
  40. TextLabel.BorderColor3 = Color3.new(0, 0, 0)
  41. TextLabel.BorderSizePixel = 3
  42. TextLabel.Position = UDim2.new(0.0200752541, 0, -0.0384615362, 0)
  43. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  44. TextLabel.Font = Enum.Font.SourceSans
  45. TextLabel.Text = "REDX ADOPTME- TURNINGGLOBE"
  46. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  47. TextLabel.TextSize = 14
  48.  
  49. TextLabel_2.Parent = RedXGUI
  50. TextLabel_2.BackgroundColor3 = Color3.new(0.262745, 0.0666667, 0.435294)
  51. TextLabel_2.BorderColor3 = Color3.new(0, 0, 0)
  52. TextLabel_2.BorderSizePixel = 3
  53. TextLabel_2.Position = UDim2.new(-0.287850469, 0, 0.514792919, 0)
  54. TextLabel_2.Rotation = 90
  55. TextLabel_2.Size = UDim2.new(0, 289, 0, 11)
  56. TextLabel_2.Font = Enum.Font.SourceSans
  57. TextLabel_2.Text = ""
  58. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  59. TextLabel_2.TextSize = 14
  60.  
  61. speed.Name = "speed"
  62. speed.Parent = RedXGUI
  63. speed.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  64. speed.BackgroundTransparency = 0.5
  65. speed.BorderColor3 = Color3.new(0.258824, 0.0901961, 0.4)
  66. speed.BorderSizePixel = 3
  67. speed.Position = UDim2.new(0.0186915882, 0, 0.189349115, 0)
  68. speed.Size = UDim2.new(0, 137, 0, 31)
  69. speed.Font = Enum.Font.Gotham
  70. speed.Text = "SPEED[X]"
  71. speed.TextColor3 = Color3.new(0, 0, 0)
  72. speed.TextScaled = true
  73. speed.TextSize = 14
  74. speed.TextWrapped = true
  75. speed.MouseButton1Down:connect(function()
  76. local walkspeedplayer = game:GetService("Players").LocalPlayer
  77. local walkspeedmouse = walkspeedplayer:GetMouse()
  78.  
  79. local walkspeedenabled = false
  80.  
  81. function x_walkspeed(key)
  82. if (key == "x") then
  83. if walkspeedenabled == false then
  84. _G.WS = 200;
  85. local Humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid;
  86. Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
  87. Humanoid.WalkSpeed = _G.WS;
  88. end)
  89. Humanoid.WalkSpeed = _G.WS;
  90.  
  91. walkspeedenabled = true
  92. elseif walkspeedenabled == true then
  93. _G.WS = 20;
  94. local Humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid;
  95. Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
  96. Humanoid.WalkSpeed = _G.WS;
  97. end)
  98. Humanoid.WalkSpeed = _G.WS;
  99.  
  100. walkspeedenabled = false
  101. end
  102. end
  103. end
  104.  
  105. walkspeedmouse.KeyDown:connect(x_walkspeed)
  106.  
  107. end)
  108.  
  109. gravity.Name = "gravity"
  110. gravity.Parent = RedXGUI
  111. gravity.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  112. gravity.BackgroundTransparency = 0.5
  113. gravity.BorderColor3 = Color3.new(0.258824, 0.0901961, 0.4)
  114. gravity.BorderSizePixel = 3
  115. gravity.Position = UDim2.new(0.355140209, 0, 0.189349115, 0)
  116. gravity.Size = UDim2.new(0, 137, 0, 31)
  117. gravity.Font = Enum.Font.Gotham
  118. gravity.Text = "GRAVITY"
  119. gravity.TextColor3 = Color3.new(0, 0, 0)
  120. gravity.TextScaled = true
  121. gravity.TextSize = 14
  122. gravity.TextWrapped = true
  123. gravity.MouseButton1Down:connect(function()
  124. if Gravity == true then
  125. Gravity = false
  126. game.workspace.Gravity = 196.2
  127. else
  128. Gravity = true
  129. game.workspace.Gravity = 45
  130. end
  131. end)
  132.  
  133. clickTP.Name = "clickTP"
  134. clickTP.Parent = RedXGUI
  135. clickTP.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  136. clickTP.BackgroundTransparency = 0.5
  137. clickTP.BorderColor3 = Color3.new(0.258824, 0.0901961, 0.4)
  138. clickTP.BorderSizePixel = 3
  139. clickTP.Position = UDim2.new(0.693457961, 0, 0.189349115, 0)
  140. clickTP.Size = UDim2.new(0, 137, 0, 31)
  141. clickTP.Font = Enum.Font.Gotham
  142. clickTP.Text = "CLICKTP[N]"
  143. clickTP.TextColor3 = Color3.new(0, 0, 0)
  144. clickTP.TextScaled = true
  145. clickTP.TextSize = 14
  146. clickTP.TextWrapped = true
  147. clickTP.MouseButton1Click:Connect(function()
  148. toggle = true
  149. togglekey = "n" --Key that you will use to toggle the on and off
  150. killkey = "k" --Key that you will use to kill a player
  151. function Hint(txt)
  152. local b = Instance.new('Hint', workspace)
  153. b.Text = txt
  154. wait(2)
  155. b:Destroy()
  156. end
  157. Local = game:GetService('Players').LocalPlayer
  158. Mouse = Local:GetMouse()
  159. Mouse.Button1Down:connect(function()
  160. pcall(function()
  161. if toggle then
  162. Local.Character.HumanoidRootPart.CFrame = Local:GetMouse().Hit
  163. end
  164. end)
  165. end)
  166. Mouse.KeyDown:connect(function(key)
  167. if key == togglekey then
  168. if toggle then
  169. toggle = false
  170. Hint('Turned Off!')
  171. print ('Turned Off!')
  172. else
  173. toggle = true
  174. Hint('Turned On!')
  175. print ('Turned On!')
  176. end
  177. elseif key == killkey then
  178. if toggle then
  179. pcall(function()
  180. Mouse.Target.Parent:FindFirstChild('Humanoid').Health = 0
  181. Hint('Killed ' .. Mouse.Target.Parent.Name)
  182. end)
  183. end
  184. end
  185. end)
  186. end)
  187.  
  188. btools.Name = "btools"
  189. btools.Parent = RedXGUI
  190. btools.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  191. btools.BackgroundTransparency = 0.5
  192. btools.BorderColor3 = Color3.new(0.258824, 0.0901961, 0.4)
  193. btools.BorderSizePixel = 3
  194. btools.Position = UDim2.new(0.0186915882, 0, 0.423076928, 0)
  195. btools.Size = UDim2.new(0, 137, 0, 31)
  196. btools.Font = Enum.Font.Gotham
  197. btools.Text = "BTOOLS"
  198. btools.TextColor3 = Color3.new(0, 0, 0)
  199. btools.TextScaled = true
  200. btools.TextSize = 14
  201. btools.TextWrapped = true
  202. btools.MouseButton1Down:connect(function()
  203. game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
  204. for index, child in pairs(game:GetService("Workspace"):GetChildren()) do
  205. if child.ClassName == "Part" then
  206. child.Locked = false
  207. end
  208. if child.ClassName == "MeshPart" then
  209. child.Locked = false
  210. end
  211. if child.ClassName == "UnionOperation" then
  212. child.Locked = false
  213. end
  214. if child.ClassName == "Model" then
  215. for index, chil in pairs(child:GetChildren()) do
  216. if chil.ClassName == "Part" then
  217. chil.Locked = false
  218. end
  219. if chil.ClassName == "MeshPart" then
  220. chil.Locked = false
  221. end
  222. if chil.ClassName == "UnionOperation" then
  223. chil.Locked = false
  224. end
  225. if chil.ClassName == "Model" then
  226. for index, childe in pairs(chil:GetChildren()) do
  227. if childe.ClassName == "Part" then
  228. childe.Locked = false
  229. end
  230. if childe.ClassName == "MeshPart" then
  231. childe.Locked = false
  232. end
  233. if childe.ClassName == "UnionOperation" then
  234. childe.Locked = false
  235. end
  236. if childe.ClassName == "Model" then
  237. for index, childeo in pairs(childe:GetChildren()) do
  238. if childeo.ClassName == "Part" then
  239. childeo.Locked = false
  240. end
  241. if childeo.ClassName == "MeshPart" then
  242. childeo.Locked = false
  243. end
  244. if childeo.ClassName == "UnionOperation" then
  245. childeo.Locked = false
  246. end
  247. if childeo.ClassName == "Model" then
  248. end
  249. end
  250. end
  251. end
  252. end
  253. end
  254. end
  255. end
  256. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  257. c.BinType = Enum.BinType.Hammer
  258. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  259. c.BinType = Enum.BinType.Clone
  260. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  261. c.BinType = Enum.BinType.Grab
  262. end)
  263.  
  264. autocash.Name = "autocash"
  265. autocash.Parent = RedXGUI
  266. autocash.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  267. autocash.BackgroundTransparency = 0.5
  268. autocash.BorderColor3 = Color3.new(0.258824, 0.0901961, 0.4)
  269. autocash.BorderSizePixel = 3
  270. autocash.Position = UDim2.new(0.355140209, 0, 0.423076928, 0)
  271. autocash.Size = UDim2.new(0, 137, 0, 31)
  272. autocash.Font = Enum.Font.Gotham
  273. autocash.Text = "AUTOCASH"
  274. autocash.TextColor3 = Color3.new(0, 0, 0)
  275. autocash.TextScaled = true
  276. autocash.TextSize = 14
  277. autocash.TextWrapped = true
  278.  
  279. fling.Name = "fling"
  280. fling.Parent = RedXGUI
  281. fling.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  282. fling.BackgroundTransparency = 0.5
  283. fling.BorderColor3 = Color3.new(0.258824, 0.0901961, 0.4)
  284. fling.BorderSizePixel = 3
  285. fling.Position = UDim2.new(0.693457961, 0, 0.423076928, 0)
  286. fling.Size = UDim2.new(0, 137, 0, 31)
  287. fling.Font = Enum.Font.Gotham
  288. fling.Text = "FLINGGUI"
  289. fling.TextColor3 = Color3.new(0, 0, 0)
  290. fling.TextScaled = true
  291. fling.TextSize = 14
  292. fling.TextWrapped = true
  293. fling.MouseButton1Click:Connect(function()
  294. -- Made By JackMcJagger15
  295. local FlingKill = Instance.new("ScreenGui")
  296. local Main = Instance.new("Frame")
  297. local Label = Instance.new("Frame")
  298. local Shadow = Instance.new("Frame")
  299. local StartKill = Instance.new("TextButton")
  300. local StopKill = Instance.new("TextButton")
  301. local Instructions = Instance.new("TextLabel")
  302. local CurrentPower = Instance.new("TextLabel")
  303. local Recomendation = Instance.new("TextLabel")
  304. local NameOfGui = Instance.new("TextLabel")
  305. local Exit = Instance.new("TextButton")
  306. local UPArrow = Instance.new("TextButton")
  307. local DownArrow = Instance.new("TextButton")
  308.  
  309. -- Properties
  310.  
  311. FlingKill.Name = "Fling/Kill"
  312. FlingKill.Parent = game.CoreGui
  313.  
  314. Main.Name = "Main"
  315. Main.Parent = FlingKill
  316. Main.BackgroundColor3 = Color3.new(0.92549, 0.941177, 0.945098)
  317. Main.BorderSizePixel = 0
  318. Main.Position = UDim2.new(0.702554762, 0, 0.446640313, 0)
  319. Main.Size = UDim2.new(0, 217, 0, 233)
  320. Main.Selectable = true
  321. Main.Active = true
  322. Main.Draggable = true
  323.  
  324. Label.Name = "Label"
  325. Label.Parent = Main
  326. Label.BackgroundColor3 = Color3.new(0.741176, 0.764706, 0.780392)
  327. Label.BorderSizePixel = 0
  328. Label.Size = UDim2.new(0, 217, 0, 27)
  329.  
  330. Shadow.Name = "Shadow"
  331. Shadow.Parent = Main
  332. Shadow.BackgroundColor3 = Color3.new(0.67451, 0.694118, 0.705882)
  333. Shadow.BorderSizePixel = 0
  334. Shadow.Position = UDim2.new(0, 0, 0.115879826, 0)
  335. Shadow.Size = UDim2.new(0, 217, 0, 9)
  336.  
  337. StartKill.Name = "StartKill"
  338. StartKill.Parent = Main
  339. StartKill.BackgroundColor3 = Color3.new(0.741176, 0.764706, 0.780392)
  340. StartKill.BorderSizePixel = 0
  341. StartKill.Position = UDim2.new(0.195852548, 0, 0.227467805, 0)
  342. StartKill.Size = UDim2.new(0, 126, 0, 23)
  343. StartKill.Font = Enum.Font.Cartoon
  344. StartKill.Text = "FE Kill/Fling"
  345. StartKill.TextColor3 = Color3.new(0, 0, 0)
  346. StartKill.TextSize = 14
  347.  
  348. StopKill.Name = "StopKill"
  349. StopKill.Parent = Main
  350. StopKill.BackgroundColor3 = Color3.new(0.741176, 0.764706, 0.780392)
  351. StopKill.BorderSizePixel = 0
  352. StopKill.Position = UDim2.new(0.207373276, 0, 0.38197428, 0)
  353. StopKill.Size = UDim2.new(0, 124, 0, 23)
  354. StopKill.Font = Enum.Font.Cartoon
  355. StopKill.Text = "Stop FE Kill/Fling"
  356. StopKill.TextColor3 = Color3.new(0, 0, 0)
  357. StopKill.TextSize = 14
  358.  
  359. Instructions.Name = "Instructions"
  360. Instructions.Parent = Main
  361. Instructions.BackgroundColor3 = Color3.new(1, 1, 1)
  362. Instructions.BackgroundTransparency = 1
  363. Instructions.Position = UDim2.new(0.0391705073, 0, 0.549356222, 0)
  364. Instructions.Size = UDim2.new(0, 200, 0, 32)
  365. Instructions.Font = Enum.Font.Cartoon
  366. Instructions.Text = "Just touch someone to watch the fly to their death!"
  367. Instructions.TextColor3 = Color3.new(0, 0, 0)
  368. Instructions.TextSize = 14
  369. Instructions.TextWrapped = true
  370.  
  371. CurrentPower.Name = "CurrentPower"
  372. CurrentPower.Parent = Main
  373. CurrentPower.BackgroundColor3 = Color3.new(1, 1, 1)
  374. CurrentPower.BackgroundTransparency = 1
  375. CurrentPower.Position = UDim2.new(0.276497692, 0, 0.686695278, 0)
  376. CurrentPower.Size = UDim2.new(0, 98, 0, 36)
  377. CurrentPower.Font = Enum.Font.Cartoon
  378. CurrentPower.Text = "Current Power = 5"
  379. CurrentPower.TextColor3 = Color3.new(0, 0, 0)
  380. CurrentPower.TextSize = 14
  381.  
  382. Recomendation.Name = "Recomendation"
  383. Recomendation.Parent = Main
  384. Recomendation.BackgroundColor3 = Color3.new(1, 1, 1)
  385. Recomendation.BackgroundTransparency = 1
  386. Recomendation.Position = UDim2.new(0.0414746553, 0, 0.884120166, 0)
  387. Recomendation.Size = UDim2.new(0, 200, 0, 21)
  388. Recomendation.Font = Enum.Font.Cartoon
  389. Recomendation.Text = "Recommended Power is 5"
  390. Recomendation.TextColor3 = Color3.new(0, 0, 0)
  391. Recomendation.TextSize = 14
  392.  
  393. NameOfGui.Name = "NameOfGui"
  394. NameOfGui.Parent = Main
  395. NameOfGui.BackgroundColor3 = Color3.new(1, 1, 1)
  396. NameOfGui.BackgroundTransparency = 1
  397. NameOfGui.Position = UDim2.new(0.0806451589, 0, 0, 0)
  398. NameOfGui.Size = UDim2.new(0, 154, 0, 27)
  399. NameOfGui.Font = Enum.Font.Cartoon
  400. NameOfGui.Text = "FE Kill/Fling By JackMcJagger15"
  401. NameOfGui.TextColor3 = Color3.new(0, 0, 0)
  402. NameOfGui.TextSize = 14
  403.  
  404. Exit.Name = "Exit"
  405. Exit.Parent = Main
  406. Exit.BackgroundColor3 = Color3.new(1, 1, 1)
  407. Exit.BackgroundTransparency = 1
  408. Exit.Position = UDim2.new(0.907834113, 0, 0, 0)
  409. Exit.Size = UDim2.new(0, 20, 0, 27)
  410. Exit.Font = Enum.Font.Cartoon
  411. Exit.Text = "X"
  412. Exit.TextColor3 = Color3.new(0, 0, 0)
  413. Exit.TextSize = 14
  414.  
  415. UPArrow.Name = "UPArrow"
  416. UPArrow.Parent = Main
  417. UPArrow.BackgroundColor3 = Color3.new(1, 1, 1)
  418. UPArrow.BackgroundTransparency = 1
  419. UPArrow.Position = UDim2.new(0.0783410147, 0, 0.716738224, 0)
  420. UPArrow.Size = UDim2.new(0, 26, 0, 23)
  421. UPArrow.Font = Enum.Font.Cartoon
  422. UPArrow.Text = "Up"
  423. UPArrow.TextColor3 = Color3.new(0, 0, 0)
  424. UPArrow.TextSize = 12
  425. UPArrow.TextWrapped = true
  426.  
  427. DownArrow.Name = "DownArrow"
  428. DownArrow.Parent = Main
  429. DownArrow.BackgroundColor3 = Color3.new(1, 1, 1)
  430. DownArrow.BackgroundTransparency = 1
  431. DownArrow.Position = UDim2.new(0.792626739, 0, 0.714592278, 0)
  432. DownArrow.Size = UDim2.new(0, 26, 0, 23)
  433. DownArrow.Font = Enum.Font.Cartoon
  434. DownArrow.Text = "Down"
  435. DownArrow.TextColor3 = Color3.new(0, 0, 0)
  436. DownArrow.TextSize = 12
  437. DownArrow.TextWrapped = true
  438.  
  439. power = 500
  440. active = false
  441. local val = Instance.new("IntValue")
  442. val.Name = "Number"
  443. val.Parent = game.Players.LocalPlayer
  444. val.Value = 5
  445.  
  446. Exit.MouseButton1Click:connect(function()
  447. FlingKill.Enabled = false
  448. end)
  449.  
  450. StartKill.MouseButton1Click:connect(function()
  451. game:GetService('RunService').Stepped:connect(function()
  452. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  453. game.Players.LocalPlayer.Character.Head.CanCollide = false
  454. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  455. game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
  456. game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
  457. else
  458. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  459. game.Players.LocalPlayer.Character.Head.CanCollide = false
  460. game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false
  461. game.Players.LocalPlayer.Character.LowerTorso.CanCollide = false
  462. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  463. end
  464. end
  465. end)
  466. wait(.1)
  467. local bambam = Instance.new("BodyThrust")
  468. bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  469. bambam.Force = Vector3.new(power,0,power)
  470. bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  471. end)
  472.  
  473. StopKill.MouseButton1Click:connect(function()
  474. active = false
  475. game.Players.LocalPlayer.Character.HumanoidRootPart.BodyThrust:Remove()
  476. end)
  477.  
  478. UPArrow.MouseButton1Click:connect(function()
  479. power = power + 100
  480. game.Players.LocalPlayer.Number.Value = game.Players.LocalPlayer.Number.Value + 1
  481. CurrentPower.Text = "Current Power = " .. game.Players.LocalPlayer.Number.Value
  482. end)
  483.  
  484. DownArrow.MouseButton1Click:connect(function()
  485. power = power - 100
  486. game.Players.LocalPlayer.Number.Value = game.Players.LocalPlayer.Number.Value - 1
  487. CurrentPower.Text = "Current Power = " .. game.Players.LocalPlayer.Number.Value
  488. end)
  489. end)
  490.  
  491. fps.Name = "fps"
  492. fps.Parent = RedXGUI
  493. fps.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  494. fps.BackgroundTransparency = 0.5
  495. fps.BorderColor3 = Color3.new(0.258824, 0.0901961, 0.4)
  496. fps.BorderSizePixel = 3
  497. fps.Position = UDim2.new(0.0186915882, 0, 0.636094689, 0)
  498. fps.Size = UDim2.new(0, 137, 0, 31)
  499. fps.Font = Enum.Font.SourceSans
  500. fps.Text = "FPSBOOSTER"
  501. fps.TextColor3 = Color3.new(0, 0, 0)
  502. fps.TextScaled = true
  503. fps.TextSize = 14
  504. fps.TextWrapped = true
  505. fps.MouseButton1Click:Connect(function()
  506. for _,v in pairs(workspace:GetDescendants()) do
  507. if v.ClassName == "Part"
  508. or v.ClassName == "SpawnLocation"
  509. or v.ClassName == "WedgePart"
  510. or v.ClassName == "Terrain"
  511. or v.ClassName == "MeshPart" then
  512. v.Material = "Plastic"
  513. end
  514. end
  515.  
  516. for _,v in pairs(workspace:GetDescendants()) do
  517. if v.ClassName == "Decal"
  518. or v.ClassName == "Texture" then
  519. v:Destroy()
  520. end
  521. end
  522. end)
  523.  
  524. speed_2.Name = "speed"
  525. speed_2.Parent = RedXGUI
  526. speed_2.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  527. speed_2.BackgroundTransparency = 0.5
  528. speed_2.BorderColor3 = Color3.new(0.258824, 0.0901961, 0.4)
  529. speed_2.BorderSizePixel = 3
  530. speed_2.Position = UDim2.new(0.355140179, 0, 0.636094689, 0)
  531. speed_2.Size = UDim2.new(0, 318, 0, 31)
  532. speed_2.Font = Enum.Font.Gotham
  533. speed_2.Text = "FLY[Q]"
  534. speed_2.TextColor3 = Color3.new(0, 0, 0)
  535. speed_2.TextScaled = true
  536. speed_2.TextSize = 14
  537. speed_2.TextWrapped = true
  538. speed_2.MouseButton1Down:connect(function()
  539. local Enabled = false
  540. local Camera = game.Workspace.CurrentCamera
  541. local Player = game:GetService("Players").LocalPlayer
  542. local Input = game:GetService("UserInputService")
  543. local Forward = false
  544. local Back = false
  545. local Left = false
  546. local Right = false
  547. local Up = false
  548. local Down = false
  549.  
  550. local function SetPlayer()
  551. for i,v in pairs(Player.Character:GetChildren()) do
  552. pcall(function()
  553. v.Anchored = not v.Anchored
  554. end)
  555. end
  556. end
  557.  
  558. Input.InputBegan:Connect(function(Key,IsChat)
  559. if IsChat then return end
  560. if Key.KeyCode == Enum.KeyCode.Q then
  561. Enabled = not Enabled
  562. SetPlayer()
  563. end
  564. if Key.KeyCode == Enum.KeyCode.W then
  565. Forward = true
  566. end
  567. if Key.KeyCode == Enum.KeyCode.S then
  568. Back = true
  569. end
  570. if Key.KeyCode == Enum.KeyCode.A then
  571. Left = true
  572. end
  573. if Key.KeyCode == Enum.KeyCode.D then
  574. Right = true
  575. end
  576. if Key.KeyCode == Enum.KeyCode.Space then
  577. Up = true
  578. end
  579. if Key.KeyCode == Enum.KeyCode.LeftControl then
  580. Down = true
  581. end
  582. end)
  583.  
  584. Input.InputEnded:Connect(function(Key,IsChat)
  585. if IsChat then return end
  586. if Key.KeyCode == Enum.KeyCode.W then
  587. Forward = false
  588. end
  589. if Key.KeyCode == Enum.KeyCode.S then
  590. Back = false
  591. end
  592. if Key.KeyCode == Enum.KeyCode.A then
  593. Left = false
  594. end
  595. if Key.KeyCode == Enum.KeyCode.D then
  596. Right = false
  597. end
  598. if Key.KeyCode == Enum.KeyCode.Space then
  599. Up = false
  600. end
  601. if Key.KeyCode == Enum.KeyCode.LeftControl then
  602. Down = false
  603. end
  604. end)
  605.  
  606. while game:GetService("RunService").RenderStepped:Wait() do
  607. if Enabled then
  608. pcall(function()
  609. if Forward then
  610. Player.Character:TranslateBy(Camera.CFrame.lookVector*2)
  611. end
  612. if Back then
  613. Player.Character:TranslateBy(-Camera.CFrame.lookVector*2)
  614. end
  615. if Left then
  616. Player.Character:TranslateBy(-Camera.CFrame:vectorToWorldSpace(Vector3.new(1,0,0))*2)
  617. end
  618. if Right then
  619. Player.Character:TranslateBy(Camera.CFrame:vectorToWorldSpace(Vector3.new(1,0,0))*2)
  620. end
  621. if Up then
  622. Player.Character:TranslateBy(Camera.CFrame:vectorToWorldSpace(Vector3.new(0,1,0))*2)
  623. end
  624. if Down then
  625. Player.Character:TranslateBy(-Camera.CFrame:vectorToWorldSpace(Vector3.new(0,1,0))*2)
  626. end
  627. end)
  628. end
  629. end
  630. end)
  631.  
  632. TextLabel_3.Parent = RedXGUI
  633. TextLabel_3.BackgroundColor3 = Color3.new(0.317647, 0.156863, 0.458824)
  634. TextLabel_3.BorderSizePixel = 3
  635. TextLabel_3.Position = UDim2.new(0.0672897175, 0, 0.547337294, 0)
  636. TextLabel_3.Rotation = 90
  637. TextLabel_3.Size = UDim2.new(0, 261, 0, 6)
  638. TextLabel_3.Font = Enum.Font.SourceSans
  639. TextLabel_3.Text = ""
  640. TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
  641. TextLabel_3.TextSize = 14
  642.  
  643. close.Name = "close"
  644. close.Parent = RedXGUI
  645. close.BackgroundColor3 = Color3.new(0.34902, 0, 0.52549)
  646. close.BorderSizePixel = 3
  647. close.Position = UDim2.new(0.893457949, 0, 0.0384615399, 0)
  648. close.Size = UDim2.new(0, 30, 0, 24)
  649. close.Font = Enum.Font.SourceSans
  650. close.Text = "X"
  651. close.TextColor3 = Color3.new(0, 0, 0)
  652. close.TextScaled = true
  653. close.TextSize = 14
  654. close.TextWrapped = true
  655. close.MouseButton1Down:connect(function()
  656. RedXGUI.Visible = false
  657. open.Visible = true
  658. end)
  659.  
  660. TextLabel_4.Parent = RedXGUI
  661. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  662. TextLabel_4.BackgroundTransparency = 1
  663. TextLabel_4.Position = UDim2.new(0.428359777, 0, 0.794960082, 0)
  664. TextLabel_4.Size = UDim2.new(0, 245, 0, 55)
  665. TextLabel_4.Font = Enum.Font.Gotham
  666. TextLabel_4.Text = "SUBSCRIBE TO TURNINGLOBERB ON YOUTUBE"
  667. TextLabel_4.TextColor3 = Color3.new(0, 0, 0)
  668. TextLabel_4.TextScaled = true
  669. TextLabel_4.TextSize = 14
  670. TextLabel_4.TextWrapped = true
  671.  
  672. open.Name = "open"
  673. open.Parent = ScreenGui
  674. open.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  675. open.BorderSizePixel = 3
  676. open.Position = UDim2.new(0.00538047682, 0, 0.412598431, 0)
  677. open.Size = UDim2.new(0, 75, 0, 31)
  678. open.Font = Enum.Font.Gotham
  679. open.Text = "OPEN"
  680. open.TextColor3 = Color3.new(0, 0, 0)
  681. open.TextScaled = true
  682. open.TextSize = 14
  683. open.TextWrapped = true
  684. open.MouseButton1Down:connect(function()
  685. RedXGUI.Visible = true
  686. open.Visible = false
  687. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement