Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made by Tea#1727
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Label = Instance.new("TextLabel")
- local UICorner = Instance.new("UICorner")
- local UICorner_2 = Instance.new("UICorner")
- local COMINGSOON = Instance.new("TextButton")
- local UICorner_3 = Instance.new("UICorner")
- local COMINGSOON_2 = Instance.new("TextButton")
- local UICorner_4 = Instance.new("UICorner")
- local COMINGSOON_3 = Instance.new("TextButton")
- local UICorner_5 = Instance.new("UICorner")
- local COMINGSOON_4 = Instance.new("TextButton")
- local UICorner_6 = Instance.new("UICorner")
- local COMINGSOON_5 = Instance.new("TextButton")
- local UICorner_7 = Instance.new("UICorner")
- local CleanWindow = Instance.new("TextButton")
- local UICorner_8 = Instance.new("UICorner")
- local Customize = Instance.new("TextButton")
- local UICorner_9 = Instance.new("UICorner")
- local ShowFinances = Instance.new("TextButton")
- local UICorner_10 = Instance.new("UICorner")
- local COMINGSOON_6 = Instance.new("TextButton")
- local UICorner_11 = Instance.new("UICorner")
- local FuelCar = Instance.new("TextButton")
- local UICorner_12 = Instance.new("UICorner")
- local CleanFloor = Instance.new("TextButton")
- local UICorner_13 = Instance.new("UICorner")
- local DrinkRedbull = Instance.new("TextButton")
- local UICorner_14 = Instance.new("UICorner")
- local ToggleSprintOFF = Instance.new("TextButton")
- local UICorner_15 = Instance.new("UICorner")
- local ToggleSprintON = Instance.new("TextButton")
- local UICorner_16 = Instance.new("UICorner")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ScreenGui.ResetOnSpawn = false
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(89, 89, 89)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.0841959938, 0, 0.0833549276, 0)
- Frame.Size = UDim2.new(0, 436, 0, 583)
- Frame.Active = true
- Label.Name = "Label"
- Label.Parent = Frame
- Label.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
- Label.Size = UDim2.new(0, 436, 0, 59)
- Label.Font = Enum.Font.GothamBold
- Label.Text = "Simple GUI"
- Label.TextColor3 = Color3.fromRGB(181, 181, 181)
- Label.TextScaled = true
- Label.TextSize = 14.000
- Label.TextWrapped = true
- UICorner.Parent = Label
- UICorner_2.CornerRadius = UDim.new(0, 9)
- UICorner_2.Parent = Frame
- COMINGSOON.Name = "COMING SOON..."
- COMINGSOON.Parent = Frame
- COMINGSOON.BackgroundColor3 = Color3.fromRGB(122, 122, 122)
- COMINGSOON.Position = UDim2.new(0.0229357816, 0, 0.126929671, 0)
- COMINGSOON.Size = UDim2.new(0, 200, 0, 50)
- COMINGSOON.Font = Enum.Font.SourceSansBold
- COMINGSOON.Text = "COMING SOON..."
- COMINGSOON.TextColor3 = Color3.fromRGB(72, 72, 72)
- COMINGSOON.TextScaled = true
- COMINGSOON.TextSize = 14.000
- COMINGSOON.TextWrapped = true
- UICorner_3.Parent = COMINGSOON
- COMINGSOON_2.Name = "COMING SOON..."
- COMINGSOON_2.Parent = Frame
- COMINGSOON_2.BackgroundColor3 = Color3.fromRGB(122, 122, 122)
- COMINGSOON_2.Position = UDim2.new(0.509174287, 0, 0.126929671, 0)
- COMINGSOON_2.Size = UDim2.new(0, 200, 0, 50)
- COMINGSOON_2.Font = Enum.Font.SourceSansBold
- COMINGSOON_2.Text = "COMING SOON.."
- COMINGSOON_2.TextColor3 = Color3.fromRGB(72, 72, 72)
- COMINGSOON_2.TextScaled = true
- COMINGSOON_2.TextSize = 14.000
- COMINGSOON_2.TextWrapped = true
- UICorner_4.Parent = COMINGSOON_2
- COMINGSOON_3.Name = "COMING SOON..."
- COMINGSOON_3.Parent = Frame
- COMINGSOON_3.BackgroundColor3 = Color3.fromRGB(122, 122, 122)
- COMINGSOON_3.Position = UDim2.new(0.0229357481, 0, 0.257289886, 0)
- COMINGSOON_3.Size = UDim2.new(0, 200, 0, 50)
- COMINGSOON_3.Font = Enum.Font.SourceSansBold
- COMINGSOON_3.Text = "COMING SOON..."
- COMINGSOON_3.TextColor3 = Color3.fromRGB(72, 72, 72)
- COMINGSOON_3.TextScaled = true
- COMINGSOON_3.TextSize = 14.000
- COMINGSOON_3.TextWrapped = true
- UICorner_5.Parent = COMINGSOON_3
- COMINGSOON_4.Name = "COMING SOON..."
- COMINGSOON_4.Parent = Frame
- COMINGSOON_4.BackgroundColor3 = Color3.fromRGB(122, 122, 122)
- COMINGSOON_4.Position = UDim2.new(0.509174287, 0, 0.257289886, 0)
- COMINGSOON_4.Size = UDim2.new(0, 200, 0, 50)
- COMINGSOON_4.Font = Enum.Font.SourceSansBold
- COMINGSOON_4.Text = "COMING SOON..."
- COMINGSOON_4.TextColor3 = Color3.fromRGB(72, 72, 72)
- COMINGSOON_4.TextScaled = true
- COMINGSOON_4.TextSize = 14.000
- COMINGSOON_4.TextStrokeColor3 = Color3.fromRGB(72, 72, 72)
- COMINGSOON_4.TextWrapped = true
- UICorner_6.Parent = COMINGSOON_4
- COMINGSOON_5.Name = "COMING SOON..."
- COMINGSOON_5.Parent = Frame
- COMINGSOON_5.BackgroundColor3 = Color3.fromRGB(122, 122, 122)
- COMINGSOON_5.Position = UDim2.new(0.0229357481, 0, 0.387650073, 0)
- COMINGSOON_5.Size = UDim2.new(0, 200, 0, 50)
- COMINGSOON_5.Font = Enum.Font.SourceSansBold
- COMINGSOON_5.Text = "COMING SOON..."
- COMINGSOON_5.TextColor3 = Color3.fromRGB(72, 72, 72)
- COMINGSOON_5.TextScaled = true
- COMINGSOON_5.TextSize = 14.000
- COMINGSOON_5.TextWrapped = true
- UICorner_7.Parent = COMINGSOON_5
- CleanWindow.Name = "CleanWindow"
- CleanWindow.Parent = Frame
- CleanWindow.BackgroundColor3 = Color3.fromRGB(122, 122, 122)
- CleanWindow.Position = UDim2.new(0.0229357481, 0, 0.521440804, 0)
- CleanWindow.Size = UDim2.new(0, 200, 0, 50)
- CleanWindow.Font = Enum.Font.SourceSansBold
- CleanWindow.Text = "Clean Windows"
- CleanWindow.TextColor3 = Color3.fromRGB(72, 72, 72)
- CleanWindow.TextScaled = true
- CleanWindow.TextSize = 14.000
- CleanWindow.TextWrapped = true
- CleanWindow.MouseButton1Down:connect(function()
- local args = {
- [1] = "Clean",
- [2] = workspace.Windows.Part.Attachment.Clean
- }
- game:GetService("ReplicatedStorage").Remote:FireServer(unpack(args))
- end)
- UICorner_8.Parent = CleanWindow
- Customize.Name = "Customize"
- Customize.Parent = Frame
- Customize.BackgroundColor3 = Color3.fromRGB(122, 122, 122)
- Customize.Position = UDim2.new(0.0229357481, 0, 0.656946778, 0)
- Customize.Size = UDim2.new(0, 200, 0, 50)
- Customize.Font = Enum.Font.SourceSansBold
- Customize.Text = "Customize Character"
- Customize.TextColor3 = Color3.fromRGB(72, 72, 72)
- Customize.TextScaled = true
- Customize.TextSize = 14.000
- Customize.TextWrapped = true
- Customize.MouseButton1Down:connect(function()
- local args = {
- [1] = "Customize",
- [2] = true
- }
- game:GetService("ReplicatedStorage").Remote:FireServer(unpack(args))
- end)
- UICorner_9.Parent = Customize
- ShowFinances.Name = "ShowFinances"
- ShowFinances.Parent = Frame
- ShowFinances.BackgroundColor3 = Color3.fromRGB(122, 122, 122)
- ShowFinances.Position = UDim2.new(0.0229357481, 0, 0.7975986, 0)
- ShowFinances.Size = UDim2.new(0, 200, 0, 50)
- ShowFinances.Font = Enum.Font.SourceSansBold
- ShowFinances.Text = "Show Finances"
- ShowFinances.TextColor3 = Color3.fromRGB(72, 72, 72)
- ShowFinances.TextScaled = true
- ShowFinances.TextSize = 14.000
- ShowFinances.TextWrapped = true
- ShowFinances.MouseButton1Down:connect(function()
- local args = {
- [1] = "ShowFinances"
- }
- game:GetService("ReplicatedStorage").Remote:FireServer(unpack(args))
- end)
- UICorner_10.Parent = ShowFinances
- COMINGSOON_6.Name = "COMING SOON..."
- COMINGSOON_6.Parent = Frame
- COMINGSOON_6.BackgroundColor3 = Color3.fromRGB(122, 122, 122)
- COMINGSOON_6.Position = UDim2.new(0.509174287, 0, 0.387650073, 0)
- COMINGSOON_6.Size = UDim2.new(0, 200, 0, 50)
- COMINGSOON_6.Font = Enum.Font.SourceSansBold
- COMINGSOON_6.Text = "COMING SOON..."
- COMINGSOON_6.TextColor3 = Color3.fromRGB(72, 72, 72)
- COMINGSOON_6.TextScaled = true
- COMINGSOON_6.TextSize = 14.000
- COMINGSOON_6.TextWrapped = true
- UICorner_11.Parent = COMINGSOON_6
- FuelCar.Name = "FuelCar"
- FuelCar.Parent = Frame
- FuelCar.BackgroundColor3 = Color3.fromRGB(122, 122, 122)
- FuelCar.Position = UDim2.new(0.509174287, 0, 0.521440804, 0)
- FuelCar.Size = UDim2.new(0, 200, 0, 50)
- FuelCar.Font = Enum.Font.SourceSansBold
- FuelCar.Text = "Fuel Car"
- FuelCar.TextColor3 = Color3.fromRGB(72, 72, 72)
- FuelCar.TextScaled = true
- FuelCar.TextSize = 14.000
- FuelCar.TextWrapped = true
- FuelCar.MouseButton1Down:connect(function()
- local args = {
- [1] = "FuelCustomer",
- [2] = workspace.Car_Med,
- [3] = workspace.Pumps.Pump_Type1
- }
- game:GetService("ReplicatedStorage").Remote:FireServer(unpack(args))
- end)
- UICorner_12.Parent = FuelCar
- CleanFloor.Name = "CleanFloor"
- CleanFloor.Parent = Frame
- CleanFloor.BackgroundColor3 = Color3.fromRGB(122, 122, 122)
- CleanFloor.Position = UDim2.new(0.509174287, 0, 0.655231535, 0)
- CleanFloor.Size = UDim2.new(0, 200, 0, 50)
- CleanFloor.Font = Enum.Font.SourceSansBold
- CleanFloor.Text = "Clean Floor"
- CleanFloor.TextColor3 = Color3.fromRGB(72, 72, 72)
- CleanFloor.TextScaled = true
- CleanFloor.TextSize = 14.000
- CleanFloor.TextWrapped = true
- CleanFloor.MouseButton1Down:connect(function()
- local args = {
- [1] = "Clean",
- [2] = workspace.Spot.Clean
- }
- game:GetService("ReplicatedStorage").Remote:FireServer(unpack(args))
- end)
- UICorner_13.Parent = CleanFloor
- DrinkRedbull.Name = "DrinkRedbull"
- DrinkRedbull.Parent = Frame
- DrinkRedbull.BackgroundColor3 = Color3.fromRGB(122, 122, 122)
- DrinkRedbull.Position = UDim2.new(0.509174287, 0, 0.795883358, 0)
- DrinkRedbull.Size = UDim2.new(0, 200, 0, 50)
- DrinkRedbull.Font = Enum.Font.SourceSansBold
- DrinkRedbull.Text = "Drink RedBull"
- DrinkRedbull.TextColor3 = Color3.fromRGB(72, 72, 72)
- DrinkRedbull.TextScaled = true
- DrinkRedbull.TextSize = 14.000
- DrinkRedbull.TextWrapped = true
- DrinkRedbull.MouseButton1Down:connect(function()
- local args = {
- [1] = "BuyBloxBull",
- [2] = workspace.Vendor_BloxBull_1
- }
- game:GetService("ReplicatedStorage").Remote:FireServer(unpack(args))
- end)
- UICorner_14.Parent = DrinkRedbull
- ToggleSprintOFF.Name = "ToggleSprint(OFF)"
- ToggleSprintOFF.Parent = Frame
- ToggleSprintOFF.BackgroundColor3 = Color3.fromRGB(122, 122, 122)
- ToggleSprintOFF.Position = UDim2.new(0.509174287, 0, 0.915951967, 0)
- ToggleSprintOFF.Size = UDim2.new(0, 200, 0, 40)
- ToggleSprintOFF.Font = Enum.Font.SourceSansBold
- ToggleSprintOFF.Text = "Toggle Sprint (OFF)"
- ToggleSprintOFF.TextColor3 = Color3.fromRGB(72, 72, 72)
- ToggleSprintOFF.TextScaled = true
- ToggleSprintOFF.TextSize = 14.000
- ToggleSprintOFF.TextWrapped = true
- ToggleSprintOFF.MouseButton1Down:connect(function()
- local args = {
- [1] = "Sprinting",
- [2] = false
- }
- game:GetService("ReplicatedStorage").Remote:FireServer(unpack(args))
- end)
- UICorner_15.Parent = ToggleSprintOFF
- ToggleSprintON.Name = "ToggleSprint(ON)"
- ToggleSprintON.Parent = Frame
- ToggleSprintON.BackgroundColor3 = Color3.fromRGB(122, 122, 122)
- ToggleSprintON.Position = UDim2.new(0.0229357444, 0, 0.915951967, 0)
- ToggleSprintON.Size = UDim2.new(0, 200, 0, 40)
- ToggleSprintON.Font = Enum.Font.SourceSansBold
- ToggleSprintON.Text = "Toggle Sprint (ON)"
- ToggleSprintON.TextColor3 = Color3.fromRGB(72, 72, 72)
- ToggleSprintON.TextScaled = true
- ToggleSprintON.TextSize = 14.000
- ToggleSprintON.TextWrapped = true
- ToggleSprintON.MouseButton1Down:connect(function()
- local args = {
- [1] = "Sprinting",
- [2] = true
- }
- game:GetService("ReplicatedStorage").Remote:FireServer(unpack(args))
- end)
- UICorner_16.Parent = ToggleSprintON
- -- Scripts:
- local function GTBFSBY_fake_script() -- Frame.Smooth GUI Dragging
- local script = Instance.new('LocalScript', Frame)
- local UserInputService = game:GetService("UserInputService")
- local runService = (game:GetService("RunService"));
- local gui = script.Parent
- local dragging
- local dragInput
- local dragStart
- local startPos
- function Lerp(a, b, m)
- return a + (b - a) * m
- end;
- local lastMousePos
- local lastGoalPos
- local DRAG_SPEED = (8); -- // The speed of the UI darg.
- function Update(dt)
- if not (startPos) then return end;
- if not (dragging) and (lastGoalPos) then
- gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, lastGoalPos.X.Offset, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, lastGoalPos.Y.Offset, dt * DRAG_SPEED))
- return
- end;
- local delta = (lastMousePos - UserInputService:GetMouseLocation())
- local xGoal = (startPos.X.Offset - delta.X);
- local yGoal = (startPos.Y.Offset - delta.Y);
- lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal)
- gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, xGoal, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, yGoal, dt * DRAG_SPEED))
- 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
- lastMousePos = UserInputService:GetMouseLocation()
- 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)
- runService.Heartbeat:Connect(Update)
- end
- coroutine.wrap(GTBFSBY_fake_script)()
- local function RIJO_fake_script() -- Frame.Smooth GUI Dragging
- local script = Instance.new('LocalScript', Frame)
- local UserInputService = game:GetService("UserInputService")
- local runService = (game:GetService("RunService"));
- local gui = script.Parent
- local dragging
- local dragInput
- local dragStart
- local startPos
- function Lerp(a, b, m)
- return a + (b - a) * m
- end;
- local lastMousePos
- local lastGoalPos
- local DRAG_SPEED = (8); -- // The speed of the UI darg.
- function Update(dt)
- if not (startPos) then return end;
- if not (dragging) and (lastGoalPos) then
- gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, lastGoalPos.X.Offset, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, lastGoalPos.Y.Offset, dt * DRAG_SPEED))
- return
- end;
- local delta = (lastMousePos - UserInputService:GetMouseLocation())
- local xGoal = (startPos.X.Offset - delta.X);
- local yGoal = (startPos.Y.Offset - delta.Y);
- lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal)
- gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, xGoal, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, yGoal, dt * DRAG_SPEED))
- 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
- lastMousePos = UserInputService:GetMouseLocation()
- 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)
- runService.Heartbeat:Connect(Update)
- end
- coroutine.wrap(RIJO_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement