if game.PlaceId == 189707 or game.PlaceId == 3255508650 then
-- Script Hub GUI in Roblox
-- Put this in a LocalScript inside the ScreenGui
local screenGui = script.Parent
local button1 = screenGui:WaitForChild("Button1") -- Adjust the button names as needed
local button2 = screenGui:WaitForChild("Button2") -- Example button 2
local button3 = screenGui:WaitForChild("Button3") -- Example button 3
-- Function to run script 1
local function runScript1()
-- Example script 1: Changing the player's walk speed
local player = game.Players.LocalPlayer
if player.Character then
player.Character.Humanoid.WalkSpeed = 100 -- Changes walk speed
print("Script 1 executed: WalkSpeed increased")
end
end
-- Function to run script 2
local function runScript2()
-- Example script 2: Give the player a tool (e.g., a sword)
local player = game.Players.LocalPlayer
local tool = Instance.new("Tool")
tool.Name = "Sword"
tool.Parent = player.Backpack
print("Script 2 executed: Sword added to backpack")
end
-- Function to run script 3
local function runScript3()
-- Example script 3: Teleport the player to a random position on the map
local player = game.Players.LocalPlayer
local randomPosition = Vector3.new(math.random(-50, 50), 10, math.random(-50, 50))
if player.Character then
player.Character:SetPrimaryPartCFrame(CFrame.new(randomPosition))
print("Script 3 executed: Teleported to random location")
end
end
-- Button functions to run scripts
button1.MouseButton1Click:Connect(runScript1)
button2.MouseButton1Click:Connect(runScript2)
button3.MouseButton1Click:Connect(runScript3)
To embed this program on your website, copy the following code and paste it into your website's HTML: