Field Teleport Script
Key Required

Field Teleport Script

Bee Swarm SimulatorMetalMetal 1.9K views 25 executesUpdated Dec 22, 2025
5.0/ 5(1 votes)
10100% Positive
Lua Script•169 lines (5106 chars)
setclipboard("https://discord.gg/TR3quUFgT6")

local players = game:GetService("Players")
local workspace = game:GetService("Workspace")
local tweens = game:GetService("TweenService")

local player = players.LocalPlayer
local playergui = player:WaitForChild("PlayerGui")

local flowerzones = workspace:WaitForChild("FlowerZones")

local gui = Instance.new("ScreenGui")
gui.Name = "fieldteleportui_v5"
gui.ResetOnSpawn = false
gui.IgnoreGuiInset = true
gui.Parent = playergui

local main = Instance.new("Frame")
main.Size = UDim2.fromScale(0.65, 0.75)
main.Position = UDim2.fromScale(0.175, 0.125)
main.BackgroundColor3 = Color3.fromRGB(16, 16, 20)
main.BorderSizePixel = 0
main.Parent = gui
Instance.new("UICorner", main).CornerRadius = UDim.new(0, 22)

local titlebar = Instance.new("Frame")
titlebar.Size = UDim2.fromScale(1, 0.08)
titlebar.BackgroundTransparency = 1
titlebar.Parent = main

local title = Instance.new("TextLabel")
title.Size = UDim2.fromScale(0.7, 1)
title.Position = UDim2.fromScale(0.04, 0)
title.BackgroundTransparency = 1
title.Text = "flower fields"
title.Font = Enum.Font.GothamBlack
title.TextSize = 26
title.TextColor3 = Color3.fromRGB(240, 240, 245)
title.TextXAlignment = Enum.TextXAlignment.Left
title.Parent = titlebar

local minimize = Instance.new("TextButton")
minimize.Size = UDim2.fromScale(0.15, 0.7)
minimize.Position = UDim2.fromScale(0.8, 0.15)
minimize.BackgroundColor3 = Color3.fromRGB(45, 45, 55)
minimize.Text = "hide"
minimize.Font = Enum.Font.GothamBold
minimize.TextSize = 16
minimize.TextColor3 = Color3.fromRGB(230, 230, 235)
minimize.Parent = titlebar
Instance.new("UICorner", minimize).CornerRadius = UDim.new(0, 10)

local reopen = Instance.new("TextButton")
reopen.Size = UDim2.fromScale(0.25, 0.06)
reopen.Position = UDim2.fromScale(0.175, 0.05)
reopen.BackgroundColor3 = Color3.fromRGB(30, 30, 36)
reopen.Text = "open field panel"
reopen.Font = Enum.Font.GothamBold
reopen.TextSize = 16
reopen.TextColor3 = Color3.fromRGB(235, 235, 240)
reopen.Visible = false
reopen.Parent = gui
Instance.new("UICorner", reopen).CornerRadius = UDim.new(0, 14)

local scroll = Instance.new("ScrollingFrame")
scroll.Size = UDim2.fromScale(0.94, 0.92)
scroll.Position = UDim2.fromScale(0.03, 0.08)
scroll.CanvasSize = UDim2.new(0, 0, 0, 0)
scroll.ScrollBarImageTransparency = 0.6
scroll.BackgroundTransparency = 1
scroll.Parent = main

local layout = Instance.new("UIListLayout")
layout.Padding = UDim.new(0, 12)
layout.Parent = scroll

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

local function setnoclip(state)
	local char = player.Character
	if not char then return end
	for _, v in ipairs(char:GetDescendants()) do
		if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
			if not v:FindFirstAncestorWhichIsA("Tool") then
				v.CanCollide = not state
			end
		end
	end
	local root = char:FindFirstChild("HumanoidRootPart")
	if root then
		root.CanCollide = not state and true or false
	end
end

local function tweenplayer(cf)
	local char = player.Character
	if not char then return end
	local root = char:FindFirstChild("HumanoidRootPart")
	if not root then return end
	setnoclip(true)
	local info = TweenInfo.new(0.25, Enum.EasingStyle.Linear)
	local tween = tweens:Create(root, info, {CFrame = cf + Vector3.new(0, 6, 0)})
	tween:Play()
	tween.Completed:Wait()
	setnoclip(false)
end

local function createfieldbutton(fieldname, part)
	local lname = string.lower(fieldname)
	if string.find(lname, "ant") or string.find(lname, "brick") then
		return
	end

	local button = Instance.new("TextButton")
	button.Size = UDim2.fromScale(1, 0)
	button.AutomaticSize = Enum.AutomaticSize.Y
	button.BackgroundColor3 = Color3.fromRGB(28, 28, 36)
	button.Text = fieldname
	button.Font = Enum.Font.GothamBold
	button.TextSize = 18
	button.TextColor3 = Color3.fromRGB(230, 230, 235)
	button.Parent = scroll
	Instance.new("UICorner", button).CornerRadius = UDim.new(0, 18)

	local pad = Instance.new("UIPadding")
	pad.PaddingTop = UDim.new(0, 12)
	pad.PaddingBottom = UDim.new(0, 12)
	pad.PaddingLeft = UDim.new(0, 16)
	pad.PaddingRight = UDim.new(0, 16)
	pad.Parent = button

	button.MouseButton1Click:Connect(function()
		tweenplayer(part.CFrame)
	end)
end

for _, field in ipairs(flowerzones:GetChildren()) do
	if field:IsA("Folder") or field:IsA("Model") then
		local part = field:FindFirstChildWhichIsA("BasePart", true)
		if part then
			createfieldbutton(field.Name, part)
		end
	elseif field:IsA("BasePart") then
		createfieldbutton(field.Name, field)
	end
end

flowerzones.ChildAdded:Connect(function(field)
	if field:IsA("Folder") or field:IsA("Model") then
		local part = field:FindFirstChildWhichIsA("BasePart", true)
		if part then
			createfieldbutton(field.Name, part)
		end
	elseif field:IsA("BasePart") then
		createfieldbutton(field.Name, field)
	end
end)

minimize.MouseButton1Click:Connect(function()
	main.Visible = false
	reopen.Visible = true
end)

reopen.MouseButton1Click:Connect(function()
	main.Visible = true
	reopen.Visible = false
end)

Features & Information

gives u a gui that lets u tween to all the fields. simple as that keyless, open source will work with new updates, if they add a field!!
#op#keyless#bss#open source#sigma

Community Comments (0)

No comments yet for this script.

More Scripts for Bee Swarm Simulator