Msizz

d

Nov 12th, 2023 (edited)
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.99 KB | None | 0 0
  1. --[=[
  2. d888b db db d888888b .d888b. db db db .d8b.
  3. 88' Y8b 88 88 `88' VP `8D 88 88 88 d8' `8b
  4. 88 88 88 88 odD' 88 88 88 88ooo88
  5. 88 ooo 88 88 88 .88' 88 88 88 88~~~88
  6. 88. ~8~ 88b d88 .88. j88. 88booo. 88b d88 88 88
  7. Y888P ~Y8888P' Y888888P 888888D Y88888P ~Y8888P' YP YP CONVERTER
  8. ]=]
  9.  
  10. -- Instances: 15 | Scripts: 2 | Modules: 0
  11. local G2L = {};
  12.  
  13. -- StarterGui.ScreenGui
  14. G2L["1"] = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"));
  15. G2L["1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling;
  16.  
  17. -- StarterGui.ScreenGui.TextButton
  18. G2L["2"] = Instance.new("TextButton", G2L["1"]);
  19. G2L["2"]["TextWrapped"] = true;
  20. G2L["2"]["LineHeight"] = 1.6699999570846558;
  21. G2L["2"]["BorderSizePixel"] = 0;
  22. G2L["2"]["TextScaled"] = true;
  23. G2L["2"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
  24. G2L["2"]["TextSize"] = 19;
  25. G2L["2"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  26. G2L["2"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  27. G2L["2"]["Size"] = UDim2.new(0.07503713667392731, 0, 0.051851850003004074, 0);
  28. G2L["2"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  29. G2L["2"]["Text"] = [[False]];
  30. G2L["2"]["Position"] = UDim2.new(0.46192386746406555, 0, 0.3762741982936859, 0);
  31. G2L["2"]["BackgroundTransparency"] = 0.550000011920929;
  32.  
  33. -- StarterGui.ScreenGui.TextButton.UIStroke
  34. G2L["3"] = Instance.new("UIStroke", G2L["2"]);
  35. G2L["3"]["Color"] = Color3.fromRGB(255, 255, 255);
  36. G2L["3"]["Thickness"] = 2;
  37. G2L["3"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
  38.  
  39. -- StarterGui.ScreenGui.TextButton.Frame
  40. G2L["4"] = Instance.new("Frame", G2L["2"]);
  41. G2L["4"]["BorderSizePixel"] = 0;
  42. G2L["4"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  43. G2L["4"]["Size"] = UDim2.new(1.0000001192092896, 0, 0.3333333730697632, 0);
  44. G2L["4"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  45. G2L["4"]["Position"] = UDim2.new(0, 0, 0.6666666865348816, 0);
  46.  
  47. -- StarterGui.ScreenGui.TextButton.Frame.TextLabel
  48. G2L["5"] = Instance.new("TextLabel", G2L["4"]);
  49. G2L["5"]["TextWrapped"] = true;
  50. G2L["5"]["BorderSizePixel"] = 0;
  51. G2L["5"]["TextScaled"] = true;
  52. G2L["5"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  53. G2L["5"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  54. G2L["5"]["TextSize"] = 16;
  55. G2L["5"]["TextColor3"] = Color3.fromRGB(96, 96, 96);
  56. G2L["5"]["Size"] = UDim2.new(1.2346433401107788, 0, 0.9999998807907104, 0);
  57. G2L["5"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  58. G2L["5"]["Text"] = [[Infinity]];
  59. G2L["5"]["BackgroundTransparency"] = 1;
  60.  
  61. -- StarterGui.ScreenGui.TextButton.Frame.TextLabel.UITextSizeConstraint
  62. G2L["6"] = Instance.new("UITextSizeConstraint", G2L["5"]);
  63. G2L["6"]["MaxTextSize"] = 16;
  64.  
  65. -- StarterGui.ScreenGui.TextButton.Frame.TextLabel.UIAspectRatioConstraint
  66. G2L["7"] = Instance.new("UIAspectRatioConstraint", G2L["5"]);
  67. G2L["7"]["AspectRatio"] = 7.214285850524902;
  68.  
  69. -- StarterGui.ScreenGui.TextButton.Frame.UIAspectRatioConstraint
  70. G2L["8"] = Instance.new("UIAspectRatioConstraint", G2L["4"]);
  71. G2L["8"]["AspectRatio"] = 7.214285850524902;
  72.  
  73. -- StarterGui.ScreenGui.TextButton.UIPadding
  74. G2L["9"] = Instance.new("UIPadding", G2L["2"]);
  75.  
  76.  
  77. -- StarterGui.ScreenGui.TextButton.UIListLayout
  78. G2L["a"] = Instance.new("UIListLayout", G2L["2"]);
  79. G2L["a"]["VerticalAlignment"] = Enum.VerticalAlignment.Bottom;
  80. G2L["a"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Center;
  81. G2L["a"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
  82.  
  83. -- StarterGui.ScreenGui.TextButton.UIAspectRatioConstraint
  84. G2L["b"] = Instance.new("UIAspectRatioConstraint", G2L["2"]);
  85. G2L["b"]["AspectRatio"] = 2.404761791229248;
  86.  
  87. -- StarterGui.ScreenGui.TextButton.UITextSizeConstraint
  88. G2L["c"] = Instance.new("UITextSizeConstraint", G2L["2"]);
  89. G2L["c"]["MaxTextSize"] = 19;
  90.  
  91. -- StarterGui.ScreenGui.TextButton.INF
  92. G2L["d"] = Instance.new("BoolValue", G2L["2"]);
  93. G2L["d"]["Name"] = [[INF]];
  94.  
  95. -- StarterGui.ScreenGui.TextButton.LocalScript
  96. G2L["e"] = Instance.new("LocalScript", G2L["2"]);
  97.  
  98.  
  99. -- StarterGui.ScreenGui.TextButton.Dragify
  100. G2L["f"] = Instance.new("LocalScript", G2L["2"]);
  101. G2L["f"]["Name"] = [[Dragify]];
  102.  
  103. -- StarterGui.ScreenGui.TextButton.LocalScript
  104. local function C_e()
  105. local script = G2L["e"];
  106. local inf = script.Parent.INF
  107. local plr = game.Players.LocalPlayer
  108. local char = plr.Character
  109. script.Parent.MouseButton1Click:Connect(function()
  110. inf.Value = not inf.Value
  111. if inf.Value == true then
  112. script.Parent.Text = "TRUE"
  113. char.Humanoid.HipHeight = -5
  114. else
  115. script.Parent.Text = "FALSE"
  116. char.Humanoid.HipHeight = 1.8
  117. end
  118. end)
  119. end;
  120. task.spawn(C_e);
  121. -- StarterGui.ScreenGui.TextButton.Dragify
  122. local function C_f()
  123. local script = G2L["f"];
  124. local UserInputService = game:GetService("UserInputService")
  125.  
  126. local gui = script.Parent
  127.  
  128. local dragging
  129. local dragInput
  130. local dragStart
  131. local startPos
  132.  
  133. local function update(input)
  134. local delta = input.Position - dragStart
  135. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  136. end
  137.  
  138. gui.InputBegan:Connect(function(input)
  139. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  140. dragging = true
  141. dragStart = input.Position
  142. startPos = gui.Position
  143.  
  144. input.Changed:Connect(function()
  145. if input.UserInputState == Enum.UserInputState.End then
  146. dragging = false
  147. end
  148. end)
  149. end
  150. end)
  151.  
  152. gui.InputChanged:Connect(function(input)
  153. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  154. dragInput = input
  155. end
  156. end)
  157.  
  158. UserInputService.InputChanged:Connect(function(input)
  159. if input == dragInput and dragging then
  160. update(input)
  161. end
  162. end)
  163. end;
  164. task.spawn(C_f);
  165.  
  166. return G2L["1"], require;
Add Comment
Please, Sign In to add comment