Welcome to ScriptBlox2!

// Script 1
-- MICRO TP WALK SPEED (FRAME BASED) + RAYFIELD UI

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer

-- ===== SPEED SETTINGS (STUDS PER FRAME) =====
local MIN_SPEED = 0.02
local MAX_SPEED = 1.2
local DEFAULT_SPEED = 0.25

local enabled = false
local microSpeed = DEFAULT_SPEED

-- ===== RAYFIELD UI =====
local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()

local Window = Rayfield:CreateWindow({
    Name = "Micro TP WalkSpeed",
    LoadingTitle = "Micro TP",
    LoadingSubtitle = "Frame Based Movement",
    ConfigurationSaving = {
        Enabled = false
    }
})

local Tab = Window:CreateTab("Movement", 4483362458)

Tab:CreateToggle({
    Name = "Micro TP WalkSpeed",
    CurrentValue = false,
    Flag = "MicroTP_Toggle",
    Callback = function(Value)
        enabled = Value
    end,
})

Tab:CreateSlider({
    Name = "Micro Speed",
    Range = {MIN_SPEED, MAX_SPEED},
    Increment = 0.01,
    Suffix = "studs / frame",
    CurrentValue = DEFAULT_SPEED,
    Flag = "MicroTP_Speed",
    Callback = function(Value)
        microSpeed = Value
    end,
})

-- ===== MICRO TP LOOP (DO NOT TOUCH) =====
RunService.RenderStepped:Connect(function()
    if not enabled then return end

    local char = player.Character
    if not char then return end

    local hrp = char:FindFirstChild("HumanoidRootPart")
    local hum = char:FindFirstChild("Humanoid")
    if not hrp or not hum then return end

    local moveDir = hum.MoveDirection
    if moveDir.Magnitude == 0 then return end

    hrp.CFrame = hrp.CFrame + (moveDir.Unit * microSpeed)
end)

        
// Script 2
-- TRUE MOBILE CAMERA FLY (FREE LOOK + HOVER + MOBILE JOYSTICK)
-- Joystick drives movement, camera controls direction
-- R6 & R15 | No falling when idle

-- SERVICES
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local camera = workspace.CurrentCamera

-- CHARACTER
local function getChar()
    local char = player.Character or player.CharacterAdded:Wait()
    local hum = char:WaitForChild("Humanoid")
    local hrp = char:WaitForChild("HumanoidRootPart")
    return hum, hrp
end

-- STATE
local flying = false
local flyStep = 0.45
local hoverPos = nil -- Vector3 to lock position only

-- MAIN LOOP
RunService.RenderStepped:Connect(function()
    if not flying then return end

    local humanoid, hrp = getChar()

    humanoid.PlatformStand = true
    hrp.AssemblyLinearVelocity = Vector3.zero
    hrp.AssemblyAngularVelocity = Vector3.zero

    -- ALWAYS FACE CAMERA (full pitch + yaw)
    hrp.CFrame = CFrame.new(hrp.Position) * camera.CFrame.Rotation

    local moveDir = humanoid.MoveDirection
    local power = moveDir.Magnitude

    if power > 0 then
        -- Move along camera LookVector (forward/backward)
        local camLook = camera.CFrame.LookVector
        local directionSign = math.sign(camLook:Dot(moveDir))

        hrp.CFrame += camLook.Unit * flyStep * power * directionSign

        -- Update hover position for idle
        hoverPos = hrp.Position
    else
        -- Lock position only when idle (no falling)
        if hoverPos then
            hrp.CFrame = CFrame.new(hoverPos) * camera.CFrame.Rotation
        else
            hoverPos = hrp.Position
        end
    end
end)

-- CLEAN UP
local function stopFly()
    local humanoid = getChar()
    humanoid.PlatformStand = false
    hoverPos = nil
end

-- UI
local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()

local Window = Rayfield:CreateWindow({
    Name = "True Mobile Camera Fly",
    LoadingTitle = "Camera Fly",
    LoadingSubtitle = "Joystick Mobile",
    ConfigurationSaving = { Enabled = false }
})

local Tab = Window:CreateTab("Fly", 4483362458)

Tab:CreateToggle({
    Name = "Enable Fly",
    CurrentValue = false,
    Callback = function(v)
        flying = v
        if not v then stopFly() end
    end,
})

Tab:CreateSlider({
    Name = "Fly Speed",
    Range = {0.1, 3},
    Increment = 0.1,
    CurrentValue = flyStep,
    Callback = function(v)
        flyStep = v
    end,
})

        
// Script 3
--// Teleport Panel with Working Title Naming + Proper Teleports

