View difference between Paste ID: bMUd9SPP and 2k6LfhDJ
SHOW: | | - or go back to the newest paste.
1-
s = Instance.new("Sound", workspace) s.SoundId = "rbxassetid://176238381" s.Volume = 10 s:Play() 
1+
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"] = "Invisible Scary Pop-up",
38
["Parent"] = mas,
39
["BrickColor"] = BrickColor.new("Dark stone grey"),
40
["Transparency"] = 1,
41
["Position"] = Vector3.new(634.530823, 33.7999954, 49.4307251),
42
["Rotation"] = Vector3.new(0, 90, 0),
43
["Anchored"] = true,
44
["CFrame"] = CFrame.new(634.530823, 33.7999954, 49.4307251, 0, 0, 1, 0, 1, 0, -1, 0, 0),
45
["FormFactor"] = Enum.FormFactor.Custom,
46
["Size"] = Vector3.new(1114.3501, 67.5999908, 1766.82996),
47
["BottomSurface"] = Enum.SurfaceType.Smooth,
48
["RightSurface"] = Enum.SurfaceType.Weld,
49
["TopSurface"] = Enum.SurfaceType.Smooth,
50
["Color"] = Color3.new(0.388235, 0.372549, 0.384314),
51
})
52
o2 = Create("BlockMesh",{
53
["Parent"] = o1,
54
})
55
o3 = Create("Sound",{
56
["Name"] = "Scream",
57
["Parent"] = o1,
58
["Pitch"] = 0.69999998807907,
59
["Volume"] = 1,
60
})
61
o4 = Create("Script",{
62
["Name"] = "ScaryScript!",
63
["Parent"] = o1,
64
})
65
table.insert(cors,coroutine.create(function()
66
wait()
67
runDummyScript(function()
68
Sound = script.Parent.Scream
69
Popup = script.Parent.Popup
70
Ready = true
71
function onTouch(hit)
72
local h = hit.Parent:FindFirstChild("Humanoid")
73
if h ~= nil and Ready == true then
74
Ready = false
75
local plyr = game.Players:FindFirstChild(h.Parent.Name)
76
local c = Popup:clone()
77
c.Parent = plyr.PlayerGui
78
local s = Sound:clone()
79
s.Parent = plyr
80
wait(5)
81
c:remove()
82
s:remove()
83
wait(.1)
84
Ready = true
85
end
86
end
87
88
script.Parent.Touched:connect(onTouch)
89
90
end,o4)
91
end))
92
o5 = Create("ScreenGui",{
93
["Name"] = "Popup",
94
["Parent"] = o1,
95
})
96
o6 = Create("Frame",{
97
["Name"] = "BackGround",
98
["Parent"] = o5,
99
["Position"] = UDim2.new(0,0,-0.10000000149012,0),
100
["Size"] = UDim2.new(1.1000000238419,0,1.2000000476837,0),
101
["BackgroundColor3"] = Color3.new(0.109804, 0.109804, 0.109804),
102
})
103
o7 = Create("ImageLabel",{
104
["Name"] = "Image",
105
["Parent"] = o6,
106
["Transparency"] = 1,
107
["Position"] = UDim2.new(0.15000000596046,0,0.050000000745058,0),
108
["Size"] = UDim2.new(0.59999996423721,0,0.89999997615814,0),
109
["BackgroundColor3"] = Color3.new(0, 0, 0),
110
["BackgroundTransparency"] = 1,
111
["Image"] = "http://www.roblox.com/asset/?id=380206322",
112-
["Image"] = "http://www.roblox.com/asset/?id=98531625",
112+
113
mas.Parent = workspace
114
mas:MakeJoints()
115
local mas1 = mas:GetChildren()
116
for i=1,#mas1 do
117
	mas1[i].Parent = script 
118
	ypcall(function() mas1[i]:MakeJoints() end)
119
end
120
mas:Destroy()
121
for i=1,#cors do
122
coroutine.resume(cors[i])
123
end