local player = game.Players.LocalPlayer local mouse = player:GetMouse() local gui = Instance.new("ScreenGui") gui.Name = "AimTrainerHub" gui.Parent = player:WaitForChild("PlayerGui") -- Main frame local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 250, 0, 200) frame.Position = UDim2.new(0.5, -125, 0.5, -100) frame.BackgroundColor3 = Color3.fromRGB(30,30,30) frame.Visible = false frame.Parent = gui local title = Instance.new("TextLabel") title.Size = UDim2.new(1,0,0,40) title.Text = "Aim Trainer Hub" title.TextColor3 = Color3.fromRGB(255,255,255) title.BackgroundTransparency = 1 title.Parent = frame local score = 0 local scoreLabel = Instance.new("TextLabel") scoreLabel.Size = UDim2.new(1,0,0,40) scoreLabel.Position = UDim2.new(0,0,0,50) scoreLabel.Text = "Score: 0" scoreLabel.TextColor3 = Color3.fromRGB(255,255,255) scoreLabel.BackgroundTransparency = 1 scoreLabel.Parent = frame -- toggle UI on click mouse.Button1Down:Connect(function() frame.Visible = not frame.Visible end) -- simple target spawn local function spawnTarget() local part = Instance.new("Part") part.Name = "Target" part.Size = Vector3.new(3,3,3) part.Anchored = true part.Position = Vector3.new(math.random(-40,40), 10, math.random(-40,40)) part.Parent = workspace return part end local target = spawnTarget() mouse.Button1Down:Connect(function() if mouse.Target and mouse.Target.Name == "Target" then score += 1 scoreLabel.Text = "Score: "..score mouse.Target:Destroy() target = spawnTarget() end end)