I'm making a script where when you say "Show" and the player's name. It's prints the second value in that string. For example, if I said "show thebeans202" The output should print the beans202. Although, It's NOT printing.. nor is it outputting errors. Any help greatly appreciated.
Here's my script.
local Player = game:GetSerivce('Players').LocalPlayer
local debounce = false
Player.Chatted:Connect(function(message)
message = message:lower()
if message:find('show') then
local tabl3 = message:split(" ")
print(tabl3[2])
end
end)

2 comments
One problem is there's a typo. It says serivce instead of service.
that's why It didn't work, thank you.