Why does it say this is it because of line 13 and it's loop?If so why and how do I fix it? Output:
22:51:16.693 - Unable to cast Instance to bool
22:51:16.694 - Script 'Workspace.Script', Line 12 - global MakeDisplayArms
22:51:16.694 - Script 'Workspace.Script', Line 28
22:51:16.695 - Stack End
22:51:16.695 - Disconnected event because of exception
game.Players.PlayerAdded:connect(function(Player)
Player.CharacterAdded:connect(function(Character)
---------------------------------------------------------
function MakeDisplayArms()
---------------------------------------------------------
local CurrentCamera = game.Workspace.CurrentCamera
local PlayerArms = {
Character["Right Arm"],
Character["Left Arm"]}
---------------------------------------------------------
for i,v in pairs (PlayerArms) do
FoundClonedArms = CurrentCamera:FindFirstChild("Cloned",v)--Finds for Cloned parts
if not FoundClonedArms then--Litte debounce
local ClonedArms = v:Clone()
ClonedArms.Parent = CurrentCamera--Hides it from everyone else
ClonedArms.Name = "Cloned",v--Renames it
ClonedArms.CanCollide = false
local Weld = Instance.new("Weld")
Weld.Part0 = v--Welds it Arms
Weld.Part1 = ClonedArms
return ClonedArms
else
return FoundClonedArms
end
end
end
---------------------------------------------------------
MakeDisplayArms()
end)
end)
What is this script suppose to do? This script is suppose to make a fake arm that is hidden in the CurrentCamera and that the player can see his arm when zoomed in.

2 comments
I got a error saying attempt to concatenate local 'v' (a userdata value)
Edited script, should work now. I tried to concatenate an instance, when I should've been concatenating a string, which is the name.