Skip to content

PartyService:GetPartyOwner()

CavaleiroDev edited this page Nov 7, 2022 · 1 revision

returns the owner of the specified party

Info

PartyService:GetPartyOwner(Party)

Parameter Value Required What is Default
Party PartyTable True a valid PartyTable

Sample code

local PartyService = require(game.ReplicatedStorage.PartyService)

print(PartyService:GetPartyOwner(PartyService:GetPartyById(1)))

Returns

Value What it does
Instance (player) the owner of the party

Clone this wiki locally