local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "BMap Utility", LoadingTitle = "BMap Hub", LoadingSubtitle = "by Vighnesh", Theme = "Default", DisableRayfieldPrompts = false, DisableBuildWarnings = false, }) local Tab = Window:CreateTab("Teleport & Platform", 4483362458) local TeleportX = 0 local TeleportY = 50 local TeleportZ = 0 local platformPart = nil local platformSize = 20 local platformEnabled = false -- Helper: Spawn or move platform under player local function spawnPlatform() local player = game.Players.LocalPlayer local char = player.Character if not char or not char:FindFirstChild("HumanoidRootPart") then return end local hrp = char.HumanoidRootPart if platformPart and platformPart.Parent then platformPart:Destroy() end platformPart = Instance.new("Part") platformPart.Name = "PlayerPlatform" platformPart.Size = Vector3.new(platformSize, 1, platformSize) platformPart.Anchored = true platformPart.CanCollide = true platformPart.Material = Enum.Material.SmoothPlastic platformPart.BrickColor = BrickColor.new("Bright blue") platformPart.Transparency = 0.3 platformPart.CFrame = CFrame.new(hrp.Position.X, hrp.Position.Y - 3, hrp.Position.Z) platformPart.Parent = workspace end local function removePlatform() if platformPart and platformPart.Parent then platformPart:Destroy() platformPart = nil end end -- TELEPORT SECTION Tab:CreateSection("Teleport") Tab:CreateInput({ Name = "X Position", PlaceholderText = "Enter X (default 0)", RemoveTextAfterFocusLost = false, Callback = function(Value) TeleportX = tonumber(Value) or 0 end, }) Tab:CreateInput({ Name = "Y Position", PlaceholderText = "Enter Y (default 50)", RemoveTextAfterFocusLost = false, Callback = function(Value) TeleportY = tonumber(Value) or 50 end, }) Tab:CreateInput({ Name = "Z Position", PlaceholderText = "Enter Z (default 0)", RemoveTextAfterFocusLost = false, Callback = function(Value) TeleportZ = tonumber(Value) or 0 end, }) Tab:CreateButton({ Name = "Teleport to Coordinates", Callback = function() local player = game.Players.LocalPlayer local char = player.Character if char and char:FindFirstChild("HumanoidRootPart") then char.HumanoidRootPart.CFrame = CFrame.new(TeleportX, TeleportY, TeleportZ) task.wait(0.1) -- wait for char to settle if platformEnabled then spawnPlatform() end Rayfield:Notify({ Title = "Teleported!", Content = string.format("Moved to (%.1f, %.1f, %.1f)", TeleportX, TeleportY, TeleportZ), Duration = 3, }) end end, }) Tab:CreateButton({ Name = "Teleport to Spawn", Callback = function() local player = game.Players.LocalPlayer local char = player.Character if char and char:FindFirstChild("HumanoidRootPart") then local spawn = workspace:FindFirstChildOfClass("SpawnLocation") if spawn then char.HumanoidRootPart.CFrame = spawn.CFrame + Vector3.new(0, 5, 0) task.wait(0.1) if platformEnabled then spawnPlatform() end Rayfield:Notify({ Title = "Teleported!", Content = "Sent to Spawn!", Duration = 3, }) else Rayfield:Notify({ Title = "Error", Content = "No SpawnLocation found.", Duration = 3, }) end end end, }) -- PLATFORM SECTION Tab:CreateSection("Platform") Tab:CreateSlider({ Name = "Platform Size", Range = {5, 100}, Increment = 5, Suffix = " studs", CurrentValue = 20, Callback = function(Value) platformSize = Value if platformPart and platformPart.Parent then platformPart.Size = Vector3.new(platformSize, 1, platformSize) end end, }) Tab:CreateToggle({ Name = "Platform Toggle", CurrentValue = false, Callback = function(Value) platformEnabled = Value if Value then spawnPlatform() Rayfield:Notify({ Title = "Platform ON", Content = "Platform spawned under you.", Duration = 3, }) else removePlatform() Rayfield:Notify({ Title = "Platform OFF", Content = "Platform removed.", Duration = 3, }) end end, }) Tab:CreateButton({ Name = "Move Platform to Me", Callback = function() if not platformEnabled then Rayfield:Notify({ Title = "Platform is OFF", Content = "Toggle the platform on first!", Duration = 3, }) return end spawnPlatform() Rayfield:Notify({ Title = "Platform Moved!", Content = "Repositioned under you.", Duration = 3, }) end, }) Rayfield:LoadConfiguration()