Advertisement
Pure_Guy

oofy gui V2 by Pure Random

May 30th, 2019
690
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.83 KB | None | 0 0
  1. -- made by PureRandom
  2. -- Version 0.2
  3.  
  4.  
  5. --------------------------------------------
  6. -- change log --
  7.  
  8. -- removed login frame --
  9. -- add 4 more buttons --
  10.  
  11. -- change log --
  12. ---------------------------------------------
  13.  
  14.  
  15. -- Instances:
  16. local oofyGUI = Instance.new("ScreenGui")
  17. local maingui = Instance.new("Frame")
  18. local title = Instance.new("TextLabel")
  19. local god = Instance.new("TextButton")
  20. local Btools = Instance.new("TextButton")
  21. local speed = Instance.new("TextButton")
  22. local eclickTP = Instance.new("TextButton")
  23. local close = Instance.new("TextButton")
  24. local feflood = Instance.new("TextButton")
  25. local Noclip = Instance.new("TextButton")
  26. local DEX = Instance.new("TextButton")
  27. local fly = Instance.new("TextButton")
  28. --Properties:
  29.  
  30. oofyGUI.Name = "oofy GUI"
  31. oofyGUI.Parent = game.CoreGui
  32.  
  33. maingui.Name = "maingui"
  34. maingui.Parent = oofyGUI
  35. maingui.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  36. maingui.Position = UDim2.new(0.680198014, 0, 0.246346563, 0)
  37. maingui.Size = UDim2.new(0, 323, 0, 309)
  38. maingui.Draggable = true
  39. maingui.Active = true
  40.  
  41. title.Name = "title"
  42. title.Parent = maingui
  43. title.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  44. title.BorderSizePixel = 0
  45. title.Position = UDim2.new(0.269349843, 0, 0, 0)
  46. title.Size = UDim2.new(0, 149, 0, 36)
  47. title.Font = Enum.Font.SciFi
  48. title.Text = "oofy gui V2"
  49. title.TextColor3 = Color3.new(0, 0, 0)
  50. title.TextSize = 20
  51.  
  52. god.Name = "god"
  53. god.Parent = maingui
  54. god.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
  55. god.Position = UDim2.new(0, 0, 0.203883499, 0)
  56. god.Size = UDim2.new(0, 149, 0, 50)
  57. god.Font = Enum.Font.SourceSans
  58. god.Text = "FE god"
  59. god.TextColor3 = Color3.new(0, 0, 0)
  60. god.TextSize = 14
  61. god.MouseButton1Down:connect(function()
  62.     game.Players.LocalPlayer.Character.Humanoid.Name = 1
  63. local l = game.Players.LocalPlayer.Character["1"]:Clone()
  64. l.Parent = game.Players.LocalPlayer.Character
  65. l.Name = "Humanoid"
  66. wait(0.1)
  67. game.Players.LocalPlayer.Character["1"]:Destroy()
  68. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  69. game.Players.LocalPlayer.Character.Animate.Disabled = true
  70. wait(0.1)
  71. game.Players.LocalPlayer.Character.Animate.Disabled = false
  72. game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  73. end)
  74.  
  75. Btools.Name = "Btools"
  76. Btools.Parent = maingui
  77. Btools.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
  78. Btools.Position = UDim2.new(0, 0, 0.41747573, 0)
  79. Btools.Size = UDim2.new(0, 149, 0, 50)
  80. Btools.Font = Enum.Font.SourceSans
  81. Btools.Text = "Btools"
  82. Btools.TextColor3 = Color3.new(0, 0, 0)
  83. Btools.TextSize = 14
  84. Btools.MouseButton1Down:connect(function()
  85.     game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
  86. for index, child in pairs(game:GetService("Workspace"):GetChildren()) do
  87.    if child.ClassName == "Part" then
  88.        child.Locked = false
  89.    end
  90.    if child.ClassName == "MeshPart" then
  91.        child.Locked = false
  92.    end
  93.    if child.ClassName == "UnionOperation" then
  94.        child.Locked = false
  95.    end
  96.    if child.ClassName == "Model" then
  97.        for index, chil in pairs(child:GetChildren()) do
  98.            if chil.ClassName == "Part" then
  99.                chil.Locked = false
  100.            end
  101.            if chil.ClassName == "MeshPart" then
  102.                chil.Locked = false
  103.            end
  104.            if chil.ClassName == "UnionOperation" then
  105.                chil.Locked = false
  106.            end
  107.            if chil.ClassName == "Model" then
  108.                for index, childe in pairs(chil:GetChildren()) do
  109.                    if childe.ClassName == "Part" then
  110.                        childe.Locked = false
  111.                    end
  112.                    if childe.ClassName == "MeshPart" then
  113.                        childe.Locked = false
  114.                    end
  115.                    if childe.ClassName == "UnionOperation" then
  116.                        childe.Locked = false
  117.                    end
  118.                    if childe.ClassName == "Model" then
  119.                        for index, childeo in pairs(childe:GetChildren()) do
  120.                            if childeo.ClassName == "Part" then
  121.                                childeo.Locked = false
  122.                            end
  123.                            if childeo.ClassName == "MeshPart" then
  124.                                childeo.Locked = false
  125.                            end
  126.                            if childeo.ClassName == "UnionOperation" then
  127.                                childeo.Locked = false
  128.                            end
  129.                            if childeo.ClassName == "Model" then
  130.                            end
  131.                        end
  132.                    end
  133.                end
  134.            end
  135.        end
  136.    end
  137. end
  138. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  139. c.BinType = Enum.BinType.Hammer
  140. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  141. c.BinType = Enum.BinType.Clone
  142. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  143. c.BinType = Enum.BinType.Grab
  144. end)
  145.  
  146. speed.Name = "speed"
  147. speed.Parent = maingui
  148. speed.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
  149. speed.Position = UDim2.new(0, 0, 0.631067991, 0)
  150. speed.Size = UDim2.new(0, 149, 0, 50)
  151. speed.Font = Enum.Font.SourceSans
  152. speed.Text = "Speed"
  153. speed.TextColor3 = Color3.new(0, 0, 0)
  154. speed.TextSize = 14
  155. speed.MouseButton1Down:connect(function()
  156.     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
  157. end)
  158.  
  159. eclickTP.Name = "e + click TP"
  160. eclickTP.Parent = maingui
  161. eclickTP.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
  162. eclickTP.Position = UDim2.new(0, 0, 0.838187754, 0)
  163. eclickTP.Size = UDim2.new(0, 149, 0, 50)
  164. eclickTP.Font = Enum.Font.SourceSans
  165. eclickTP.Text = "E + Click TP"
  166. eclickTP.TextColor3 = Color3.new(0, 0, 0)
  167. eclickTP.TextSize = 14
  168. eclickTP.MouseButton1Down:connect(function()
  169.     local enableKey = "e" -- what key you need to press to teleport
  170.  
  171. ------------------------------------
  172. -- getting needed locals
  173. local p = game.Players.LocalPlayer
  174. local mouse = p:GetMouse()
  175. local char = p.Character
  176. -- creating gui creation functions
  177. local function setProperties(gui,t)
  178.     gui.BackgroundColor3 = Color3.new(0,0,0)
  179.     gui.BackgroundTransparency = t
  180.     gui.BorderSizePixel = 0
  181. end
  182.  
  183. local function setText(gui,te)
  184.     gui.TextStrokeTransparency = 0
  185.     gui.TextStrokeColor3 = Color3.new(255,255,255)
  186.     gui.TextColor3 = Color3.new(0,0,0)
  187.     gui.Text = te
  188.     gui.TextScaled = true
  189.     gui.TextXAlignment = Enum.TextXAlignment.Center
  190. end
  191. --- creating gui
  192. local gui = Instance.new("ScreenGui",p.PlayerGui)
  193. gui.Name = "TeleportationInfo"
  194. local f = Instance.new("Frame",gui)
  195. f.Size = UDim2.new(0.2,0,0.4,0)
  196. f.Position = UDim2.new(1,0,0.3,0)
  197. setProperties(f,0.5)
  198. local open = Instance.new("TextButton",gui)
  199. open.Name = "Open"
  200. setProperties(open,0.5)
  201. setText(open,"Tele Help")
  202. open.Size = UDim2.new(0.1,0,0.05,0)
  203. open.Position = UDim2.new(1 - open.Size.X.Scale,0,0.5,0)
  204. local text = Instance.new("TextLabel",f)
  205. text.Name = "Text"
  206. setProperties(text,1)
  207. text.Size = UDim2.new(1,0,0.8,0)
  208. setText(text,"Hold 'e' and click where you want to teleport. Click on this gui to close.")
  209. local name = "elite_doge"
  210. local text2  = text:Clone()
  211. text2.Parent = text.Parent
  212. text2.Size = UDim2.new(1,0,0.2,0)
  213. text2.Position = UDim2.new(0,0,0.8,0)
  214. text2.Name = "Creator"
  215. local isOpen = false
  216. local close = Instance.new("TextButton",f)
  217. close.Name = "Close"
  218. text2.Text = "Developed by " .. name.. ", 1/11/2015"
  219. setProperties(close,1)
  220. close.Visible = false
  221. close.Text = ""
  222. close.Size = UDim2.new(1,0,1,0)
  223. -- creating gui functions
  224. close.MouseButton1Down:connect(function()
  225.     if isOpen == true then
  226.         f:TweenPosition(UDim2.new(1,0,0.3,0),"InOut","Quad",1,true)
  227.         open:TweenPosition(UDim2.new(1 - open.Size.X.Scale,0,0.5,0),"InOut","Quad",1,true)
  228.         isOpen = false
  229.         close.Visible = false
  230.     else
  231.         close.Visible = false
  232.         open:TweenPosition(UDim2.new(1,0,0.5,0),"InOut","Quad",1,true)
  233.     end
  234. end)
  235.  
  236. open.MouseButton1Down:connect(function()
  237.     if isOpen == false then
  238.         isOpen = true
  239.         f:TweenPosition(UDim2.new(1 - f.Size.X.Scale,0,0.3,0),"InOut","Quad",1,true)
  240.         open:TweenPosition(UDim2.new(1,0,0.5,0),"InOut","Quad",1,true)
  241.         close.Visible = true
  242.     end
  243. end)
  244. -- click and keydown functions
  245. local enabled = false
  246.  
  247. mouse.KeyDown:connect(function(key)
  248.     key = key:lower()
  249.     if key == "e" then
  250.         enabled = true
  251.     end
  252. end)
  253.  
  254. mouse.KeyUp:connect(function(key)
  255.     key = key:lower()
  256.     if key == "e" then
  257.         enabled = false
  258.     end
  259. end)
  260.  
  261. mouse.Button1Down:connect(function()
  262.     if char and enabled == true then
  263.         char.HumanoidRootPart.CFrame = mouse.Hit + Vector3.new(0,7,0)
  264.     end
  265. end)
  266. end)
  267.  
  268. close.Name = "close"
  269. close.Parent = maingui
  270. close.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  271. close.Position = UDim2.new(0.89823252, 0, 9.31322575e-10, 0)
  272. close.Size = UDim2.new(0, 32, 0, 28)
  273. close.Font = Enum.Font.SourceSans
  274. close.Text = "X"
  275. close.TextColor3 = Color3.new(0, 0, 0)
  276. close.TextSize = 14
  277.  
  278. feflood.Name = "fe flood"
  279. feflood.Parent = maingui
  280. feflood.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
  281. feflood.Position = UDim2.new(0.537155151, 0, 0.203883529, 0)
  282. feflood.Size = UDim2.new(0, 149, 0, 50)
  283. feflood.Font = Enum.Font.SourceSans
  284. feflood.Text = "fe flood"
  285. feflood.TextColor3 = Color3.new(0, 0, 0)
  286. feflood.TextSize = 14
  287. feflood.MouseButton1Down:connect(function()
  288.     local region = Region3.new(Vector3.new(-1250,0,-1250), Vector3.new(1250,18,1250))
  289. region = region:ExpandToGrid(4)
  290. game.Workspace.Terrain:FillRegion(region, 4, Enum.Material.Water)
  291. end)
  292.  
  293. Noclip.Name = "Noclip"
  294. Noclip.Parent = maingui
  295. Noclip.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
  296. Noclip.Position = UDim2.new(0.538699687, 0, 0.41747576, 0)
  297. Noclip.Size = UDim2.new(0, 149, 0, 50)
  298. Noclip.Font = Enum.Font.SourceSans
  299. Noclip.Text = "Noclip"
  300. Noclip.TextColor3 = Color3.new(0, 0, 0)
  301. Noclip.TextSize = 14
  302. Noclip.MouseButton1Down:connect(function()
  303.     noclip = false
  304. game:GetService('RunService').Stepped:connect(function()
  305. if noclip then
  306. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  307. end
  308. end)
  309. plr = game.Players.LocalPlayer
  310. mouse = plr:GetMouse()
  311. mouse.KeyDown:connect(function(key)
  312.  
  313. if key == "q" then
  314. noclip = not noclip
  315. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  316. end
  317. end)
  318. end)
  319.  
  320. DEX.Name = "DEX"
  321. DEX.Parent = maingui
  322. DEX.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
  323. DEX.Position = UDim2.new(0.538699687, 0, 0.627831757, 0)
  324. DEX.Size = UDim2.new(0, 149, 0, 50)
  325. DEX.Font = Enum.Font.SourceSans
  326. DEX.Text = "DEX"
  327. DEX.TextColor3 = Color3.new(0, 0, 0)
  328. DEX.TextSize = 14
  329. DEX.MouseButton1Down:connect(function()
  330.     loadstring(game:GetObjects('rbxassetid://2180084478')[1].Source)()
  331. end)
  332.  
  333. fly.Name = "fly"
  334. fly.Parent = maingui
  335. fly.BackgroundColor3 = Color3.new(1, 0.215686, 0.227451)
  336. fly.Position = UDim2.new(0.538699687, 0, 0.838187754, 0)
  337. fly.Size = UDim2.new(0, 149, 0, 50)
  338. fly.Font = Enum.Font.SourceSans
  339. fly.Text = "fly"
  340. fly.TextColor3 = Color3.new(0, 0, 0)
  341. fly.TextSize = 14
  342. fly.MouseButton1Down:connect(function()
  343.     repeat wait()
  344.     until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  345. local mouse = game.Players.LocalPlayer:GetMouse()
  346. repeat wait() until mouse
  347. local plr = game.Players.LocalPlayer
  348. local torso = plr.Character.Torso
  349. local flying = true
  350. local deb = true
  351. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  352. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  353. local maxspeed = 50
  354. local speed = 0
  355.  
  356. function Fly()
  357. local bg = Instance.new("BodyGyro", torso)
  358. bg.P = 9e4
  359. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  360. bg.cframe = torso.CFrame
  361. local bv = Instance.new("BodyVelocity", torso)
  362. bv.velocity = Vector3.new(0,0.1,0)
  363. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  364. repeat wait()
  365. plr.Character.Humanoid.PlatformStand = true
  366. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  367. speed = speed+.5+(speed/maxspeed)
  368. if speed > maxspeed then
  369. speed = maxspeed
  370. end
  371. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  372. speed = speed-1
  373. if speed < 0 then
  374. speed = 0
  375. end
  376. end
  377. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  378. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  379. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  380. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  381. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  382. else
  383. bv.velocity = Vector3.new(0,0.1,0)
  384. end
  385. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  386. until not flying
  387. ctrl = {f = 0, b = 0, l = 0, r = 0}
  388. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  389. speed = 0
  390. bg:Destroy()
  391. bv:Destroy()
  392. plr.Character.Humanoid.PlatformStand = false
  393. end
  394. mouse.KeyDown:connect(function(key)
  395. if key:lower() == "e" then
  396. if flying then flying = false
  397. else
  398. flying = true
  399. Fly()
  400. end
  401. elseif key:lower() == "w" then
  402. ctrl.f = 1
  403. elseif key:lower() == "s" then
  404. ctrl.b = -1
  405. elseif key:lower() == "a" then
  406. ctrl.l = -1
  407. elseif key:lower() == "d" then
  408. ctrl.r = 1
  409. end
  410. end)
  411. mouse.KeyUp:connect(function(key)
  412. if key:lower() == "w" then
  413. ctrl.f = 0
  414. elseif key:lower() == "s" then
  415. ctrl.b = 0
  416. elseif key:lower() == "a" then
  417. ctrl.l = 0
  418. elseif key:lower() == "d" then
  419. ctrl.r = 0
  420. end
  421. end)
  422. Fly()
  423. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement