local RunService = game:GetService("RunService") local Players = game:GetService("Players") local localPlayer = Players.LocalPlayer local character = localPlayer.Character or localPlayer.CharacterAdded:Wait() local rootPart = character:WaitForChild("HumanoidRootPart") local active = false local AltureActualY = 0 local platform = Instance.new("Part") platform.Name = "Platform" platform.Size = Vector3.new(10, 1, 10) platform.Anchored = true platform.CanCollide = true platform.Material = Enum.Material.Neon platform.Color = Color3.fromRGB(0, 200, 255) platform.Transparency = 0.3 platform.Parent = workspace local screenGui = Instance.new("ScreenGui") screenGui.Name = "PlatformControlGUI" screenGui.ResetOnSpawn = false screenGui.Parent = localPlayer:WaitForChild("PlayerGui") local botonToggle = Instance.new("TextButton") botonToggle.Name = "BotonToggle" botonToggle.Size = UDim2.new(0, 180, 0, 50) botonToggle.Position = UDim2.new(0, 20, 0.5, -25) botonToggle.BackgroundColor3 = Color3.fromRGB(40, 200, 100) botonToggle.BorderSizePixel = 0 botonToggle.Text = "ON ELEVATOR" botonToggle.TextColor3 = Color3.fromRGB(255, 255, 255) botonToggle.Font = Enum.Font.SourceSansBold botonToggle.TextSize = 16 botonToggle.Parent = screenGui local uiCorner = Instance.new("UICorner") uiCorner.CornerRadius = UDim.new(0, 8) uiCorner.Parent = botonToggle local HIGH_INCREMENT = 0.8 local TICKS = 0.1 task.spawn(function() while true do if active then AltureActualY = AltureActualY + HIGH_INCREMENT end task.wait(TICKS) end end) RunService.RenderStepped:Connect(function() if active and rootPart and rootPart.Parent then platform.Position = Vector3.new(rootPart.Position.X, AltureActualY, rootPart.Position.Z) end end) botonToggle.MouseButton1Click:Connect(function() active = not active if active then AltureActualY = rootPart.Position.Y - 3.5 platform.Position = Vector3.new(rootPart.Position.X, AltureActualY, rootPart.Position.Z) platform.Transparency = 0 botonToggle.Text = "OFF ELEVATOR" botonToggle.BackgroundColor3 = Color3.fromRGB(230, 50, 50) else platform.Transparency = 0.5 botonToggle.Text = "ON ELEVATOR" botonToggle.BackgroundColor3 = Color3.fromRGB(40, 200, 100) end end)