Advertisement
okban

nani

Feb 21st, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. Script0 = Instance.new("Script")
  19. Script0.Name = "Loop Kill"
  20. Script0.Parent = mas
  21. table.insert(cors,sandbox(Script0,function()
  22. -- I made it all by myself and no one else can take credit for this
  23.  
  24. repeat
  25. wait(0.1)
  26. game.Workspace.Ietahuoy:destroy() --Replace playername with the name of the person you wanna loop kill
  27. until true
  28.  
  29. end))
  30. for i,v in pairs(mas:GetChildren()) do
  31. v.Parent = workspace
  32. pcall(function() v:MakeJoints() end)
  33. end
  34. mas:Destroy()
  35. for i,v in pairs(cors) do
  36. spawn(function()
  37. pcall(v)
  38. end)
  39. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement