local person = game.Players:playerFromCharacter()
if people.leaderstats.Stage.Value == 45 then
newchatline = Instance.new("TextLabel",v:WaitForChild("PlayerGui").Chat.Frame)
newchatline.Text = "[WINNER] " ..player.Name.. ": " ..msg
newchatline.Size = UDim2.new(1,0,0,20)
newchatline.Position = UDim2.new(0,0,1,-15)
newchatline.Font = "ArialBold"
newchatline.TextStrokeTransparency = 0
newchatline.BackgroundTransparency = 1
newchatline.BorderSizePixel = 0
newchatline.FontSize = "Size18"
newchatline.TextXAlignment = "Left"
newchatline.TextYAlignment = "Top"
newchatline.ClipsDescendants = true
newchatline.Name = "line1"
newchatline.TextColor3 = Color3.new(85/255, 1, 0)
end
This whole things, I am just asking, am I doing it right. I want to ask if the person variable and if the if statement checks if their leaderboard value == 45
