local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Turtle-Brand/Turtle-Lib/main/source.lua"))() local window = library:Window("Stud Simulator | SCN") -- Name of button, callback window:Button("Collect cubes", function() local LocalPlayer = game.Players.LocalPlayer local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart") for _, descendant in ipairs(workspace:GetDescendants()) do if descendant:IsA("TouchTransmitter") then local parentPart = descendant.Parent if parentPart and parentPart:IsA("BasePart") then firetouchinterest(HumanoidRootPart, parentPart, 0) task.wait() firetouchinterest(HumanoidRootPart, parentPart, 1) end end end print("pressed button") end)