PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience

List of useful code snippets: Code Sample 8

List of useful code snippets: Code Sample 8

Oct 01 2018, 3:06 AM PST

local seat = workspace.Seat
seat.ChildAdded:Connect(function(child)
	if child:IsA("Weld") and child.Name == "SeatWeld" and child.Part1 and child.Part1.Parent then
		local character = child.Part1.Parent
		local player = game.Players:GetPlayerFromCharacter(character)
	end
end)