Advertisement
scriptingtales

Baseplate Checker Roblox VSB

Jun 4th, 2023 (edited)
959
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.42 KB | None | 1 0
  1. local Base = workspace:FindFirstChild("Base")
  2.  
  3. if Base then
  4.     warn("It already exists!")
  5.    
  6. else
  7.  
  8.  
  9.     --Converted with ttyyuu12345's model to script plugin v4
  10.     function sandbox(var,func)
  11.         local env = getfenv(func)
  12.         local newenv = setmetatable({},{
  13.             __index = function(self,k)
  14.                 if k=="script" then
  15.                     return var
  16.                 else
  17.                     return env[k]
  18.                 end
  19.             end,
  20.         })
  21.         setfenv(func,newenv)
  22.         return func
  23.     end
  24.     cors = {}
  25.     mas = Instance.new("Model",game:GetService("Lighting"))
  26.     Model0 = Instance.new("Model")
  27.     Part1 = Instance.new("Part")
  28.     Model0.Name = "BTExport"
  29.     Model0.Parent = mas
  30.     Part1.Name = "Base"
  31.     Part1.Parent = Model0
  32.     Part1.CFrame = CFrame.new(0.109095223, -0.600000024, 0.994790912, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  33.     Part1.Position = Vector3.new(0.10909522324800491, -0.6000000238418579, 0.9947909116744995)
  34.     Part1.Color = Color3.new(0.121569, 0.501961, 0.113725)
  35.     Part1.Size = Vector3.new(700.0723876953125, 1.2000000476837158, 700.65478515625)
  36.     Part1.Anchored = true
  37.     Part1.BottomSurface = Enum.SurfaceType.Smooth
  38.     Part1.BrickColor = BrickColor.new("Forest green")
  39.     Part1.Material = Enum.Material.Grass
  40.     Part1.TopSurface = Enum.SurfaceType.Smooth
  41.     Part1.brickColor = BrickColor.new("Forest green")
  42.     for i,v in pairs(mas:GetChildren()) do
  43.         v.Parent = workspace
  44.         pcall(function() v:MakeJoints() end)
  45.     end
  46.     mas:Destroy()
  47.     for i,v in pairs(cors) do
  48.         spawn(function()
  49.             pcall(v)
  50.         end)
  51.     end
  52. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement