The code is inside a local script.
Player = game.Players.LocalPlayer
local mouse = Player:GetMouse()
local interval = 60
local inuse = false
mouse.KeyDown:connect(function(key)
key = string.lower(key)
if string.byte(key) == 113 and inuse == false then
inuse = true
print(Player.Name)
script.Parent.Parent.Character:Clone().Parent = game.Workspace
wait(interval)
inuse = false
end
end)
I get the error at script.Parent.Parent.Character:Clone().Parent = game.Workspace

1 comment
After my line 9 but before the line 10 do plr.Character.Archivable = true