Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local Header = Instance.new("Frame")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- local TextButton_3 = Instance.new("TextButton")
- local TextButton_4 = Instance.new("TextButton")
- local TextButton_5 = Instance.new("TextButton")
- local TextButton_6 = Instance.new("TextButton")
- local TextButton_7 = Instance.new("TextButton")
- local TextButton_8 = Instance.new("TextButton")
- local TextButton_9 = Instance.new("TextButton")
- local TextButton_10 = Instance.new("TextButton")
- local TextButton_11 = Instance.new("TextButton")
- local TextButton_12 = Instance.new("TextButton")
- local TextButton_13 = Instance.new("TextButton")
- local TextButton_14 = Instance.new("TextButton")
- local TextButton_15 = Instance.new("TextButton")
- local TextLabel_2 = Instance.new("TextLabel")
- local Footer = Instance.new("Frame")
- local Frame_2 = Instance.new("Frame")
- local TextLabel_3 = Instance.new("TextLabel")
- local TextLabel_4 = Instance.new("TextLabel")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.BackgroundColor3 = Color3.new(0.192157, 0.192157, 0.192157)
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(0.279197067, 0, 0.309963137, 0)
- Main.Selectable = true
- Main.Size = UDim2.new(0, 484, 0, 248)
- Header.Name = "Header"
- Header.Parent = Main
- Header.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- Header.BorderSizePixel = 0
- Header.Position = UDim2.new(-0.0247933883, 0, -0.087519303, 0)
- Header.Size = UDim2.new(0, 508, 0, 22)
- Frame.Parent = Header
- Frame.BackgroundColor3 = Color3.new(0.278431, 0.278431, 0.278431)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.10826771, 0, 0.345762759, 0)
- Frame.Size = UDim2.new(0, 398, 0, 5)
- TextLabel.Parent = Main
- TextLabel.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.111713544, 0, 0.133698463, 0)
- TextLabel.Size = UDim2.new(0, 45, 0, 19)
- TextLabel.Font = Enum.Font.SourceSansBold
- TextLabel.Text = "Melee"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 14
- TextButton.Parent = Main
- TextButton.BackgroundColor3 = Color3.new(1, 0.639216, 0.27451)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.739971042, 0, 0.244955957, 0)
- TextButton.Size = UDim2.new(0, 97, 0, 26)
- TextButton.Font = Enum.Font.SourceSansBold
- TextButton.TextColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- TextButton.TextSize = 17
- TextButton_2.Parent = Main
- TextButton_2.BackgroundColor3 = Color3.new(1, 0.639216, 0.27451)
- TextButton_2.BorderSizePixel = 0
- TextButton_2.Position = UDim2.new(0.739971042, 0, 0.761084974, 0)
- TextButton_2.Size = UDim2.new(0, 97, 0, 26)
- TextButton_2.Font = Enum.Font.SourceSansBold
- TextButton_2.TextColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- TextButton_2.TextSize = 17
- TextButton_3.Parent = Main
- TextButton_3.BackgroundColor3 = Color3.new(1, 0.639216, 0.27451)
- TextButton_3.BorderSizePixel = 0
- TextButton_3.Position = UDim2.new(0.739971042, 0, 0.63205272, 0)
- TextButton_3.Size = UDim2.new(0, 97, 0, 26)
- TextButton_3.Font = Enum.Font.SourceSansBold
- TextButton_3.TextColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- TextButton_3.TextSize = 17
- TextButton_4.Parent = Main
- TextButton_4.BackgroundColor3 = Color3.new(1, 0.639216, 0.27451)
- TextButton_4.BorderSizePixel = 0
- TextButton_4.Position = UDim2.new(0.739971042, 0, 0.503020465, 0)
- TextButton_4.Size = UDim2.new(0, 97, 0, 26)
- TextButton_4.Font = Enum.Font.SourceSansBold
- TextButton_4.TextColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- TextButton_4.TextSize = 17
- TextButton_5.Parent = Main
- TextButton_5.BackgroundColor3 = Color3.new(1, 0.639216, 0.27451)
- TextButton_5.BorderSizePixel = 0
- TextButton_5.Position = UDim2.new(0.739971042, 0, 0.373988211, 0)
- TextButton_5.Size = UDim2.new(0, 97, 0, 26)
- TextButton_5.Font = Enum.Font.SourceSansBold
- TextButton_5.TextColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- TextButton_5.TextSize = 17
- TextButton_6.Parent = Main
- TextButton_6.BackgroundColor3 = Color3.new(1, 0.639216, 0.27451)
- TextButton_6.BorderSizePixel = 0
- TextButton_6.Position = UDim2.new(0.396995842, 0, 0.244955957, 0)
- TextButton_6.Size = UDim2.new(0, 97, 0, 26)
- TextButton_6.Font = Enum.Font.SourceSansBold
- TextButton_6.TextColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- TextButton_6.TextSize = 17
- TextButton_7.Parent = Main
- TextButton_7.BackgroundColor3 = Color3.new(1, 0.639216, 0.27451)
- TextButton_7.BorderSizePixel = 0
- TextButton_7.Position = UDim2.new(0.396995842, 0, 0.761084974, 0)
- TextButton_7.Size = UDim2.new(0, 97, 0, 26)
- TextButton_7.Font = Enum.Font.SourceSansBold
- TextButton_7.TextColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- TextButton_7.TextSize = 17
- TextButton_8.Parent = Main
- TextButton_8.BackgroundColor3 = Color3.new(1, 0.639216, 0.27451)
- TextButton_8.BorderSizePixel = 0
- TextButton_8.Position = UDim2.new(0.396995842, 0, 0.63205272, 0)
- TextButton_8.Size = UDim2.new(0, 97, 0, 26)
- TextButton_8.Font = Enum.Font.SourceSansBold
- TextButton_8.TextColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- TextButton_8.TextSize = 17
- TextButton_9.Parent = Main
- TextButton_9.BackgroundColor3 = Color3.new(1, 0.639216, 0.27451)
- TextButton_9.BorderSizePixel = 0
- TextButton_9.Position = UDim2.new(0.396995842, 0, 0.503020465, 0)
- TextButton_9.Size = UDim2.new(0, 97, 0, 26)
- TextButton_9.Font = Enum.Font.SourceSansBold
- TextButton_9.TextColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- TextButton_9.TextSize = 17
- TextButton_10.Parent = Main
- TextButton_10.BackgroundColor3 = Color3.new(1, 0.639216, 0.27451)
- TextButton_10.BorderSizePixel = 0
- TextButton_10.Position = UDim2.new(0.396995842, 0, 0.373988211, 0)
- TextButton_10.Size = UDim2.new(0, 97, 0, 26)
- TextButton_10.Font = Enum.Font.SourceSansBold
- TextButton_10.TextColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- TextButton_10.TextSize = 17
- TextButton_11.Parent = Main
- TextButton_11.BackgroundColor3 = Color3.new(1, 0.639216, 0.27451)
- TextButton_11.BorderSizePixel = 0
- TextButton_11.Position = UDim2.new(0.0581528805, 0, 0.244955957, 0)
- TextButton_11.Size = UDim2.new(0, 97, 0, 26)
- TextButton_11.Font = Enum.Font.SourceSansBold
- TextButton_11.TextColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- TextButton_11.TextSize = 17
- TextButton_12.Parent = Main
- TextButton_12.BackgroundColor3 = Color3.new(1, 0.639216, 0.27451)
- TextButton_12.BorderSizePixel = 0
- TextButton_12.Position = UDim2.new(0.0581528805, 0, 0.761084974, 0)
- TextButton_12.Size = UDim2.new(0, 97, 0, 26)
- TextButton_12.Font = Enum.Font.SourceSansBold
- TextButton_12.TextColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- TextButton_12.TextSize = 17
- TextButton_13.Parent = Main
- TextButton_13.BackgroundColor3 = Color3.new(1, 0.639216, 0.27451)
- TextButton_13.BorderSizePixel = 0
- TextButton_13.Position = UDim2.new(0.0581528805, 0, 0.63205272, 0)
- TextButton_13.Size = UDim2.new(0, 97, 0, 26)
- TextButton_13.Font = Enum.Font.SourceSansBold
- TextButton_13.TextColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- TextButton_13.TextSize = 17
- TextButton_14.Parent = Main
- TextButton_14.BackgroundColor3 = Color3.new(1, 0.639216, 0.27451)
- TextButton_14.BorderSizePixel = 0
- TextButton_14.Position = UDim2.new(0.0581528805, 0, 0.503020465, 0)
- TextButton_14.Size = UDim2.new(0, 97, 0, 26)
- TextButton_14.Font = Enum.Font.SourceSansBold
- TextButton_14.TextColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- TextButton_14.TextSize = 17
- TextButton_15.Parent = Main
- TextButton_15.BackgroundColor3 = Color3.new(1, 0.639216, 0.27451)
- TextButton_15.BorderSizePixel = 0
- TextButton_15.Position = UDim2.new(0.0581528805, 0, 0.373988211, 0)
- TextButton_15.Size = UDim2.new(0, 97, 0, 26)
- TextButton_15.Font = Enum.Font.SourceSansBold
- TextButton_15.TextColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- TextButton_15.TextSize = 17
- TextLabel_2.Parent = Main
- TextLabel_2.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0.367225677, 0, -0.172196731, 0)
- TextLabel_2.Size = UDim2.new(0, 128, 0, 21)
- TextLabel_2.ZIndex = 2
- TextLabel_2.Font = Enum.Font.SourceSansBold
- TextLabel_2.Text = "Boogib0t"
- TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_2.TextSize = 22
- Footer.Name = "Footer"
- Footer.Parent = Main
- Footer.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- Footer.BorderSizePixel = 0
- Footer.Position = UDim2.new(-0.0247933883, 0, 0.997098565, 0)
- Footer.Size = UDim2.new(0, 508, 0, 22)
- Frame_2.Parent = Footer
- Frame_2.BackgroundColor3 = Color3.new(0.278431, 0.278431, 0.278431)
- Frame_2.BorderSizePixel = 0
- Frame_2.Position = UDim2.new(0.10826771, 0, 0.345762759, 0)
- Frame_2.Size = UDim2.new(0, 398, 0, 5)
- TextLabel_3.Parent = Main
- TextLabel_3.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
- TextLabel_3.BorderSizePixel = 0
- TextLabel_3.Position = UDim2.new(0.452622652, 0, 0.133698463, 0)
- TextLabel_3.Size = UDim2.new(0, 45, 0, 19)
- TextLabel_3.Font = Enum.Font.SourceSansBold
- TextLabel_3.Text = "Melee"
- TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_3.TextSize = 14
- TextLabel_4.Parent = Main
- TextLabel_4.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
- TextLabel_4.BorderSizePixel = 0
- TextLabel_4.Position = UDim2.new(0.793531775, 0, 0.133698463, 0)
- TextLabel_4.Size = UDim2.new(0, 45, 0, 19)
- TextLabel_4.Font = Enum.Font.SourceSansBold
- TextLabel_4.Text = "Melee"
- TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_4.TextSize = 14
- -- Scripts:
- local function EUEWWM_fake_script() -- Main.Draggability
- local script = Instance.new('LocalScript', Main)
- 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
- coroutine.wrap(EUEWWM_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement