local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local Window = Rayfield:CreateWindow({
Name = "PetSimScriptHub",
Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default).
LoadingTitle = "Pet Simulator Script hub made using Rayfield interface.",
LoadingSubtitle = "by Cloaked's Scripts",
Theme = "AmberGlow", -- Check https://[Log in to view URL]
DisableRayfieldPrompts = false,
DisableBuildWarnings = false, -- Prevents Rayfield from warning when the script has a version mismatch with the interface
ConfigurationSaving = {
Enabled = false,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "PetSimOneScriptHub"
},
Discord = {
Enabled = True, -- Prompt the user to join your Discord server if their executor supports it
Invite = "https://[Log in to view URL]", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ ABCD would be ABCD
RememberJoins = false -- Set this to false to make them join the discord every time they load it up
},
KeySystem = false, -- Set this to true to use our key system
KeySettings = {
Title = "Untitled",
Subtitle = "Key System",
Note = "No method of obtaining the key is provided", -- Use this to tell the user how to get a key
FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
}
})
local PlayerTab = Window:CreateTab("Player", nil) -- Title, Image
Rayfield:Notify({
Title = "Successfully Executed Script.",
Content = "Make sure to join the discord (in the misc tab) for future updates and countless scripts!",
Duration = 5,
Image = nil,
})
local Slider = PlayerTab:CreateSlider({
Name = "Walkspeed",
Range = {0, 2500},
Increment = 1,
Suffix = "Speed",
CurrentValue = 16,
Flag = "Slider1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
Callback = function(Value)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = (Value)
end,
})
local Slider = PlayerTab:CreateSlider({
Name = "JumpPower",
Range = {0, 2500},
Increment = 1,
Suffix = "JumpPower",
CurrentValue = 50,
Flag = "Slider1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
Callback = function(Value)
game.Players.LocalPlayer.Character.Humanoid.JumpPower = (Value)
end,
})
local TeleportsTab = Window:CreateTab("Teleports🏝️", nil) -- Title, Image
local Button = TeleportsTab:CreateButton({
Name = "Spawn",
Callback = function()
local teleportPart = script.Parent
game.Players.LocalPlayer.Character:MoveTo(Vector3.new(536.137939, -36.409977, 886.542542))
teleportPart.Touched:Connect(function(hit)
local character = hit.Parent
local humanoidRoot = character:FindFirstChild("HumanoidRootPart")
if humanoidRoot then
humanoidRoot.CFrame = CFrame.new(teleportPosition)
end
end)
end,
})
local Button = TeleportsTab:CreateButton({
Name = "Area1",
Callback = function()
local teleportPart = script.Parent
game.Players.LocalPlayer.Character:MoveTo(Vector3.new(13, -37, 885))
teleportPart.Touched:Connect(function(hit)
local character = hit.Parent
local humanoidRoot = character:FindFirstChild("HumanoidRootPart")
if humanoidRoot then
humanoidRoot.CFrame = CFrame.new(teleportPosition)
end
end)
end,
})
local Button = TeleportsTab:CreateButton({
Name = "Area2",
Callback = function()
local teleportPart = script.Parent
game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-500, -37, 885))
teleportPart.Touched:Connect(function(hit)
local character = hit.Parent
local humanoidRoot = character:FindFirstChild("HumanoidRootPart")
if humanoidRoot then
humanoidRoot.CFrame = CFrame.new(teleportPosition)
end
end)
end,
})
local Button = TeleportsTab:CreateButton({
Name = "Area3",
Callback = function()
local teleportPart = script.Parent
game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-760, -37, 885))
teleportPart.Touched:Connect(function(hit)
local character = hit.Parent
local humanoidRoot = character:FindFirstChild("HumanoidRootPart")
if humanoidRoot then
humanoidRoot.CFrame = CFrame.new(teleportPosition)
end
end)
end,
})
local Button = TeleportsTab:CreateButton({
Name = "Area4",
Callback = function()
local teleportPart = script.Parent
game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-1160, -37, 885))
teleportPart.Touched:Connect(function(hit)
local character = hit.Parent
local humanoidRoot = character:FindFirstChild("HumanoidRootPart")
if humanoidRoot then
humanoidRoot.CFrame = CFrame.new(teleportPosition)
end
end)
end,
})
local Button = TeleportsTab:CreateButton({
Name = "Area5",
Callback = function()
local teleportPart = script.Parent
game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-1500, -37, 885))
teleportPart.Touched:Connect(function(hit)
local character = hit.Parent
local humanoidRoot = character:FindFirstChild("HumanoidRootPart")
if humanoidRoot then
humanoidRoot.CFrame = CFrame.new(teleportPosition)
end
end)
end,
})
To embed this program on your website, copy the following code and paste it into your website's HTML: