local a = game:GetService("Players") local b = game:GetService("UserInputService") local c = a.LocalPlayer local d = workspace:WaitForChild(string.char(67,104,101,115,116,115)) -- "Chests" local e = false local f = Instance.new("ScreenGui") f.Name = "X" f.ResetOnSpawn = false f.Parent = c:WaitForChild("PlayerGui") local g = Instance.new("TextButton") g.Size = UDim2.new(0, 100, 0, 40) g.Position = UDim2.new(0, 10, 0, 10) -- sol üst köşe g.Text = "Open" g.BackgroundColor3 = Color3.fromRGB(30, 144, 255) g.TextColor3 = Color3.new(1, 1, 1) g.Parent = f g.Visible = b.TouchEnabled task.spawn(function() while true do if e then local h = c.Character if h and h:FindFirstChild(string.char(72,117,109,97,110,111,105,100,82,111,111,116,80,97,114,116)) then local i = d:GetChildren() if #i > 0 then local j = i[math.random(1, #i)] if j:IsA("BasePart") then h[string.char(72,117,109,97,110,111,105,100,82,111,111,116,80,97,114,116)].CFrame = j.CFrame + Vector3.new(0, 5, 0) end end end end task.wait(1) end end) local function k() e = not e g.Text = e and "Close" or "Open" end b.InputBegan:Connect(function(l, m) if m then return end if l.KeyCode == Enum.KeyCode.E then k() end end) g.MouseButton1Click:Connect(k)