Advertisement
Fx_EqHub

New gui

Jul 5th, 2024
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.72 KB | None | 0 0
  1. -- Instances:
  2.  
  3. local Converted = {
  4. ["_ScreenGui"] = Instance.new("ScreenGui");
  5. ["_Main gui"] = Instance.new("Frame");
  6. ["_LocalScript"] = Instance.new("LocalScript");
  7. ["_Main script"] = Instance.new("Frame");
  8. ["_Button Main tab"] = Instance.new("TextButton");
  9. ["_TextButton"] = Instance.new("TextButton");
  10. ["_LocalScript1"] = Instance.new("LocalScript");
  11. ["_EQ Hub - Game?"] = Instance.new("TextLabel");
  12. }
  13.  
  14. -- Properties:
  15.  
  16. Converted["_ScreenGui"].Parent = game:GetService("CoreGui")
  17.  
  18. Converted["_Main gui"].BackgroundColor3 = Color3.fromRGB(44.000001177191734, 44.000001177191734, 44.000001177191734)
  19. Converted["_Main gui"].BackgroundTransparency = 0.30000001192092896
  20. Converted["_Main gui"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  21. Converted["_Main gui"].BorderSizePixel = 0
  22. Converted["_Main gui"].Position = UDim2.new(0.227795199, 0, 0.276925057, 0)
  23. Converted["_Main gui"].Size = UDim2.new(0, 570, 0, 272)
  24. Converted["_Main gui"].Name = "Main gui"
  25. Converted["_Main gui"].Parent = Converted["_ScreenGui"]
  26.  
  27. Converted["_Main script"].BackgroundColor3 = Color3.fromRGB(52.000000700354576, 52.000000700354576, 52.000000700354576)
  28. Converted["_Main script"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  29. Converted["_Main script"].BorderSizePixel = 0
  30. Converted["_Main script"].Position = UDim2.new(0.204894692, 0, 0.0755431205, 0)
  31. Converted["_Main script"].Size = UDim2.new(0, 434, 0, 230)
  32. Converted["_Main script"].Name = "Main script"
  33. Converted["_Main script"].Parent = Converted["_Main gui"]
  34.  
  35. Converted["_Button Main tab"].Font = Enum.Font.SourceSans
  36. Converted["_Button Main tab"].Text = "Main"
  37. Converted["_Button Main tab"].TextColor3 = Color3.fromRGB(0, 0, 0)
  38. Converted["_Button Main tab"].TextSize = 14
  39. Converted["_Button Main tab"].BackgroundColor3 = Color3.fromRGB(100.00000923871994, 100.00000923871994, 100.00000923871994)
  40. Converted["_Button Main tab"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  41. Converted["_Button Main tab"].BorderSizePixel = 0
  42. Converted["_Button Main tab"].Position = UDim2.new(0.031930916, 0, 0.0755431205, 0)
  43. Converted["_Button Main tab"].Size = UDim2.new(0, 82, 0, 33)
  44. Converted["_Button Main tab"].Name = "Button Main tab"
  45. Converted["_Button Main tab"].Parent = Converted["_Main gui"]
  46.  
  47. Converted["_TextButton"].Font = Enum.Font.SourceSans
  48. Converted["_TextButton"].TextColor3 = Color3.fromRGB(0, 0, 0)
  49. Converted["_TextButton"].TextSize = 14
  50. Converted["_TextButton"].BackgroundColor3 = Color3.fromRGB(127.00000762939453, 127.00000762939453, 127.00000762939453)
  51. Converted["_TextButton"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  52. Converted["_TextButton"].BorderSizePixel = 0
  53. Converted["_TextButton"].Position = UDim2.new(0.217280656, 0, 0.30394116, 0)
  54. Converted["_TextButton"].Size = UDim2.new(0, 133, 0, 33)
  55. Converted["_TextButton"].Parent = Converted["_Main gui"]
  56.  
  57. Converted["_EQ Hub - Game?"].Font = Enum.Font.SourceSans
  58. Converted["_EQ Hub - Game?"].Text = "Eq Hub - Game name"
  59. Converted["_EQ Hub - Game?"].TextColor3 = Color3.fromRGB(0, 0, 0)
  60. Converted["_EQ Hub - Game?"].TextSize = 14
  61. Converted["_EQ Hub - Game?"].BackgroundColor3 = Color3.fromRGB(106.00000888109207, 106.00000888109207, 106.00000888109207)
  62. Converted["_EQ Hub - Game?"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  63. Converted["_EQ Hub - Game?"].BorderSizePixel = 0
  64. Converted["_EQ Hub - Game?"].Position = UDim2.new(0.204999954, 0, 0.072323516, 0)
  65. Converted["_EQ Hub - Game?"].Size = UDim2.new(0, 433, 0, 50)
  66. Converted["_EQ Hub - Game?"].Name = "EQ Hub - Game?"
  67. Converted["_EQ Hub - Game?"].Parent = Converted["_Main gui"]
  68.  
  69. -- Fake Module Scripts:
  70.  
  71. local fake_module_scripts = {}
  72.  
  73.  
  74. -- Fake Local Scripts:
  75.  
  76. local function KYCMDH_fake_script() -- Fake Script: StarterGui.ScreenGui.Main gui.LocalScript
  77. local script = Instance.new("LocalScript")
  78. script.Name = "LocalScript"
  79. script.Parent = Converted["_Main gui"]
  80. local req = require
  81. local require = function(obj)
  82. local fake = fake_module_scripts[obj]
  83. if fake then
  84. return fake()
  85. end
  86. return req(obj)
  87. end
  88.  
  89. local UIS = game:GetService('UserInputService')
  90. local frame = script.Parent
  91. local dragToggle = nil
  92. local dragSpeed = 0.25
  93. local dragStart = nil
  94. local starPos = nil
  95.  
  96. local function updateInput(input)
  97. local delta = input.Position - dragStart
  98. local position = UDim2.new(starPos.X.Scale, starPos.X.Offset + delta.X, starPos.Y.Scale, starPos.Y.Offset + delta.Y)
  99. game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}) :Play()
  100. end
  101.  
  102. frame.InputBegan:Connect(function(input)
  103. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  104. dragToggle = true
  105. dragStart = input.Position
  106. starPos = frame.Position
  107. input.Changed:Connect(function()
  108. if input.UserInputState == Enum.UserInputState.End then
  109. dragToggle = false
  110. end
  111. end)
  112. end
  113. end)
  114.  
  115. UIS.InputChanged:Connect(function(input)
  116. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  117. if dragToggle then
  118. updateInput (input)
  119. end
  120. end
  121. end)
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138. end
  139. local function PYVSVVN_fake_script() -- Fake Script: StarterGui.ScreenGui.Main gui.TextButton.LocalScript
  140. local script = Instance.new("LocalScript")
  141. script.Name = "LocalScript"
  142. script.Parent = Converted["_TextButton"]
  143. local req = require
  144. local require = function(obj)
  145. local fake = fake_module_scripts[obj]
  146. if fake then
  147. return fake()
  148. end
  149. return req(obj)
  150. end
  151.  
  152. script.Parent.MouseButton1Up:Connect(function()
  153. print("Hello")
  154. end)
  155.  
  156. end
  157.  
  158. coroutine.wrap(KYCMDH_fake_script)()
  159. coroutine.wrap(PYVSVVN_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement