I keep getting this error on line 6, "Attempt to index nil with 'Character' Anything I'm doing wrong? (This is a SCP-096 Script) Link To Full Script: https://paste.ee/r/dtVtk/0
function load096Char() print("Had to remove most of the script since it was over 10,000 characters, the problem is, The player's character is nil") end wait(1) game.Players.LocalPlayer.CharacterAdded:Wait() game.Players.LocalPlayer.Character=load096Char()
Had to cut down most of the script since it was over 10,000 characters.
It seems that you think :Wait() is a command(did you mean :WaitForChild() Try:
game:GetService("Players").PlayerAdded:Connect(function(plr) plr.CharacterAdded:Connect(function(char) char = load096Char() end) end)