
1.2k Views
343 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Trying to make my own shaders but yeh im lwk dumb
pls=game:GetService("Players")
rsrv=game:GetService("RunService")
ws=game:GetService("Workspace")
lp=pls.LocalPlayer
cam=ws.CurrentCamera
rs,gui,vpf=nil,nil,nil
rt=0
mrd=15
function stop()
if rs then rs:Disconnect()rs=nil end
if gui then gui:Destroy()gui,vpf=nil,nil end
end
function start()
if not lp.Character then return end
c=lp.Character
hrp=c:FindFirstChild("HumanoidRootPart")or c:WaitForChild("HumanoidRootPart",5)
if not hrp then return end
c.Archivable=true
cln=c:Clone()
for _,v in ipairs(cln:GetDescendants())do
if v:IsA("Script")or v:IsA("LocalScript")or v:IsA("Sound")or v:IsA("UI")then
v:Destroy()
end end
gui=Instance.new("ScreenGui")
gui.IgnoreGuiInset=true
gui.ResetOnSpawn=false
gui.Name="ReflectionGui"
gui.Parent=game:GetService("CoreGui")
vpf=Instance.new("ViewportFrame")
vpf.Size=UDim2.new(1,0,1,0)
vpf.BackgroundTransparency=1
vpf.CurrentCamera=cam
vpf.Ambient=Color3.new(0.7,0.7,0.7)
vpf.LightColor=Color3.new(1,1,1)
vpf.LightDirection=Vector3.new(0,1,0)
vpf.Parent=gui
cln.Parent=vpf
grd=Instance.new("UIGradient")
grd.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(0.6,0),NumberSequenceKeypoint.new(1,0.4)})
grd.Rotation=90









Gostei muito, mais poderia melhorΓ‘-lo?