local players = game.Players.LocalPlayer
local char = players.Character or players.CharacterAdded:Wait()
local camera = game.workspace.CurrentCamera
local wc = workspace:WaitForChild("WinCam")
wait(.001)
local Players = game.Players
Players.PlayerAdded:Connect(function(player)
local leaderstats = player:WaitForChild("leaderstats")
local win = leaderstats:WaitForChild("Wins")
win.Changed:Connect(function()
if win.Value == 1 then
wait(2.5)
repeat wait()
camera.CameraType = Enum.CameraType.Scriptable
until camera.CameraType == Enum.CameraType.Scriptable
camera.CFrame = workspace.WinCam.CFrame
end
end)
end)
when person reaches 1 win, he gets a win screen, but it doesnt work for me, help plz.