Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Fat's Simple Speed Gui
- -- Version: 3.2
- -- Instances:
- local SpeedGui2 = Instance.new("ScreenGui")
- local Frame = Instance.new("ImageLabel")
- local Frame_2 = Instance.new("ImageLabel")
- local Fill = Instance.new("ImageLabel")
- local TextButton = Instance.new("TextButton")
- local TextButton_Roundify_12px = Instance.new("ImageLabel")
- local Frame_3 = Instance.new("ImageLabel")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local TextLabel_Roundify_12px = Instance.new("ImageLabel")
- local TextLabel_3 = Instance.new("TextLabel")
- local TextLabel_Roundify_12px_2 = Instance.new("ImageLabel")
- local TextLabel_4 = Instance.new("TextLabel")
- local TextLabel_Roundify_12px_3 = Instance.new("ImageLabel")
- local TextLabel_5 = Instance.new("TextLabel")
- --Properties:
- SpeedGui2.Name = "Speed Gui #2"
- SpeedGui2.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Frame.Name = "Frame"
- Frame.Parent = SpeedGui2
- Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame.BackgroundTransparency = 1.000
- Frame.Position = UDim2.new(0.10356997, 0, 0.565117657, 0)
- Frame.Size = UDim2.new(0, 374, 0, 216)
- Frame.Image = "rbxassetid://3570695787"
- Frame.ImageColor3 = Color3.fromRGB(74, 72, 75)
- Frame.ScaleType = Enum.ScaleType.Slice
- Frame.SliceCenter = Rect.new(100, 100, 100, 100)
- Frame.SliceScale = 0.120
- Frame_2.Name = "Frame"
- Frame_2.Parent = Frame
- Frame_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame_2.BackgroundTransparency = 1.000
- Frame_2.Size = UDim2.new(0, 23, 0, 217)
- Frame_2.Image = "rbxassetid://3570695787"
- Frame_2.ImageColor3 = Color3.fromRGB(0, 0, 0)
- Frame_2.ScaleType = Enum.ScaleType.Slice
- Frame_2.SliceCenter = Rect.new(100, 100, 100, 100)
- Frame_2.SliceScale = 0.120
- Fill.Name = "Fill"
- Fill.Parent = Frame
- Fill.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Fill.BackgroundTransparency = 1.000
- Fill.Position = UDim2.new(0.159544498, 0, 0.816814423, 0)
- Fill.Size = UDim2.new(0, 249, 0, 5)
- Fill.Image = "rbxassetid://3570695787"
- Fill.ImageColor3 = Color3.fromRGB(95, 94, 95)
- Fill.ScaleType = Enum.ScaleType.Slice
- Fill.SliceCenter = Rect.new(100, 100, 100, 100)
- Fill.SliceScale = 0.120
- TextButton.Parent = Fill
- TextButton.AnchorPoint = Vector2.new(0.5, 0.5)
- TextButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.BackgroundTransparency = 1.000
- TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0, 0, 0.5, 0)
- TextButton.Size = UDim2.new(0, 9, 0, 42)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = ""
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextSize = 14.000
- TextButton_Roundify_12px.Name = "TextButton_Roundify_12px"
- TextButton_Roundify_12px.Parent = TextButton
- TextButton_Roundify_12px.Active = true
- TextButton_Roundify_12px.AnchorPoint = Vector2.new(0.5, 0.5)
- TextButton_Roundify_12px.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton_Roundify_12px.BackgroundTransparency = 1.000
- TextButton_Roundify_12px.Position = UDim2.new(0.166666657, 0, 0.5, 0)
- TextButton_Roundify_12px.Selectable = true
- TextButton_Roundify_12px.Size = UDim2.new(1, 0, 1, 0)
- TextButton_Roundify_12px.Image = "rbxassetid://3570695787"
- TextButton_Roundify_12px.ImageColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_Roundify_12px.ScaleType = Enum.ScaleType.Slice
- TextButton_Roundify_12px.SliceCenter = Rect.new(100, 100, 100, 100)
- TextButton_Roundify_12px.SliceScale = 0.120
- Frame_3.Name = "Frame"
- Frame_3.Parent = Frame
- Frame_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame_3.BackgroundTransparency = 1.000
- Frame_3.Position = UDim2.new(0.247190997, 0, 0, 0)
- Frame_3.Size = UDim2.new(0, 179, 0, 44)
- Frame_3.Image = "rbxassetid://3570695787"
- Frame_3.ImageColor3 = Color3.fromRGB(0, 0, 0)
- Frame_3.ScaleType = Enum.ScaleType.Slice
- Frame_3.SliceCenter = Rect.new(100, 100, 100, 100)
- Frame_3.SliceScale = 0.120
- TextLabel.Parent = Frame_3
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.Size = UDim2.new(0, 179, 0, 44)
- TextLabel.Font = Enum.Font.SourceSansBold
- TextLabel.Text = "Speed Gui"
- TextLabel.TextColor3 = Color3.fromRGB(254, 252, 255)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextWrapped = true
- TextLabel_2.Parent = Frame_3
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.Position = UDim2.new(0.553072631, 0, 4.340909, 0)
- TextLabel_2.Size = UDim2.new(0, 169, 0, 25)
- TextLabel_2.Font = Enum.Font.SourceSansBold
- TextLabel_2.Text = "Made by Fat#3323"
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextSize = 14.000
- TextLabel_2.TextWrapped = true
- TextLabel_Roundify_12px.Name = "TextLabel_Roundify_12px"
- TextLabel_Roundify_12px.Parent = Frame_3
- TextLabel_Roundify_12px.AnchorPoint = Vector2.new(0.5, 0.5)
- TextLabel_Roundify_12px.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_Roundify_12px.BackgroundTransparency = 1.000
- TextLabel_Roundify_12px.Position = UDim2.new(-0.188486785, 0, 2.81818199, 0)
- TextLabel_Roundify_12px.Size = UDim2.new(0.223463684, 0, 1, 0)
- TextLabel_Roundify_12px.Image = "rbxassetid://3570695787"
- TextLabel_Roundify_12px.ImageColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_Roundify_12px.ScaleType = Enum.ScaleType.Slice
- TextLabel_Roundify_12px.SliceCenter = Rect.new(100, 100, 100, 100)
- TextLabel_Roundify_12px.SliceScale = 0.120
- TextLabel_3.Parent = TextLabel_Roundify_12px
- TextLabel_3.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_3.BackgroundTransparency = 1.000
- TextLabel_3.BorderSizePixel = 0
- TextLabel_3.Position = UDim2.new(-0.251676172, 0, 0, 0)
- TextLabel_3.Size = UDim2.new(0, 59, 0, 43)
- TextLabel_3.Font = Enum.Font.SourceSansBold
- TextLabel_3.Text = "0"
- TextLabel_3.TextColor3 = Color3.fromRGB(254, 252, 255)
- TextLabel_3.TextScaled = true
- TextLabel_3.TextSize = 14.000
- TextLabel_3.TextWrapped = true
- TextLabel_Roundify_12px_2.Name = "TextLabel_Roundify_12px"
- TextLabel_Roundify_12px_2.Parent = Frame_3
- TextLabel_Roundify_12px_2.AnchorPoint = Vector2.new(0.5, 0.5)
- TextLabel_Roundify_12px_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_Roundify_12px_2.BackgroundTransparency = 1.000
- TextLabel_Roundify_12px_2.Position = UDim2.new(1.23184359, 0, 2.81818199, 0)
- TextLabel_Roundify_12px_2.Size = UDim2.new(0.351955295, 0, 1, 0)
- TextLabel_Roundify_12px_2.Image = "rbxassetid://3570695787"
- TextLabel_Roundify_12px_2.ImageColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_Roundify_12px_2.ScaleType = Enum.ScaleType.Slice
- TextLabel_Roundify_12px_2.SliceCenter = Rect.new(100, 100, 100, 100)
- TextLabel_Roundify_12px_2.SliceScale = 0.120
- TextLabel_4.Parent = TextLabel_Roundify_12px_2
- TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_4.BackgroundTransparency = 1.000
- TextLabel_4.BorderSizePixel = 0
- TextLabel_4.Position = UDim2.new(0.0629599094, 0, -0.0681817532, 0)
- TextLabel_4.Size = UDim2.new(0, 55, 0, 50)
- TextLabel_4.Font = Enum.Font.SourceSansBold
- TextLabel_4.Text = "100"
- TextLabel_4.TextColor3 = Color3.fromRGB(254, 252, 255)
- TextLabel_4.TextScaled = true
- TextLabel_4.TextSize = 14.000
- TextLabel_4.TextWrapped = true
- TextLabel_Roundify_12px_3.Name = "TextLabel_Roundify_12px"
- TextLabel_Roundify_12px_3.Parent = Frame_3
- TextLabel_Roundify_12px_3.AnchorPoint = Vector2.new(0.5, 0.5)
- TextLabel_Roundify_12px_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_Roundify_12px_3.BackgroundTransparency = 1.000
- TextLabel_Roundify_12px_3.Position = UDim2.new(0.5, 0, 2.590909, 0)
- TextLabel_Roundify_12px_3.Size = UDim2.new(1, 0, 1, 0)
- TextLabel_Roundify_12px_3.Image = "rbxassetid://3570695787"
- TextLabel_Roundify_12px_3.ImageColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_Roundify_12px_3.ScaleType = Enum.ScaleType.Slice
- TextLabel_Roundify_12px_3.SliceCenter = Rect.new(100, 100, 100, 100)
- TextLabel_Roundify_12px_3.SliceScale = 0.120
- TextLabel_5.Parent = TextLabel_Roundify_12px_3
- TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_5.BackgroundTransparency = 1.000
- TextLabel_5.BorderSizePixel = 0
- TextLabel_5.Position = UDim2.new(0.0515032709, 0, -0.0744018555, 0)
- TextLabel_5.Size = UDim2.new(0, 160, 0, 50)
- TextLabel_5.Font = Enum.Font.SourceSansLight
- TextLabel_5.Text = "Simple Speed Slider"
- TextLabel_5.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_5.TextScaled = true
- TextLabel_5.TextSize = 14.000
- TextLabel_5.TextStrokeColor3 = Color3.fromRGB(254, 252, 255)
- TextLabel_5.TextWrapped = true
- -- Scripts:
- local function YTWJ_fake_script() -- Fill.LocalScript
- local script = Instance.new('LocalScript', Fill)
- local UserInputService = game:GetService("UserInputService")
- local Dragging = false
- script.Parent.TextButton.MouseButton1Down:Connect(function()
- Dragging = true
- end)
- UserInputService.InputChanged:Connect(function()
- if Dragging then
- local MousePos = UserInputService:GetMouseLocation()+Vector2.new(0,36)
- local RelPos = MousePos-script.Parent.AbsolutePosition
- local Precent = math.clamp(RelPos.X/script.Parent.AbsoluteSize.X,0,1)
- script.Parent.TextButton.Position = UDim2.new(Precent,0,0.5,0)
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = Precent*100
- end
- end)
- UserInputService.InputEnded:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- Dragging = false
- end
- end)
- end
- coroutine.wrap(YTWJ_fake_script)()
- local function SGVFK_fake_script() -- Frame.Dragify
- local script = Instance.new('LocalScript', Frame)
- local UIS = game:GetService("UserInputService")
- function dragify(Frame)
- dragToggle = nil
- local dragSpeed = 0
- dragInput = nil
- dragStart = nil
- local dragPos = nil
- function updateInput(input)
- local Delta = input.Position - dragStart
- local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
- game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.25), {Position = Position}):Play()
- end
- Frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
- dragToggle = true
- dragStart = input.Position
- startPos = Frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragToggle = false
- end
- end)
- end
- end)
- Frame.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if input == dragInput and dragToggle then
- updateInput(input)
- end
- end)
- end
- dragify(script.Parent)
- end
- coroutine.wrap(SGVFK_fake_script)()
Add Comment
Please, Sign In to add comment