From 126ee1f915fbfcfd733b1c2604513bc4a08f537b Mon Sep 17 00:00:00 2001 From: ccuser44 <68124053+ccuser44@users.noreply.github.com> Date: Fri, 25 Dec 2020 18:02:14 +0200 Subject: [PATCH 1/3] Made SpawnLocation and Seats appear as normally created. So normally in studio when you create a spawnlocation it has a square shape and has a the spawn decal on top of it. Also Seats and VehicleSeats have their brickcolor set to black when created in studio. Also for me at least in F3X BTools when spawning these parts you easily confuse them with regular parts. --- SyncAPI.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/SyncAPI.lua b/SyncAPI.lua index 227a43fb..f165aa05 100644 --- a/SyncAPI.lua +++ b/SyncAPI.lua @@ -1845,14 +1845,19 @@ function CreatePart(PartType) elseif PartType == 'Seat' then NewPart = Instance.new('Seat') NewPart.Size = Vector3.new(4, 1, 2) + NewPart.BrickColor = BrickColor.Black() elseif PartType == 'Vehicle Seat' then NewPart = Instance.new('VehicleSeat') NewPart.Size = Vector3.new(4, 1, 2) + NewPart.BrickColor = BrickColor.Black() elseif PartType == 'Spawn' then NewPart = Instance.new('SpawnLocation') - NewPart.Size = Vector3.new(4, 1, 2) + NewPart.Size = Vector3.new(4, 1, 4) + local SpawnDecal = Instance.new('Decal', NewPart) + SpawnDecal.Face = Enum.NormalId.Top + SpawnDecal.Texture = 'rbxasset://textures/SpawnLocation.png' end -- Make part surfaces smooth @@ -1931,4 +1936,4 @@ return { end; -}; \ No newline at end of file +}; From 7d838f2a021bf0da52c6dcf201be494f9777311d Mon Sep 17 00:00:00 2001 From: ccuser44 <68124053+ccuser44@users.noreply.github.com> Date: Fri, 25 Dec 2020 18:14:02 +0200 Subject: [PATCH 2/3] Update SyncAPI.lua --- SyncAPI.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SyncAPI.lua b/SyncAPI.lua index f165aa05..6d68cceb 100644 --- a/SyncAPI.lua +++ b/SyncAPI.lua @@ -1854,7 +1854,7 @@ function CreatePart(PartType) elseif PartType == 'Spawn' then NewPart = Instance.new('SpawnLocation') - NewPart.Size = Vector3.new(4, 1, 4) + NewPart.Size = Vector3.new(6, 1, 6) local SpawnDecal = Instance.new('Decal', NewPart) SpawnDecal.Face = Enum.NormalId.Top SpawnDecal.Texture = 'rbxasset://textures/SpawnLocation.png' From da5a0741585eddf146fc115d3c30aab9d6f7e5d5 Mon Sep 17 00:00:00 2001 From: ccuser44 <68124053+ccuser44@users.noreply.github.com> Date: Fri, 25 Dec 2020 19:24:28 +0200 Subject: [PATCH 3/3] Update SyncAPI.lua --- SyncAPI.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SyncAPI.lua b/SyncAPI.lua index 6d68cceb..6d48676c 100644 --- a/SyncAPI.lua +++ b/SyncAPI.lua @@ -1855,9 +1855,10 @@ function CreatePart(PartType) elseif PartType == 'Spawn' then NewPart = Instance.new('SpawnLocation') NewPart.Size = Vector3.new(6, 1, 6) - local SpawnDecal = Instance.new('Decal', NewPart) + local SpawnDecal = Instance.new('Decal') SpawnDecal.Face = Enum.NormalId.Top SpawnDecal.Texture = 'rbxasset://textures/SpawnLocation.png' + SpawnDecal.Parent = NewPart end -- Make part surfaces smooth