Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created with ttyyuu12345's compiler
- --ttyyuu12345 is not responsible for damages caused to your game
- --This plugin does not remove things
- --ttyyuu12345 cannot be held resonsible for manual deletion for the purpose of testing
- --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
- --Thank you for using my plugin and enjoy :)
- --It is free to use, however I do accept donations
- --Errors:
- Create = function(itemClass,tabl)
- local item = Instance.new(itemClass)
- for i,v in pairs(tabl) do
- local a,b = ypcall(function() return item[i] end)
- if a then
- item[i] = tabl[i]
- end
- end
- return item
- end
- function runDummyScript(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Create("Part",{
- ["Name"] = "Scary Popup GUI",
- ["Parent"] = mas,
- ["BrickColor"] = BrickColor.new("Really black"),
- ["Position"] = Vector3.new(119.474724, 50.1447144, 23.8228836),
- ["Rotation"] = Vector3.new(1.82385759e-010, 90, 0),
- ["Anchored"] = true,
- ["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),
- ["CanCollide"] = false,
- ["Size"] = Vector3.new(276.139984, 96.2900009, 96.0099945),
- ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
- })
- o2 = Create("ScreenGui",{
- ["Name"] = "Popup",
- ["Parent"] = o1,
- })
- o3 = Create("Frame",{
- ["Name"] = "BackGround",
- ["Parent"] = o2,
- ["Transparency"] = 1,
- ["Position"] = UDim2.new(0,0,-0.10000000149012,0),
- ["Size"] = UDim2.new(1.1000000238419,0,1.2000000476837,0),
- ["BackgroundColor3"] = Color3.new(0.109804, 0.109804, 0.109804),
- ["BackgroundTransparency"] = 1,
- })
- o4 = Create("ImageLabel",{
- ["Name"] = "Image",
- ["Parent"] = o3,
- ["Transparency"] = 1,
- ["Position"] = UDim2.new(0.0010000000474975,0,0.050000000745058,0),
- ["Size"] = UDim2.new(1,0,1,0),
- ["BackgroundColor3"] = Color3.new(0, 0, 0),
- ["BackgroundTransparency"] = 1,
- ["Image"] = "http://www.roblox.com/asset/?id=33466920",
- })
- o5 = Create("Sound",{
- ["Name"] = "Scream",
- ["Parent"] = o1,
- ["Pitch"] = 2,
- ["SoundId"] = "http://www.roblox.com/asset/?id=11984351",
- ["Volume"] = 1,
- })
- o6 = Create("Fire",{
- ["Parent"] = o1,
- ["Size"] = 30,
- ["Color"] = Color3.new(0, 0, 1),
- ["Enabled"] = false,
- ["Heat"] = 25,
- ["SecondaryColor"] = Color3.new(1, 1, 1),
- })
- o7 = Create("Script",{
- ["Name"] = "ScaryScript!",
- ["Parent"] = o1,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- Sound = script.Parent.Scream
- Popup = script.Parent.Popup
- Ready = true
- function onTouch(hit)
- local h = hit.Parent:FindFirstChild("Humanoid")
- if h ~= nil and Ready == true then
- Ready = false
- local plyr = game.Players:FindFirstChild(h.Parent.Name)
- local c = Popup:clone()
- c.Parent = plyr.PlayerGui
- script.Parent.Scream:play()
- wait(2)
- c:remove()
- wait(1)
- Ready = true
- end
- end
- script.Parent.Touched:connect(onTouch)
- end,o7)
- end))
- o8 = Create("Decal",{
- ["Parent"] = o1,
- ["Texture"] = "http://www.roblox.com/asset/?id=128373286",
- })
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = script
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement