Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[=[
- d888b db db d888888b .d888b. db db db .d8b.
- 88' Y8b 88 88 `88' VP `8D 88 88 88 d8' `8b
- 88 88 88 88 odD' 88 88 88 88ooo88
- 88 ooo 88 88 88 .88' 88 88 88 88~~~88
- 88. ~8~ 88b d88 .88. j88. 88booo. 88b d88 88 88
- Y888P ~Y8888P' Y888888P 888888D Y88888P ~Y8888P' YP YP CONVERTER
- ]=]
- -- Instances: 15 | Scripts: 2 | Modules: 0
- local G2L = {};
- -- StarterGui.ScreenGui
- G2L["1"] = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"));
- G2L["1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling;
- -- StarterGui.ScreenGui.TextButton
- G2L["2"] = Instance.new("TextButton", G2L["1"]);
- G2L["2"]["TextWrapped"] = true;
- G2L["2"]["LineHeight"] = 1.6699999570846558;
- G2L["2"]["BorderSizePixel"] = 0;
- G2L["2"]["TextScaled"] = true;
- G2L["2"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["2"]["TextSize"] = 19;
- G2L["2"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
- G2L["2"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["2"]["Size"] = UDim2.new(0.07503713667392731, 0, 0.051851850003004074, 0);
- G2L["2"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["2"]["Text"] = [[False]];
- G2L["2"]["Position"] = UDim2.new(0.46192386746406555, 0, 0.3762741982936859, 0);
- G2L["2"]["BackgroundTransparency"] = 0.550000011920929;
- -- StarterGui.ScreenGui.TextButton.UIStroke
- G2L["3"] = Instance.new("UIStroke", G2L["2"]);
- G2L["3"]["Color"] = Color3.fromRGB(255, 255, 255);
- G2L["3"]["Thickness"] = 2;
- G2L["3"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- -- StarterGui.ScreenGui.TextButton.Frame
- G2L["4"] = Instance.new("Frame", G2L["2"]);
- G2L["4"]["BorderSizePixel"] = 0;
- G2L["4"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["4"]["Size"] = UDim2.new(1.0000001192092896, 0, 0.3333333730697632, 0);
- G2L["4"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["4"]["Position"] = UDim2.new(0, 0, 0.6666666865348816, 0);
- -- StarterGui.ScreenGui.TextButton.Frame.TextLabel
- G2L["5"] = Instance.new("TextLabel", G2L["4"]);
- G2L["5"]["TextWrapped"] = true;
- G2L["5"]["BorderSizePixel"] = 0;
- G2L["5"]["TextScaled"] = true;
- G2L["5"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["5"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
- G2L["5"]["TextSize"] = 16;
- G2L["5"]["TextColor3"] = Color3.fromRGB(96, 96, 96);
- G2L["5"]["Size"] = UDim2.new(1.2346433401107788, 0, 0.9999998807907104, 0);
- G2L["5"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["5"]["Text"] = [[Infinity]];
- G2L["5"]["BackgroundTransparency"] = 1;
- -- StarterGui.ScreenGui.TextButton.Frame.TextLabel.UITextSizeConstraint
- G2L["6"] = Instance.new("UITextSizeConstraint", G2L["5"]);
- G2L["6"]["MaxTextSize"] = 16;
- -- StarterGui.ScreenGui.TextButton.Frame.TextLabel.UIAspectRatioConstraint
- G2L["7"] = Instance.new("UIAspectRatioConstraint", G2L["5"]);
- G2L["7"]["AspectRatio"] = 7.214285850524902;
- -- StarterGui.ScreenGui.TextButton.Frame.UIAspectRatioConstraint
- G2L["8"] = Instance.new("UIAspectRatioConstraint", G2L["4"]);
- G2L["8"]["AspectRatio"] = 7.214285850524902;
- -- StarterGui.ScreenGui.TextButton.UIPadding
- G2L["9"] = Instance.new("UIPadding", G2L["2"]);
- -- StarterGui.ScreenGui.TextButton.UIListLayout
- G2L["a"] = Instance.new("UIListLayout", G2L["2"]);
- G2L["a"]["VerticalAlignment"] = Enum.VerticalAlignment.Bottom;
- G2L["a"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Center;
- G2L["a"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
- -- StarterGui.ScreenGui.TextButton.UIAspectRatioConstraint
- G2L["b"] = Instance.new("UIAspectRatioConstraint", G2L["2"]);
- G2L["b"]["AspectRatio"] = 2.404761791229248;
- -- StarterGui.ScreenGui.TextButton.UITextSizeConstraint
- G2L["c"] = Instance.new("UITextSizeConstraint", G2L["2"]);
- G2L["c"]["MaxTextSize"] = 19;
- -- StarterGui.ScreenGui.TextButton.INF
- G2L["d"] = Instance.new("BoolValue", G2L["2"]);
- G2L["d"]["Name"] = [[INF]];
- -- StarterGui.ScreenGui.TextButton.LocalScript
- G2L["e"] = Instance.new("LocalScript", G2L["2"]);
- -- StarterGui.ScreenGui.TextButton.Dragify
- G2L["f"] = Instance.new("LocalScript", G2L["2"]);
- G2L["f"]["Name"] = [[Dragify]];
- -- StarterGui.ScreenGui.TextButton.LocalScript
- local function C_e()
- local script = G2L["e"];
- local inf = script.Parent.INF
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- script.Parent.MouseButton1Click:Connect(function()
- inf.Value = not inf.Value
- if inf.Value == true then
- script.Parent.Text = "TRUE"
- char.Humanoid.HipHeight = -5
- else
- script.Parent.Text = "FALSE"
- char.Humanoid.HipHeight = 1.8
- end
- end)
- end;
- task.spawn(C_e);
- -- StarterGui.ScreenGui.TextButton.Dragify
- local function C_f()
- local script = G2L["f"];
- local UserInputService = game:GetService("UserInputService")
- local gui = script.Parent
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- gui.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- gui.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end;
- task.spawn(C_f);
- return G2L["1"], require;
Add Comment
Please, Sign In to add comment