0% found this document useful (0 votes)
17 views1 page

Outputcode 6

This script creates a GUI for a Roblox game that allows the player to toggle their character's walking speed. It includes a button to activate or deactivate the speed boost and a close button to remove the GUI. The GUI is draggable and designed to be user-friendly.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views1 page

Outputcode 6

This script creates a GUI for a Roblox game that allows the player to toggle their character's walking speed. It includes a button to activate or deactivate the speed boost and a close button to remove the GUI. The GUI is draggable and designed to be user-friendly.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

local player = [Link].

LocalPlayer
local character = [Link] or [Link]:Wait()
local humanoid = character:WaitForChild("Humanoid")

local screenGui = [Link]("ScreenGui")


[Link] = "Black Flash Gui"
[Link] = player:WaitForChild("PlayerGui")

local frame = [Link]("Frame")


[Link] = [Link](0, 200, 0, 100)
[Link] = [Link](1, -210, 0, 10)
frame.BackgroundColor3 = [Link](0, 0, 0)
[Link] = screenGui

local toggleButton = [Link]("TextButton")


[Link] = [Link](0, 100, 0, 50)
[Link] = [Link](0, 10, 0, 10)
[Link] = "Activate"
[Link] = frame

local closeButton = [Link]("TextButton")


[Link] = [Link](0, 50, 0, 50)
[Link] = [Link](1, -60, 0, 10)
[Link] = "X"
[Link] = frame

local activated = false

toggleButton.MouseButton1Click:Connect(function()
activated = not activated
[Link] = activated and "Deactivate" or "Activate"
if activated then
[Link] = [Link] * 2
else
[Link] = [Link] / 2
end
end)

closeButton.MouseButton1Click:Connect(function()
screenGui:Destroy()
end)

[Link] = true
[Link] = true

You might also like