game.Players.PlayerAdded:Connect(function(plr) plr.CharacterAdded:Connect(function(char) int = Instance.new("StringValue") int.Parent = workspace int.Value = '50%' wait(2) print(tonumber(int.Value)(1000)) end) end)
So Im trying to turn the % into the real sign not a string and this is supposed to print out 500 but It keeps erroring saying nil value and I know I did something wrong