Advertisement
Aaronremmers14

Untitled

Jun 4th, 2016
422
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. --Created with ttyyuu12345's compiler
  2. --ttyyuu12345 is not responsible for damages caused to your game
  3. --This plugin does not remove things
  4. --ttyyuu12345 cannot be held resonsible for manual deletion for the purpose of testing
  5. --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
  6. --Thank you for using my plugin and enjoy :)
  7. --It is free to use, however I do accept donations
  8. --Errors:
  9. Create = function(itemClass,tabl)
  10. local item = Instance.new(itemClass)
  11. for i,v in pairs(tabl) do
  12. local a,b = ypcall(function() return item[i] end)
  13. if a then
  14. item[i] = tabl[i]
  15. end
  16. end
  17. return item
  18. end
  19. function runDummyScript(f,scri)
  20. local oldenv = getfenv(f)
  21. local newenv = setmetatable({}, {
  22. __index = function(_, k)
  23. if k:lower() == 'script' then
  24. return scri
  25. else
  26. return oldenv[k]
  27. end
  28. end
  29. })
  30. setfenv(f, newenv)
  31. ypcall(function() f() end)
  32. end
  33. cors = {}
  34. mas = Instance.new("Model",game:GetService("Lighting"))
  35. mas.Name = "CompiledModel"
  36. o1 = Create("Part",{
  37. ["Name"] = "Scary Popup GUI",
  38. ["Parent"] = mas,
  39. ["BrickColor"] = BrickColor.new("Really black"),
  40. ["Position"] = Vector3.new(119.474724, 50.1447144, 23.8228836),
  41. ["Rotation"] = Vector3.new(1.82385759e-010, 90, 0),
  42. ["Anchored"] = true,
  43. ["CFrame"] = CFrame.new(119.474724, 50.1447144, 23.8228836, 1.59834455e-011, -5.6638587e-006, 1, 3.18323146e-012, 0.999999881, 5.66385324e-006, -1, -2.04636308e-011, 5.73011734e-012),
  44. ["CanCollide"] = false,
  45. ["Size"] = Vector3.new(276.139984, 96.2900009, 96.0099945),
  46. ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
  47. })
  48. o2 = Create("ScreenGui",{
  49. ["Name"] = "Popup",
  50. ["Parent"] = o1,
  51. })
  52. o3 = Create("Frame",{
  53. ["Name"] = "BackGround",
  54. ["Parent"] = o2,
  55. ["Transparency"] = 1,
  56. ["Position"] = UDim2.new(0,0,-0.10000000149012,0),
  57. ["Size"] = UDim2.new(1.1000000238419,0,1.2000000476837,0),
  58. ["BackgroundColor3"] = Color3.new(0.109804, 0.109804, 0.109804),
  59. ["BackgroundTransparency"] = 1,
  60. })
  61. o4 = Create("ImageLabel",{
  62. ["Name"] = "Image",
  63. ["Parent"] = o3,
  64. ["Transparency"] = 1,
  65. ["Position"] = UDim2.new(0.0010000000474975,0,0.050000000745058,0),
  66. ["Size"] = UDim2.new(1,0,1,0),
  67. ["BackgroundColor3"] = Color3.new(0, 0, 0),
  68. ["BackgroundTransparency"] = 1,
  69. ["Image"] = "http://www.roblox.com/asset/?id=33466920",
  70. })
  71. o5 = Create("Sound",{
  72. ["Name"] = "Scream",
  73. ["Parent"] = o1,
  74. ["Pitch"] = 2,
  75. ["SoundId"] = "http://www.roblox.com/asset/?id=11984351",
  76. ["Volume"] = 1,
  77. })
  78. o6 = Create("Fire",{
  79. ["Parent"] = o1,
  80. ["Size"] = 30,
  81. ["Color"] = Color3.new(0, 0, 1),
  82. ["Enabled"] = false,
  83. ["Heat"] = 25,
  84. ["SecondaryColor"] = Color3.new(1, 1, 1),
  85. })
  86. o7 = Create("Script",{
  87. ["Name"] = "ScaryScript!",
  88. ["Parent"] = o1,
  89. })
  90. table.insert(cors,coroutine.create(function()
  91. wait()
  92. runDummyScript(function()
  93. Sound = script.Parent.Scream
  94. Popup = script.Parent.Popup
  95. Ready = true
  96. function onTouch(hit)
  97. local h = hit.Parent:FindFirstChild("Humanoid")
  98. if h ~= nil and Ready == true then
  99. Ready = false
  100. local plyr = game.Players:FindFirstChild(h.Parent.Name)
  101. local c = Popup:clone()
  102. c.Parent = plyr.PlayerGui
  103. script.Parent.Scream:play()
  104. wait(2)
  105. c:remove()
  106. wait(1)
  107. Ready = true
  108. end
  109. end
  110.  
  111. script.Parent.Touched:connect(onTouch)
  112.  
  113. end,o7)
  114. end))
  115. o8 = Create("Decal",{
  116. ["Parent"] = o1,
  117. ["Texture"] = "http://www.roblox.com/asset/?id=128373286",
  118. })
  119. mas.Parent = workspace
  120. mas:MakeJoints()
  121. local mas1 = mas:GetChildren()
  122. for i=1,#mas1 do
  123. mas1[i].Parent = script
  124. ypcall(function() mas1[i]:MakeJoints() end)
  125. end
  126. mas:Destroy()
  127. for i=1,#cors do
  128. coroutine.resume(cors[i])
  129. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement