im familiar with variable but today i just faced something new
print("Start") aaa1 = game.Workspace.Defend.Value aaa2 = game.Workspace.Prosecutor.Value game.Workspace.aaa1.HumanoidRootPart.CFrame = game.Workspace.Defendantdesk.tp.CFrame game.Workspace.aaa1.Torso.Anchored = true
instead of reading the variable the studio is searching for aaa1. how to make the studio read aaa1 is equal to game.Workspace.Defend.Value?
Use FindFirstChild()
without the quotation marks.
game.WorkSpace:FindFirstChild(aa1).HumanoidRootpart.CFrame
Also unless you need to use a global variable, you should use a local variable.