local Players = game:GetService("Players")
local player = Players.LocalPlayer

local function getRoot()
	return player.Character and player.Character:FindFirstChild("HumanoidRootPart")
end

-- ScreenGui
local gui = Instance.new("ScreenGui")
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")

-- Main Frame
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 260, 0, 360)
frame.AnchorPoint = Vector2.new(0.5, 0.5)
frame.Position = UDim2.new(0.5, 0, 0.5, 0)
frame.BackgroundColor3 = Color3.fromRGB(30,30,30)
frame.Active = true
frame.Draggable = true
frame.Parent = gui
Instance.new("UICorner", frame).CornerRadius = UDim.new(0,14)

-- Title
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 36)
title.Position = UDim2.new(0, 0, 0, 0)
title.BackgroundColor3 = Color3.fromRGB(30,30,30)
title.Text = "Teleport Panel"
title.TextColor3 = Color3.new(1,1,1)
title.Font = Enum.Font.GothamBold
title.TextSize = 18
title.ZIndex = 2
title.Parent = frame
Instance.new("UICorner", title).CornerRadius = UDim.new(0,10)

-- ScrollFrame
local scroll = Instance.new("ScrollingFrame")
scroll.Size = UDim2.new(1, 0, 1, -36)
scroll.Position = UDim2.new(0, 0, 0, 36)
scroll.BackgroundTransparency = 1
scroll.CanvasSize = UDim2.new(0, 0, 0, 0)
scroll.ScrollBarImageTransparency = 0.4
scroll.Parent = frame
scroll.ZIndex = 1

-- Layout
local layout = Instance.new("UIListLayout")
layout.Padding = UDim.new(0, 6)
layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
layout.Parent = scroll

layout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
	scroll.CanvasSize = UDim2.new(0, 0, 0, layout.AbsoluteContentSize.Y + 6)
end)

-- Button creator
local function makeButton(text, pos)
	local b = Instance.new("TextButton")
	b.Size = UDim2.new(1, -10, 0, 34)
	b.BackgroundColor3 = Color3.fromRGB(55,55,55)
	b.TextColor3 = Color3.new(1,1,1)
	b.Font = Enum.Font.Gotham
	b.TextSize = 15
	b.Text = text
	b.Parent = scroll
	Instance.new("UICorner", b).CornerRadius = UDim.new(0,10)

	-- Only connect teleport if pos is provided
	if pos then
		b.MouseButton1Click:Connect(function()
			local r = getRoot()
			if r then r.CFrame = CFrame.new(pos) end
		end)
	end

	return b
end

-- Teleports
local posA = Vector3.new(-61.68, 29.25, 20350.30)
local posB = Vector3.new(1073.00, 405.99, 22984.00)
local savedButtons = {}
local namingActive = false

-- Core buttons
local tpA = makeButton("Teleport A", posA)
local tpB = makeButton("Teleport B", posB)
local saveBtn = makeButton("Save Teleport", nil) -- no teleport
local deleteBtn = makeButton("Delete Saved Buttons", nil) -- no teleport

-- Save teleport → type in title
saveBtn.MouseButton1Click:Connect(function()
	if namingActive then return end
	local root = getRoot()
	if not root then return end

	local currentPos = root.Position -- capture position for THIS button
	namingActive = true

	-- Hide title, make rounded TextBox in its place
	local input = Instance.new("TextBox")
	input.Size = title.Size
	input.Position = title.Position
	input.BackgroundColor3 = Color3.fromRGB(40,40,40)
	input.TextColor3 = Color3.new(1,1,1)
	input.PlaceholderText = "Type name & press Enter"
	input.ClearTextOnFocus = false
	input.Font = Enum.Font.GothamBold
	input.TextSize = 18
	input.Text = ""
	input.ZIndex = title.ZIndex
	input.Parent = frame
	local corner = Instance.new("UICorner", input)
	corner.CornerRadius = UDim.new(0,10)

	title.Visible = false
	input:CaptureFocus()

	input.FocusLost:Connect(function(enterPressed)
		if not enterPressed then
			input:Destroy()
			title.Visible = true
			namingActive = false
			return
		end

		local name = input.Text ~= "" and input.Text or "Saved Teleport"
		input:Destroy()
		title.Visible = true
		namingActive = false

		-- Spawn button with its OWN captured position
		local btn = makeButton(name, currentPos)
		table.insert(savedButtons, btn)
	end)
end)

