-- Glitched Part Modifier GUI (For Exploit Use) -- Create GUI local gui = Instance.new("ScreenGui", game.CoreGui) gui.Name = "GlitchPartEditor" local frame = Instance.new("Frame", gui) frame.Size = UDim2.new(0, 300, 0, 300) frame.Position = UDim2.new(0.5, -150, 0.5, -150) frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) frame.Active = true frame.Draggable = true local selectedPart = nil -- Select Button local selectBtn = Instance.new("TextButton", frame) selectBtn.Size = UDim2.new(1, -10, 0, 30) selectBtn.Position = UDim2.new(0, 5, 0, 5) selectBtn.Text = "Select Part" selectBtn.BackgroundColor3 = Color3.fromRGB(80, 80, 80) selectBtn.TextColor3 = Color3.new(1,1,1) selectBtn.MouseButton1Click:Connect(function() local mouse = game.Players.LocalPlayer:GetMouse() mouse.Button1Down:Connect(function() local target = mouse.Target if target and target:IsA("BasePart") then selectedPart = target selectBtn.Text = "Selected: "..target.Name end end) end) -- Utility to make labeled TextBoxes local function makeBox(y, labelText) local label = Instance.new("TextLabel", frame) label.Size = UDim2.new(0, 90, 0, 20) label.Position = UDim2.new(0, 5, 0, y) label.Text = labelText label.TextColor3 = Color3.new(1,1,1) label.BackgroundTransparency = 1 label.TextXAlignment = Enum.TextXAlignment.Left local box = Instance.new("TextBox", frame) box.Size = UDim2.new(0, 180, 0, 20) box.Position = UDim2.new(0, 100, 0, y) box.PlaceholderText = "Value" box.BackgroundColor3 = Color3.fromRGB(60, 60, 60) box.TextColor3 = Color3.new(1,1,1) return box end -- Property boxes local colorBox = makeBox(40, "Color (r,g,b):") local matBox = makeBox(70, "Material:") local surfBox = makeBox(100, "Surface:") local reflBox = makeBox(130, "Reflectance:") local transBox = makeBox(160, "Transparency:") local shapeBox = makeBox(190, "Shape:") local slipBox = makeBox(220, "CustomProp (Slippery):") -- Apply Button local applyBtn = Instance.new("TextButton", frame) applyBtn.Size = UDim2.new(1, -10, 0, 30) applyBtn.Position = UDim2.new(0, 5, 0, 260) applyBtn.Text = "Apply Changes" applyBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 0) applyBtn.TextColor3 = Color3.new(1,1,1) applyBtn.MouseButton1Click:Connect(function() if not selectedPart then return end -- Color local r, g, b = string.match(colorBox.Text, "(%d+),(%d+),(%d+)") if r and g and b then selectedPart.Color = Color3.fromRGB(tonumber(r), tonumber(g), tonumber(b)) end -- Material pcall(function() selectedPart.Material = Enum.Material[matBox.Text] end) -- Surface pcall(function() selectedPart.TopSurface = Enum.SurfaceType[surfBox.Text] selectedPart.BottomSurface = Enum.SurfaceType[surfBox.Text] end) -- Reflectance & Transparency selectedPart.Reflectance = tonumber(reflBox.Text) or selectedPart.Reflectance selectedPart.Transparency = tonumber(transBox.Text) or selectedPart.Transparency -- Shape (only for Part) if selectedPart:IsA("Part") and shapeBox.Text ~= "" then pcall(function() selectedPart.Shape = Enum.PartType[shapeBox.Text] end) end -- Custom property selectedPart:SetAttribute("Slipperiness", slipBox.Text) end)