Quick actions

cmd+k|ctrl+k

Navigation

Languages

VSB Winter Baseplate 2019

Snippet info

Language

Lua

Visibility

public

Author

lazarovalkyrie

Created

2024-04-01T21:15:54.642714Z

Updated

2024-04-01T21:15:54.642714Z

function make(s)
	for i,v in pairs(workspace:GetChildren()) do
		if v.Name:lower() == 'baseplate' or v.Name:lower() == 'base' then
			v:Destroy()
		end
	end
	local base = Instance.new("Part")
	base.Name = 'Base'
	base.Size = Vector3.new(s, 1.2, s)
	base.Position = Vector3.new(0, -0.6, 0)
	base.Anchored = true
	base.CanCollide = true
	base.Archivable = false
	base.Locked = true
	base.Material = Enum.Material.Sand
	base.Color = Color3.fromRGB(202, 203, 209)
	base.Parent = script
	game:GetService("Lighting").ClockTime = 6
	game:GetService("Lighting").Changed:Connect(function()
		game:GetService("Lighting").ClockTime = 6
	end)
	workspace.ChildAdded:Connect(function(v)
		wait()
		if v.Name:lower() == 'baseplate' or v.Name:lower() == 'base' then
			v:Destroy()
		end
	end)
end

make(700)
INFO