-- Delete saved buttons
deleteBtn.MouseButton1Click:Connect(function()
	for _, b in ipairs(savedButtons) do
		b:Destroy()
	end
	savedButtons = {}
end)

       
// Script 4
--// Prison Yard Lighting Controller
--// Rayfield UI | Day & Night | Adjustable Bounce Lighting

local Lighting = game:GetService("Lighting")

-- Rayfield
local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()

local Window = Rayfield:CreateWindow({
	Name = "Prison Yard Lighting",
	LoadingTitle = "Prison Yard",
	LoadingSubtitle = "Lighting Controller",
	ConfigurationSaving = {
		Enabled = false
	},
	KeySystem = false,
})

-- Cleanup old effects
for _, v in ipairs(Lighting:GetChildren()) do
	if v:IsA("PostEffect") or v:IsA("Atmosphere") then
		v:Destroy()
	end
end

-- Effects
local CC = Instance.new("ColorCorrectionEffect", Lighting)
local Bloom = Instance.new("BloomEffect", Lighting)
local Rays = Instance.new("SunRaysEffect", Lighting)
local Atmosphere = Instance.new("Atmosphere", Lighting)

-- Base setup
Lighting.GlobalShadows = true
Lighting.ShadowSoftness = 0.45
Lighting.EnvironmentSpecularScale = 0.25
Lighting.EnvironmentDiffuseScale = 0.35

-- Default (Yard Day)
local function SetDay()
	Lighting.ClockTime = 16.8 -- not noon, better shadows
	Lighting.Brightness = 2.4
	Lighting.Ambient = Color3.fromRGB(95,95,95)
	Lighting.OutdoorAmbient = Color3.fromRGB(140,140,135)

	CC.Brightness = 0.02
	CC.Contrast = 0.25
	CC.Saturation = 0.08
	CC.TintColor = Color3.fromRGB(255,235,215)

	Bloom.Intensity = 0.08
	Bloom.Size = 14
	Bloom.Threshold = 1.4

	Rays.Intensity = 0.035
	Rays.Spread = 0.7

	Atmosphere.Density = 0.18
	Atmosphere.Haze = 0.8
end

-- Yard Night
local function SetNight()
	Lighting.ClockTime = 20.2
	Lighting.Brightness = 1.4
	Lighting.Ambient = Color3.fromRGB(45,45,50)
	Lighting.OutdoorAmbient = Color3.fromRGB(70,70,80)

	CC.Brightness = -0.05
	CC.Contrast = 0.35
	CC.Saturation = -0.05
	CC.TintColor = Color3.fromRGB(210,220,255)

	Bloom.Intensity = 0.12
	Bloom.Size = 18
	Bloom.Threshold = 1.2

	Rays.Intensity = 0.015

	Atmosphere.Density = 0.28
	Atmosphere.Haze = 1.3
end

-- Tabs
local MainTab = Window:CreateTab("Yard", 4483362458)
local AdjustTab = Window:CreateTab("Adjust", 4483362458)

-- Buttons
MainTab:CreateButton({
	Name = "🌤️ Day Yard",
	Callback = function()
		SetDay()
	end,
})

MainTab:CreateButton({
	Name = "🌙 Night Yard",
	Callback = function()
		SetNight()
	end,
})

-- Sliders (fine tuning)
AdjustTab:CreateSlider({
	Name = "Brightness",
	Range = {1, 3},
	Increment = 0.05,
	CurrentValue = Lighting.Brightness,
	Callback = function(v)
		Lighting.Brightness = v
	end,
})

AdjustTab:CreateSlider({
	Name = "Shadow Softness",
	Range = {0, 1},
	Increment = 0.05,
	CurrentValue = Lighting.ShadowSoftness,
	Callback = function(v)
		Lighting.ShadowSoftness = v
	end,
})

AdjustTab:CreateSlider({
	Name = "Light Bounce (Diffuse)",
	Range = {0, 1},
	Increment = 0.05,
	CurrentValue = Lighting.EnvironmentDiffuseScale,
	Callback = function(v)
		Lighting.EnvironmentDiffuseScale = v
	end,
})

AdjustTab:CreateSlider({
	Name = "Shadow Lift (Outdoor Ambient)",
	Range = {50, 180},
	Increment = 5,
	CurrentValue = 140,
	Callback = function(v)
		Lighting.OutdoorAmbient = Color3.fromRGB(v, v, v-5)
	end,
})

AdjustTab:CreateSlider({
	Name = "Contrast",
	Range = {0, 0.6},
	Increment = 0.05,
	CurrentValue = CC.Contrast,
	Callback = function(v)
		CC.Contrast = v
	end,
})

