Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Script0 = Instance.new("Script")
- LocalScript1 = Instance.new("LocalScript")
- Script0.Name = "ShaderImporter"
- Script0.Parent = mas
- table.insert(cors,sandbox(Script0,function()
- -- original script: SprintScriptImporter ( CloneTrooper1019 maybe? )
- -- edited by: coldcoil
- -- You dont have to move this script anywhere, all the work will be done for you.
- function onPlayerEntered(player)
- repeat wait () until player.Character ~= nil
- local s = script.Shader:clone()
- s.Parent = player.PlayerGui
- s.Disabled = false
- end
- game.Players.PlayerAdded:connect(onPlayerEntered)
- end))
- LocalScript1.Name = "Shader"
- LocalScript1.Parent = mas
- LocalScript1.Disabled = true
- table.insert(cors,sandbox(LocalScript1,function()
- -- made by coldcoil
- -- 2016
- -- Makes your games look more visually appealing.
- -- Keep this script where it is, the whole process is fully automated.
- wait(0.5) -- A quick wait, to make sure things function correctly.
- local blur = Instance.new("BlurEffect")
- blur.Parent = game.Workspace.CurrentCamera
- blur.Size = 5
- local colorcorrection = Instance.new("ColorCorrectionEffect")
- colorcorrection.Parent = game.Workspace.CurrentCamera
- colorcorrection.Saturation = 0.4
- colorcorrection.Contrast = 0.3
- colorcorrection.Brightness = 0.01
- local bloom = Instance.new("BloomEffect")
- bloom.Parent = game.Workspace.CurrentCamera
- bloom.Intensity = 0.1
- bloom.Size = 15
- bloom.Threshold = 0.5
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = script
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement