From 5d643965c7f97151f2f2534d2766dc7ebee515a9 Mon Sep 17 00:00:00 2001 From: VisualPlugin Date: Wed, 17 Jul 2024 23:00:35 +0000 Subject: [PATCH] Update SyncAPI.lua --- SyncAPI.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/SyncAPI.lua b/SyncAPI.lua index 4db97e9..c5f0e35 100644 --- a/SyncAPI.lua +++ b/SyncAPI.lua @@ -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') @@ -1955,4 +1957,4 @@ return { end; -}; \ No newline at end of file +};