AdjustTab:CreateSlider({
	Name = "Atmosphere Density",
	Range = {0, 0.5},
	Increment = 0.02,
	CurrentValue = Atmosphere.Density,
	Callback = function(v)
		Atmosphere.Density = v
	end,
})

-- Start on Day
SetDay()

        
// Script 5
-- Smart Storage Viewer (ALL remotes fire big values)

local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local player = Players.LocalPlayer

-- CONFIG
local BIG_NUMBER = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
local DUPLICATE_TIMES = 2

local KEYWORDS = {
	MONEY = {"cash","money","coin","coins","gold","bucks"},
	AMMO = {"ammo","reload","bullet","bullets","clip"},
	HEALTH = {"health","heal","hp"},
	GUN = {"gun","weapon","equip"},
	REBIRTH = {"rebirth","prestige","reset","pudding"}
}

-- ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")

-- Main Frame
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 330, 0, 430)
mainFrame.Position = UDim2.new(0.5, -165, 0.5, -215)
mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
mainFrame.BorderSizePixel = 0
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.Parent = screenGui

local uicorner = Instance.new("UICorner")
uicorner.CornerRadius = UDim.new(0, 14)
uicorner.Parent = mainFrame

-- Title
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 34)
title.BackgroundColor3 = Color3.fromRGB(45,45,45)
title.Text = "Smart Storage Viewer"
title.TextColor3 = Color3.fromRGB(255,255,255)
title.TextScaled = true
title.Parent = mainFrame

local titleCorner = Instance.new("UICorner")
titleCorner.CornerRadius = UDim.new(0, 14)
titleCorner.Parent = title

-- Scroll Frame
local scrollFrame = Instance.new("ScrollingFrame")
scrollFrame.Size = UDim2.new(1, -10, 1, -44)
scrollFrame.Position = UDim2.new(0,5,0,39)
scrollFrame.BackgroundTransparency = 1
scrollFrame.BorderSizePixel = 0
scrollFrame.ScrollBarThickness = 6
scrollFrame.CanvasSize = UDim2.new(0,0,0,0)
scrollFrame.Parent = mainFrame

local uiListLayout = Instance.new("UIListLayout")
uiListLayout.Padding = UDim.new(0,6)
uiListLayout.Parent = scrollFrame

-- Core logic
local function guessAndFire(remote)
	local name = remote.Name:lower()
	local valueToSend = BIG_NUMBER
	local label = "❓ UNKNOWN → big value x2"

	for _, w in ipairs(KEYWORDS.MONEY) do
		if name:find(w) then
			label = "💰 MONEY → big value x2"
			break
		end
	end

	for _, w in ipairs(KEYWORDS.AMMO) do
		if name:find(w) then
			label = "🔫 AMMO → big value x2"
			break
		end
	end

	for _, w in ipairs(KEYWORDS.HEALTH) do
		if name:find(w) then
			label = "❤️ HEALTH → big value x2"
			break
		end
	end

	for _, w in ipairs(KEYWORDS.REBIRTH) do
		if name:find(w) then
			valueToSend = 1000
			label = "🔁 REBIRTH → spammed"
			break
		end
	end

	for i = 1, DUPLICATE_TIMES do
		if remote:IsA("RemoteEvent") then
			remote:FireServer(valueToSend)
		else
			pcall(function()
				remote:InvokeServer(valueToSend)
			end)
		end
	end

	return label
end

-- Button creator
local function createButton(remote, folderName)
	local btn = Instance.new("TextButton")
	btn.Size = UDim2.new(1, -10, 0, 34)
	btn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
	btn.TextColor3 = Color3.fromRGB(255,255,255)
	btn.TextScaled = true
	btn.TextWrapped = true

	btn.Text = folderName ~= "" and (remote.Name.." ("..folderName..")") or remote.Name
	btn.Parent = scrollFrame

	local corner = Instance.new("UICorner")
	corner.CornerRadius = UDim.new(0, 8)
	corner.Parent = btn

	btn.MouseButton1Click:Connect(function()
		local result = guessAndFire(remote)
		btn.Text = remote.Name .. " → " .. result
	end)
end

-- Recursive scan
local function addRemotes(container, parentFolder)
	for _, obj in ipairs(container:GetChildren()) do
		if obj:IsA("RemoteEvent") or obj:IsA("RemoteFunction") then
			createButton(obj, parentFolder)
		elseif obj:IsA("Folder") then
			addRemotes(obj, obj.Name)
		end
	end
end

addRemotes(ReplicatedStorage, "")

uiListLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
	scrollFrame.CanvasSize = UDim2.new(0,0,0,uiListLayout.AbsoluteContentSize.Y + 10)
end)