-- CONFIG local alturaMaxima = 50 local velocidade = 0.3 -- SERVICES local Players = game:GetService("Players") local RunService = game:GetService("RunService") local player = Players.LocalPlayer -- VARIÁVEIS local ativo = true local subir = true -- CHÃO local floor = Instance.new("Part") floor.Size = Vector3.new(40, 1, 40) floor.Position = Vector3.new(0, 0, 0) floor.Anchored = true floor.Color = Color3.fromRGB(0, 170, 255) floor.Material = Enum.Material.Neon floor.Parent = workspace -- GUI local gui = Instance.new("ScreenGui", player.PlayerGui) local button = Instance.new("TextButton", gui) button.Size = UDim2.new(0, 160, 0, 50) button.Position = UDim2.new(0, 20, 0.5, -25) button.Text = "Chão: ON" button.BackgroundColor3 = Color3.fromRGB(30,30,30) button.TextColor3 = Color3.fromRGB(255,255,255) button.BorderSizePixel = 0 -- BOTÃO button.MouseButton1Click:Connect(function() ativo = not ativo if ativo then button.Text = "Chão: ON" floor.Transparency = 0 floor.CanCollide = true else button.Text = "Chão: OFF" floor.Transparency = 1 floor.CanCollide = false end end) -- CHÃO SOBE E DESCE task.spawn(function() while true do task.wait(velocidade) if ativo then if subir then floor.Position += Vector3.new(0, 1, 0) if floor.Position.Y >= alturaMaxima then subir = false end else floor.Position -= Vector3.new(0, 1, 0) if floor.Position.Y <= 0 then subir = true end end end end end) -- NOCLIP RunService.Stepped:Connect(function() if ativo and player.Character then for _, part in pairs(player.Character:GetChildren()) do if part:IsA("BasePart") then part.CanCollide = false end end end end)