Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
- local Window = Rayfield:CreateWindow({
- Name = "Bob UI",
- LoadingTitle = "Loading Bob UI",
- LoadingSubtitle = "by Bob YT",
- ConfigurationSaving = {
- Enabled = true,
- FolderName = nil, -- Create a custom folder for your hub/game
- FileName = "Bob Hub"
- },
- Discord = {
- Enabled = false,
- Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
- RememberJoins = true -- 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",
- 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 LarryTab = Window:CreateTab("🐷 Piggy 🐷", nil)
- local LarrySection = LarryTab:CreateSection("🐷 Piggy 🐷")
- -- TELEPORT TO the Huge Machine
- local Button = LarryTab:CreateButton({
- Name = "Deletes Doors 👍",
- Callback = function()
- -- Reference to the House model
- local houseModel = game.Workspace:FindFirstChild("House")
- -- Check if the House model exists
- if houseModel then
- -- Destroy the House model and its children
- houseModel:Destroy()
- print("House model has been deleted.")
- else
- print("House model not found in the workspace.")
- end
- end,
- })
- local Button = LarryTab:CreateButton({
- Name = "Teleports all items to localplayer 👍",
- Callback = function()
- -- Reference to the local player
- local player = game.Players.LocalPlayer
- -- Reference to the folder containing the parts to teleport
- local folderToTeleport = game.Workspace:FindFirstChild("-2125751531771736300")
- -- Check if the folder and the local player exist
- if folderToTeleport and player then
- -- Iterate through all the parts in the folder
- for _, part in ipairs(folderToTeleport:GetChildren()) do
- if part:IsA("BasePart") then
- -- Teleport each part to the local player's position
- part.CFrame = player.Character.HumanoidRootPart.CFrame
- end
- end
- print("Teleported all parts in the folder to the local player.")
- else
- print("Folder or local player not found.")
- end
- end,
- })
- local Button = LarryTab:CreateButton({
- Name = "PH 👍",
- Callback = function()
- end,
- })
- -- Reference to the local player
- local player = game.Players.LocalPlayer
- -- Reference to the folder containing the parts to teleport
- local folderToTeleport = game.Workspace:FindFirstChild("-2125751531771736300")
- -- Check if the folder and the local player exist
- if folderToTeleport and player then
- -- Iterate through all the parts in the folder
- for _, part in ipairs(folderToTeleport:GetChildren()) do
- if part:IsA("BasePart") then
- -- Teleport each part to the local player's position
- part.CFrame = player.Character.HumanoidRootPart.CFrame
- end
- end
- print("Teleported all parts in the folder to the local player.")
- else
- print("Folder or local player not found.")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement