Script:
script.Parent.MouseButton1Click:connect(function() script.Parent.BackgroundColor3 = Color3.new(255,0,0) key = game.ServerStorage.RoomKeys.Room1 clone = key:Clone() compuser = game.Workspace.Comp1Plr plr = game.Players:FindFirstChild(compuser.Value) print("Found Computer User.") --It does print that clone.Parent = plr.Backpack end)
OutPut: Workspace.Comp1.Screen.SurfaceGui.AvailableRooms.Room1.Scri:8: attempt to index global 'plr' (a nil value)
Locked by TofuBytes, adark, and Shawnyg
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?