Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Thanks for using Mod2S by NopeUsername
- local functions = {}
- function sandbox(script, func)
- local OldEnv = getfenv(func)
- local NewEnv = setmetatable({}, {
- __index = function(self,k)
- if k == "script" then
- return script
- else
- return OldEnv[k]
- end
- end,
- })
- setfenv(func, NewEnv)
- return func
- end
- local mas = Instance.new("Model", game:GetService("Lighting"))
- -- DECLARING VARIABLES"
- local Tool = Instance.new("Tool")
- local Baseplate = Instance.new("Part")
- -- SETTING PROPERTIES
- Tool.Parent = mas
- Baseplate.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Baseplate.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Baseplate.Name = "Baseplate"
- Baseplate.Locked = true
- Baseplate.Size = Vector3.new(512, 20, 512)
- Baseplate.BrickColor = BrickColor.new("Dark stone grey")
- Baseplate.Position = Vector3.new(0, -10, 0)
- Baseplate.Parent = Tool
- for i,v in ipairs(functions) do
- spawn(function()
- pcall(v)
- end)
- end
- for i,v in ipairs(mas:GetChildren()) do
- v.Parent = workspace
- end
- mas:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement