Advertisement
scriptingtales

Baseplate Checker Roblox VSB Loop

Jun 4th, 2023
929
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.95 KB | None | 0 0
  1. while true do
  2.   local Base = workspace:FindFirstChild("Base")
  3.  
  4. if Base then
  5.     -- Don't add anything here cuz it might lag the game.
  6. else
  7.  
  8.     --Converted with ttyyuu12345's model to script plugin v4
  9.     function sandbox(var,func)
  10.         local env = getfenv(func)
  11.         local newenv = setmetatable({},{
  12.             __index = function(self,k)
  13.                 if k=="script" then
  14.                     return var
  15.                 else
  16.                     return env[k]
  17.                 end
  18.             end,
  19.         })
  20.         setfenv(func,newenv)
  21.         return func
  22.     end
  23.     cors = {}
  24.     mas = Instance.new("Model",game:GetService("Lighting"))
  25.     Part0 = Instance.new("Part")
  26.     Texture1 = Instance.new("Texture")
  27.     Texture2 = Instance.new("Texture")
  28.     Texture3 = Instance.new("Texture")
  29.     Texture4 = Instance.new("Texture")
  30.     Texture5 = Instance.new("Texture")
  31.     Texture6 = Instance.new("Texture")
  32.     Part0.Name = "grass block"
  33.     Part0.Parent = mas
  34.     Part0.CFrame = CFrame.new(0, -10, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  35.     Part0.Orientation = Vector3.new(0, 90, 0)
  36.     Part0.Position = Vector3.new(0, -10, 0)
  37.     Part0.Rotation = Vector3.new(0, 90, 0)
  38.     Part0.Color = Color3.new(0.294118, 0.592157, 0.294118)
  39.     Part0.Size = Vector3.new(700, 1.2000000476837158, 700)
  40.     Part0.BottomSurface = Enum.SurfaceType.Smooth
  41.     Part0.BrickColor = BrickColor.new("Bright green")
  42.     Part0.TopSurface = Enum.SurfaceType.Smooth
  43.     Part0.brickColor = BrickColor.new("Bright green")
  44.     Texture1.Parent = Part0
  45.     Texture1.Texture = "http://www.roblox.com/asset/?id=10442413242"
  46.     Texture1.Face = Enum.NormalId.Top
  47.     Texture1.Color3 = Color3.new(0.113725, 0.611765, 0.0392157)
  48.     Texture1.StudsPerTileU = 8
  49.     Texture1.StudsPerTileV = 8
  50.     Texture2.Parent = Part0
  51.     Texture2.Texture = "http://www.roblox.com/asset/?id=10442413242"
  52.     Texture2.Face = Enum.NormalId.Back
  53.     Texture2.Color3 = Color3.new(0.113725, 0.611765, 0.0392157)
  54.     Texture2.StudsPerTileU = 8
  55.     Texture2.StudsPerTileV = 8
  56.     Texture3.Parent = Part0
  57.     Texture3.Texture = "http://www.roblox.com/asset/?id=10442413242"
  58.     Texture3.Face = Enum.NormalId.Bottom
  59.     Texture3.Color3 = Color3.new(0.113725, 0.611765, 0.0392157)
  60.     Texture3.StudsPerTileU = 8
  61.     Texture3.StudsPerTileV = 8
  62.     Texture4.Parent = Part0
  63.     Texture4.Texture = "http://www.roblox.com/asset/?id=10442413242"
  64.     Texture4.Color3 = Color3.new(0.113725, 0.611765, 0.0392157)
  65.     Texture4.StudsPerTileU = 8
  66.     Texture4.StudsPerTileV = 8
  67.     Texture5.Parent = Part0
  68.     Texture5.Texture = "http://www.roblox.com/asset/?id=10442413242"
  69.     Texture5.Face = Enum.NormalId.Left
  70.     Texture5.Color3 = Color3.new(0.113725, 0.611765, 0.0392157)
  71.     Texture5.StudsPerTileU = 8
  72.     Texture5.StudsPerTileV = 8
  73.     Texture6.Parent = Part0
  74.     Texture6.Texture = "http://www.roblox.com/asset/?id=10442413242"
  75.     Texture6.Face = Enum.NormalId.Right
  76.     Texture6.Color3 = Color3.new(0.113725, 0.611765, 0.0392157)
  77.     Texture6.StudsPerTileU = 8
  78.     Texture6.StudsPerTileV = 8
  79.     for i,v in pairs(mas:GetChildren()) do
  80.         v.Parent = workspace
  81.         pcall(function() v:MakeJoints() end)
  82.     end
  83.     mas:Destroy()
  84.     for i,v in pairs(cors) do
  85.         spawn(function()
  86.             pcall(v)
  87.         end)
  88.     end
  89. end
  90. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement