You have to clone all the parts that belong to the player’s character and put a Tween animation for the transparency on all the cloned parts. You also need the Highlight property for the image-like effect.
I have this script which was made a while ago for a game I’ve abandoned.
local UserInputService = game:GetService("UserInputService")
local player = game:GetService("Players").LocalPlayer;
local character = player.Character or player.CharacterAdded:Wait();
repeat wait() until character:FindFirstChild("HumanoidRootPart")
local HumanoidRootPart = character:WaitForChild("HumanoidRootPart");
local stamina = player.Stamina
local running = false
local tween
local Humanoid = player.Character.Humanoid
local debounce = false
local regen = nil
local function CloneMe(char) -- cloning the player
char.Archivable = true
local clone = char:Clone()
char.Archivable = false
return clone
end
UserInputService.InputBegan:Connect(function(input, processed)
if processed then
return
end
if input.KeyCode == Enum.KeyCode.LeftShift then
running = true
while running == true do
if stamina.Value <= 10 or regen == 0 then -- dont set value lower than 10 to avoid bugs
running = false
regen = regen + 1
break
end
local charClone = CloneMe(game.Players.LocalPlayer.Character)
charClone:FindFirstChild("Humanoid"):Destroy()
charClone.Parent = workspace
for i, v in pairs(charClone:GetDescendants()) do -- getting the clone's parts and fading them out
local info = TweenInfo.new(0.5)
if v:IsA("MeshPart") or v:IsA("BasePart") then
v.Anchored = true
v.CanCollide = false
tween = game:GetService("TweenService"):Create(v, info, {Transparency = 1})
tween:Play()
elseif v:IsA("Texture") then
tween = game:GetService("TweenService"):Create(v, info, {Transparency = 1})
tween:Play()
end
end
tween.Completed:Connect(function() -- waiting for it to disappear before destroying
charClone:Destroy()
end)
wait(0.03)
end
end
end)
UserInputService.InputEnded:Connect(function(input, processed)
if processed then
return
end
if input.KeyCode == Enum.KeyCode.LeftShift and stamina.Value <= 500 then
running = false
regen = regen - 1
end
end)
It doesn’t seem to work. I’ve seen multiple games render characters in GUI format real time. What I’m aiming for is the clones can even be on top of a GUI but it seems it is quite hard to make