What it should do is when you say ssj it changes your walkspeed and health, and when you say off it changes it back to normal.
local Player = game.Players.LocalPlayer
function ssj(msg)
ssj = false
if msg == "ssj" and ssj == false then
ssj = true
Player.Character.Humanoid.WalkSpeed = 60
Player.Character.Humanoid.MaxHealth = 120
end
end
function off(msg)
if ssj == false and msg == "ssj" then
ssj = false
Player.Character.Humanoid.WalkSpeed = 16
Player.Character.Humanoid.MaxHealth = 100
end
end
script.Parent.Parent.Chatted:connect(ssj)
script.Parent.Parent.Chatted:connect(off)
Error: Players.ggggyourface23.Backpack:6:attempt to index upvalue 'Player' ( a nil value ) line:4

3 comments
Nope, same error.
Now the error is on line 4. Same error as before but just a different line...
Try changing the Player variable to point to "script.Parent.Parent". Reason being is because the script is in the player's backpack. If not, try making the P in Player uncapitalised or get rid of the local before Player.