Universal Script πŸ“Œ
1.2k Views
343 Executions

Player Reflection test

Universal Script πŸ“Œ
Gaze
GazeHall of Fame30-day streak
10 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Trying to make my own shaders but yeh im lwk dumb

View Raw
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


Comments

1
Log in to join the conversation. Login
kidNULL_2's profile picture
kidNULL_29 months ago

Gostei muito, mais poderia melhorΓ‘-lo?

1

More universal scripts

See all
Universal Script πŸ“Œ
733
5.0k
Bumped 17 minutes ago
Universal Script πŸ“Œ
6.1k
54.4k
Bumped 32 minutes ago
Universal Script πŸ“Œ
2.4k
2.1k
Bumped 1 hour ago
Key System
Script hub
14.4k
75.0k
Bumped 4 hours ago
Universal Script πŸ“Œ
83
95
Approved 5 hours ago
Key System
Universal Script πŸ“Œ
85
119
Approved 5 hours ago