```lua local Players = game:GetService("Players"); local Player = Players.LocalPlayer; local PlayerGui = Player:WaitForChild("PlayerGui") local ProfileFrame = PlayerGui:WaitForChild('PlayerProfile'):WaitForChild("ProfileFrame"); script.Parent.OpenProfile.MouseButton1Click:Connect(function() ProfileFrame.Visible = not ProfileFrame.Visible; end) local wins = Player:WaitForChild("leaderstats"):WaitForChild("Wins"); local points = Player:WaitForChild("leaderstats"):WaitForChild("Points"); function updateUI() ProfileFrame:WaitForChild("PlayerPoints").Text = ("You have ".. points.Value .." points!") ProfileFrame:WaitForChild("ProfileFrame").PlayerWins.Text = "You have "..wins.Value.." wins!" end; updateUI(); wins:GetPropertyChangedSignal("Value"):Connect(updateUI); points:GetPropertyChangedSignal("Value"):Connect(updateUI); ```