Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ============================================
- -- GLOBAL SERVICES AND VARIABLES
- -- Put this section at the top after Window creation
- -- ============================================
- -- Services
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- -- Player references
- local player = Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local hrp = character:WaitForChild("HumanoidRootPart")
- local backpack = player:WaitForChild("Backpack")
- -- Workspace references
- local itemfolder = workspace:WaitForChild("ItemSpawns")
- -- Update character/hrp when player respawns
- player.CharacterAdded:Connect(function(char)
- character = char
- hrp = character:WaitForChild("HumanoidRootPart")
- end)
- -- Helper function to get current HRP
- local function getHRP()
- if not character or not character.Parent then
- character = player.Character or player.CharacterAdded:Wait()
- end
- if not hrp or not hrp.Parent then
- hrp = character:WaitForChild("HumanoidRootPart")
- end
- return hrp
- end
- -- Helper function to get teleport HRP (for teleport functions)
- local function getTeleportHRP()
- local char = player.Character or player.CharacterAdded:Wait()
- local root = char:WaitForChild("HumanoidRootPart")
- return root
- end
- -- ============================================
- -- END OF GLOBAL SECTION
- -- ============================================
- -- Load Rayfield first
- local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() -- ← NO TRAILING SPACES!
- local Window = Rayfield:CreateWindow({
- Name = "The One Piece Is Real",
- Icon = 0,
- LoadingTitle = "Rayfield Interface Suite",
- LoadingSubtitle = "by Sirius",
- ShowText = "Rayfield",
- Theme = "Default",
- ToggleUIKeybind = "K",
- DisableRayfieldPrompts = false,
- DisableBuildWarnings = false,
- ConfigurationSaving = {
- Enabled = true,
- FolderName = nil,
- FileName = "Big Hub"
- },
- Discord = {
- Enabled = false,
- Invite = "noinvitelink",
- RememberJoins = true
- },
- KeySystem = false,
- KeySettings = {
- Title = "Untitled",
- Subtitle = "Key System",
- Note = "No method of obtaining the key is provided",
- FileName = "Key",
- SaveKey = true,
- GrabKeyFromSite = false,
- Key = {"Hello"}
- }
- })
- local Tab = Window:CreateTab("get items", 4483362458)
- -- Helper function to get item CFrame (only added here since it wasn't above)
- local function getItemCFrame(item)
- if not item or not item.Parent then
- return nil
- end
- if item:IsA("Model") then
- local pivot = item:GetPivot()
- if pivot then return pivot end
- local primaryPart = item.PrimaryPart
- if primaryPart then return primaryPart.CFrame end
- elseif item:IsA("BasePart") then
- return item.CFrame
- end
- local part = item:FindFirstChildWhichIsA("BasePart", true)
- if part then
- return part.CFrame
- end
- return nil
- end
- -- ============================================
- -- ITEM TRACKING SYSTEM
- -- ============================================
- local trackedItems = {}
- local ItemDropdown = nil
- local function getAllItems()
- local items = {}
- local itemSet = {}
- local folder = workspace:FindFirstChild("ItemSpawns")
- if not folder then
- warn("ItemSpawns folder not found!")
- return items
- end
- trackedItems = {}
- for _, item in ipairs(folder:GetChildren()) do
- -- Accept items that have EITHER ClickDetector OR ProximityPrompt (or both)
- local hasCD = item:FindFirstChild("ClickDetector")
- local hasPP = item:FindFirstChild("ProximityPrompt")
- if (hasCD or hasPP) and item.Parent then
- local cframe = getItemCFrame(item)
- if cframe then
- if not itemSet[item.Name] then
- itemSet[item.Name] = true
- table.insert(items, item.Name)
- end
- trackedItems[item.Name] = {
- instance = item,
- cframe = cframe
- }
- end
- end
- end
- table.sort(items)
- if #items == 0 then
- table.insert(items, "No items found")
- end
- return items
- end
- -- ============================================
- -- AUTO-REFRESH SYSTEM (25 SECONDS)
- -- ============================================
- local function refreshItemList()
- local newItems = getAllItems()
- if ItemDropdown then
- ItemDropdown:Refresh(newItems)
- end
- print("✓ Item list refreshed -", #newItems, "items available")
- end
- -- Auto-refresh every 25 seconds
- task.spawn(function()
- while task.wait(25) do
- refreshItemList()
- end
- end)
- -- ============================================
- -- GRAB ITEM FUNCTION (WITH PROXIMITY PROMPT SPAM + CLICKDETECTOR)
- -- ============================================
- local function grabItem(itemName)
- local success, err = pcall(function()
- if not itemName or itemName == "" or itemName == "No items found" then
- return
- end
- local folder = workspace:FindFirstChild("ItemSpawns")
- if not folder then
- warn("ItemSpawns folder missing")
- return
- end
- local item = folder:FindFirstChild(itemName)
- if not item or not item.Parent then
- warn("Item not available:", itemName)
- task.wait(0.5)
- refreshItemList()
- return
- end
- local clickDetector = item:FindFirstChild("ClickDetector")
- local proximityPrompt = item:FindFirstChild("ProximityPrompt")
- -- Get position
- local itemCFrame = getItemCFrame(item)
- if not itemCFrame then
- warn("Could not get CFrame for:", itemName)
- return
- end
- local root = getHRP()
- local savedCFrame = root.CFrame
- -- Teleport to item
- root.CFrame = itemCFrame + Vector3.new(0, 3, 0)
- task.wait(0.1)
- -- Spam both systems for 0.5 seconds
- local heartbeatConnection
- heartbeatConnection = RunService.Heartbeat:Connect(function()
- -- Enable and spam ProximityPrompt
- if proximityPrompt and proximityPrompt.Parent then
- proximityPrompt.MaxActivationDistance = 100
- proximityPrompt.Enabled = true
- pcall(function()
- proximityPrompt:InputHoldBegin()
- task.delay(0.03, function()
- if proximityPrompt and proximityPrompt.Parent then
- proximityPrompt:InputHoldEnd()
- end
- end)
- end)
- end
- -- Fire ClickDetector every frame (some games require repeated clicks)
- if clickDetector and clickDetector.Parent then
- fireclickdetector(clickDetector)
- end
- end)
- -- Keep spamming for half a second
- task.wait(0.5)
- -- Cleanup
- if heartbeatConnection then
- heartbeatConnection:Disconnect()
- end
- if proximityPrompt and proximityPrompt.Parent then
- proximityPrompt.MaxActivationDistance = 7
- proximityPrompt.Enabled = false
- end
- -- Return to original position
- if root and root.Parent then
- root.CFrame = savedCFrame
- end
- print("✓ Grabbed:", itemName)
- task.wait(0.5)
- refreshItemList()
- end)
- if not success then
- warn("Grab error:", err)
- task.wait(0.5)
- refreshItemList()
- end
- end
- -- ============================================
- -- UI CONTROLS
- -- ============================================
- local itemList = getAllItems()
- local selectedItem = nil
- ItemDropdown = Tab:CreateDropdown({
- Name = "Select Item",
- Options = itemList,
- CurrentOption = { itemList[1] },
- Callback = function(option)
- selectedItem = type(option) == "table" and option[1] or option
- print("Selected:", selectedItem)
- end,
- })
- Tab:CreateButton({
- Name = "Grab Selected Item",
- Callback = function()
- if selectedItem and selectedItem ~= "No items found" then
- grabItem(selectedItem)
- else
- warn("No valid item selected")
- end
- end,
- })
- Tab:CreateButton({
- Name = "Manual Refresh",
- Callback = function()
- refreshItemList()
- end,
- })
- Tab:CreateButton({
- Name = "Show All Items (Console)",
- Callback = function()
- local items = getAllItems()
- print("=== AVAILABLE ITEMS ===")
- for i, name in ipairs(items) do
- print(i .. ".", name)
- end
- print("Total items:", #items)
- end,
- })
- -- expected identifier when parsing expression got '}' stackbegin script 'coregui.11992.6506599', line 1 stack end
- local Section = Tab:CreateSection("infinite yield")
- local function infyield()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))()
- end
- local Button = Tab:CreateButton({
- Name = "Infinite Yield",
- Callback = function()
- infyield()
- -- The function that takes place when the button is pressed
- end,
- Rayfield:Notify({
- Title = "infinite yield",
- Content = "congrats you ran infinite yield like six seven 6767676767",
- Duration = 6.5,
- Image = 4483362458,
- })
- })
- --is the esp real?!?!
- local Tab = Window:CreateTab("ESP", 4483362458)
- local character = player.Character or player.CharacterAdded:Wait()
- local itemfolder = workspace:WaitForChild("ItemSpawns")
- -- Store ESP data
- local espItems = {}
- local espEnabled = false -- ADDED: Track ESP state manually
- -- Create ESP for a model
- local function createESP(model)
- if not model:IsA("Model") or not model.PrimaryPart then return end
- if espItems[model] then return end -- prevent duplicates
- -- Highlight
- local highlight = Instance.new("Highlight")
- highlight.Parent = model
- highlight.FillColor = Color3.new(1, 1, 0)
- highlight.FillTransparency = 1
- highlight.OutlineColor = Color3.new(1, 0, 0)
- highlight.OutlineTransparency = 0
- -- BillboardGui
- local billboard = Instance.new("BillboardGui")
- billboard.Name = "ESP_Name"
- billboard.Parent = model
- billboard.Adornee = model.PrimaryPart
- billboard.Size = UDim2.new(0, 40, 0, 40)
- billboard.StudsOffset = Vector3.new(0, 3, 0)
- billboard.AlwaysOnTop = true
- billboard.MaxDistance = 500
- local text = Instance.new("TextLabel")
- text.Parent = billboard
- text.Size = UDim2.fromScale(1, 1)
- text.BackgroundTransparency = 1
- text.TextScaled = true
- text.TextColor3 = Color3.new(1, 1, 1)
- text.TextTransparency = 0.5
- text.TextStrokeTransparency = 0.5
- text.Text = model.Name
- espItems[model] = {
- text = text,
- highlight = highlight,
- billboard = billboard
- }
- end
- -- Remove ESP cleanly
- local function removeESP(model)
- local data = espItems[model]
- if not data then return end
- if data.billboard then data.billboard:Destroy() end
- if data.highlight then data.highlight:Destroy() end
- espItems[model] = nil
- end
- -- MOVED: Create toggle FIRST before using it
- local Toggle = Tab:CreateToggle({
- Name = "ESP Toggle",
- CurrentValue = false,
- Flag = "ESPToggle",
- Callback = function(Value)
- espEnabled = Value -- CHANGED: Set our manual variable
- if Value then
- -- Turn ESP on
- for _, item in ipairs(itemfolder:GetChildren()) do
- createESP(item)
- end
- else
- -- Turn ESP off
- for model, _ in pairs(espItems) do
- removeESP(model)
- end
- end
- end
- })
- -- Auto add when spawned if toggle is on
- itemfolder.ChildAdded:Connect(function(item)
- task.wait()
- if espEnabled then -- CHANGED: Use espEnabled instead of Toggle.CurrentValue
- createESP(item)
- end
- end)
- -- Auto remove when destroyed
- itemfolder.ChildRemoved:Connect(function(item)
- removeESP(item)
- end)
- -- Update distance (single loop)
- RunService.RenderStepped:Connect(function()
- if espEnabled then -- CHANGED: Use espEnabled instead of Toggle.CurrentValue
- for model, data in pairs(espItems) do
- if model.PrimaryPart and hrp then
- local dist = (hrp.Position - model.PrimaryPart.Position).Magnitude
- data.text.Text = model.Name .. " [" .. math.floor(dist) .. "m]"
- end
- end
- end
- end)
- -- Player ESP Toggle
- local playerESP = {}
- local playerESPEnabled = false
- -- Get team color for a player
- local function getTeamColor(otherPlayer)
- if otherPlayer.Team then
- return otherPlayer.Team.TeamColor.Color
- end
- return Color3.new(0, 1, 0) -- Default green if no team
- end
- -- Get team name for a player
- local function getTeamName(otherPlayer)
- if otherPlayer.Team then
- return otherPlayer.Team.Name
- end
- return "No Team"
- end
- -- Create ESP for a player
- local function createPlayerESP(otherPlayer)
- if otherPlayer == player then return end -- Don't ESP yourself
- if playerESP[otherPlayer] then return end -- Prevent duplicates
- local function setupCharacter(character)
- if not character then return end
- local hrpOther = character:WaitForChild("HumanoidRootPart", 5)
- if not hrpOther then return end
- local teamColor = getTeamColor(otherPlayer)
- local teamName = getTeamName(otherPlayer)
- -- Highlight
- local highlight = Instance.new("Highlight")
- highlight.Parent = character
- highlight.FillColor = teamColor
- highlight.FillTransparency = 0.5
- highlight.OutlineColor = teamColor
- highlight.OutlineTransparency = 0
- -- BillboardGui for name
- local billboard = Instance.new("BillboardGui")
- billboard.Name = "PlayerESP_Name"
- billboard.Parent = character
- billboard.Adornee = hrpOther
- billboard.Size = UDim2.new(0, 100, 0, 40)
- billboard.StudsOffset = Vector3.new(0, 3, 0)
- billboard.AlwaysOnTop = true
- billboard.MaxDistance = 1000
- local text = Instance.new("TextLabel")
- text.Parent = billboard
- text.Size = UDim2.fromScale(1, 1)
- text.BackgroundTransparency = 1
- text.Font = Enum.Font.Highway
- text.TextSize = 20
- text.TextColor3 = teamColor
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0.5
- text.Text = otherPlayer.Name
- -- BillboardGui for team
- local teamBillboard = Instance.new("BillboardGui")
- teamBillboard.Name = "PlayerESP_Team"
- teamBillboard.Parent = character
- teamBillboard.Adornee = hrpOther
- teamBillboard.Size = UDim2.new(0, 100, 0, 30)
- teamBillboard.StudsOffset = Vector3.new(0, 2.2, 0)
- teamBillboard.AlwaysOnTop = true
- teamBillboard.MaxDistance = 1000
- local teamText = Instance.new("TextLabel")
- teamText.Parent = teamBillboard
- teamText.Size = UDim2.fromScale(1, 1)
- teamText.BackgroundTransparency = 1
- teamText.Font = Enum.Font.Highway
- teamText.TextSize = 16
- teamText.TextColor3 = teamColor
- teamText.TextTransparency = 0
- teamText.TextStrokeTransparency = 0.5
- teamText.Text = "[" .. teamName .. "]"
- -- BillboardGui for tool
- local toolBillboard = Instance.new("BillboardGui")
- toolBillboard.Name = "PlayerESP_Tool"
- toolBillboard.Parent = character
- toolBillboard.Adornee = hrpOther
- toolBillboard.Size = UDim2.new(0, 100, 0, 30)
- toolBillboard.StudsOffset = Vector3.new(0, 1.5, 0)
- toolBillboard.AlwaysOnTop = true
- toolBillboard.MaxDistance = 1000
- local toolText = Instance.new("TextLabel")
- toolText.Parent = toolBillboard
- toolText.Size = UDim2.fromScale(1, 1)
- toolText.BackgroundTransparency = 1
- toolText.Font = Enum.Font.Highway
- toolText.TextSize = 16
- toolText.TextColor3 = Color3.new(1, 1, 0) -- Yellow for tool
- toolText.TextTransparency = 0
- toolText.TextStrokeTransparency = 0.5
- toolText.Text = ""
- playerESP[otherPlayer] = {
- text = text,
- teamText = teamText,
- toolText = toolText,
- highlight = highlight,
- billboard = billboard,
- teamBillboard = teamBillboard,
- toolBillboard = toolBillboard,
- character = character
- }
- -- Monitor for tool changes
- local function updateTool()
- local tool = character:FindFirstChildOfClass("Tool")
- if tool then
- toolText.Text = "[" .. tool.Name .. "]"
- else
- toolText.Text = ""
- end
- end
- -- Initial check
- updateTool()
- -- Watch for tools being added/removed
- character.ChildAdded:Connect(function(child)
- if child:IsA("Tool") then
- updateTool()
- end
- end)
- character.ChildRemoved:Connect(function(child)
- if child:IsA("Tool") then
- updateTool()
- end
- end)
- end
- -- Setup current character
- if otherPlayer.Character then
- setupCharacter(otherPlayer.Character)
- end
- -- Setup future characters (respawns)
- otherPlayer.CharacterAdded:Connect(function(character)
- if playerESPEnabled then
- task.wait(0.1)
- removePlayerESP(otherPlayer)
- setupCharacter(character)
- end
- end)
- -- Update color when team changes
- otherPlayer:GetPropertyChangedSignal("Team"):Connect(function()
- if playerESPEnabled then
- removePlayerESP(otherPlayer)
- task.wait(0.1)
- createPlayerESP(otherPlayer)
- end
- end)
- end
- -- Remove Player ESP cleanly
- function removePlayerESP(otherPlayer)
- local data = playerESP[otherPlayer]
- if not data then return end
- if data.billboard then data.billboard:Destroy() end
- if data.teamBillboard then data.teamBillboard:Destroy() end
- if data.toolBillboard then data.toolBillboard:Destroy() end
- if data.highlight then data.highlight:Destroy() end
- playerESP[otherPlayer] = nil
- end
- -- Player ESP Toggle
- -- Player ESP Toggle
- local PlayerToggle = Tab:CreateToggle({
- Name = "Player ESP Toggle",
- CurrentValue = false,
- Flag = "PlayerESPToggle",
- Callback = function(Value)
- playerESPEnabled = Value
- if Value then
- -- Turn Player ESP on for all existing players
- for _, otherPlayer in ipairs(Players:GetPlayers()) do
- task.wait(0.05) -- Small delay to prevent overwhelming
- createPlayerESP(otherPlayer)
- end
- else
- -- Turn Player ESP off
- for otherPlayer, _ in pairs(playerESP) do
- removePlayerESP(otherPlayer)
- end
- end
- end
- })
- -- Auto add when player joins if toggle is on
- Players.PlayerAdded:Connect(function(otherPlayer)
- if playerESPEnabled then
- -- Wait for character to load
- local character = otherPlayer.Character or otherPlayer.CharacterAdded:Wait()
- task.wait(0.2) -- Give time for HumanoidRootPart to load
- createPlayerESP(otherPlayer)
- end
- end)
- -- Auto remove when player leaves
- Players.PlayerRemoving:Connect(function(otherPlayer)
- removePlayerESP(otherPlayer)
- end)
- -- Update distance for players
- RunService.RenderStepped:Connect(function()
- if playerESPEnabled then
- local currentHRP = getHRP()
- for otherPlayer, data in pairs(playerESP) do
- -- Check if player still exists
- if not otherPlayer.Parent then
- removePlayerESP(otherPlayer)
- continue
- end
- -- Check if character and HRP exist
- if data.character and data.character.Parent and data.character:FindFirstChild("HumanoidRootPart") and currentHRP then
- local dist = (currentHRP.Position - data.character.HumanoidRootPart.Position).Magnitude
- data.text.Text = otherPlayer.Name .. " [" .. math.floor(dist) .. "m]"
- end
- end
- end
- end)
- -- AMMO EXPLOIT TAB (WITH MANUAL INPUT OPTION)
- local Tab = Window:CreateTab("non functional", 4483362458)
- local selectedGun = nil
- -- Function to get guns from backpack
- local function getGuns()
- local guns = {}
- for _, item in ipairs(backpack:GetChildren()) do
- if item:IsA("Tool") then
- table.insert(guns, item.Name)
- end
- end
- return guns
- end
- -- Dropdown to select gun
- local Dropdown = Tab:CreateDropdown({
- Name = "Select Gun",
- Options = getGuns(),
- CurrentOption = nil,
- Flag = "GunDropdown",
- Callback = function(option)
- -- Rayfield might pass a table, extract the actual value
- if type(option) == "table" then
- selectedGun = option.Name or option[1] or option.CurrentOption
- else
- selectedGun = option
- end
- print("Selected gun: " .. tostring(selectedGun))
- end
- })
- -- Input box for manual gun name entry
- local Input = Tab:CreateInput({
- Name = "Or Enter Gun Name Manually",
- PlaceholderText = "SCAR-H",
- RemoveTextAfterFocusLost = false,
- Callback = function(text)
- selectedGun = text
- print("Manually set gun to: " .. tostring(text))
- end
- })
- -- Button to show available guns
- Tab:CreateButton({
- Name = "Show Available Guns",
- Callback = function(...)
- local guns = getGuns()
- print("=== GUNS IN BACKPACK ===")
- if #guns == 0 then
- print("No guns found!")
- else
- for i, gunName in ipairs(guns) do
- print(i .. ". " .. gunName)
- end
- end
- if player.Character then
- local equippedGuns = {}
- for _, item in ipairs(player.Character:GetChildren()) do
- if item:IsA("Tool") then
- table.insert(equippedGuns, item.Name)
- end
- end
- if #equippedGuns > 0 then
- print("=== EQUIPPED GUNS ===")
- for i, gunName in ipairs(equippedGuns) do
- print(i .. ". " .. gunName)
- end
- end
- end
- end
- })
- -- Button to apply ammo
- Tab:CreateButton({
- Name = "Set Ammo to 999",
- Callback = function(...)
- print("=== AMMO EXPLOIT STARTING ===")
- print("Selected gun variable: " .. tostring(selectedGun))
- if not selectedGun or selectedGun == "" then
- warn("No gun selected from dropdown!")
- return
- end
- -- Check both backpack and character (in case gun is equipped)
- local gun = backpack:FindFirstChild(selectedGun)
- or (player.Character and player.Character:FindFirstChild(selectedGun))
- if not gun then
- warn("Gun not found: " .. tostring(selectedGun))
- print("Guns in backpack:")
- for _, item in ipairs(backpack:GetChildren()) do
- print(" - " .. item.Name)
- end
- if player.Character then
- print("Guns in character:")
- for _, item in ipairs(player.Character:GetChildren()) do
- if item:IsA("Tool") then
- print(" - " .. item.Name)
- end
- end
- end
- return
- end
- print("Found gun: " .. gun.Name)
- local ammo = gun:FindFirstChild("Ammo")
- if not ammo then
- warn("Ammo not found in gun")
- print("Gun children:")
- for _, child in ipairs(gun:GetChildren()) do
- print(" - " .. child.Name)
- end
- return
- end
- print("Found Ammo")
- local mag = ammo:FindFirstChild("Mag")
- if not mag then
- warn("Mag not found in Ammo")
- print("Ammo children:")
- for _, child in ipairs(ammo:GetChildren()) do
- print(" - " .. child.Name)
- end
- return
- end
- print("Found Mag - ClassName: " .. tostring(mag.ClassName))
- print("Current MaxValue: " .. tostring(mag.MaxValue))
- print("Current Value: " .. tostring(mag.Value))
- -- Try setting the values
- local success1, err1 = pcall(function()
- mag.MaxValue = 999
- end)
- if success1 then
- print("✓ MaxValue set to 999")
- else
- warn("✗ Failed to set MaxValue: " .. tostring(err1))
- end
- task.wait(0.1)
- local success2, err2 = pcall(function()
- mag.Value = 999
- end)
- if success2 then
- print("✓ Value set to 999")
- else
- warn("✗ Failed to set Value: " .. tostring(err2))
- end
- -- Verify the changes
- task.wait(0.1)
- print("=== FINAL VALUES ===")
- print("MaxValue: " .. tostring(mag.MaxValue))
- print("Value: " .. tostring(mag.Value))
- end
- })
- Tab:CreateButton({
- Name = "Instructions",
- Callback = function(...)
- print("=== HOW TO USE ===")
- print("1. Click 'Show Available Guns' to see your guns")
- print("2. Select gun from dropdown OR type name manually")
- print("3. Empty the magazine completely")
- print("4. Click 'Set Ammo to 999'")
- print("Note: If you pick up new guns, just reopen the menu!")
- end
- })
- local TeleportsTab = Window:CreateTab("Teleports", 4483362458)
- -- Helper function to get current character and root part
- local function getTeleportHRP()
- local char = player.Character or player.CharacterAdded:Wait()
- local root = char:WaitForChild("HumanoidRootPart")
- return root
- end
- local function bypass()
- workspace.Systems.Misc.Regions:Destroy()
- print("tp bypass work")
- end
- local Button = TeleportsTab:CreateButton({
- Name = "tp bypass",
- Callback = function()
- bypass()
- end,
- })
- -- SCP-914
- local function TPto914()
- local RootPart = getTeleportHRP()
- RootPart.CFrame = CFrame.new(913.30365, 48.9998627, 579.599426, -0.999904394, -1.39721501e-09, -0.0138263367, -2.46904719e-09, 1, 7.75039766e-08, 0.0138263367, 7.75307072e-08, -0.999904394)
- end
- local Button = TeleportsTab:CreateButton({
- Name = "tp SCP-914",
- Callback = function()
- TPto914()
- end,
- })
- -- Light containment Exit
- local function TPtoLCExit()
- local RootPart = getTeleportHRP()
- RootPart.CFrame = CFrame.new(974.883423, 48.9999771, 713.279724, -0.998440087, 4.15462047e-08, 0.0558333322, 4.63909942e-08, 1, 8.54762661e-08, -0.0558333322, 8.79330955e-08, -0.998440087)
- end
- local Button = TeleportsTab:CreateButton({
- Name = "tp Light containment Exit",
- Callback = function()
- TPtoLCExit()
- end,
- })
- -- Light Containment Exit 2
- local function TPtoLCExit2()
- local RootPart = getTeleportHRP()
- RootPart.CFrame = CFrame.new(1094.19702, 48.9999733, 716.614807, -0.999899507, -9.63858611e-08, 0.0141758583, -9.71769794e-08, 1, -5.51183277e-08, -0.0141758583, -5.64903573e-08, -0.999899507)
- end
- local Button = TeleportsTab:CreateButton({
- Name = "tp Light Containment Exit 2",
- Callback = function()
- TPtoLCExit2()
- end,
- })
- -- Entrance Zone Armoury
- local function TPtoArmoury()
- local RootPart = getTeleportHRP()
- RootPart.CFrame = CFrame.new(1244.77502, 37.0004082, 284.724426, 0.690999031, -4.75594453e-09, 0.722855687, 4.70684114e-09, 1, 2.0799753e-09, -0.722855687, 1.96510586e-09, 0.690999031)
- end
- local Button = TeleportsTab:CreateButton({
- Name = "tp Entrance Zone Armoury",
- Callback = function()
- TPtoArmoury()
- end,
- })
- -- Gate B
- local function TPtoGateB()
- local RootPart = getTeleportHRP()
- RootPart.CFrame = CFrame.new(1209.32996, 49.0000954, 101.188354, 0.617117524, -2.74785883e-08, -0.786871016, 8.51168451e-08, 1, 3.18330535e-08, 0.786871016, -8.66207088e-08, 0.617117524)
- end
- local Button = TeleportsTab:CreateButton({
- Name = "tp Gate B",
- Callback = function()
- TPtoGateB()
- end,
- })
- local function TPWarhead()
- local RootPart = getTeleportHRP()
- RootPart.CFrame = CFrame.new(1558.05103, 565.999756, 328.437195, -0.0130028613, -1.46316141e-08, 0.999915481, -5.63732279e-08, 1, 1.38997764e-08, -0.999915481, -5.61877265e-08, -0.0130028613)
- end
- local Button = TeleportsTab:CreateButton({
- Name = "tp Warhead",
- Callback = function()
- TPWarhead()
- end,
- })
- local function ESCAPE()
- local RootPart = getTeleportHRP()
- RootPart.CFrame = CFrame.new(1114.04834, 565.999939, 58.4203262, 0.376450628, 1.3111138e-08, -0.926436663, 3.96208293e-08, 1, 3.02518508e-08, 0.926436663, -4.80945168e-08, 0.376450628)
- end
- local Button = TeleportsTab:CreateButton({
- Name = "ESCAPE",
- Callback = function()
- ESCAPE()
- end,
- })
- local SCPRangeTab = Window:CreateTab("andom shit", 4483362458)
- local function SCPrange()
- -- Find AttackBrick when the function is called
- local attackBrick = character.HumanoidRootPart:FindFirstChild("AttackBrick", true) -- true searches descendants
- if attackBrick then
- attackBrick.Size = Vector3.new(500, 500, 500)
- print("AttackBrick size changed!")
- else
- warn("AttackBrick not found!")
- end
- end
- -- :987 expected identifier when parsing exper
- local Button = SCPRangeTab:CreateButton({
- Name = "increase local range",
- Callback = function()
- SCPrange()
- end,
- })
- local function ThirdPersonCamera()
- player.CameraMode = Enum.CameraMode.Classic
- end
- local Button = SCPRangeTab:CreateButton({
- Name = "Set Camera to Classic",
- Callback = function()
- ThirdPersonCamera()
- end
- })
- local function RESPAWN()
- local spawntimer = game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.RoundFrame.SpawnTimer
- spawntimer.Visible = true
- end
- local Button = SCPRangeTab:CreateButton({
- Name = "Set SpawnTimer Visible",
- Callback = RESPAWN
- })
- local function FirstPersonCamera()
- player.CameraMode = Enum.CameraMode.LockFirstPerson
- end
- local Button = SCPRangeTab:CreateButton({
- Name = "Set Camera to FirstPerson",
- Callback = function()
- FirstPersonCamera()
- end
- })
- local HPthingy = 25
- local function TPONLOWHP()
- Rayfield:Notify({
- Title = "THOU HAST ENABLED SAFETY !!!!?!?!?!?!?",
- Content = "testing if this works",
- Duration = 10,
- Image = 4483362458,
- })
- while true do
- if character:WaitForChild("Humanoid").Health <=HPthingy then
- local RootPart = getTeleportHRP()
- RootPart.CFrame = CFrame.new(1558.05103, 565.999756, 328.437195, -0.0130028613, -1.46316141e-08, 0.999915481, -5.63732279e-08, 1, 1.38997764e-08, -0.999915481, -5.61877265e-08, -0.0130028613)
- break
- else
- wait(0.05)
- end
- end
- end
- local Button = SCPRangeTab:CreateButton({
- Name = "TP on LowHP",
- Callback = function()
- TPONLOWHP()
- -- The function that takes place when the button is pressed
- end,
- })
- local Slider = SCPRangeTab:CreateSlider({
- Name = "Slider Example",
- Range = {0, 100},
- Increment = 1,
- Suffix = "BICILIX IS THE BEST",
- CurrentValue = 25,
- Flag = "LOWHPFLAG", -- 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(Value12)
- HPthingy = Value12
- -- The function that takes place when the slider changes
- -- The variable (Value) is a number that correlates to the value the slider is currently at
- end,
- })
Advertisement
Add Comment
Please, Sign In to add comment