Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions SyncAPI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1859,20 +1859,22 @@ function CreatePart(PartType)

elseif PartType == 'Cylinder' then
NewPart = Instance.new('Part')
NewPart.Shape = 'Cylinder'
NewPart.Shape = Enum.PartType.Cylinder
NewPart.Size = Vector3.new(2, 2, 2)

elseif PartType == 'Ball' then
NewPart = Instance.new('Part')
NewPart.Shape = 'Ball'
NewPart.Shape = Enum.PartType.Ball

elseif PartType == 'Seat' then
NewPart = Instance.new('Seat')
NewPart.Size = Vector3.new(4, 1, 2)
NewPart.FrontSurface = Enum.SurfaceType.Hinge

elseif PartType == 'Vehicle Seat' then
NewPart = Instance.new('VehicleSeat')
NewPart.Size = Vector3.new(4, 1, 2)
NewPart.FrontSurface = Enum.SurfaceType.Hinge

elseif PartType == 'Spawn' then
NewPart = Instance.new('SpawnLocation')
Expand Down Expand Up @@ -1955,4 +1957,4 @@ return {

end;

};
};