I wanted to make that script gives player a tool if he doesn’t have string value, but it doesn’t work.
---
game.Players.PlayerAdded:Connect(function(player)
player.Chatted:Connect(function(message)
if message == mess and player.Character:WaitForChild("Humanoid").TransformInfo.Value == "Mia" then
---
if humanoid.CharInfo and not humanoid.TransformInfo then
game.Workspace["Mia Tool"].Parent = player.Backpack
end
humanoid.WalkSpeed = 16
humanoid.JumpHeight = 7.2
char.HumanoidRootPart.Anchored = false
end
end)
end)
if humanoid.CharInfo and humanoid.TransformInfo.Value == "" then
end
Whenever you want to check if they have a specific string value use either == or ~= then the string. If there is no string listed it is just a string with no words.