Hi again lol, so i keep getting Argument 1 missing or nil idk what that means.
Stack Begin
Script ‘ServerScriptService.Pads’, Line 222 - function PlayerWin
Script ‘ServerScriptService.Pads’, Line 312 - function WinpadTouched
Stack End
Line 222:
if workspace.Markers:FindFirstChild(winroom) then -- Line 222
Player.Team = WinnerTeam
Teleport(Player.Character, workspace.Markers:FindFirstChild(winroom))
else
Player.Team = WinnerTeam
Teleport(Player.Character, workspace.Markers.WinroomSpawn)
end
end
end
Line 312:
PlayerWin( -- Line 312
Player, --player lol
RoomRushInfo.BadgeID or 0, --rush badge
RoomRushInfo.ProperName or "Unknown Room Rush", --rush name
Color3.fromRGB(255, 0, 255), --message color
"Remorseless", --difficulty, used for the webhook message
"NICEEE" --nice level
)
RoomRushProgressRemote:FireClient(Player,"Hide")
else -- continue to the next Room
PortalTouchedRemote:FireClient(Player,RoomRushInfo[CurrentRoom])
RoomRushProgressRemote:FireClient(Player,CurrentRoom,#RoomRushInfo)
end
return
end