LelXD

Complete Darkness Staff

Feb 11th, 2016
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. --Created with ttyyuu12345's compiler
  2. --Errors: TouchTransmitter,LocalScript
  3. Create = function(itemClass,tabl)
  4. local item = Instance.new(itemClass)
  5. for i,v in pairs(tabl) do
  6. local a,b = ypcall(function() return item[i] end)
  7. if a then
  8. item[i] = tabl[i]
  9. end
  10. end
  11. return item
  12. end
  13. function runDummyScript(f,scri)
  14. local oldenv = getfenv(f)
  15. local newenv = setmetatable({}, {
  16. __index = function(_, k)
  17. if k:lower() == 'script' then
  18. return scri
  19. else
  20. return oldenv[k]
  21. end
  22. end
  23. })
  24. setfenv(f, newenv)
  25. ypcall(function() f() end)
  26. end
  27. cors = {}
  28. mas = Instance.new("Model",game:GetService("Lighting"))
  29. mas.Name = "CompiledModel"
  30. o1 = Create("Tool",{
  31. ["Name"] = "Pure Darkness",
  32. ["Parent"] = mas,
  33. ["TextureId"] = "http://www.roblox.com/asset/?id=0",
  34. ["GripForward"] = Vector3.new(-0, -0, 1),
  35. ["GripRight"] = Vector3.new(-1, 0, 0),
  36. })
  37. o2 = Create("Part",{
  38. ["Name"] = "Handle",
  39. ["Parent"] = o1,
  40. ["BrickColor"] = BrickColor.new("Mid gray"),
  41. ["Position"] = Vector3.new(224.5, 3.38992667, -55.5),
  42. ["Rotation"] = Vector3.new(2.61141482e-017, 6.57041112e-021, 2.61085581e-017),
  43. ["RotVelocity"] = Vector3.new(8.46641277e-019, -2.69384614e-020, 8.46641277e-019),
  44. ["Velocity"] = Vector3.new(-2.6321919e-018, -0.00297104195, 2.4681471e-018),
  45. ["CFrame"] = CFrame.new(224.5, 3.38992667, -55.5, 1, -4.55680306e-019, 1.14675309e-022, 4.55680306e-019, 1, -4.55777862e-019, -1.14675309e-022, 4.55777862e-019, 1),
  46. ["Size"] = Vector3.new(1, 6, 1),
  47. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  48. })
  49. o3 = Create("SpecialMesh",{
  50. ["Parent"] = o2,
  51. ["MeshId"] = "http://www.roblox.com/asset/?id=18786843",
  52. ["Scale"] = Vector3.new(0.600000024, 0.600000024, 0.600000024),
  53. ["TextureId"] = "http://www.roblox.com/asset/?id=19978414",
  54. ["MeshType"] = Enum.MeshType.FileMesh,
  55. })
  56. mas.Parent = workspace
  57. mas:MakeJoints()
  58. local mas1 = mas:GetChildren()
  59. for i=1,#mas1 do
  60. mas1[i].Parent = script
  61. ypcall(function() mas1[i]:MakeJoints() end)
  62. end
  63. mas:Destroy()
  64. for i=1,#cors do
  65. coroutine.resume(cors[i])
  66. end
Advertisement
Add Comment
Please, Sign In to add comment