Tachyon Ware OPENSOURCED (AI MADE)
Key Required

Tachyon Ware OPENSOURCED (AI MADE)

The Chosen OneRaja_pendek21Raja_pendek21 499 views 70 executesUpdated Oct 4, 2026
Unrated
00
Lua Script•2372 lines (82300 chars)
--// TACHYON v1.5.23 (BLUE GLASS + FULLBRIGHT + MULTI-PLAYER GRIEF ALARM + GRIEFERHUB + 5-SLOT BUILDING LOADER + ORBIT BRICKS NOCLIP)
--// Features: Fullscreen Intro, Shooting Stars, Tachyon UI, Tab Sparks, Chat Bot, Fly System, FullBright, Click Detector Grief Alarm, Anti Killbrick, Anti Glitch, GrieferHub, Building Loader, Orbit Bricks

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local TextChatService = game:GetService("TextChatService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Lighting = game:GetService("Lighting")
local Stats = game:GetService("Stats")
local StarterGui = game:GetService("StarterGui")
local CoreGui = game:GetService("CoreGui")
local SoundService = game:GetService("SoundService")
local TweenService = game:GetService("TweenService")
local VirtualInputManager = game:GetService("VirtualInputManager")

local player = Players.LocalPlayer
local plr = player
local PlayerGui = player:WaitForChild("PlayerGui", 10)

-- Tentukan parent GUI (CoreGui jika diizinkan, fallback ke PlayerGui)
local targetGuiParent = CoreGui
pcall(function()
	local test = Instance.new("Folder", CoreGui)
	test:Destroy()
end)
if not pcall(function() return CoreGui.Name end) then
	targetGuiParent = PlayerGui
end

-- Bersihkan instance lama jika ada
for _, parent in ipairs({CoreGui, PlayerGui}) do
	pcall(function()
		if parent:FindFirstChild("TachyonWareUI") then parent.TachyonWareUI:Destroy() end
		if parent:FindFirstChild("TachyonIntro") then parent.TachyonIntro:Destroy() end
		if parent:FindFirstChild("TachyonTopBarOpen") then parent.TachyonTopBarOpen:Destroy() end
	end)
end

----------------------------------------------------------
-- CLICK SOUND HELPER SYSTEM
----------------------------------------------------------
local function addClickSound(btn)
	btn.MouseButton1Click:Connect(function()
		pcall(function()
			local clickSound = Instance.new("Sound")
			clickSound.SoundId = "rbxassetid://7043920820"
			clickSound.Volume = 0.6
			clickSound.Parent = SoundService
			clickSound:Play()
			clickSound.Ended:Connect(function()
				clickSound:Destroy()
			end)
		end)
	end)
end

----------------------------------------------------------
-- UI ELECTRIC SPARK EFFECT HELPER
----------------------------------------------------------
local function spawnElectricSpark(button)
	local numSparks = math.random(10, 16)
	local colors = {
		Color3.fromRGB(0, 255, 255),
		Color3.fromRGB(160, 230, 255),
		Color3.fromRGB(255, 255, 255),
		Color3.fromRGB(0, 180, 255)
	}

	for _ = 1, numSparks do
		task.spawn(function()
			local spark = Instance.new("Frame")
			local sparkLength = math.random(15, 32)
			spark.Size = UDim2.new(0, sparkLength, 0, 3)
			spark.Position = UDim2.new(0.5, 0, 0.5, 0)
			spark.AnchorPoint = Vector2.new(0.5, 0.5)
			spark.BackgroundColor3 = colors[math.random(1, #colors)]
			spark.BorderSizePixel = 0
			spark.ZIndex = button.ZIndex + 20
			spark.Parent = button

			local corner = Instance.new("UICorner", spark)
			corner.CornerRadius = UDim.new(1, 0)

			local glow = Instance.new("UIStroke", spark)
			glow.Color = Color3.fromRGB(0, 220, 255)
			glow.Thickness = 1.5
			glow.Transparency = 0.1

			local angle = math.rad(math.random(0, 360))
			local distance = math.random(35, 80)
			local targetX = math.cos(angle) * distance
			local targetY = math.sin(angle) * distance
			spark.Rotation = math.deg(angle)

			local duration = math.random(18, 35) / 100

			local moveTween = TweenService:Create(spark, TweenInfo.new(duration, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), {
				Position = UDim2.new(0.5, targetX, 0.5, targetY),
				Size = UDim2.new(0, 0, 0, 1),
				BackgroundTransparency = 1,
				Rotation = spark.Rotation + math.random(-45, 45)
			})

			local strokeTween = TweenService:Create(glow, TweenInfo.new(duration, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
				Transparency = 1
			})

			moveTween:Play()
			strokeTween:Play()

			moveTween.Completed:Connect(function()
				spark:Destroy()
			end)
		end)
	end
end

----------------------------------------------------------
-- MAIN UI CONSTRUCTION (720x465 + BLUE GLASS THEME)
----------------------------------------------------------
local sg = Instance.new("ScreenGui")
sg.Name = "TachyonWareUI"
sg.ResetOnSpawn = false
sg.DisplayOrder = 10
sg.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
sg.Parent = targetGuiParent

local main = Instance.new("Frame")
main.Name = "MainWindow"
main.Size = UDim2.new(0, 720, 0, 465)
main.Position = UDim2.new(0.5, -360, 0.5, -232)
main.BackgroundColor3 = Color3.fromRGB(10, 20, 38)
main.BackgroundTransparency = 0.25
main.Active = true
main.Draggable = true
main.ClipsDescendants = false
main.Visible = false
main.Parent = sg

Instance.new("UICorner", main).CornerRadius = UDim.new(0, 15)
local mainStroke = Instance.new("UIStroke", main)
mainStroke.Color = Color3.fromRGB(0, 140, 255)
mainStroke.Transparency = 0.4
mainStroke.Thickness = 2

----------------------------------------------------------
-- MASSIVE FULLSCREEN INTRO (DISPLAYORDER: 999)
----------------------------------------------------------
local introGui = Instance.new("ScreenGui")
introGui.Name = "TachyonIntro"
introGui.ResetOnSpawn = false
introGui.IgnoreGuiInset = true
introGui.DisplayOrder = 999
introGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
introGui.Parent = targetGuiParent

local bg = Instance.new("Frame", introGui)
bg.Size = UDim2.new(1, 0, 1, 0)
bg.Position = UDim2.new(0, 0, 0, 0)
bg.BackgroundColor3 = Color3.fromRGB(2, 2, 4)
bg.BorderSizePixel = 0
bg.ZIndex = 10

pcall(function()
	local introSound = Instance.new("Sound")
	introSound.SoundId = "rbxassetid://8172662129"
	introSound.Volume = 5
	introSound.Parent = SoundService
	introSound:Play()
end)

local function createOrb(pos, size, color1, color2)
	local orb = Instance.new("Frame", bg)
	orb.Size = size
	orb.Position = pos
	orb.BackgroundTransparency = 0.15
	orb.BorderSizePixel = 0
	orb.ZIndex = 11
	
	local corner = Instance.new("UICorner", orb)
	corner.CornerRadius = UDim.new(1, 0)
	
	local grad = Instance.new("UIGradient", orb)
	grad.Color = ColorSequence.new{
		ColorSequenceKeypoint.new(0, color1),
		ColorSequenceKeypoint.new(1, color2)
	}
	return orb
end

createOrb(UDim2.new(-0.15, 0, -0.15, 0), UDim2.new(0, 600, 0, 600), Color3.fromRGB(255, 0, 80), Color3.fromRGB(255, 120, 0))
createOrb(UDim2.new(0.6, 0, 0.4, 0), UDim2.new(0, 700, 0, 700), Color3.fromRGB(150, 0, 255), Color3.fromRGB(255, 50, 0))
createOrb(UDim2.new(0.35, 0, -0.08, 0), UDim2.new(0, 160, 0, 160), Color3.fromRGB(0, 195, 255), Color3.fromRGB(255, 230, 0))
createOrb(UDim2.new(-0.05, 0, 0.65, 0), UDim2.new(0, 200, 0, 200), Color3.fromRGB(255, 0, 150), Color3.fromRGB(0, 100, 255))
createOrb(UDim2.new(0.85, 0, -0.05, 0), UDim2.new(0, 140, 0, 140), Color3.fromRGB(255, 220, 0), Color3.fromRGB(255, 0, 0))

local function createShootingStar()
	if not bg or not bg.Parent then return end
	
	local star = Instance.new("Frame", bg)
	star.Size = UDim2.new(0, math.random(80, 140), 0, 2)
	star.BorderSizePixel = 0
	star.ZIndex = 12
	
	local startX = math.random(0, 1200) / 1000
	star.Position = UDim2.new(startX, 0, -0.1, 0)
	
	local corner = Instance.new("UICorner", star)
	corner.CornerRadius = UDim.new(1, 0)
	
	local grad = Instance.new("UIGradient", star)
	grad.Transparency = NumberSequence.new{
		NumberSequenceKeypoint.new(0, 0),
		NumberSequenceKeypoint.new(1, 1)
	}
	grad.Color = ColorSequence.new(Color3.fromRGB(0, 220, 255))
	star.Rotation = math.random(35, 55)
	
	local targetX = startX - math.random(40, 70) / 100
	local targetY = math.random(110, 140) / 100
	local fallDuration = math.random(300, 600) / 1000
	
	TweenService:Create(star, TweenInfo.new(fallDuration, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {
		Position = UDim2.new(targetX, 0, targetY, 0)
	}):Play()
	
	task.delay(fallDuration, function()
		if star and star.Parent then star:Destroy() end
	end)
end

task.spawn(function()
	local starStartTime = tick()
	while tick() - starStartTime < 3.8 do
		createShootingStar()
		task.wait(math.random(10, 30) / 100)
	end
end)

local centerBox = Instance.new("Frame", bg)
centerBox.Size = UDim2.new(0, 700, 0, 200)
centerBox.Position = UDim2.new(0.5, -350, 0.5, -100)
centerBox.BackgroundTransparency = 1
centerBox.ZIndex = 15

local titleLabel = Instance.new("TextLabel", centerBox)
titleLabel.Size = UDim2.new(1, 0, 0, 100)
titleLabel.Position = UDim2.new(0, 0, 0, 0)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "âš¡ TACHYON WARE âš¡"
titleLabel.Font = Enum.Font.GothamBold
titleLabel.TextSize = 64
titleLabel.TextTransparency = 1
titleLabel.TextStrokeTransparency = 0.1
titleLabel.TextStrokeColor3 = Color3.fromRGB(0, 162, 255)
titleLabel.ZIndex = 16

local textGrad = Instance.new("UIGradient", titleLabel)
textGrad.Color = ColorSequence.new{
	ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 195, 255)),
	ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 230, 0))
}
textGrad.Rotation = 90

local underline = Instance.new("Frame", centerBox)
underline.Size = UDim2.new(0, 0, 0, 6)
underline.Position = UDim2.new(0.5, 0, 0, 115)
underline.AnchorPoint = Vector2.new(0.5, 0)
underline.BackgroundColor3 = Color3.fromRGB(255, 230, 0)
underline.BorderSizePixel = 0
underline.ZIndex = 16

local underlineGrad = Instance.new("UIGradient", underline)
underlineGrad.Color = ColorSequence.new{
	ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 195, 255)),
	ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 230, 0))
}

local subText = Instance.new("TextLabel", centerBox)
subText.Size = UDim2.new(1, 0, 0, 40)
subText.Position = UDim2.new(0, 0, 0, 135)
subText.BackgroundTransparency = 1
subText.Text = "SYSTEM INITIALIZED • FULLSCREEN OVERRIDE"
subText.Font = Enum.Font.Code
subText.TextSize = 16
subText.TextColor3 = Color3.fromRGB(150, 200, 255)
subText.TextTransparency = 1
subText.ZIndex = 16

TweenService:Create(titleLabel, TweenInfo.new(0.8, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {TextTransparency = 0}):Play()
TweenService:Create(subText, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextTransparency = 0.2}):Play()
TweenService:Create(underline, TweenInfo.new(1, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), {Size = UDim2.new(0, 580, 0, 6)}):Play()

local startTime = tick()
local shakeConn
shakeConn = RunService.RenderStepped:Connect(function()
	local elapsed = tick() - startTime
	if elapsed < 3.8 then
		local intensity = math.clamp(5 - elapsed, 1, 5)
		local offsetX = math.random(-math.floor(intensity), math.floor(intensity))
		local offsetY = math.random(-math.floor(intensity), math.floor(intensity))
		centerBox.Position = UDim2.new(0.5, -350 + offsetX, 0.5, -100 + offsetY)
	else
		shakeConn:Disconnect()
		TweenService:Create(bg, TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundTransparency = 1}):Play()
		TweenService:Create(titleLabel, TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextTransparency = 1}):Play()
		TweenService:Create(underline, TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundTransparency = 1}):Play()
		TweenService:Create(subText, TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextTransparency = 1}):Play()
		task.wait(0.6)
		if introGui and introGui.Parent then introGui:Destroy() end
		if main then main.Visible = true end
	end
end)

----------------------------------------------------------
-- CORE SYSTEM FUNCTIONS
----------------------------------------------------------
local function sendBlueChatMessage(msgText)
	pcall(function()
		if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
			local generalChannel = TextChatService.TextChannels:FindFirstChild("RBXGeneral")
			if generalChannel then
				generalChannel:DisplaySystemMessage("<font color='#00A2FF'><b>" .. msgText .. "</b></font>")
			end
		else
			StarterGui:SetCore("ChatMakeSystemMessage", {
				Text = msgText,
				Color = Color3.fromRGB(0, 162, 255),
				Font = Enum.Font.SourceSansBold,
				TextSize = 18
			})
		end
	end)
end

local function executePublicChat(msgText)
	pcall(function()
		if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
			local ch = TextChatService.TextChannels:FindFirstChild("RBXGeneral")
			if ch then ch:SendAsync(msgText) end
		else
			local chatEvent = ReplicatedStorage:FindFirstChild("DefaultChatSystemChatEvents")
			if chatEvent and chatEvent:FindFirstChild("SayMessageRequest") then
				chatEvent.SayMessageRequest:FireServer(msgText, "All")
			end
		end
	end)
end

----------------------------------------------------------
-- VISUAL UTILITIES
----------------------------------------------------------
local function clearFog()
	pcall(function()
		for _, obj in ipairs(Lighting:GetChildren()) do
			if obj:IsA("Atmosphere") then obj:Destroy() end
		end
		Lighting.FogEnd = 100000
		Lighting.FogStart = 0
	end)
	sendBlueChatMessage("[TACHYON] Fog Cleared Successfully! ☀️")
end

local function uncursed()
	pcall(function()
		for _, obj in ipairs(Lighting:GetChildren()) do
			if obj:IsA("ColorCorrectionEffect") then
				obj.Saturation = 0
			end
		end
	end)
	sendBlueChatMessage("[TACHYON] Uncursed: RGB Saturation set to 0! ✨")
end

----------------------------------------------------------
-- FULLBRIGHT SYSTEM
----------------------------------------------------------
local fullBrightEnabled = false
local fullBrightConnection = nil
local originalLightingSettings = {
	Brightness = Lighting.Brightness,
	ClockTime = Lighting.ClockTime,
	FogEnd = Lighting.FogEnd,
	GlobalShadows = Lighting.GlobalShadows,
	OutdoorAmbient = Lighting.OutdoorAmbient,
	Ambient = Lighting.Ambient
}

local function setFullBright(state)
	fullBrightEnabled = state
	if fullBrightEnabled then
		originalLightingSettings.Brightness = Lighting.Brightness
		originalLightingSettings.ClockTime = Lighting.ClockTime
		originalLightingSettings.FogEnd = Lighting.FogEnd
		originalLightingSettings.GlobalShadows = Lighting.GlobalShadows
		originalLightingSettings.OutdoorAmbient = Lighting.OutdoorAmbient
		originalLightingSettings.Ambient = Lighting.Ambient

		fullBrightConnection = RunService.RenderStepped:Connect(function()
			if not fullBrightEnabled then return end
			Lighting.Brightness = 2
			Lighting.ClockTime = 14
			Lighting.FogEnd = 100000
			Lighting.GlobalShadows = false
			Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128)
			Lighting.Ambient = Color3.fromRGB(255, 255, 255)
		end)
		sendBlueChatMessage("[TACHYON] FullBright Activated: ON 💡✨")
	else
		if fullBrightConnection then
			fullBrightConnection:Disconnect()
			fullBrightConnection = nil
		end
		pcall(function()
			Lighting.Brightness = originalLightingSettings.Brightness
			Lighting.ClockTime = originalLightingSettings.ClockTime
			Lighting.FogEnd = originalLightingSettings.FogEnd
			Lighting.GlobalShadows = originalLightingSettings.GlobalShadows
			Lighting.OutdoorAmbient = originalLightingSettings.OutdoorAmbient
			Lighting.Ambient = originalLightingSettings.Ambient
		end)
		sendBlueChatMessage("[TACHYON] FullBright Deactivated: OFF 🌑")
	end
end

----------------------------------------------------------
-- TELEPORT TO SPAWN SYSTEM
----------------------------------------------------------
local function teleportToSpawn()
	local char = player.Character
	local hrp = char and char:FindFirstChild("HumanoidRootPart")
	local spawnObj = workspace:FindFirstChild("Spawn") or workspace:FindFirstChild("SpawnLocation")
	
	if hrp and spawnObj and spawnObj:IsA("BasePart") then
		hrp.CFrame = spawnObj.CFrame + Vector3.new(0, 3, 0)
		sendBlueChatMessage("[TACHYON] Teleported to Spawn! 🎯")
	else
		sendBlueChatMessage("[TACHYON] Error: Spawn part not found!")
	end
end

----------------------------------------------------------
-- INSTANT ANTI MAPTIDE-NAN SYSTEM
----------------------------------------------------------
local antiMaptideEnabled = false

local function setAntiMaptide(state)
	antiMaptideEnabled = state
	if antiMaptideEnabled then
		local char = player.Character
		local hrp = char and char:FindFirstChild("HumanoidRootPart")
		if hrp then hrp.CFrame = CFrame.new(-99, 193, -112) end
		sendBlueChatMessage("[TACHYON] Anti MaptideNan: INSTANT ON âš¡ (-99, 193, -112)")
	else
		sendBlueChatMessage("[TACHYON] Anti MaptideNan: OFF ❌")
	end
end

player.CharacterAdded:Connect(function(newChar)
	if antiMaptideEnabled then
		local hrp = newChar:WaitForChild("HumanoidRootPart", 5)
		if hrp and antiMaptideEnabled then hrp.CFrame = CFrame.new(-99, 193, -112) end
	end
end)

----------------------------------------------------------
-- DISARM DEATH SYSTEM (AUTO-BACKSPACE)
----------------------------------------------------------
local disarmDeathEnabled = false
local droppedItems = {}
local isDropping = false

local function triggerDropSequence()
	if isDropping or not disarmDeathEnabled then return end
	isDropping = true
	
	local char = player.Character
	if not char then isDropping = false return end
	local hum = char:FindFirstChildOfClass("Humanoid")
	if not hum then isDropping = false return end

	local toolsToDrop = {}
	if player:FindFirstChild("Backpack") then
		for _, t in ipairs(player.Backpack:GetChildren()) do
			if t:IsA("Tool") then table.insert(toolsToDrop, t) end
		end
	end
	for _, t in ipairs(char:GetChildren()) do
		if t:IsA("Tool") then table.insert(toolsToDrop, t) end
	end

	if #toolsToDrop > 0 then
		sendBlueChatMessage("[TACHYON] Auto-dropping " .. #toolsToDrop .. " items via Backspace...")
		task.spawn(function()
			for _, tool in ipairs(toolsToDrop) do
				if not char or not char.Parent then break end
				if hum.Health <= 0 then
					pcall(function() tool.Parent = workspace end)
				else
					pcall(function() hum:EquipTool(tool) end)
					task.wait(0.05) 
					VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Backspace, false, game)
					task.wait(0.05)
					VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.Backspace, false, game)
					task.wait(0.05)
				end
				table.insert(droppedItems, tool)
			end
			isDropping = false
		end)
	else
		isDropping = false
	end
end

local function monitorHealth(char)
	local hum = char:WaitForChild("Humanoid", 5)
	if not hum then return end
	hum.HealthChanged:Connect(function(health)
		if health <= 5 and health > 0 and disarmDeathEnabled then triggerDropSequence() end
	end)
	hum.Died:Connect(function() triggerDropSequence() end)
end

player.CharacterAdded:Connect(function(newChar)
	isDropping = false
	monitorHealth(newChar)
	if disarmDeathEnabled then
		task.spawn(function()
			task.wait(2)
			local recovered = 0
			local hrp = newChar:WaitForChild("HumanoidRootPart", 5)
			if hrp then
				for _, tool in ipairs(droppedItems) do
					if tool and tool.Parent == workspace then
						pcall(function()
							if tool:FindFirstChild("Handle") then tool.Handle.CFrame = hrp.CFrame end
						end)
						pcall(function() tool.Parent = player.Backpack end)
						recovered = recovered + 1
					end
				end
			end
			droppedItems = {}
			if recovered > 0 then sendBlueChatMessage("[TACHYON] Recovered " .. recovered .. " items! 🎒") end
		end)
	end
end)

if player.Character then monitorHealth(player.Character) end

----------------------------------------------------------
-- ANTI-DRAG SYSTEM
----------------------------------------------------------
local antiDragConnection
local antiDragEnabled = false

local function StopAntiDrag()
	if antiDragConnection then
		antiDragConnection:Disconnect()
		antiDragConnection = nil
	end
end

local function StartAntiDrag()
	StopAntiDrag()
	local timer = 0
	antiDragConnection = RunService.Heartbeat:Connect(function(dt)
		if not antiDragEnabled then return end
		timer = timer + dt
		if timer < 0.1 then return end
		timer = 0

		local char = plr.Character
		if not char then return end
		local humanoid = char:FindFirstChildWhichIsA("Humanoid")
		if not humanoid then return end

		local dragger = char:FindFirstChild("Dragger")
		if dragger then
			pcall(function() dragger.ResponseStyle = Enum.DragDetectorResponseStyle.Custom end)
		end

		if humanoid.PlatformStand or humanoid.Sit then
			humanoid.PlatformStand = false
			humanoid.Sit = false
			pcall(function() humanoid:ChangeState(Enum.HumanoidStateType.GettingUp) end)
		end
	end)
end

plr.CharacterAdded:Connect(function()
	if antiDragEnabled then
		task.wait(0.5)
		if antiDragEnabled then StartAntiDrag() end
	end
end)

----------------------------------------------------------
-- ANTI KILLBRICK SYSTEM (AUTO DISARM TOUCH & IMMUNITY)
----------------------------------------------------------
local antiKillbrickEnabled = false
local antiKillbrickLoop = nil
local originalCanTouchCache = {}

local function neutralisePart(part)
	if part:IsA("BasePart") then
		local isMyChar = false
		if player.Character and part:IsDescendantOf(player.Character) then
			isMyChar = true
		end
		if not isMyChar then
			for _, child in ipairs(part:GetChildren()) do
				if child:IsA("TouchTransmitter") then
					pcall(function() child:Destroy() end)
				end
			end
			if part.CanTouch then
				originalCanTouchCache[part] = true
				pcall(function() part.CanTouch = false end)
			end
		end
	end
end

local function restoreNeutralisedParts()
	for part, val in pairs(originalCanTouchCache) do
		if part and part.Parent then
			pcall(function() part.CanTouch = val end)
		end
	end
	originalCanTouchCache = {}
end

local function setAntiKillbrick(state)
	antiKillbrickEnabled = state
	if antiKillbrickEnabled then
		task.spawn(function()
			for _, desc in ipairs(workspace:GetDescendants()) do
				if not antiKillbrickEnabled then break end
				neutralisePart(desc)
			end
		end)

		antiKillbrickLoop = RunService.Stepped:Connect(function()
			if not antiKillbrickEnabled then return end
			local char = player.Character
			if char then
				local hum = char:FindFirstChildOfClass("Humanoid")
				if hum then
					pcall(function()
						hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
					end)
				end
			end
		end)
		sendBlueChatMessage("[TACHYON] Anti Killbrick Activated: ON 🛡️🧱")
	else
		if antiKillbrickLoop then
			antiKillbrickLoop:Disconnect()
			antiKillbrickLoop = nil
		end
		local char = player.Character
		if char then
			local hum = char:FindFirstChildOfClass("Humanoid")
			if hum then
				pcall(function()
					hum:SetStateEnabled(Enum.HumanoidStateType.Dead, true)
				end)
			end
		end
		restoreNeutralisedParts()
		sendBlueChatMessage("[TACHYON] Anti Killbrick Deactivated: OFF ❌")
	end
end

workspace.DescendantAdded:Connect(function(desc)
	if antiKillbrickEnabled then
		task.wait(0.05)
		neutralisePart(desc)
	end
end)

player.CharacterAdded:Connect(function(char)
	if antiKillbrickEnabled then
		local hum = char:WaitForChild("Humanoid", 5)
		if hum then
			pcall(function()
				hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
			end)
		end
	end
end)

----------------------------------------------------------
-- ANTI GLITCH SYSTEM (TELEPORT / FLING SAFEGUARD)
----------------------------------------------------------
local antiGlitchEnabled = false
local antiGlitchConnection = nil
local lastSafeCFrame = nil
local MAX_DISPLACEMENT_THRESHOLD = 800

local function setAntiGlitch(state)
	antiGlitchEnabled = state
	if antiGlitchEnabled then
		local char = player.Character
		local hrp = char and char:FindFirstChild("HumanoidRootPart")
		if hrp then lastSafeCFrame = hrp.CFrame end

		if antiGlitchConnection then antiGlitchConnection:Disconnect() end
		antiGlitchConnection = RunService.Heartbeat:Connect(function()
			if not antiGlitchEnabled then return end
			local c = player.Character
			local root = c and c:FindFirstChild("HumanoidRootPart")
			local hum = c and c:FindFirstChildOfClass("Humanoid")
			if root and hum and hum.Health > 0 then
				if not lastSafeCFrame then
					lastSafeCFrame = root.CFrame
					return
				end

				local dist = (root.Position - lastSafeCFrame.Position).Magnitude
				local speed = root.AssemblyLinearVelocity.Magnitude

				if dist >= MAX_DISPLACEMENT_THRESHOLD or speed >= 3500 then
					pcall(function()
						root.AssemblyLinearVelocity = Vector3.zero
						root.AssemblyAngularVelocity = Vector3.zero
						root.CFrame = lastSafeCFrame
					end)
					sendBlueChatMessage("[TACHYON] Anti Glitch: Glitch terdeteksi! Posisi dikembalikan 🛡️⚠️")
				else
					lastSafeCFrame = root.CFrame
				end
			end
		end)
		sendBlueChatMessage("[TACHYON] Anti Glitch Activated: ON 🌀🛡️")
	else
		if antiGlitchConnection then
			antiGlitchConnection:Disconnect()
			antiGlitchConnection = nil
		end
		lastSafeCFrame = nil
		sendBlueChatMessage("[TACHYON] Anti Glitch Deactivated: OFF ❌")
	end
end

player.CharacterAdded:Connect(function(char)
	task.wait(0.5)
	if antiGlitchEnabled then
		local hrp = char:WaitForChild("HumanoidRootPart", 5)
		if hrp then lastSafeCFrame = hrp.CFrame end
	end
end)

----------------------------------------------------------
-- OWNER & HELPER TAGS
----------------------------------------------------------
local OWNER_USERNAMES = { ["Rad11zz6"] = true, ["rad11zz6"] = true }
local HELPER_USERNAMES = { ["einsteingoos"] = true, ["phan11zz"] = true }

local function attachOwnerTag(character)
	local torso = character:FindFirstChild("UpperTorso") or character:FindFirstChild("Torso")
	if not torso or torso:FindFirstChild("TachyonOwnerTag") then return end

	local bb = Instance.new("BillboardGui")
	bb.Name = "TachyonOwnerTag"
	bb.Size = UDim2.new(0, 200, 0, 40)
	bb.StudsOffset = Vector3.new(0, 1.5, 0)
	bb.AlwaysOnTop = true
	bb.Adornee = torso
	bb.Parent = torso

	local label = Instance.new("TextLabel")
	label.Size = UDim2.new(1, 0, 1, 0)
	label.BackgroundTransparency = 1
	label.Text = "👑 tachyon owner"
	label.Font = Enum.Font.SourceSansBold
	label.TextSize = 18
	label.TextColor3 = Color3.fromRGB(255, 255, 255)
	label.TextStrokeTransparency = 0
	label.Parent = bb

	local gradient = Instance.new("UIGradient")
	gradient.Color = ColorSequence.new{
		ColorSequenceKeypoint.new(0, Color3.fromRGB(170, 0, 255)),
		ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 170, 255))
	}
	gradient.Parent = label
end

local function attachHelperTag(character)
	local torso = character:FindFirstChild("UpperTorso") or character:FindFirstChild("Torso")
	if not torso or torso:FindFirstChild("TachyonHelperTag") then return end

	local bb = Instance.new("BillboardGui")
	bb.Name = "TachyonHelperTag"
	bb.Size = UDim2.new(0, 200, 0, 40)
	bb.StudsOffset = Vector3.new(0, 1.5, 0)
	bb.AlwaysOnTop = true
	bb.Adornee = torso
	bb.Parent = torso

	local label = Instance.new("TextLabel")
	label.Size = UDim2.new(1, 0, 1, 0)
	label.BackgroundTransparency = 1
	label.Text = "💡 Helper of Tachyon"
	label.Font = Enum.Font.SourceSansBold
	label.TextSize = 16
	label.TextColor3 = Color3.fromRGB(0, 255, 255)
	label.TextStrokeTransparency = 0
	label.Parent = bb
end

RunService.Heartbeat:Connect(function()
	for _, p in pairs(Players:GetPlayers()) do
		if p.Character then
			local torso = p.Character:FindFirstChild("UpperTorso") or p.Character:FindFirstChild("Torso")
			if torso then
				local lowerName = string.lower(p.Name)
				local lowerDisplay = string.lower(p.DisplayName)
				if OWNER_USERNAMES[p.Name] and not torso:FindFirstChild("TachyonOwnerTag") then
					attachOwnerTag(p.Character)
				elseif (HELPER_USERNAMES[lowerName] or HELPER_USERNAMES[lowerDisplay]) and not torso:FindFirstChild("TachyonHelperTag") then
					attachHelperTag(p.Character)
				end
			end
		end
	end
end)

----------------------------------------------------------
-- ANTI-FLING SYSTEM
----------------------------------------------------------
local antiFlingEnabled = false
local antiFlingConnection = nil

local function toggleAntiFling(state)
	antiFlingEnabled = state ~= nil and state or not antiFlingEnabled
	if antiFlingEnabled then
		if not antiFlingConnection then
			antiFlingConnection = RunService.Stepped:Connect(function()
				if not antiFlingEnabled then return end
				for _, otherPlayer in pairs(Players:GetPlayers()) do
					if otherPlayer ~= player and otherPlayer.Character then
						for _, part in pairs(otherPlayer.Character:GetDescendants()) do
							if part:IsA("BasePart") then part.CanCollide = false end
						end
					end
				end
			end)
		end
	else
		if antiFlingConnection then
			antiFlingConnection:Disconnect()
			antiFlingConnection = nil
		end
	end
end

----------------------------------------------------------
-- HELPER: STYLING BUTTON + CLICK SOUND
----------------------------------------------------------
local function styleButton(btn, startColor, endColor, bgTrans)
	btn.AutoButtonColor = true
	btn.BackgroundColor3 = startColor
	btn.BackgroundTransparency = bgTrans or 0

	local corner = btn:FindFirstChildOfClass("UICorner") or Instance.new("UICorner")
	corner.CornerRadius = UDim.new(0, 10)
	corner.Parent = btn

	local stroke = btn:FindFirstChildOfClass("UIStroke") or Instance.new("UIStroke")
	stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
	stroke.Color = Color3.fromRGB(0, 170, 255)
	stroke.Transparency = 0.4
	stroke.Thickness = 1.5
	stroke.Parent = btn

	local gradient = btn:FindFirstChildOfClass("UIGradient") or Instance.new("UIGradient")
	gradient.Color = ColorSequence.new{
		ColorSequenceKeypoint.new(0, startColor),
		ColorSequenceKeypoint.new(1, endColor)
	}
	gradient.Rotation = 90
	gradient.Parent = btn

	addClickSound(btn)
end

----------------------------------------------------------
-- OTHER UTILITIES
----------------------------------------------------------
local function setFov(fov)
	if typeof(fov) == "number" and fov >= 1 and fov <= 120 then
		workspace.CurrentCamera.FieldOfView = fov
	end
end

local function antiLag()
	local bricks = workspace:FindFirstChild("Bricks")
	if not bricks then return end
	local names = { Disintegrate=1, Spray=1, Fire=1, CRFire=1, Field=1, Light=1 }
	for _, obj in ipairs(bricks:GetDescendants()) do
		if names[obj.Name] then pcall(function() obj.Enabled = false end) end
	end
end

local function antiVamp()
	local char = player.Character or player.CharacterAdded:Wait()
	local hum = char:WaitForChild("Humanoid")
	pcall(function() StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true) end)
	workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
	workspace.CurrentCamera.CameraSubject = hum
	if hum.WalkSpeed == 0 then hum.WalkSpeed = 16 end
end

local autoGrabEnabled = false
local pickupLoop = nil
local function startAutoGrab()
	autoGrabEnabled = true
	pickupLoop = task.spawn(function()
		while autoGrabEnabled do
			local char = player.Character
			local hum = char and char:FindFirstChildOfClass("Humanoid")
			if hum and hum.Health > 0 then
				for _, obj in ipairs(workspace:GetChildren()) do
					if obj:IsA("Tool") and obj:FindFirstChild("Handle") then
						pcall(function() hum:EquipTool(obj) end)
					end
				end
			end
			task.wait(0.1)
		end
	end)
end

local function stopAutoGrab()
	autoGrabEnabled = false
	if pickupLoop then task.cancel(pickupLoop) end
end

local function antiVisual()
	for _, v in pairs(Lighting:GetChildren()) do 
		if v:IsA("BlurEffect") then v:Destroy() end 
	end
	for _, gui in pairs(PlayerGui:GetChildren()) do
		if gui:IsA("ScreenGui") and (string.find(string.lower(gui.Name), "blind") or string.find(string.lower(gui.Name), "dark")) then 
			gui:Destroy() 
		end
	end
	Lighting.Brightness = 2
end

local function gotoPlayer(name)
	if not name or name == "" then return end
	name = string.lower(name)
	for _, p in pairs(Players:GetPlayers()) do
		if p ~= player and (string.find(string.lower(p.Name), name) or string.find(string.lower(p.DisplayName), name)) then
			local hrp = p.Character and p.Character:FindFirstChild("HumanoidRootPart")
			local myHrp = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
			if hrp and myHrp then myHrp.CFrame = hrp.CFrame * CFrame.new(0, 0, -3) end
			return
		end
	end
end

----------------------------------------------------------
-- TOPBAR OPEN BUTTON
----------------------------------------------------------
local topBarOpenGui = Instance.new("ScreenGui")
topBarOpenGui.Name = "TachyonTopBarOpen"
topBarOpenGui.ResetOnSpawn = false
topBarOpenGui.IgnoreGuiInset = true
topBarOpenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
topBarOpenGui.Parent = targetGuiParent

local openBtn = Instance.new("TextButton")
openBtn.Size = UDim2.new(0, 130, 0, 50)
openBtn.Position = UDim2.new(0, 335, 0, 6)
openBtn.Text = "Open"
openBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
openBtn.Font = Enum.Font.SourceSansBold
openBtn.TextSize = 24
openBtn.Visible = false
openBtn.Parent = topBarOpenGui
styleButton(openBtn, Color3.fromRGB(0, 140, 255), Color3.fromRGB(0, 80, 180), 0.2)

----------------------------------------------------------
-- ATTACH WINDOW COMPONENTS
----------------------------------------------------------
local topBar = Instance.new("Frame")
topBar.Size = UDim2.new(1, 0, 0, 42)
topBar.BackgroundColor3 = Color3.fromRGB(15, 30, 60)
topBar.BackgroundTransparency = 0.35
topBar.Parent = main
Instance.new("UICorner", topBar).CornerRadius = UDim.new(0, 15)

local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0, 38, 0, 38)
closeBtn.Position = UDim2.new(0, 6, 0, 2)
closeBtn.Text = "X"
closeBtn.TextColor3 = Color3.fromRGB(255, 80, 80)
closeBtn.BackgroundTransparency = 1
closeBtn.Font = Enum.Font.SourceSansBold
closeBtn.TextSize = 22
closeBtn.Parent = topBar
addClickSound(closeBtn)

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -120, 1, 0)
title.Position = UDim2.new(0, 50, 0, 0)
title.Text = "TACHYON v1.5.23"
title.TextColor3 = Color3.fromRGB(0, 255, 255)
title.Font = Enum.Font.SourceSansBold
title.TextSize = 18
title.BackgroundTransparency = 1
title.TextXAlignment = Enum.TextXAlignment.Left
title.Parent = topBar

local minimizeBtn = Instance.new("TextButton")
minimizeBtn.Size = UDim2.new(0, 38, 0, 38)
minimizeBtn.Position = UDim2.new(1, -42, 0, 2)
minimizeBtn.Text = "-"
minimizeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
minimizeBtn.BackgroundTransparency = 1
minimizeBtn.Font = Enum.Font.SourceSansBold
minimizeBtn.TextSize = 24
minimizeBtn.Parent = topBar
addClickSound(minimizeBtn)

local sidebar = Instance.new("Frame")
sidebar.Size = UDim2.new(0, 165, 1, -42)
sidebar.Position = UDim2.new(0, 0, 0, 42)
sidebar.BackgroundColor3 = Color3.fromRGB(12, 24, 45)
sidebar.BackgroundTransparency = 0.35
sidebar.ClipsDescendants = false
sidebar.Parent = main

local sideLayout = Instance.new("UIListLayout", sidebar)
sideLayout.SortOrder = Enum.SortOrder.LayoutOrder
sideLayout.Padding = UDim.new(0, 6)

local sidePadding = Instance.new("UIPadding", sidebar)
sidePadding.PaddingTop = UDim.new(0, 10)
sidePadding.PaddingLeft = UDim.new(0, 10)
sidePadding.PaddingRight = UDim.new(0, 10)

local contentArea = Instance.new("Frame")
contentArea.Size = UDim2.new(1, -165, 1, -42)
contentArea.Position = UDim2.new(0, 165, 0, 42)
contentArea.BackgroundTransparency = 1
contentArea.Parent = main

----------------------------------------------------------
-- LOGIKA TOMBOL X, MINIMIZE (+/-), & OPEN
----------------------------------------------------------
local isMinimized = false

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

openBtn.MouseButton1Click:Connect(function()
	openBtn.Visible = false
	main.Visible = true
	if isMinimized then
		main.Size = UDim2.new(0, 720, 0, 465)
		sidebar.Visible = true
		contentArea.Visible = true
		minimizeBtn.Text = "-"
		isMinimized = false
	end
end)

minimizeBtn.MouseButton1Click:Connect(function()
	if not isMinimized then
		isMinimized = true
		sidebar.Visible = false
		contentArea.Visible = false
		minimizeBtn.Text = "+"
		
		local tweenInfo = TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
		TweenService:Create(main, tweenInfo, {Size = UDim2.new(0, 720, 0, 42)}):Play()
	else
		isMinimized = false
		minimizeBtn.Text = "-"
		
		local tweenInfo = TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
		local tween = TweenService:Create(main, tweenInfo, {Size = UDim2.new(0, 720, 0, 465)})
		tween:Play()
		
		tween.Completed:Connect(function()
			if not isMinimized then
				sidebar.Visible = true
				contentArea.Visible = true
			end
		end)
	end
end)

----------------------------------------------------------
-- MULTI-TAB SYSTEM (ELECTRIC SPARK & BLUE GLASS THEMED)
----------------------------------------------------------
local tabFrames = {}
local tabButtons = {}

local function createTab(tabName, layoutOrder)
	local tabBtn = Instance.new("TextButton")
	tabBtn.Size = UDim2.new(1, 0, 0, 40)
	tabBtn.Text = tabName
	tabBtn.TextColor3 = Color3.fromRGB(180, 210, 255)
	tabBtn.BackgroundColor3 = Color3.fromRGB(15, 35, 65)
	tabBtn.Font = Enum.Font.SourceSansBold
	tabBtn.TextSize = 17
	tabBtn.LayoutOrder = layoutOrder
	tabBtn.ClipsDescendants = false
	tabBtn.Parent = sidebar

	styleButton(tabBtn, Color3.fromRGB(15, 35, 65), Color3.fromRGB(8, 20, 40), 0.4)

	local pageFrame = Instance.new("Frame")
	pageFrame.Size = UDim2.new(1, 0, 1, 0)
	pageFrame.BackgroundTransparency = 1
	pageFrame.Visible = false
	pageFrame.Parent = contentArea

	tabFrames[tabName] = pageFrame
	tabButtons[tabName] = tabBtn

	tabBtn.MouseButton1Click:Connect(function()
		spawnElectricSpark(tabBtn)

		for name, frame in pairs(tabFrames) do frame.Visible = (name == tabName) end
		for name, btn in pairs(tabButtons) do
			if name == tabName then
				styleButton(btn, Color3.fromRGB(0, 140, 255), Color3.fromRGB(0, 80, 200), 0.1)
				btn.TextColor3 = Color3.fromRGB(255, 255, 255)
			else
				styleButton(btn, Color3.fromRGB(15, 35, 65), Color3.fromRGB(8, 20, 40), 0.4)
				btn.TextColor3 = Color3.fromRGB(180, 210, 255)
			end
		end
	end)

	return pageFrame
end

local function applyAutoLayout(container)
	local scroll = Instance.new("ScrollingFrame", container)
	scroll.Size = UDim2.new(1, 0, 1, 0)
	scroll.BackgroundTransparency = 1
	scroll.BorderSizePixel = 0
	scroll.ScrollBarThickness = 4
	scroll.ScrollBarImageColor3 = Color3.fromRGB(0, 140, 255)
	scroll.CanvasSize = UDim2.new(0, 0, 0, 0)
	scroll.AutomaticCanvasSize = Enum.AutomaticSize.Y

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

	local pad = Instance.new("UIPadding", scroll)
	pad.PaddingTop = UDim.new(0, 18)
	pad.PaddingLeft = UDim.new(0, 18)
	pad.PaddingRight = UDim.new(0, 18)

	return scroll
end

local mainTab     = createTab("Main", 1)
local settingsTab = createTab("Settings", 2)
local visualTab   = createTab("Visual", 3)
local tcoTab      = createTab("TCO", 4)
local trollTab    = createTab("Troll", 5)
local miscTab     = createTab("Misc", 6)
local buildingTab = createTab("Building", 7) -- Tab Building

local visualScroll   = applyAutoLayout(visualTab)
local trollScroll    = applyAutoLayout(trollTab)
local miscScroll     = applyAutoLayout(miscTab)
local buildingScroll = applyAutoLayout(buildingTab)

local tcoScroll = Instance.new("ScrollingFrame", tcoTab)
tcoScroll.Size = UDim2.new(1, 0, 1, 0)
tcoScroll.BackgroundTransparency = 1
tcoScroll.BorderSizePixel = 0
tcoScroll.ScrollBarThickness = 4
tcoScroll.ScrollBarImageColor3 = Color3.fromRGB(0, 140, 255)
tcoScroll.CanvasSize = UDim2.new(0, 0, 0, 0)
tcoScroll.AutomaticCanvasSize = Enum.AutomaticSize.Y

local tcoLayout = Instance.new("UIListLayout", tcoScroll)
tcoLayout.SortOrder = Enum.SortOrder.LayoutOrder
tcoLayout.Padding = UDim.new(0, 12)

local tcoPad = Instance.new("UIPadding", tcoScroll)
tcoPad.PaddingTop = UDim.new(0, 18)
tcoPad.PaddingLeft = UDim.new(0, 18)
tcoPad.PaddingRight = UDim.new(0, 18)

mainTab.Visible = true
styleButton(tabButtons["Main"], Color3.fromRGB(0, 140, 255), Color3.fromRGB(0, 80, 200), 0.1)
tabButtons["Main"].TextColor3 = Color3.fromRGB(255, 255, 255)

----------------------------------------------------------
-- [1] TAB MAIN
----------------------------------------------------------
local infoCard = Instance.new("Frame")
infoCard.Size = UDim2.new(1, -30, 0, 150)
infoCard.Position = UDim2.new(0, 15, 0, 15)
infoCard.BackgroundColor3 = Color3.fromRGB(15, 32, 60)
infoCard.BackgroundTransparency = 0.35
infoCard.Parent = mainTab
Instance.new("UICorner", infoCard).CornerRadius = UDim.new(0, 12)
local infoStroke = Instance.new("UIStroke", infoCard)
infoStroke.Color = Color3.fromRGB(0, 140, 255)
infoStroke.Transparency = 0.5

local profileImg = Instance.new("ImageLabel")
profileImg.Size = UDim2.new(0, 72, 0, 72)
profileImg.Position = UDim2.new(0, 15, 0, 15)
profileImg.Image = "rbxthumb://type=AvatarHeadShot&id=" .. player.UserId .. "&w=150&h=150"
profileImg.Parent = infoCard
Instance.new("UICorner", profileImg).CornerRadius = UDim.new(0, 12)

local nameLabel = Instance.new("TextLabel")
nameLabel.Size = UDim2.new(0, 240, 0, 28)
nameLabel.Position = UDim2.new(0, 98, 0, 18)
nameLabel.Text = player.DisplayName
nameLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
nameLabel.TextXAlignment = Enum.TextXAlignment.Left
nameLabel.BackgroundTransparency = 1
nameLabel.Font = Enum.Font.SourceSansBold
nameLabel.TextSize = 20
nameLabel.Parent = infoCard

local userLabel = Instance.new("TextLabel")
userLabel.Size = UDim2.new(0, 240, 0, 22)
userLabel.Position = UDim2.new(0, 98, 0, 46)
userLabel.Text = "@" .. player.Name
userLabel.TextColor3 = Color3.fromRGB(170, 195, 230)
userLabel.TextXAlignment = Enum.TextXAlignment.Left
userLabel.BackgroundTransparency = 1
userLabel.Font = Enum.Font.SourceSans
userLabel.TextSize = 17
userLabel.Parent = infoCard

local pingLabel = Instance.new("TextLabel")
pingLabel.Size = UDim2.new(0, 150, 0, 35)
pingLabel.Position = UDim2.new(1, -165, 0, 15)
pingLabel.Text = "PING: -- ms"
pingLabel.TextColor3 = Color3.fromRGB(0, 220, 120)
pingLabel.TextXAlignment = Enum.TextXAlignment.Right
pingLabel.BackgroundTransparency = 1
pingLabel.Font = Enum.Font.SourceSansBold
pingLabel.TextSize = 18
pingLabel.Parent = infoCard

task.spawn(function()
	while task.wait(1) do
		local success, pingValue = pcall(function()
			return math.floor(Stats.Network.ServerStatsItem["Data Ping"]:GetValue())
		end)
		if success and pingValue then
			pingLabel.Text = "PING: " .. pingValue .. " ms"
			if pingValue < 100 then pingLabel.TextColor3 = Color3.fromRGB(0, 220, 120)
			elseif pingValue < 200 then pingLabel.TextColor3 = Color3.fromRGB(220, 180, 0)
			else pingLabel.TextColor3 = Color3.fromRGB(220, 50, 50) end
		else
			pingLabel.Text = "PING: OK"
		end
	end
end)

local sloganLabel = Instance.new("TextLabel")
sloganLabel.Size = UDim2.new(1, -30, 0, 35)
sloganLabel.Position = UDim2.new(0, 15, 0, 102)
sloganLabel.Text = "💎 Tachyon script is the best 💎"
sloganLabel.TextColor3 = Color3.fromRGB(255, 215, 0)
sloganLabel.BackgroundTransparency = 1
sloganLabel.Font = Enum.Font.SourceSansBold
sloganLabel.TextSize = 18
sloganLabel.Parent = infoCard

local statusBox = Instance.new("Frame")
statusBox.Size = UDim2.new(1, -30, 0, 105)
statusBox.Position = UDim2.new(0, 15, 0, 180)
statusBox.BackgroundColor3 = Color3.fromRGB(15, 32, 60)
statusBox.BackgroundTransparency = 0.35
statusBox.Parent = mainTab
Instance.new("UICorner", statusBox).CornerRadius = UDim.new(0, 12)
local statusStroke = Instance.new("UIStroke", statusBox)
statusStroke.Color = Color3.fromRGB(0, 140, 255)
statusStroke.Transparency = 0.5

local welcomeLabel = Instance.new("TextLabel")
welcomeLabel.Size = UDim2.new(1, -30, 0, 32)
welcomeLabel.Position = UDim2.new(0, 15, 0, 12)
welcomeLabel.TextXAlignment = Enum.TextXAlignment.Left
welcomeLabel.BackgroundTransparency = 1
welcomeLabel.Font = Enum.Font.SourceSansBold
welcomeLabel.TextSize = 19
welcomeLabel.Parent = statusBox

local roleLabel = Instance.new("TextLabel")
roleLabel.Size = UDim2.new(1, -30, 0, 32)
roleLabel.Position = UDim2.new(0, 15, 0, 48)
roleLabel.TextXAlignment = Enum.TextXAlignment.Left
roleLabel.BackgroundTransparency = 1
roleLabel.Font = Enum.Font.SourceSans
roleLabel.TextSize = 18
roleLabel.Parent = statusBox

local isOwner = OWNER_USERNAMES[player.Name] or false
if isOwner then
	welcomeLabel.Text = "Welcome " .. player.Name
	welcomeLabel.TextColor3 = Color3.fromRGB(0, 200, 255)
	roleLabel.Text = "Statue : owner | tachyon ware open source"
	roleLabel.TextColor3 = Color3.fromRGB(255, 215, 0)
else
	welcomeLabel.Text = "Welcome " .. player.Name
	welcomeLabel.TextColor3 = Color3.fromRGB(210, 230, 255)
	roleLabel.Text = "Statue : member | tachyon ware open source"
	roleLabel.TextColor3 = Color3.fromRGB(180, 200, 230)
end

----------------------------------------------------------
-- MUSIC AUTO-PLAY SYSTEM (MAIN TAB)
----------------------------------------------------------
local bgMusic = Instance.new("Sound")
bgMusic.Name = "TachyonBGMusic"
bgMusic.SoundId = "rbxassetid://120313972450310"
bgMusic.Volume = 0.5
bgMusic.Looped = true
bgMusic.Parent = SoundService

local musicEnabled = true
pcall(function() bgMusic:Play() end)

local musicToggleBtn = Instance.new("TextButton")
musicToggleBtn.Size = UDim2.new(1, -30, 0, 48)
musicToggleBtn.Position = UDim2.new(0, 15, 0, 300)
musicToggleBtn.Text = "🎵 Music: ON"
musicToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
musicToggleBtn.Font = Enum.Font.SourceSansBold
musicToggleBtn.TextSize = 17
musicToggleBtn.Parent = mainTab
styleButton(musicToggleBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)

musicToggleBtn.MouseButton1Click:Connect(function()
	musicEnabled = not musicEnabled
	if musicEnabled then
		pcall(function() bgMusic:Play() end)
		musicToggleBtn.Text = "🎵 Music: ON"
		styleButton(musicToggleBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
	else
		pcall(function() bgMusic:Stop() end)
		musicToggleBtn.Text = "🎵 Music: OFF"
		styleButton(musicToggleBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.4)
	end
end)

----------------------------------------------------------
-- [2] TAB SETTINGS
----------------------------------------------------------
local customSpeed = 16
local customJump = 50
local isSpeedSet = false
local isJumpSet = false

local speedLabel = Instance.new("TextLabel")
speedLabel.Size = UDim2.new(0, 120, 0, 42)
speedLabel.Position = UDim2.new(0, 15, 0, 20)
speedLabel.Text = "Speed :"
speedLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
speedLabel.TextXAlignment = Enum.TextXAlignment.Left
speedLabel.BackgroundTransparency = 1
speedLabel.Font = Enum.Font.SourceSansBold
speedLabel.TextSize = 18
speedLabel.Parent = settingsTab

local speedBox = Instance.new("TextBox")
speedBox.Size = UDim2.new(0, 150, 0, 42)
speedBox.Position = UDim2.new(0, 135, 0, 20)
speedBox.PlaceholderText = "16"
speedBox.BackgroundColor3 = Color3.fromRGB(15, 32, 60)
speedBox.BackgroundTransparency = 0.3
speedBox.TextColor3 = Color3.fromRGB(255, 255, 255)
speedBox.Font = Enum.Font.SourceSans
speedBox.TextSize = 18
speedBox.Parent = settingsTab
Instance.new("UICorner", speedBox).CornerRadius = UDim.new(0, 8)

local applySpeedBtn = Instance.new("TextButton")
applySpeedBtn.Size = UDim2.new(0, 135, 0, 42)
applySpeedBtn.Position = UDim2.new(0, 300, 0, 20)
applySpeedBtn.Text = "Apply Speed"
applySpeedBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
applySpeedBtn.Font = Enum.Font.SourceSansBold
applySpeedBtn.TextSize = 16
applySpeedBtn.Parent = settingsTab
styleButton(applySpeedBtn, Color3.fromRGB(0, 140, 255), Color3.fromRGB(0, 80, 180), 0.2)

local jumpLabel = Instance.new("TextLabel")
jumpLabel.Size = UDim2.new(0, 120, 0, 42)
jumpLabel.Position = UDim2.new(0, 15, 0, 80)
jumpLabel.Text = "JumpPower :"
jumpLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
jumpLabel.TextXAlignment = Enum.TextXAlignment.Left
jumpLabel.BackgroundTransparency = 1
jumpLabel.Font = Enum.Font.SourceSansBold
jumpLabel.TextSize = 18
jumpLabel.Parent = settingsTab

local jumpBox = Instance.new("TextBox")
jumpBox.Size = UDim2.new(0, 150, 0, 42)
jumpBox.Position = UDim2.new(0, 135, 0, 80)
jumpBox.PlaceholderText = "50"
jumpBox.BackgroundColor3 = Color3.fromRGB(15, 32, 60)
jumpBox.BackgroundTransparency = 0.3
jumpBox.TextColor3 = Color3.fromRGB(255, 255, 255)
jumpBox.Font = Enum.Font.SourceSans
jumpBox.TextSize = 18
jumpBox.Parent = settingsTab
Instance.new("UICorner", jumpBox).CornerRadius = UDim.new(0, 8)

local applyJumpBtn = Instance.new("TextButton")
applyJumpBtn.Size = UDim2.new(0, 135, 0, 42)
applyJumpBtn.Position = UDim2.new(0, 300, 0, 80)
applyJumpBtn.Text = "Apply Jump"
applyJumpBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
applyJumpBtn.Font = Enum.Font.SourceSansBold
applyJumpBtn.TextSize = 16
applyJumpBtn.Parent = settingsTab
styleButton(applyJumpBtn, Color3.fromRGB(0, 140, 255), Color3.fromRGB(0, 80, 180), 0.2)

local function updateHumanoidStats()
	local char = player.Character
	if char then
		local hum = char:FindFirstChildOfClass("Humanoid")
		if hum then
			if isSpeedSet then hum.WalkSpeed = customSpeed end
			if isJumpSet then hum.UseJumpPower = true hum.JumpPower = customJump end
		end
	end
end

applySpeedBtn.MouseButton1Click:Connect(function()
	local val = tonumber(speedBox.Text)
	if val then customSpeed = val isSpeedSet = true updateHumanoidStats() end
end)

applyJumpBtn.MouseButton1Click:Connect(function()
	local val = tonumber(jumpBox.Text)
	if val then customJump = val isJumpSet = true updateHumanoidStats() end
end)

----------------------------------------------------------
-- [3] TAB VISUAL
----------------------------------------------------------
local antiVisualBtn = Instance.new("TextButton")
antiVisualBtn.Size = UDim2.new(0, 330, 0, 44)
antiVisualBtn.Text = "Anti-Visual Clear"
antiVisualBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
antiVisualBtn.Font = Enum.Font.SourceSansBold
antiVisualBtn.TextSize = 16
antiVisualBtn.LayoutOrder = 1
antiVisualBtn.Parent = visualScroll
styleButton(antiVisualBtn, Color3.fromRGB(0, 140, 255), Color3.fromRGB(0, 80, 180), 0.2)
antiVisualBtn.MouseButton1Click:Connect(function() antiVisual() end)

local antiLagBtn = Instance.new("TextButton")
antiLagBtn.Size = UDim2.new(0, 330, 0, 44)
antiLagBtn.Text = "Anti-Lag Bricks"
antiLagBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
antiLagBtn.Font = Enum.Font.SourceSansBold
antiLagBtn.TextSize = 16
antiLagBtn.LayoutOrder = 2
antiLagBtn.Parent = visualScroll
styleButton(antiLagBtn, Color3.fromRGB(0, 140, 255), Color3.fromRGB(0, 80, 180), 0.2)
antiLagBtn.MouseButton1Click:Connect(function() antiLag() end)

local clearFogBtn = Instance.new("TextButton")
clearFogBtn.Size = UDim2.new(0, 330, 0, 44)
clearFogBtn.Text = "Clear Fog"
clearFogBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
clearFogBtn.Font = Enum.Font.SourceSansBold
clearFogBtn.TextSize = 16
clearFogBtn.LayoutOrder = 3
clearFogBtn.Parent = visualScroll
styleButton(clearFogBtn, Color3.fromRGB(0, 140, 255), Color3.fromRGB(0, 80, 180), 0.2)
clearFogBtn.MouseButton1Click:Connect(function() clearFog() end)

local uncursedBtn = Instance.new("TextButton")
uncursedBtn.Size = UDim2.new(0, 330, 0, 44)
uncursedBtn.Text = "Uncursed"
uncursedBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
uncursedBtn.Font = Enum.Font.SourceSansBold
uncursedBtn.TextSize = 16
uncursedBtn.LayoutOrder = 4
uncursedBtn.Parent = visualScroll
styleButton(uncursedBtn, Color3.fromRGB(0, 140, 255), Color3.fromRGB(0, 80, 180), 0.2)
uncursedBtn.MouseButton1Click:Connect(function() uncursed() end)

----------------------------------------------------------
-- [4] TAB TCO
----------------------------------------------------------
local enlightenAlarmBtn = Instance.new("TextButton", tcoScroll)
enlightenAlarmBtn.Size = UDim2.new(0, 480, 0, 44)
enlightenAlarmBtn.Text = "Enlighten Alarm: OFF"
enlightenAlarmBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
enlightenAlarmBtn.BackgroundColor3 = Color3.fromRGB(15, 32, 60)
enlightenAlarmBtn.BackgroundTransparency = 0.35
enlightenAlarmBtn.Font = Enum.Font.SourceSansBold
enlightenAlarmBtn.TextSize = 16
enlightenAlarmBtn.LayoutOrder = 1

Instance.new("UICorner", enlightenAlarmBtn).CornerRadius = UDim.new(0, 8)
local alarmStroke = Instance.new("UIStroke", enlightenAlarmBtn)
alarmStroke.Color = Color3.fromRGB(255, 50, 50)
alarmStroke.Thickness = 1.5
alarmStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
addClickSound(enlightenAlarmBtn)

local enlightenAlarmEnabled = false
local arkenstoneHolders = {}

enlightenAlarmBtn.MouseButton1Click:Connect(function()
	enlightenAlarmEnabled = not enlightenAlarmEnabled
	if enlightenAlarmEnabled then
		enlightenAlarmBtn.Text = "Enlighten Alarm: ON"
		alarmStroke.Color = Color3.fromRGB(0, 255, 100)
		sendBlueChatMessage("[TACHYON] Enlighten Alarm Activated ✅")
	else
		enlightenAlarmBtn.Text = "Enlighten Alarm: OFF"
		alarmStroke.Color = Color3.fromRGB(255, 50, 50)
		sendBlueChatMessage("[TACHYON] Enlighten Alarm Deactivated ❌")
	end
end)

task.spawn(function()
	while task.wait(1) do
		if enlightenAlarmEnabled then
			for _, p in ipairs(Players:GetPlayers()) do
				if p and p.Character then
					local hasArkenstone = false
					local backpack = p:FindFirstChild("Backpack")
					if backpack and backpack:FindFirstChild("The Arkenstone") then
						hasArkenstone = true
					end
					if p.Character:FindFirstChild("The Arkenstone") then
						hasArkenstone = true
					end
					
					if hasArkenstone then
						if not arkenstoneHolders[p.Name] then
							arkenstoneHolders[p.Name] = true
							executePublicChat(p.Name .. " has a enlighten ✨✨")
						end
					else
						arkenstoneHolders[p.Name] = nil
					end
				end
			end
		end
	end
end)

local spamAlarmBtn = Instance.new("TextButton", tcoScroll)
spamAlarmBtn.Size = UDim2.new(0, 480, 0, 44)
spamAlarmBtn.Text = "Spam Alarm: OFF"
spamAlarmBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
spamAlarmBtn.BackgroundColor3 = Color3.fromRGB(15, 32, 60)
spamAlarmBtn.BackgroundTransparency = 0.35
spamAlarmBtn.Font = Enum.Font.SourceSansBold
spamAlarmBtn.TextSize = 16
spamAlarmBtn.LayoutOrder = 2

Instance.new("UICorner", spamAlarmBtn).CornerRadius = UDim.new(0, 8)
local spamStroke = Instance.new("UIStroke", spamAlarmBtn)
spamStroke.Color = Color3.fromRGB(255, 50, 50)
spamStroke.Thickness = 1.5
spamStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
addClickSound(spamAlarmBtn)

local spamAlarmEnabled = false
spamAlarmBtn.MouseButton1Click:Connect(function()
	spamAlarmEnabled = not spamAlarmEnabled
	if spamAlarmEnabled then
		spamAlarmBtn.Text = "Spam Alarm: ON"
		spamStroke.Color = Color3.fromRGB(0, 255, 100)
		sendBlueChatMessage("[TACHYON] Spam Alarm Activated ✅")
	else
		spamAlarmBtn.Text = "Spam Alarm: OFF"
		spamStroke.Color = Color3.fromRGB(255, 50, 50)
		sendBlueChatMessage("[TACHYON] Spam Alarm Deactivated ❌")
	end
end)

local playerBrickTimestamps = {}
local lastWarningTime = {}

local function monitorPlayerFolder(playerFolder)
	playerFolder.ChildAdded:Connect(function(child)
		if not spamAlarmEnabled then return end
		if child:IsA("BasePart") then
			local playerName = playerFolder.Name
			local now = tick()
			
			if not playerBrickTimestamps[playerName] then
				playerBrickTimestamps[playerName] = {}
			end
			
			table.insert(playerBrickTimestamps[playerName], now)
			
			local validTimestamps = {}
			for _, t in ipairs(playerBrickTimestamps[playerName]) do
				if now - t <= 2.0 then
					table.insert(validTimestamps, t)
				end
			end
			playerBrickTimestamps[playerName] = validTimestamps
			
			if #playerBrickTimestamps[playerName] >= 10 then
				if not lastWarningTime[playerName] or (now - lastWarningTime[playerName] > 4.0) then
					lastWarningTime[playerName] = now
					executePublicChat("warning " .. playerName .. " is building too fast 🚨🚨")
				end
			end
		end
	end)
end

local griefAlarmBtn = Instance.new("TextButton", tcoScroll)
griefAlarmBtn.Size = UDim2.new(0, 480, 0, 44)
griefAlarmBtn.Text = "Grief Alarm: OFF"
griefAlarmBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
griefAlarmBtn.BackgroundColor3 = Color3.fromRGB(15, 32, 60)
griefAlarmBtn.BackgroundTransparency = 0.35
griefAlarmBtn.Font = Enum.Font.SourceSansBold
griefAlarmBtn.TextSize = 16
griefAlarmBtn.LayoutOrder = 3

Instance.new("UICorner", griefAlarmBtn).CornerRadius = UDim.new(0, 8)
local griefStroke = Instance.new("UIStroke", griefAlarmBtn)
griefStroke.Color = Color3.fromRGB(255, 50, 50)
griefStroke.Thickness = 1.5
griefStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
addClickSound(griefAlarmBtn)

local griefAlarmEnabled = false
local lastGriefWarning = {}
local activeClickDetectors = {}

local function setGriefAlarm(state)
	griefAlarmEnabled = state
	if griefAlarmEnabled then
		griefAlarmBtn.Text = "Grief Alarm: ON"
		griefStroke.Color = Color3.fromRGB(0, 255, 100)
		sendBlueChatMessage("[TACHYON] Grief Alarm Activated (Click Detector Mode) ✅")
	else
		griefAlarmBtn.Text = "Grief Alarm: OFF"
		griefStroke.Color = Color3.fromRGB(255, 50, 50)
		sendBlueChatMessage("[TACHYON] Grief Alarm Deactivated ❌")
	end
end

griefAlarmBtn.MouseButton1Click:Connect(function()
	setGriefAlarm(not griefAlarmEnabled)
end)

local function triggerGriefAlert(attacker, victimOwnerName)
	if attacker.Name == victimOwnerName then return end
	local now = tick()
	local lastWarn = lastGriefWarning[attacker.Name] or 0
	if now - lastWarn >= 3.0 then
		lastGriefWarning[attacker.Name] = now
		executePublicChat("warning " .. attacker.Name .. " is detected deleting people building 🚨🚨")
	end
end

local function identifyTrueDeleter(brickPosition, victimOwnerName)
	local closestPlayer = nil
	local shortestDist = 45

	for _, p in ipairs(Players:GetPlayers()) do
		if p ~= player and p.Name ~= victimOwnerName then
			local char = p.Character
			if char and char:FindFirstChild("Delete") then
				local hrp = char:FindFirstChild("HumanoidRootPart") or char:FindFirstChild("Torso")
				if hrp then
					local dist = (hrp.Position - brickPosition).Magnitude
					local toBrick = (brickPosition - hrp.Position).Unit
					local dot = hrp.CFrame.LookVector:Dot(toBrick)

					if dist < shortestDist and dot > 0.15 then
						shortestDist = dist
						closestPlayer = p
					end
				end
			end
		end
	end

	return closestPlayer
end

local function attachClickDetectorToBrick(brick, ownerFolder)
	if not brick:IsA("BasePart") or activeClickDetectors[brick] then return end
	activeClickDetectors[brick] = true

	local cd = Instance.new("ClickDetector")
	cd.MaxActivationDistance = 45
	cd.Parent = brick

	cd.MouseClick:Connect(function(clickingPlayer)
		if not griefAlarmEnabled then return end
		if clickingPlayer ~= player and clickingPlayer.Name ~= ownerFolder.Name then
			local char = clickingPlayer.Character
			if char and char:FindFirstChild("Delete") then
				triggerGriefAlert(clickingPlayer, ownerFolder.Name)
			end
		end
	end)

	brick.AncestryChanged:Connect(function(_, newParent)
		if not newParent and griefAlarmEnabled then
			local trueCulprit = identifyTrueDeleter(brick.Position, ownerFolder.Name)
			if trueCulprit then
				triggerGriefAlert(trueCulprit, ownerFolder.Name)
			end
		end
	end)
end

local function monitorBricksFolder(pFolder)
	for _, child in ipairs(pFolder:GetChildren()) do
		attachClickDetectorToBrick(child, pFolder)
	end
	pFolder.ChildAdded:Connect(function(child)
		attachClickDetectorToBrick(child, pFolder)
	end)
end

local bricksFolder = workspace:FindFirstChild("Bricks")
if bricksFolder then
	for _, pf in ipairs(bricksFolder:GetChildren()) do
		if pf:IsA("Folder") or pf:IsA("Model") then
			monitorPlayerFolder(pf)
			monitorBricksFolder(pf)
		end
	end
	bricksFolder.ChildAdded:Connect(function(newPf)
		if newPf:IsA("Folder") or newPf:IsA("Model") then
			monitorPlayerFolder(newPf)
			monitorBricksFolder(newPf)
		end
	end)
end

local tcoInfoLabel = Instance.new("TextLabel", tcoScroll)
tcoInfoLabel.Size = UDim2.new(0, 480, 0, 32)
tcoInfoLabel.Text = "👉 green = active | red = alarm 🚨"
tcoInfoLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
tcoInfoLabel.BackgroundTransparency = 1
tcoInfoLabel.Font = Enum.Font.SourceSansBold
tcoInfoLabel.TextSize = 16
tcoInfoLabel.TextXAlignment = Enum.TextXAlignment.Left
tcoInfoLabel.LayoutOrder = 4

local openMusicModalBtn = Instance.new("TextButton", tcoScroll)
openMusicModalBtn.Size = UDim2.new(0, 130, 0, 40)
openMusicModalBtn.Text = "🎵 Music"
openMusicModalBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
openMusicModalBtn.Font = Enum.Font.SourceSansBold
openMusicModalBtn.TextSize = 15
openMusicModalBtn.LayoutOrder = 5
styleButton(openMusicModalBtn, Color3.fromRGB(0, 140, 255), Color3.fromRGB(0, 80, 180), 0.2)

----------------------------------------------------------
-- [5] TAB TROLL (DITAMBAH FITUR ORBIT BRICKS 2X JARAK & NOCLIP)
----------------------------------------------------------
local flingBtn = Instance.new("TextButton")
flingBtn.Size = UDim2.new(0, 330, 0, 44)
flingBtn.Text = "Fling Touch: OFF"
flingBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
flingBtn.Font = Enum.Font.SourceSansBold
flingBtn.TextSize = 16
flingBtn.LayoutOrder = 1
flingBtn.Parent = trollScroll
styleButton(flingBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)

local hiddenfling = false
local function flingProcess()
	local c, hrp, vel, movel = nil, nil, nil, 0.1
	while hiddenfling do
		RunService.Heartbeat:Wait()
		c = player.Character
		hrp = c and c:FindFirstChild("HumanoidRootPart")
		if hrp then
			vel = hrp.Velocity
			hrp.Velocity = vel * 10000 + Vector3.new(0, 10000, 0)
			RunService.RenderStepped:Wait()
			hrp.Velocity = vel
			RunService.Stepped:Wait()
			hrp.Velocity = vel + Vector3.new(0, movel, 0)
			movel = -movel
		end
	end
end

flingBtn.MouseButton1Click:Connect(function()
	hiddenfling = not hiddenfling
	if hiddenfling then
		flingBtn.Text = "Fling Touch: ON"
		styleButton(flingBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
		task.spawn(flingProcess)
	else
		flingBtn.Text = "Fling Touch: OFF"
		styleButton(flingBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
	end
end)

local grieferHubBtn = Instance.new("TextButton")
grieferHubBtn.Size = UDim2.new(0, 330, 0, 44)
grieferHubBtn.Text = "GrieferHub 🌐"
grieferHubBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
grieferHubBtn.Font = Enum.Font.SourceSansBold
grieferHubBtn.TextSize = 16
grieferHubBtn.LayoutOrder = 2
grieferHubBtn.Parent = trollScroll
styleButton(grieferHubBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)

grieferHubBtn.MouseButton1Click:Connect(function()
	pcall(function()
		loadstring(game:HttpGet("https://rawscripts.net/raw/The-Chosen-One-GrieferHub-244550"))()
	end)
	sendBlueChatMessage("[TACHYON] GrieferHub executed! 🚀")
end)

-- Tombol Orbit & Speed Box (Jarak 2x lipat & Noclip saat ON)
local orbitActive = false
local orbitSpeed = 5
local orbitConnection = nil
local noclipConnection = nil

local orbitRow = Instance.new("Frame")
orbitRow.Size = UDim2.new(0, 330, 0, 44)
orbitRow.BackgroundTransparency = 1
orbitRow.LayoutOrder = 3
orbitRow.Parent = trollScroll

local orbitBtn = Instance.new("TextButton")
orbitBtn.Size = UDim2.new(0, 210, 1, 0)
orbitBtn.Text = "Orbit Bricks: OFF"
orbitBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
orbitBtn.Font = Enum.Font.SourceSansBold
orbitBtn.TextSize = 16
orbitBtn.Parent = orbitRow
styleButton(orbitBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)

local speedBox = Instance.new("TextBox")
speedBox.Size = UDim2.new(0, 110, 1, 0)
speedBox.Position = UDim2.new(0, 220, 0, 0)
speedBox.PlaceholderText = "Speed: 5"
speedBox.Text = "5"
speedBox.TextColor3 = Color3.fromRGB(255, 255, 255)
speedBox.BackgroundColor3 = Color3.fromRGB(15, 32, 60)
speedBox.BackgroundTransparency = 0.3
speedBox.Font = Enum.Font.SourceSansBold
speedBox.TextSize = 16
speedBox.Parent = orbitRow
Instance.new("UICorner", speedBox).CornerRadius = UDim.new(0, 8)

speedBox.FocusLost:Connect(function()
	local val = tonumber(speedBox.Text)
	if val then orbitSpeed = val end
end)

orbitBtn.MouseButton1Click:Connect(function()
	orbitActive = not orbitActive
	if orbitActive then
		orbitBtn.Text = "Orbit Bricks: ON"
		styleButton(orbitBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
		
		-- Mengaktifkan Noclip pada karakter saat Orbit ON
		noclipConnection = RunService.Stepped:Connect(function()
			local char = player.Character
			if char then
				for _, part in ipairs(char:GetDescendants()) do
					if part:IsA("BasePart") then
						part.CanCollide = false
					end
				end
			end
		end)
		
		local angle = 0
		orbitConnection = RunService.RenderStepped:Connect(function(dt)
			angle = angle + (dt * orbitSpeed)
			local char = player.Character
			local hrp = char and char:FindFirstChild("HumanoidRootPart")
			
			if hrp then
				local targetParts = {}
				local bricksFolder = workspace:FindFirstChild("Bricks")
				
				if bricksFolder then
					for _, desc in ipairs(bricksFolder:GetDescendants()) do
						if desc:IsA("BasePart") and not desc.Anchored and desc:FindFirstChild("Drag") then
							table.insert(targetParts, desc)
						end
					end
				end
				
				local count = #targetParts
				if count > 0 then
					for i, part in ipairs(targetParts) do
						local rad = angle + ((i / count) * (math.pi * 2))
						local radius = 16 -- Jarak orbit diperlebar 2x lipat (dari 8 menjadi 16)
						local x = math.cos(rad) * radius
						local z = math.sin(rad) * radius
						local targetPos = hrp.Position + Vector3.new(x, 3, z)
						
						pcall(function()
							part.CanCollide = false
							part.AssemblyLinearVelocity = (targetPos - part.Position) * 16
						end)
					end
				end
			end
		end)
		sendBlueChatMessage("[TACHYON] Orbit Bricks Activated (2x Distance & Noclip ON) 🪐")
	else
		orbitBtn.Text = "Orbit Bricks: OFF"
		styleButton(orbitBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
		
		-- Mematikan Noclip saat Orbit OFF
		if noclipConnection then
			noclipConnection:Disconnect()
			noclipConnection = nil
		end
		
		if orbitConnection then
			orbitConnection:Disconnect()
			orbitConnection = nil
		end
		sendBlueChatMessage("[TACHYON] Orbit Bricks Deactivated ❌")
	end
end)

----------------------------------------------------------
-- [6] TAB MISC
----------------------------------------------------------
local fullBrightBtn = Instance.new("TextButton")
fullBrightBtn.Size = UDim2.new(0, 330, 0, 44)
fullBrightBtn.Text = "FullBright: OFF"
fullBrightBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
fullBrightBtn.Font = Enum.Font.SourceSansBold
fullBrightBtn.TextSize = 16
fullBrightBtn.LayoutOrder = 1
fullBrightBtn.Parent = miscScroll
styleButton(fullBrightBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)

fullBrightBtn.MouseButton1Click:Connect(function()
	setFullBright(not fullBrightEnabled)
	if fullBrightEnabled then
		fullBrightBtn.Text = "FullBright: ON"
		styleButton(fullBrightBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
	else
		fullBrightBtn.Text = "FullBright: OFF"
		styleButton(fullBrightBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
	end
end)

local antiDragBtn = Instance.new("TextButton")
antiDragBtn.Size = UDim2.new(0, 330, 0, 44)
antiDragBtn.Text = "Anti Drag: OFF"
antiDragBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
antiDragBtn.Font = Enum.Font.SourceSansBold
antiDragBtn.TextSize = 16
antiDragBtn.LayoutOrder = 2
antiDragBtn.Parent = miscScroll
styleButton(antiDragBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)

antiDragBtn.MouseButton1Click:Connect(function()
	antiDragEnabled = not antiDragEnabled
	if antiDragEnabled then
		StartAntiDrag()
		antiDragBtn.Text = "Anti Drag: ON"
		styleButton(antiDragBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
	else
		StopAntiDrag()
		antiDragBtn.Text = "Anti Drag: OFF"
		styleButton(antiDragBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
	end
end)

local autoGrabBtn = Instance.new("TextButton")
autoGrabBtn.Size = UDim2.new(0, 330, 0, 44)
autoGrabBtn.Text = "Auto Grab Tools: OFF"
autoGrabBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
autoGrabBtn.Font = Enum.Font.SourceSansBold
autoGrabBtn.TextSize = 16
autoGrabBtn.LayoutOrder = 3
autoGrabBtn.Parent = miscScroll
styleButton(autoGrabBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)

autoGrabBtn.MouseButton1Click:Connect(function()
	if autoGrabEnabled then
		stopAutoGrab()
		autoGrabBtn.Text = "Auto Grab Tools: OFF"
		styleButton(autoGrabBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
	else
		startAutoGrab()
		autoGrabBtn.Text = "Auto Grab Tools: ON"
		styleButton(autoGrabBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
	end
end)

local antiVampBtn = Instance.new("TextButton")
antiVampBtn.Size = UDim2.new(0, 330, 0, 44)
antiVampBtn.Text = "Fix Anti-Vamp"
antiVampBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
antiVampBtn.Font = Enum.Font.SourceSansBold
antiVampBtn.TextSize = 16
antiVampBtn.LayoutOrder = 4
antiVampBtn.Parent = miscScroll
styleButton(antiVampBtn, Color3.fromRGB(0, 140, 255), Color3.fromRGB(0, 80, 180), 0.2)
antiVampBtn.MouseButton1Click:Connect(function() antiVamp() end)

local disarmDeathBtn = Instance.new("TextButton")
disarmDeathBtn.Size = UDim2.new(0, 330, 0, 44)
disarmDeathBtn.Text = "Disarm Death: OFF"
disarmDeathBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
disarmDeathBtn.Font = Enum.Font.SourceSansBold
disarmDeathBtn.TextSize = 16
disarmDeathBtn.LayoutOrder = 5
disarmDeathBtn.Parent = miscScroll
styleButton(disarmDeathBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)

disarmDeathBtn.MouseButton1Click:Connect(function()
	disarmDeathEnabled = not disarmDeathEnabled
	if disarmDeathEnabled then
		disarmDeathBtn.Text = "Disarm Death: ON"
		styleButton(disarmDeathBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
		sendBlueChatMessage("[TACHYON] Disarm Death Activated ✅")
	else
		disarmDeathBtn.Text = "Disarm Death: OFF"
		styleButton(disarmDeathBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
		sendBlueChatMessage("[TACHYON] Disarm Death Deactivated ❌")
	end
end)

local antiMaptideBtn = Instance.new("TextButton")
antiMaptideBtn.Size = UDim2.new(0, 330, 0, 44)
antiMaptideBtn.Text = "Anti MaptideNan: OFF"
antiMaptideBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
antiMaptideBtn.Font = Enum.Font.SourceSansBold
antiMaptideBtn.TextSize = 16
antiMaptideBtn.LayoutOrder = 6
antiMaptideBtn.Parent = miscScroll
styleButton(antiMaptideBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)

antiMaptideBtn.MouseButton1Click:Connect(function()
	antiMaptideEnabled = not antiMaptideEnabled
	setAntiMaptide(antiMaptideEnabled)
	if antiMaptideEnabled then
		antiMaptideBtn.Text = "Anti MaptideNan: ON"
		styleButton(antiMaptideBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
	else
		antiMaptideBtn.Text = "Anti MaptideNan: OFF"
		styleButton(antiMaptideBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
	end
end)

local toSpawnBtn = Instance.new("TextButton")
toSpawnBtn.Size = UDim2.new(0, 330, 0, 44)
toSpawnBtn.Text = "ToSpawn"
toSpawnBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
toSpawnBtn.Font = Enum.Font.SourceSansBold
toSpawnBtn.TextSize = 16
toSpawnBtn.LayoutOrder = 7
toSpawnBtn.Parent = miscScroll
styleButton(toSpawnBtn, Color3.fromRGB(0, 140, 255), Color3.fromRGB(0, 80, 180), 0.2)
toSpawnBtn.MouseButton1Click:Connect(function() teleportToSpawn() end)

local antiKillbrickBtn = Instance.new("TextButton")
antiKillbrickBtn.Size = UDim2.new(0, 330, 0, 44)
antiKillbrickBtn.Text = "Anti Killbrick: OFF"
antiKillbrickBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
antiKillbrickBtn.Font = Enum.Font.SourceSansBold
antiKillbrickBtn.TextSize = 16
antiKillbrickBtn.LayoutOrder = 8
antiKillbrickBtn.Parent = miscScroll
styleButton(antiKillbrickBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)

antiKillbrickBtn.MouseButton1Click:Connect(function()
	setAntiKillbrick(not antiKillbrickEnabled)
	if antiKillbrickEnabled then
		antiKillbrickBtn.Text = "Anti Killbrick: ON"
		styleButton(antiKillbrickBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
	else
		antiKillbrickBtn.Text = "Anti Killbrick: OFF"
		styleButton(antiKillbrickBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
	end
end)

local antiGlitchBtn = Instance.new("TextButton")
antiGlitchBtn.Size = UDim2.new(0, 330, 0, 44)
antiGlitchBtn.Text = "Anti Glitch: OFF"
antiGlitchBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
antiGlitchBtn.Font = Enum.Font.SourceSansBold
antiGlitchBtn.TextSize = 16
antiGlNumOrder = 9
antiGlitchBtn.LayoutOrder = 9
antiGlitchBtn.Parent = miscScroll
styleButton(antiGlitchBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)

antiGlitchBtn.MouseButton1Click:Connect(function()
	setAntiGlitch(not antiGlitchEnabled)
	if antiGlitchEnabled then
		antiGlitchBtn.Text = "Anti Glitch: ON"
		styleButton(antiGlitchBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
	else
		antiGlitchBtn.Text = "Anti Glitch: OFF"
		styleButton(antiGlitchBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
	end
end)

----------------------------------------------------------
-- [7] TAB BUILDING (LOADSTRING TOOL)
----------------------------------------------------------
local launchBuildToolBtn = Instance.new("TextButton")
launchBuildToolBtn.Size = UDim2.new(0, 330, 0, 44)
launchBuildToolBtn.Text = "Launch Building & Shape Tool 🏗️"
launchBuildToolBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
launchBuildToolBtn.Font = Enum.Font.SourceSansBold
launchBuildToolBtn.TextSize = 16
launchBuildToolBtn.LayoutOrder = 1
launchBuildToolBtn.Parent = buildingScroll
styleButton(launchBuildToolBtn, Color3.fromRGB(0, 140, 255), Color3.fromRGB(0, 80, 180), 0.2)

launchBuildToolBtn.MouseButton1Click:Connect(function()
	pcall(function()
		loadstring(game:HttpGet("https://raw.githubusercontent.com/gansarodhel-creator/Tachyon-project/refs/heads/main/Tachyon%20build"))()
	end)
	sendBlueChatMessage("[TACHYON] Building & Shape Tool Loaded! 🚀")
end)

----------------------------------------------------------
-- FLY SYSTEM LOGIC (FIXED 3D CAMERA FLIGHT)
----------------------------------------------------------
local flying = false
local flySpeed = 50
local flyBodyGyro, flyBodyVelocity
local flyConnection

local function stopFly()
	flying = false
	local char = player.Character
	local hum = char and char:FindFirstChildOfClass("Humanoid")
	
	if hum then hum.PlatformStand = false end
	if flyBodyGyro then flyBodyGyro:Destroy() flyBodyGyro = nil end
	if flyBodyVelocity then flyBodyVelocity:Destroy() flyBodyVelocity = nil end
	if flyConnection then flyConnection:Disconnect() flyConnection = nil end
	
	sendBlueChatMessage("[TACHYON] Fly Deactivated 🛬")
end

local function startFly()
	local char = player.Character
	local hrp = char and char:FindFirstChild("HumanoidRootPart")
	local hum = char and char:FindFirstChildOfClass("Humanoid")
	
	if not hrp or not hum then return end
	if flying then stopFly() end
	
	flying = true
	hum.PlatformStand = true
	
	flyBodyGyro = Instance.new("BodyGyro", hrp)
	flyBodyGyro.P = 9e4
	flyBodyGyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
	flyBodyGyro.cframe = hrp.CFrame
	
	flyBodyVelocity = Instance.new("BodyVelocity", hrp)
	flyBodyVelocity.velocity = Vector3.new(0, 0, 0)
	flyBodyVelocity.maxForce = Vector3.new(9e9, 9e9, 9e9)
	
	flyConnection = RunService.RenderStepped:Connect(function()
		if not flying or not hrp or not hum then
			stopFly()
			return
		end
		
		local cam = workspace.CurrentCamera
		flyBodyGyro.cframe = cam.CFrame
		
		local flatRight = cam.CFrame.RightVector
		local flatLook = Vector3.new(0, 1, 0):Cross(flatRight).Unit
		
		local moveDir = hum.MoveDirection
		local zInput = flatLook:Dot(moveDir)
		local xInput = flatRight:Dot(moveDir)
		
		flyBodyVelocity.velocity = (cam.CFrame.LookVector * zInput + cam.CFrame.RightVector * xInput) * flySpeed
	end)
	
	sendBlueChatMessage("[TACHYON] Fly Activated ✈️")
end

----------------------------------------------------------
-- CHAT COMMAND SYSTEM
----------------------------------------------------------
local targetLoopSpeed = 16
local loopSpeedActive = false

player.Chatted:Connect(function(msg)
	local args = string.split(msg, " ")
	local cmd = string.lower(args[1])

	if cmd == ":antiglitch" then
		setAntiGlitch(true)
		antiGlitchBtn.Text = "Anti Glitch: ON"
		styleButton(antiGlitchBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
	elseif cmd == ":unantiglitch" then
		setAntiGlitch(false)
		antiGlitchBtn.Text = "Anti Glitch: OFF"
		styleButton(antiGlitchBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
	elseif cmd == ":antikillbrick" then
		setAntiKillbrick(true)
		antiKillbrickBtn.Text = "Anti Killbrick: ON"
		styleButton(antiKillbrickBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
	elseif cmd == ":unantikillbrick" then
		setAntiKillbrick(false)
		antiKillbrickBtn.Text = "Anti Killbrick: OFF"
		styleButton(antiKillbrickBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
	elseif cmd == ":griefalarm" then
		setGriefAlarm(true)
	elseif cmd == ":ungriefalarm" then
		setGriefAlarm(false)
	elseif cmd == ":grieferhub" or cmd == ":ghub" then
		pcall(function()
			loadstring(game:HttpGet("https://rawscripts.net/raw/The-Chosen-One-GrieferHub-244550"))()
		end)
		sendBlueChatMessage("[TACHYON] GrieferHub executed via chat! 🚀")
	elseif cmd == ":fullbright" or cmd == ":bright" then
		setFullBright(true)
		fullBrightBtn.Text = "FullBright: ON"
		styleButton(fullBrightBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
	elseif cmd == ":unfullbright" or cmd == ":unbright" then
		setFullBright(false)
		fullBrightBtn.Text = "FullBright: OFF"
		styleButton(fullBrightBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
	elseif cmd == ":antigrab" or cmd == ":antidrag" then
		antiDragEnabled = true
		StartAntiDrag()
		antiDragBtn.Text = "Anti Drag: ON"
		styleButton(antiDragBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
		sendBlueChatMessage("[TACHYON] Anti-Drag Activated ✅")
	elseif cmd == ":unantigrab" or cmd == ":unantidrag" then
		antiDragEnabled = false
		StopAntiDrag()
		antiDragBtn.Text = "Anti Drag: OFF"
		styleButton(antiDragBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
		sendBlueChatMessage("[TACHYON] Anti-Drag Deactivated ❌")
	elseif cmd == ":antifling" then
		toggleAntiFling(true)
		sendBlueChatMessage("[TACHYON] Anti-Fling Activated ✅")
	elseif cmd == ":unantifling" then
		toggleAntiFling(false)
		sendBlueChatMessage("[TACHYON] Anti-Fling Deactivated ❌")
	elseif cmd == ":fov" then
		local val = tonumber(args[2])
		if val then setFov(val) end
	elseif cmd == ":pov" or cmd == ":goto" or cmd == ":to" then
		if args[2] then gotoPlayer(args[2]) end
	elseif cmd == ":antilag" then
		antiLag()
	elseif cmd == ":antivamp" then
		antiVamp()
	elseif cmd == ":autograb" then
		startAutoGrab()
		autoGrabBtn.Text = "Auto Grab Tools: ON"
		styleButton(autoGrabBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
	elseif cmd == ":stopgrab" then
		stopAutoGrab()
		autoGrabBtn.Text = "Auto Grab Tools: OFF"
		styleButton(autoGrabBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
	elseif cmd == ":antivisual" then
		antiVisual()
	elseif cmd == ":clearfog" then
		clearFog()
	elseif cmd == ":uncursed" then
		uncursed()
	elseif cmd == ":tospawn" then
		teleportToSpawn()
	elseif cmd == ":antimaptide" then
		setAntiMaptide(true)
		antiMaptideBtn.Text = "Anti MaptideNan: ON"
		styleButton(antiMaptideBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
	elseif cmd == ":unantimaptide" then
		setAntiMaptide(false)
		antiMaptideBtn.Text = "Anti MaptideNan: OFF"
		styleButton(antiMaptideBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
	elseif cmd == ":enlightenalarm" then
		enlightenAlarmEnabled = true
		enlightenAlarmBtn.Text = "Enlighten Alarm: ON"
		alarmStroke.Color = Color3.fromRGB(0, 255, 100)
		sendBlueChatMessage("[TACHYON] Enlighten Alarm Activated ✅")
	elseif cmd == ":unenlightenalarm" then
		enlightenAlarmEnabled = false
		enlightenAlarmBtn.Text = "Enlighten Alarm: OFF"
		alarmStroke.Color = Color3.fromRGB(255, 50, 50)
		sendBlueChatMessage("[TACHYON] Enlighten Alarm Deactivated ❌")
	elseif cmd == ":spamalarm" then
		spamAlarmEnabled = true
		spamAlarmBtn.Text = "Spam Alarm: ON"
		spamStroke.Color = Color3.fromRGB(0, 255, 100)
		sendBlueChatMessage("[TACHYON] Spam Alarm Activated ✅")
	elseif cmd == ":unspamalarm" then
		spamAlarmEnabled = false
		spamAlarmBtn.Text = "Spam Alarm: OFF"
		styleButton(spamAlarmBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
		sendBlueChatMessage("[TACHYON] Spam Alarm Deactivated ❌")
	elseif cmd == ":disarmdeath" then
		disarmDeathEnabled = true
		disarmDeathBtn.Text = "Disarm Death: ON"
		styleButton(disarmDeathBtn, Color3.fromRGB(0, 200, 100), Color3.fromRGB(0, 120, 60), 0.2)
		sendBlueChatMessage("[TACHYON] Disarm Death Activated ✅")
	elseif cmd == ":undisarmdeath" then
		disarmDeathEnabled = false
		disarmDeathBtn.Text = "Disarm Death: OFF"
		styleButton(disarmDeathBtn, Color3.fromRGB(25, 45, 75), Color3.fromRGB(15, 25, 45), 0.3)
		sendBlueChatMessage("[TACHYON] Disarm Death Deactivated ❌")
	elseif cmd == ":reset" then
		local hum = player.Character and player.Character:FindFirstChildOfClass("Humanoid")
		if hum then hum.Health = 0 end
		sendBlueChatMessage("[TACHYON] Character Reset! 💀")
	elseif cmd == ":fly" then
		startFly()
	elseif cmd == ":unfly" then
		stopFly()
	elseif cmd == ":loopspeed" then
		local val = tonumber(args[2])
		if val then
			targetLoopSpeed = val
			loopSpeedActive = true
			sendBlueChatMessage("[TACHYON] LoopSpeed set to " .. val .. " âš¡")
			task.spawn(function()
				while loopSpeedActive do
					local char = player.Character
					local hum = char and char:FindFirstChildOfClass("Humanoid")
					if hum then hum.WalkSpeed = targetLoopSpeed end
					task.wait(0.2)
				end
			end)
		else
			loopSpeedActive = false
			sendBlueChatMessage("[TACHYON] LoopSpeed Deactivated ❌")
		end
	elseif cmd == ":totalplayer" or cmd == ":totalplayers" then
		local count = #Players:GetPlayers()
		sendBlueChatMessage("[TACHYON] Total Players in Server: " .. count .. " 👥")
	end
end)

sendBlueChatMessage("successfully loading tachyon ware v1.5.23 👍👍")

Features & Information

Tachyon Ware Opensourced
#The chosen one

Community Comments (0)

No comments yet for this script.

More Scripts for The Chosen One