9_cVv

114514 gui

Dec 2nd, 2020 (edited)
843
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local gamehahagamehaha = Instance.new("ScreenGui")
  7. local loadFrame = Instance.new("ImageLabel")
  8. local openButton = Instance.new("TextButton")
  9. local roundify = Instance.new("ImageLabel")
  10. local openLabel = Instance.new("TextLabel")
  11. local creds = Instance.new("TextLabel")
  12. local funnyhahamoment = Instance.new("TextLabel")
  13. local main = Instance.new("ImageLabel")
  14. local creds_2 = Instance.new("TextLabel")
  15. local funnyhahamoment_2 = Instance.new("TextLabel")
  16. local toggleButton = Instance.new("TextButton")
  17. local roundify_2 = Instance.new("ImageLabel")
  18. local toggleLabel = Instance.new("TextLabel")
  19. local toggle = Instance.new("ImageLabel")
  20. local timesBox = Instance.new("TextBox")
  21.  
  22. --Properties:
  23.  
  24. gamehahagamehaha.Name = "gamehahagamehaha"
  25. gamehahagamehaha.Parent = game:GetService("CoreGui")
  26.  
  27. loadFrame.Name = "loadFrame"
  28. loadFrame.Parent = gamehahagamehaha
  29. loadFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  30. loadFrame.BackgroundTransparency = 1.000
  31. loadFrame.Position = UDim2.new(0.338912129, 0, 0.364520073, 0)
  32. loadFrame.Size = UDim2.new(0, 216, 0, 99)
  33. loadFrame.Image = "rbxassetid://3570695787"
  34. loadFrame.ImageColor3 = Color3.fromRGB(90, 90, 90)
  35. loadFrame.ScaleType = Enum.ScaleType.Slice
  36. loadFrame.SliceCenter = Rect.new(100, 100, 100, 100)
  37. loadFrame.SliceScale = 0.120
  38.  
  39. openButton.Name = "openButton"
  40. openButton.Parent = loadFrame
  41. openButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  42. openButton.BackgroundTransparency = 1.000
  43. openButton.BorderSizePixel = 0
  44. openButton.Position = UDim2.new(0.135209545, 0, 0, 50)
  45. openButton.Size = UDim2.new(0, 156, 0, 31)
  46. openButton.Font = Enum.Font.GothamBlack
  47. openButton.Text = "Open"
  48. openButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  49. openButton.TextSize = 20.000
  50.  
  51. roundify.Name = "roundify"
  52. roundify.Parent = openButton
  53. roundify.Active = true
  54. roundify.AnchorPoint = Vector2.new(0.5, 0.5)
  55. roundify.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  56. roundify.BackgroundTransparency = 1.000
  57. roundify.Position = UDim2.new(0.5, 0, 0.5, 0)
  58. roundify.Selectable = true
  59. roundify.Size = UDim2.new(1, 0, 1, 0)
  60. roundify.Image = "rbxassetid://3570695787"
  61. roundify.ImageColor3 = Color3.fromRGB(100, 100, 100)
  62. roundify.ScaleType = Enum.ScaleType.Slice
  63. roundify.SliceCenter = Rect.new(100, 100, 100, 100)
  64. roundify.SliceScale = 0.120
  65.  
  66. openLabel.Name = "openLabel"
  67. openLabel.Parent = openButton
  68. openLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  69. openLabel.BackgroundTransparency = 1.000
  70. openLabel.BorderSizePixel = 0
  71. openLabel.Size = UDim2.new(0, 156, 0, 31)
  72. openLabel.Font = Enum.Font.GothamBlack
  73. openLabel.Text = "Open"
  74. openLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  75. openLabel.TextSize = 20.000
  76. openLabel.TextWrapped = true
  77.  
  78. creds.Name = "creds"
  79. creds.Parent = loadFrame
  80. creds.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  81. creds.BackgroundTransparency = 1.000
  82. creds.BorderSizePixel = 0
  83. creds.Size = UDim2.new(0, 216, 0, 27)
  84. creds.Font = Enum.Font.GothamBlack
  85. creds.Text = "Made by TechHog#8983"
  86. creds.TextColor3 = Color3.fromRGB(255, 255, 255)
  87. creds.TextScaled = true
  88. creds.TextSize = 20.000
  89. creds.TextWrapped = true
  90.  
  91. funnyhahamoment.Name = "funnyhahamoment"
  92. funnyhahamoment.Parent = loadFrame
  93. funnyhahamoment.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  94. funnyhahamoment.BackgroundTransparency = 1.000
  95. funnyhahamoment.BorderSizePixel = 0
  96. funnyhahamoment.Position = UDim2.new(-0.00462962966, 0, 0.181818187, 0)
  97. funnyhahamoment.Size = UDim2.new(0, 216, 0, 23)
  98. funnyhahamoment.Font = Enum.Font.GothamBlack
  99. funnyhahamoment.Text = "Yes, I took the time out of my day to make this"
  100. funnyhahamoment.TextColor3 = Color3.fromRGB(255, 255, 255)
  101. funnyhahamoment.TextWrapped = true
  102.  
  103. main.Name = "main"
  104. main.Parent = gamehahagamehaha
  105. main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  106. main.BackgroundTransparency = 1.000
  107. main.Position = UDim2.new(0.317663819, 0, 0.363305032, 0)
  108. main.Size = UDim2.new(0, 230, 0, 128)
  109. main.Image = "rbxassetid://3570695787"
  110. main.ImageColor3 = Color3.fromRGB(90, 90, 90)
  111. main.ScaleType = Enum.ScaleType.Slice
  112. main.SliceCenter = Rect.new(100, 100, 100, 100)
  113. main.SliceScale = 0.120
  114. main.Visible = false
  115.  
  116. creds_2.Name = "creds"
  117. creds_2.Parent = main
  118. creds_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  119. creds_2.BackgroundTransparency = 1.000
  120. creds_2.BorderSizePixel = 0
  121. creds_2.Position = UDim2.new(0.000298607862, 0, 0, 0)
  122. creds_2.Size = UDim2.new(0, 229, 0, 27)
  123. creds_2.Font = Enum.Font.GothamBlack
  124. creds_2.Text = "Made by TechHog#8984"
  125. creds_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  126. creds_2.TextScaled = true
  127. creds_2.TextSize = 20.000
  128. creds_2.TextWrapped = true
  129.  
  130. funnyhahamoment_2.Name = "funnyhahamoment"
  131. funnyhahamoment_2.Parent = main
  132. funnyhahamoment_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  133. funnyhahamoment_2.BackgroundTransparency = 1.000
  134. funnyhahamoment_2.BorderSizePixel = 0
  135. funnyhahamoment_2.Position = UDim2.new(-0.00462964922, 0, 0.181818187, 0)
  136. funnyhahamoment_2.Size = UDim2.new(0, 229, 0, 12)
  137. funnyhahamoment_2.Font = Enum.Font.GothamBlack
  138. funnyhahamoment_2.Text = "Yes, I took the time out of my day to make this"
  139. funnyhahamoment_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  140. funnyhahamoment_2.TextWrapped = true
  141.  
  142. toggleButton.Name = "toggleButton"
  143. toggleButton.Parent = main
  144. toggleButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  145. toggleButton.BackgroundTransparency = 1.000
  146. toggleButton.BorderSizePixel = 0
  147. toggleButton.Position = UDim2.new(0.156948671, 0, 0.101885319, 50)
  148. toggleButton.Size = UDim2.new(0, 156, 0, 31)
  149. toggleButton.Font = Enum.Font.GothamBlack
  150. toggleButton.Text = "Open"
  151. toggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  152. toggleButton.TextSize = 20.000
  153.  
  154. roundify_2.Name = "roundify"
  155. roundify_2.Parent = toggleButton
  156. roundify_2.Active = true
  157. roundify_2.AnchorPoint = Vector2.new(0.5, 0.5)
  158. roundify_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  159. roundify_2.BackgroundTransparency = 1.000
  160. roundify_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  161. roundify_2.Selectable = true
  162. roundify_2.Size = UDim2.new(1, 0, 1, 0)
  163. roundify_2.Image = "rbxassetid://3570695787"
  164. roundify_2.ImageColor3 = Color3.fromRGB(100, 100, 100)
  165. roundify_2.ScaleType = Enum.ScaleType.Slice
  166. roundify_2.SliceCenter = Rect.new(100, 100, 100, 100)
  167. roundify_2.SliceScale = 0.120
  168.  
  169. toggleLabel.Name = "toggleLabel"
  170. toggleLabel.Parent = toggleButton
  171. toggleLabel.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  172. toggleLabel.BackgroundTransparency = 1.000
  173. toggleLabel.BorderSizePixel = 0
  174. toggleLabel.Position = UDim2.new(0.0320512839, 0, 0, 0)
  175. toggleLabel.Size = UDim2.new(0, 156, 0, 31)
  176. toggleLabel.Font = Enum.Font.GothamBlack
  177. toggleLabel.Text = "Toggle"
  178. toggleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  179. toggleLabel.TextSize = 20.000
  180. toggleLabel.TextWrapped = true
  181.  
  182. toggle.Name = "toggle"
  183. toggle.Parent = main
  184. toggle.Active = true
  185. toggle.AnchorPoint = Vector2.new(0.5, 0.5)
  186. toggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  187. toggle.BackgroundTransparency = 1.000
  188. toggle.Position = UDim2.new(0.49782607, 0, 0.107438013, 95)
  189. toggle.Selectable = true
  190. toggle.Size = UDim2.new(0.378260881, 0, 0.144082412, 0)
  191. toggle.Image = "rbxassetid://3570695787"
  192. toggle.ImageColor3 = Color3.fromRGB(100, 100, 100)
  193. toggle.ScaleType = Enum.ScaleType.Slice
  194. toggle.SliceCenter = Rect.new(100, 100, 100, 100)
  195. toggle.SliceScale = 0.120
  196.  
  197. timesBox.Name = "timesBox"
  198. timesBox.Parent = main
  199. timesBox.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  200. timesBox.BorderSizePixel = 0
  201. timesBox.Position = UDim2.new(0.156948715, 0, 0.30023244, 0)
  202. timesBox.Size = UDim2.new(0, 156, 0, 17)
  203. timesBox.Font = Enum.Font.SourceSans
  204. timesBox.PlaceholderText = "Times(times event fires"
  205. timesBox.Text = "10"
  206. timesBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  207. timesBox.TextScaled = true
  208. timesBox.TextSize = 14.000
  209. timesBox.TextWrapped = true
  210.  
  211. -- Scripts:
  212.  
  213. local function FNQZTKY_fake_script() -- loadFrame.loadScript
  214.     local script = Instance.new('LocalScript', loadFrame)
  215.  
  216.     local tweenService = game:GetService("TweenService")
  217.    
  218.     local frame = script.Parent
  219.     local main = script.Parent.Parent.main
  220.     local openButton = frame.openButton
  221.    
  222.     frame.Visible = true
  223.    
  224.     openButton.MouseButton1Click:connect(function()
  225.         tweenService:Create(frame, TweenInfo.new(1), {Size=UDim2.new(0,0,0,frame.Size.Y.Offset)}):Play()
  226.         for a,obj in pairs(frame:GetChildren()) do
  227.             if not obj:IsA("LocalScript") then
  228.                 tweenService:Create(obj, TweenInfo.new(1), {Size=UDim2.new(0,0,0,obj.Size.Y.Offset)}):Play()
  229.                 tweenService:Create(obj, TweenInfo.new(1), {TextTransparency=1}):Play()
  230.                 for a,objChild in pairs(obj:GetChildren()) do
  231.                     if not objChild:IsA("ImageLabel") then
  232.                         tweenService:Create(objChild, TweenInfo.new(1), {Size=UDim2.new(0,0,0,objChild.Size.Y.Offset)}):Play()
  233.                         tweenService:Create(objChild, TweenInfo.new(1), {TextTransparency=1}):Play()
  234.                     end
  235.                 end
  236.             end
  237.         end
  238.         wait(1)
  239.         main.Visible = true
  240.         frame.Visible = false
  241.     end)
  242. end
  243. coroutine.wrap(FNQZTKY_fake_script)()
  244. local function FJQL_fake_script() -- loadFrame.Dragify
  245.     local script = Instance.new('LocalScript', loadFrame)
  246.  
  247.     function dragify(Frame)
  248.         dragToggle = nil
  249.         local dragSpeed = .25 -- You can edit this.
  250.         dragInput = nil
  251.         dragStart = nil
  252.         local dragPos = nil
  253.    
  254.         function updateInput(input)
  255.             local Delta = input.Position - dragStart
  256.             local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  257.             game:GetService("TweenService"):Create(Frame, TweenInfo.new(.25), {Position = Position}):Play()
  258.         end
  259.    
  260.         Frame.InputBegan:Connect(function(input)
  261.             if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  262.                 dragToggle = true
  263.                 dragStart = input.Position
  264.                 startPos = Frame.Position
  265.                 input.Changed:Connect(function()
  266.                     if (input.UserInputState == Enum.UserInputState.End) then
  267.                         dragToggle = false
  268.                     end
  269.                 end)
  270.             end
  271.         end)
  272.    
  273.         Frame.InputChanged:Connect(function(input)
  274.             if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  275.                 dragInput = input
  276.             end
  277.         end)
  278.    
  279.         game:GetService("UserInputService").InputChanged:Connect(function(input)
  280.             if (input == dragInput and dragToggle) then
  281.                 updateInput(input)
  282.             end
  283.         end)
  284.     end
  285.    
  286.     dragify(script.Parent)
  287. end
  288. coroutine.wrap(FJQL_fake_script)()
  289. local function PAEEMDW_fake_script() -- main.mainScript
  290.     local script = Instance.new('LocalScript', main)
  291.  
  292.     local tweenService = game:GetService("TweenService")
  293.     local runService = game:GetService("RunService")
  294.    
  295.     local frame = script.Parent
  296.     local toggleButton = frame.toggleButton
  297.     local toggleImage = frame.toggle
  298.     local timesBox = frame.timesBox
  299.     local toggle = false
  300.     local times = 10
  301.     local remote = game.ReplicatedStorage.lole
  302.    
  303.     local function event(times, number)
  304.         for count = 1, times do
  305.             if toggle == true then
  306.                 remote:FireServer(number,Vector3.new(-85.1373062, 4.5, -6.25))
  307.             end
  308.         end
  309.     end
  310.     toggleButton.MouseButton1Click:connect(function()
  311.         if toggle == false then
  312.             toggle = true
  313.             tweenService:Create(toggleImage, TweenInfo.new(1), {ImageColor3=Color3.fromRGB(34, 255, 0)}):Play()    
  314.         else
  315.             toggle = false
  316.             tweenService:Create(toggleImage, TweenInfo.new(1), {ImageColor3=Color3.fromRGB(255, 0, 0)}):Play()
  317.         end
  318.     end)
  319.    
  320.     timesBox.FocusLost:connect(function()
  321.         if tonumber(timesBox.Text) then
  322.             times = tonumber(timesBox.Text)
  323.         end
  324.     end)
  325.    
  326.     runService.RenderStepped:connect(function()
  327.         if toggle == true then
  328.             event(times,_G.number)
  329.         end
  330.     end)
  331. end
  332. coroutine.wrap(PAEEMDW_fake_script)()
  333. local function LOFNZ_fake_script() -- main.Dragify
  334.     local script = Instance.new('LocalScript', main)
  335.  
  336.     function dragify(Frame)
  337.         dragToggle = nil
  338.         local dragSpeed = .25 -- You can edit this.
  339.         dragInput = nil
  340.         dragStart = nil
  341.         local dragPos = nil
  342.    
  343.         function updateInput(input)
  344.             local Delta = input.Position - dragStart
  345.             local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  346.             game:GetService("TweenService"):Create(Frame, TweenInfo.new(.25), {Position = Position}):Play()
  347.         end
  348.    
  349.         Frame.InputBegan:Connect(function(input)
  350.             if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  351.                 dragToggle = true
  352.                 dragStart = input.Position
  353.                 startPos = Frame.Position
  354.                 input.Changed:Connect(function()
  355.                     if (input.UserInputState == Enum.UserInputState.End) then
  356.                         dragToggle = false
  357.                     end
  358.                 end)
  359.             end
  360.         end)
  361.    
  362.         Frame.InputChanged:Connect(function(input)
  363.             if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  364.                 dragInput = input
  365.             end
  366.         end)
  367.    
  368.         game:GetService("UserInputService").InputChanged:Connect(function(input)
  369.             if (input == dragInput and dragToggle) then
  370.                 updateInput(input)
  371.             end
  372.         end)
  373.     end
  374.    
  375.     dragify(script.Parent)
  376. end
  377. coroutine.wrap(LOFNZ_fake_script)()
  378.  
RAW Paste Data