KrYn0MoRe

VSB Winter Baseplate 2019

Nov 27th, 2020 (edited)
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.80 KB | None | 0 0
  1. function make(s)
  2.     for i,v in pairs(workspace:GetChildren()) do
  3.         if v.Name:lower() == 'baseplate' or v.Name:lower() == 'base' then
  4.             v:Destroy()
  5.         end
  6.     end
  7.     local base = Instance.new("Part")
  8.     base.Name = 'Base'
  9.     base.Size = Vector3.new(s, 1.2, s)
  10.     base.Position = Vector3.new(0, -0.6, 0)
  11.     base.Anchored = true
  12.     base.CanCollide = true
  13.     base.Archivable = false
  14.     base.Locked = true
  15.     base.Material = Enum.Material.Sand
  16.     base.Color = Color3.fromRGB(202, 203, 209)
  17.     base.Parent = script
  18.     game:GetService("Lighting").ClockTime = 6
  19.     game:GetService("Lighting").Changed:Connect(function()
  20.         game:GetService("Lighting").ClockTime = 6
  21.     end)
  22.     workspace.ChildAdded:Connect(function(v)
  23.         wait()
  24.         if v.Name:lower() == 'baseplate' or v.Name:lower() == 'base' then
  25.             v:Destroy()
  26.         end
  27.     end)
  28. end
  29.  
  30. make(700)
Add Comment
Please, Sign In to add comment