#my ends are not ending (its being underlined in red)
10 messages · Page 1 of 1 (latest)
oh
here
game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local wins = Instance.new("IntValue")
wins.Parent = leaderstats
wins.Name = "Wins"
wins.Value = 0
local trophy = game.Workspace["Invisible Obby!"].Trophy.Part
trophy.Touched:Connect(function()
wins.Value += 1
end)
end)
i tried to delete it cuz i thought nobody was gonna help
well if it is underlined as red its a problem in the function
if the end is being underlined red
it works fine when i tried it
second to last one remove parenthesis